1 2009-01-17 Tim-Philipp Müller <tim.muller at collabora co uk>
3 * gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
4 Fix order of members in GstBusSource structure - the first member
5 must be the parent structure ie. GSource. Should make bus sources
6 attached to non-default main contexts work in all cases now (ie.
7 primarily in cases where the callback has a non-NULL user data
8 argument). Fixes #562170.
10 * tests/check/gst/gstbus.c: (test_custom_main_context):
11 Add unit test for the above, based on code by
12 Justin Karneges <justin at affinix com>.
14 2009-01-15 Wim Taymans <wim.taymans@collabora.co.uk>
16 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
19 A small documentation fix.
21 2009-01-11 Sebastian Dröge <sebastian.droege@collabora.co.uk>
24 Initialize g_once_init* data with 0. Fixes bug #567225.
26 2009-01-09 Jan Schmidt <jan.schmidt@sun.com>
31 2009-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
33 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
34 (gst_base_sink_wait_clock):
35 * libs/gst/base/gstbasesink.h:
36 Fix documentation for the wait_clock method, rename basesink -> sink
39 2009-01-08 Stefan Kost <ensonic@users.sf.net>
42 Create a registry if there is none also when the option for
43 gst-disable-registry-update has been selected. Fixes #567002
45 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
47 * gst/gst.c: (init_post):
48 Ref new enum type in gst_init.
50 * win32/common/libgstreamer.def:
51 Add recently-added API.
53 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
55 * docs/gst/gstreamer-sections.txt::
56 * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
57 * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
58 (gst_plugin_class_init), (gst_plugin_list_free),
59 (gst_plugin_ext_dep_get_env_vars_hash),
60 (_priv_plugin_deps_env_vars_changed),
61 (gst_plugin_ext_dep_extract_env_vars_paths),
62 (gst_plugin_ext_dep_get_hash_from_stat_entry),
63 (gst_plugin_ext_dep_direntry_matches),
64 (gst_plugin_ext_dep_scan_dir_and_match_names),
65 (gst_plugin_ext_dep_scan_path_with_filenames),
66 (gst_plugin_ext_dep_get_stat_hash),
67 (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
68 (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
69 (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
70 * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
71 (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
72 (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
73 (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
74 (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
75 (GstPluginDependencyFlags), (GstPluginFilter):
76 * gst/gstregistry.c: (gst_registry_scan_path_level):
77 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
78 (gst_registry_binary_save_plugin_dep),
79 (gst_registry_binary_save_plugin),
80 (gst_registry_binary_load_feature),
81 (gst_registry_binary_load_plugin_dep_strv),
82 (gst_registry_binary_load_plugin_dep),
83 (gst_registry_binary_load_plugin):
84 * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
85 (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
86 * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
87 Add API for making a GStreamer plugin 'dependent' on external files,
88 directories or environment variables, so that GStreamer knows when
89 it needs to re-load GStreamer plugins that wrap other plugin systems.
91 API: add gst_plugin_add_dependency()
92 API: add gst_plugin_add_dependency_simple()
94 2009-01-06 Tim-Philipp Müller <tim.muller at collabora co uk>
96 * docs/faq/gst-uninstalled:
97 Add libgstapp-0.10 from -base to search path and remove the old
98 lib from -bad from the search path.
100 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
102 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
103 (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
104 Release the object lock before calling the query convert pad functions
107 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
109 * gst/gstbus.c: (gst_bus_wakeup_main_context):
110 The lock order should be maincontext > OBJECT_LOCK so we need to release
111 the object lock when waking up the mainloop to avoid deadlocks.
113 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
115 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
116 (gst_bin_change_state_func):
117 Use an iterator to set the clock and the index so that we can release
118 the object lock appropriately. Fixes #566393.
120 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
122 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
123 Use the name of the pads instead of a pointer, helps in debugging.
125 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
127 * gst/gstindex.c: (gst_index_get_type):
128 Add a debugging category for GstIndex, first little step in making
131 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
133 * gst/gstelement.c: (gst_element_message_full),
134 (gst_element_pads_activate):
135 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
136 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
137 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
138 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
139 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
140 Assign debug statements to relevant categories instead of the 'default'
141 category so they don't get lost in debugging.
143 2009-01-01 Stefan Kost <ensonic@users.sf.net>
145 * gst/gstdebugutils.c:
146 Add some ideas, how to make the graph smaller.
149 Add a comment from a debug session.
151 * libs/gst/base/gstbasetransform.c:
154 * libs/gst/controller/gstinterpolationcontrolsource.c:
157 * plugins/elements/gstcapsfilter.c:
160 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
162 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
163 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
164 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
165 (gst_bus_create_watch):
166 Make GstBusSource work with non-default main contexts (#562170).
168 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
169 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
170 Add test case for GstBusSource with a non-default main context.
172 * tests/check/libs/.cvsignore:
175 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
177 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
179 Wrap multi-line macros in G_STMT_{START|END}.
181 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
183 * docs/gst/gstreamer-sections.txt:
186 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
187 (gst_query_parse_uri):
189 API: Add URI query type. This is useful to query the URI
190 of a sink/source element and can be used by demuxers that
191 need to get data from other files.
192 This query should go upstream by default.
194 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
195 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
197 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
198 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
199 (gst_file_src_query):
202 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
205 * tests/check/gst/gstghostpad.c:
206 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
207 That would cause the ghostpad to emit notify::caps two times (fist
208 from gst_pad_set_caps() and after from on_src_target_notify()).
210 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
212 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
214 Add some more unit-tests for the ghostpad notify signal, one of which
217 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
219 * win32/common/libgstreamer.def:
220 Add gst_tag_setter_reset_tags to the list of exported symbols.
222 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
225 * tests/check/gst/gstghostpad.c:
226 In a source ghostpad, when caps are changed in the target pad, the
227 change needs to be reflected in the ghostpad.
230 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
232 * gst/gstutils.c: (gst_element_found_tags_for_pad):
233 Add FIXME for 0.11 to set the pad as message source and not
234 the element. Otherwise it's impossible to detect for which
235 pad the tags were found without adding an event probe
236 or something similar to the pad.
238 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
240 * docs/faq/general.xml:
243 2008-12-16 Stefan Kost <ensonic@users.sf.net>
245 * docs/gst/gstreamer-sections.txt:
246 * gst/gsttagsetter.c:
247 * gst/gsttagsetter.h:
248 Rename api added in previous commit and add since tag to docs.
249 API: gst_tag_setter_reset_tags()
251 2008-12-16 Stefan Kost <ensonic@users.sf.net>
253 * docs/gst/gstreamer-sections.txt:
254 * gst/gsttagsetter.c:
255 * gst/gsttagsetter.h:
256 Add function to reset tagsetter for element reuse.
258 2008-12-16 Stefan Kost <ensonic@users.sf.net>
261 Avoid copy of empty taglist.
263 2008-12-16 Stefan Kost <ensonic@users.sf.net>
266 * tests/check/gst/gsttag.c:
267 More complete unit tests. Fix handling of empty taglists (they were
270 2008-12-15 Stefan Kost <ensonic@users.sf.net>
273 * gst/gsttagsetter.c:
274 Update GstTagSetter and GstTagMergeMode documentation. Mention
275 that tags can come from events and from application. Fix example.
277 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
279 * docs/design/part-TODO.txt:
280 Remove the seqnum entry that we implemented in 0.10 already.
281 Add entry about removing the format return value for queries.
283 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
285 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
286 (gst_base_sink_init), (gst_base_sink_set_property),
287 (gst_base_sink_get_property):
288 Expose the render-delay as a property so things like appsink can use it
289 to tweak the synchronisation.
291 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
293 * libs/gst/check/gstcheck.h: Allow check tests to use
294 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
295 CK_FORK=no to be used with multiple check test that use threads.
297 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
299 * gst/gstutils.c: (gst_element_get_compatible_pad):
300 Fix a caps memory leak introduced by the last change.
302 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
304 * gst/gstutils.c: (gst_element_get_compatible_pad):
305 Check if the caps of the pads are compatible before returning
306 a pad and claiming it is compatible. This, among other things,
307 fixes a bug with gst-launch where an incompatible pad is chosen
308 and linking fails. Fixes bug #544003.
310 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
312 * libs/gst/check/gstcheck.c: (gst_check_init):
313 Revert accidentially commited patch for bug #404631 which
314 tries to print a backtrace if a testcase is terminated by
315 a signal. This code was never activated as the corresponding
316 configure.ac change wasn't committed.
318 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
320 * tests/check/libs/controller.c: (GST_START_TEST):
321 This test should return TRUE now as syncing an uncontrolled
322 object will succeed now (there's nothing to sync).
324 2008-12-09 Stefan Kost <ensonic@users.sf.net>
326 * libs/gst/controller/gstcontroller.c:
327 Aggregate return value for gst_controller_sync_values(). More info in
328 logging. Always set values on first sync-call.
330 * libs/gst/controller/gstcontrolsource.c:
333 * libs/gst/controller/gsthelper.c:
334 Fix return code and comment.
336 2008-12-09 Stefan Kost <ensonic@users.sf.net>
338 * tools/gst-launch.1.in:
339 Fix description of how to specify a type in caps. Fixes #553873.
340 Also ranges and list contain values and not property-assignments.
342 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
344 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
345 Check for changed pads-list before checking the last returned
346 GstFlowReturn because the pad could have been removed and we
347 need to ignore the value in that case.
349 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
351 * libs/gst/base/gstbasetransform.c:
352 (gst_base_transform_prepare_output_buffer),
353 (gst_base_transform_getrange), (gst_base_transform_chain):
354 * libs/gst/base/gstbasetransform.h:
355 Add vmethod that is called before we start the transform and which can
356 be used to configure the transform, such as dynamic properties.
358 2008-12-05 David Schleef <ds@schleef.org>
361 Search for plugins on win32 based on the location of the
362 gstreamer DLL. Fixes #548786
364 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
367 Apparently AC_CONFIG_MACRO_DIR breaks when using more
368 than one macro directory, reverting last change.
370 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
373 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
376 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
378 Patch by: Cygwin Ports maintainer
379 <yselkowitz at users dot sourceforge dot net>
383 Require gettext 0.17 because older versions don't mix with libtool
384 2.2. At build time an older gettext version will still work.
387 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
389 Patch by: 이문형 <iwings at gmail dot com>
391 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
392 Adds support for FD_CONNECT event (win32). See #562258.
394 2008-11-24 Stefan Kost <ensonic@users.sf.net>
396 * libs/gst/base/gstbasesink.c:
397 Turn comment into gtk-doc comment.
399 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
401 * libs/gst/base/gstbasetransform.c:
402 (gst_base_transform_acceptcaps):
403 Revert quick accepcaps attempt, it's not fully equivalent to the old
404 behaviour and thus causes regressions.
406 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
408 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
411 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
413 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
415 * gst/gstregistry.c: (gst_registry_scan_path_level):
416 Reduce the number of stat() calls for every file from three times
417 to one time. Fixes bug #560360.
419 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
421 * libs/gst/base/gstbasetransform.c:
422 (gst_base_transform_acceptcaps):
423 Rename a variable to make the code clearer.
425 2008-11-21 Stefan Kost <ensonic@users.sf.net>
427 * plugins/elements/gstidentity.c:
428 Don't warning on offset==-1. Taken from _check_imperfect_offset().
430 2008-11-21 Michael Smith <msmith@songbirdnest.com>
432 * plugins/elements/gstfilesrc.c:
433 Check for localhost in URI was backwards, fix it. Fixes unit test.
435 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
437 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
438 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
439 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
440 Add beginnings of a more optimized acceptcaps function than the default
443 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
445 * gst/gstpad.c: (gst_pad_accept_caps):
446 Avoid getting the acceptcaps function too early.
448 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
450 * tools/gst-launch.c: (event_loop):
451 Make gst-launch handle LATENCY messages and make it recalculate the
454 2008-11-20 Michael Smith <msmith@songbirdnest.com>
456 * plugins/elements/gstfilesrc.c:
457 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
458 out own slightly incorrect version. Fixes use of some paths on
461 2008-11-20 Michael Smith <msmith@songbirdnest.com>
463 * gst/gstregistrybinary.c:
464 In win32 codepath, if we fail to write the registry, create the
465 directory for it and try again, matching the behaviour in non-win32
468 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
470 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
471 Changing the render delay changes the latency and so we must post a
474 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
478 Add GstQueryType for custom queries instead of having to use the
479 not-so-very-convenient registration infrastructure to register new
482 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
484 Patch by: Andrew Feren <acferen at yahoo dot com>
486 * gst/gstobject.c: (gst_object_default_deep_notify):
487 Unref the GEnumClass after usage again. Fixes bug #561501.
489 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
491 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
492 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
493 (gst_bin_change_state_func):
495 Add do-latency signal with the old default fallback implementation. This
496 allows for custom latency calculations for when the default is not
498 API: GstBin::do-latency signal.
500 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
502 * win32/common/libgstreamer.def:
503 Add new symbols to .def file.
505 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
507 * docs/gst/gstreamer-sections.txt:
508 * gst/gstbin.c: (gst_bin_recalculate_latency),
509 (gst_bin_change_state_func):
511 Add method to recalculate and redistribute the latency on a bin.
512 API: gst_bin_recalculate_latency().
514 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
517 Document the free_func.
519 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
521 * libs/gst/controller/gstinterpolation.c:
522 * libs/gst/controller/gstlfocontrolsource.c:
523 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
524 as it is mapped to a cast on non-win32 platforms.
526 2008-11-17 Stefan Kost <ensonic@users.sf.net>
528 * libs/gst/controller/gstcontroller.c:
529 * libs/gst/controller/gstcontrollerprivate.h:
530 Keep last-value and only call set_property if value has changed. This
531 supresses all the g_object_notifies we would trigger otherwise. It
532 also allows the user to chage the value while there is no controller
535 2008-11-17 Stefan Kost <ensonic@users.sf.net>
538 Don't crash if either of the string GValues is empty.
540 2008-11-17 Andy Wingo <wingo@pobox.com>
542 * tools/gst-inspect.c (print_all_uri_handlers): New function,
543 prints a summary of what URI schemes are supported by what
545 (main): Plumb in support for --uri-handlers or -u, and fix the
546 argc check for -a and -u.
548 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
551 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
552 conversion functions.
554 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
556 * gst/gstbuffer.c: (gst_buffer_finalize):
557 Avoid costly typechecking for trivially correct pointers.
559 * gst/gstpoll.c: (gst_poll_wait):
560 Add some G_LIKELY here and there.
562 * libs/gst/base/gstadapter.c: (gst_adapter_push):
565 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
567 * docs/random/wtay/poll-timeout:
570 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
572 * tests/old/testsuite/caps/intersection.c: (main):
573 * tests/old/testsuite/plugin/loading.c: (main):
574 Remove references to deprecated API g_mem_chunk*.
577 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
579 * tools/gst-inspect.c: (main):
580 Add --plugin option. Fixes #560301.
582 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
584 * docs/random/wtay/poll-timeout:
585 Quick braindump for a possible (not totally verified) atomic case.
587 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
589 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
590 (gst_registry_binary_initialize_magic),
591 (gst_registry_binary_write_cache),
592 (gst_registry_binary_check_magic):
593 * gst/gstregistrybinary.h:
594 Don't write and check a CRC for the binary registry file. It's
595 guaranteed that the registry is completely written (it's first written
596 to a temporary file and then moved) and if the registry was corrupted
597 by some hardware failure we would have bigger problems.
599 Bump binary registry version to 0.10.21.1 for this as it's an
600 incompatible change and to ensure that the registry gets rebuild
603 This saves some milliseconds for reading/writing the registry.
606 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
608 * docs/random/wtay/poll-timeout:
609 Some pseudo code for how we could implement clock timeouts with GstPoll.
611 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
613 * plugins/elements/gstfilesink.c:
614 Update Author string to match others.
616 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
618 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
619 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
620 being fixed and inline the trivial check.
622 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
624 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
625 (gst_caps_merge_structure), (gst_caps_get_structure),
626 (gst_caps_copy_nth), (gst_caps_set_simple),
627 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
628 (gst_caps_is_equal_fixed), (gst_caps_intersect),
629 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
630 (gst_caps_to_string):
631 Callgrind micro optimisations.
632 Avoid array bounds checks and force inline of trivial function.
634 * gst/gstobject.c: (gst_object_set_name_default):
635 -1 is equivalent to letting glib to the strlen but then there is more
636 room for optimisations and it's not our fault.
638 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
639 no need to clear the array, we're cool.
641 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
642 The most common _is_fixed() check is done on fundamental glib base
643 types so we check this first instead of doing a huge amount of
644 useless GST_TYPE_ARRAY calls.
646 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
649 Add a SKIP seek flag for use with advanced trickmodes.
650 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
652 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
654 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
655 No need to memset, we can clear the value ourselves.
657 * gst/gstvalue.c: (gst_type_is_fixed),
658 (gst_value_get_compare_func):
659 Some optimisations from a few callgrind sessions:
660 When checking if a type is fixed, check for trivial fundamental types
661 first before checking types for which we need to get the type followed
662 by the heavy duty type checks, this reduces the amount of
663 g_type_fundamental() calls a lot.
664 When getting the compare function, first check for our registered types.
665 If that fails, do the heavy duty g_type_is_a() checks, reduces the
666 amount of g_type_is_a() considerably.
668 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
670 * docs/design/part-TODO.txt:
671 Mumble something about removing GstXML.
673 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
675 * gst/gstbin.c: (gst_bin_handle_message_func):
676 Get the seqnum before we dispose the message.
678 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
680 * docs/design/part-TODO.txt:
681 Refer to the framestepping document.
683 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
685 * gst/gstbin.c: (bin_handle_async_start),
686 (gst_bin_handle_message_func), (gst_bin_query):
687 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
688 (gst_base_sink_event), (gst_base_sink_change_state):
689 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
690 (gst_base_src_loop), (gst_base_src_change_state):
691 Copy seqnums from events to messages so that they can all be related
694 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
696 * tools/gst-launch.c: (event_loop):
697 Print the message seqnums.
699 2008-11-04 Andy Wingo <wingo@pobox.com>
701 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
703 2008-11-04 Andy Wingo <wingo@pobox.com>
705 Add sequence numbers to events and messages. See #559250.
707 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
711 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
712 events with a new sequence number, and copy it when copying.
713 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
714 an event's sequence number.
717 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
718 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
721 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
723 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
725 * docs/manual/advanced-position.xml:
726 * docs/manual/basics-bins.xml:
727 * docs/manual/basics-bus.xml:
728 * docs/manual/basics-pads.xml:
729 * docs/manual/intro-gstreamer.xml:
730 * docs/manual/intro-preface.xml:
731 Some Application Development Manual fixes thanks to
732 Andrew Feren. Fixes #558459.
734 2008-11-03 Stefan Kost <ensonic@users.sf.net>
736 * gst/gstregistrybinary.c:
737 Don't bother with the GTimer if we don't output the results.
739 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
741 Patch by: David Schleef <ds@schleef.org>
743 * libs/gst/net/Makefile.am:
744 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
746 2008-10-31 Stefan Kost <ensonic@users.sf.net>
748 * gst/gstregistrybinary.c:
749 Oh my, studip, stupid me. Remove double stat() call.
751 2008-10-31 Stefan Kost <ensonic@users.sf.net>
754 Use g_unlink instead of unlink.
756 * gst/gststructure.c:
765 Formatting & whitespaces.
767 2008-10-31 Stefan Kost <ensonic@users.sf.net>
769 * plugins/elements/gstidentity.c:
770 Doc typo. Use return value of parent_class->event.
772 * plugins/elements/gsttypefindelement.c:
773 Chain up at the end for consistency.
775 2008-10-30 Stefan Kost <ensonic@users.sf.net>
778 * docs/gst/gstreamer-docs.sgml:
779 * docs/gst/gstreamer-sections.txt:
780 * docs/gst/running.xml:
781 * docs/libs/gstreamer-libs-docs.sgml:
782 Change to xinclude based build - its faster and easier to maintain.
784 2008-10-30 Stefan Kost <ensonic@users.sf.net>
786 * gst/gstregistrybinary.c:
787 * gst/gstregistryxml.c:
788 Use g_unlink() as none of these are directories.
790 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
792 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
795 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
797 * libs/gst/base/gstbasetransform.c:
798 (gst_base_transform_find_transform), (gst_base_transform_getrange):
799 If we have a fixate function, call it even if we already have fixed caps
800 because the subclass might add some caps. Makes audioconvert add a
801 default channel layout.
803 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
805 * libs/gst/base/gstbasetransform.c:
806 (gst_base_transform_prepare_output_buffer),
807 (gst_base_transform_getrange):
808 Clear the output buffer variable.
809 Cleanups to the error path in the getrange function.
812 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
814 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
815 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
816 Use gst_buffer_try_new_and_alloc() and handle errors instead of
817 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
820 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
822 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
823 Set the last_stop to a more meaningful position when configuring the
824 segment. ie. the start/stop of the segment or clipped against the
825 updated segment boundaries.
827 * tests/check/gst/gstsegment.c: (GST_START_TEST):
828 Add some unit tests for the last_stop.
830 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
832 * libs/gst/base/gstbytereader.c:
833 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
836 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
838 * docs/gst/gstreamer-sections.txt:
840 API: Move float endianness conversion macros from libgstfloatcast
841 to core as it's useful in general, even in core. Fixes bug #555196.
842 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
843 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
844 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
846 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
847 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
848 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
849 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
851 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
853 * docs/libs/gstreamer-libs-sections.txt:
854 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
855 (gst_byte_reader_peek_data):
856 * libs/gst/base/gstbytereader.h:
857 * win32/common/libgstbase.def:
858 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
859 to get a pointer to the data at the current position and have
862 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
865 Fix a bug in the output of the configure script summary
866 when --gst-disable-registry is supplied
868 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
870 * libs/gst/base/gstbitreader.c:
871 * libs/gst/base/gstbytereader.c:
872 Fix the names of 2 functions in the docs strings.
874 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
876 * libs/gst/base/gstbasetransform.c:
877 (gst_base_transform_prepare_output_buffer),
878 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
879 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
880 refcount problems as seen in banshee and maybe also in farsight2.
881 Remove atomic int now that we need to take the lock anyways.
883 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
885 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
886 (gst_base_sink_default_prepare_seek_segment),
887 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
888 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
889 (gst_base_sink_query):
890 Implement more seeking in pull mode.
891 Use pad convert functions to convert position to the requested format.
892 Fix position/duration reporting in pull mode.
893 Implement position and duration reporting in other formats than time.
895 * libs/gst/base/gstbasesink.h:
896 Add member to keep track of when the segment is playing.
898 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
900 * gst/gstpad.c: (gst_pad_configure_src):
901 When we use gst_pad_alloc_buffer() without wanting to set the caps we
902 also don't need to check if the caps are compatible because the caller
903 presumably is going to perform its own custom checks. Fixes some cases
904 where basetransform elements would error out when it was not needed.
906 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
908 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
911 * libs/gst/base/gstbasetransform.c:
912 (gst_base_transform_handle_buffer),
913 (gst_base_transform_reconfigure):
916 * win32/common/libgstbase.def:
919 2008-10-19 Stefan Kost <ensonic@users.sf.net>
921 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
922 Remove duplicated assignment and log a message in failure case.
924 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
926 Patch by: Dig Ge <dig.ge.cn at gmail com>
928 * tests/examples/helloworld/helloworld.c: (main):
929 Fix copy'n'paste bug in hello world example (#556900).
931 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
933 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
934 (gst_base_sink_query):
935 Query the total number of bytes when activating the pad in pull mode.
936 Implement duration query in pull mode by using the installed pad convert
937 function to convert from bytes to the requested format.
939 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
941 * docs/libs/gstreamer-libs-sections.txt:
942 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
943 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
944 (gst_base_sink_event), (gst_base_sink_perform_seek),
945 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
946 (gst_base_sink_send_event), (gst_base_sink_change_state):
947 * libs/gst/base/gstbasesink.h:
948 Add method to commit the state in subclasses.
949 Refactor the flush_start and flush_stop code because we need it for
950 flushing while seeking too.
951 Implement the beginnings of seeking in pull mode.
952 Use the segment last_stop field for the pulling offset.
953 Fix the pause method in pull mode.
954 Configure the segment to BYTES for pull mode.
955 API: GstBaseSink::gst_base_sink_do_preroll()
957 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
959 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
962 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
964 * gst/gstquark.c: (_priv_gst_quarks_initialize):
965 Fix printf format warning.
967 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
969 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
970 Fix flow aggregation of tee. Error out immediately for all flow returns
971 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
972 and return OK if at least one pad is linked.
974 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
975 and otherwise returned the flow return of the last pad, which is wrong.
977 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
978 (GST_START_TEST), (tee_suite):
979 Add unit tests for the flow aggregation.
981 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
983 * docs/design/part-TODO.txt:
984 Remove item from the todo list because it was fixed with the latency
985 state change rewrites.
987 * docs/design/part-seeking.txt:
988 * docs/design/part-segments.txt:
991 * gst/gstevent.c: (gst_event_new_new_segment_full),
992 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
993 (gst_event_parse_buffer_size), (gst_event_new_qos),
994 (gst_event_parse_qos), (gst_event_new_seek),
995 (gst_event_parse_seek), (gst_event_new_latency),
996 (gst_event_parse_latency):
997 Use quarks to construct and parse events.
999 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1001 Add some more quarks to the table.
1002 Emit a warning when the quark tables are not in sync.
1004 * tests/check/gst/gstbus.c: (GST_START_TEST):
1007 2008-10-13 Stefan Kost <ensonic@users.sf.net>
1009 * plugins/elements/Makefile.am:
1010 * plugins/indexers/Makefile.am:
1011 Don't install static libs for plugins. Fixes #550851 for core.
1013 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
1015 * gst/gstbus.c: (gst_bus_source_finalize),
1016 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
1017 (gst_bus_enable_sync_message_emission),
1018 (gst_bus_disable_sync_message_emission),
1019 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
1020 Fix deadlock, g_source_get_id() cannot be called in finalize.
1021 Keep track of the watch source by keeping a pointer to the source object
1023 Use the bus lock to protect access to the pointer to the current
1026 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1028 Base on Patch by: Olivier Crete <tester at tester dot ca>
1030 * gst/gstbus.c: (gst_bus_source_finalize),
1031 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
1032 Only allow one bus watch to be set at a time. This is necessary
1033 because the dispatcher pops the message from the bus and the second
1034 watcher will then get NULL or the next message (and the first won't
1035 get this next message then, etc). If more than one "watcher" is
1036 required signal watches should be used. Fixes bug #526044.
1038 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
1040 * tools/gst-launch.c:
1041 Change the printing of the 'buffering...' output to avoid putting
1042 a \r in a translateable string (flagged by the TP).
1044 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1047 Clarify that the save_thyself() and restore_thyself() virtual
1048 functions of GstObject need to be overriden, not
1049 gst_object_(save|restore)_thyself() which is impossible.
1052 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1054 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1055 Revert a patch from 21 months ago that broke caps negotiation in pull
1056 mode. Basically, having a buffer pass over a pad will trigger the
1057 setcaps function when caps change, just like in push mode.
1059 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1061 * docs/design/part-negotiation.txt:
1062 Update the docs some more.
1064 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1065 If we pull a buffer with non-trivial caps, suggest those caps with the
1068 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1070 * docs/design/part-TODO.txt:
1071 Add another limitation of pad-blocking with segment seeks not pushing
1074 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
1076 * win32/common/libgstbase.def:
1077 * win32/common/libgstreamer.def:
1078 Add new symbols to the win32 defs files
1080 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1082 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1083 (gst_bin_handle_message_func):
1084 The message src can be NULL, don't try to print the object names in that
1087 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1088 Add some more debug info.
1090 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1093 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1096 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
1098 * docs/design/part-negotiation.txt:
1101 * docs/libs/gstreamer-libs-sections.txt:
1102 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1103 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1104 (gst_base_sink_init), (gst_base_sink_set_blocksize),
1105 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1106 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1107 (gst_base_sink_loop), (gst_base_sink_pad_activate),
1108 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1109 (gst_base_sink_change_state):
1110 * libs/gst/base/gstbasesink.h:
1111 Add blocksize property and methods to control the amount of data
1113 Negotiate first before activating upstream in pull mode so that they can
1114 negotiate themselves.
1115 When we operate in pull mode, we only accept the caps that we
1117 Make the sink go ASYNC to PAUSED, like all other sinks.
1118 API: GstBaseSink::gst_base_sink_set_blocksize()
1119 API: GstBaseSink::gst_base_sink_get_blocksize()
1120 API: GstBaseSink::blocksize
1122 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1123 (gst_base_src_set_live), (gst_base_src_is_live),
1124 (gst_base_src_set_format), (gst_base_src_query_latency),
1125 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1126 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1127 (gst_base_src_set_property), (gst_base_src_get_property):
1128 * libs/gst/base/gstbasesrc.h:
1129 Add typechecking in public API functions.
1130 Add methods to control the blocksize in subclasses.
1131 API: GstBaseSrc::gst_base_src_set_blocksize()
1132 API: GstBaseSrc::gst_base_src_get_blocksize()
1134 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1136 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1137 (buffer_probe), (event_probe), (GST_START_TEST):
1138 We now see 3 events go through our pad, since basesink now sends
1139 upstream latency events.
1141 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1143 * gst/gstpipeline.c: (gst_pipeline_change_state):
1144 Release the object lock before trying to flush the bus.
1146 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1148 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1149 Forward LATENCY events upstreams so that elements know about the total
1150 pipeline latency. Fixes #555307.
1152 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1154 * plugins/elements/gstqueue.c:
1155 Allow through queries when we don't know how
1156 to adjust them (not TIME or BYTES), as otherwise it's
1157 not possible to query the current position in order
1158 to seek in other formats at all.
1160 2008-10-08 Andy Wingo <wingo@pobox.com>
1162 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1164 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1166 * gst/gstghostpad.c:
1167 * gst/gstghostpad.h:
1168 Unbreak -good build, private is a reserved c++ keyword.
1170 2008-10-08 Andy Wingo <wingo@pobox.com>
1172 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1173 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1174 removal: re-add GST_GHOST_PAD_CAST to the header.
1176 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1177 (GstGhostPadClass): Publically expose these structures so as to
1178 allow easy subclassing from C. Hide the member data behind a
1179 private opaque data pointer.
1181 * gst/gstghostpad.c: Adapt to store instance data in the type
1182 instance's private data region, not in the public struct.
1184 2008-10-08 Andy Wingo <wingo@pobox.com>
1186 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1187 template via g_object_get(), be sure to unref it.
1189 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1191 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1193 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1194 If we can't get a cache file don't try to save something to it.
1195 Dereferencing NULL pointers usually isn't a good idea.
1197 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1199 * tests/check/Makefile.am:
1200 * tests/check/gst/gstabi.c:
1201 * tests/check/gst/struct_sparc.h:
1202 * tests/check/libs/libsabi.c:
1203 * tests/check/libs/struct_sparc.h:
1204 Add Sparc ABI checks
1206 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1207 Cast signed integer to unsigned to avoid a compiler warning.
1209 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1211 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1212 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1213 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1214 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1215 (gst_byte_reader_peek_int24_be):
1216 Use new GST_READ_UINT24_(LE|BE) macros.
1218 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1220 * docs/gst/gstreamer-sections.txt:
1222 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1223 as it's too easy to break the ISO C strict aliasing rules with simple
1224 casts to the corresponding type and this would introduce hard to debug
1225 bugs. Fixes bug #545714.
1227 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1229 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1231 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1232 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1233 Add 'Since' bits to gtk-doc chunks for new API.
1235 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1237 * docs/gst/gstreamer-sections.txt:
1240 2008-10-06 Andy Wingo <wingo@pobox.com>
1242 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1243 that will be called on the malloc_data to free it. Basically a way
1244 to avoid subclassing when all you need is a different free
1245 function, i.e. free() instead of g_free().
1247 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1248 calling the free function.
1249 (gst_buffer_init): Initialize the free function to g_free.
1251 2008-10-06 Andy Wingo <wingo@pobox.com>
1253 * gst/gstghostpad.h:
1254 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1255 finishes the initialization of ghost pad. Useful for language
1256 bindings and subclassers of GstGhostPad. Fixes #539108.
1257 (gst_ghost_pad_new_full): Use the new constructor.
1259 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1261 Base on Patch by: Olivier Crete <tester at tester dot ca>
1263 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1264 (gst_bin_remove_func), (update_degree),
1265 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1266 Keep track of pads that are being linked/unlinked and resync the state
1269 * gst/gstpad.c: (gst_pad_get_direction),
1270 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1271 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1272 (gst_pad_link_prepare), (gst_pad_link),
1273 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1274 (gst_pad_check_pull_range), (gst_pad_get_range),
1275 (gst_pad_pull_range):
1276 Some code cleanups, use macros to check pad direction.
1277 Don't need to take the lock on the pad direction.
1278 Post structure change when pads are linked/unlinked.
1279 Change some checks into _return_if_fail().
1281 * tests/check/gst/gstbin.c:
1282 (test_link_structure_change_state_changed_sync_cb),
1283 (GST_START_TEST), (gst_bin_suite):
1284 Add testcase for pad link/unlinke resync during a state change.
1287 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1289 * docs/gst/gstreamer-sections.txt:
1290 * gst/gstmessage.c: (gst_message_new_structure_change),
1291 (gst_message_parse_structure_change):
1293 Implement STRUCTURE_CHANGED messages. These messages will be used to
1294 signal the parent bin of link/unlink operations that could require a
1295 resync when doing a state change. See ##510354.
1296 API: gst_message_new_structure_change()
1297 API: gst_message_parse_structure_change()
1299 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1303 Add some more quarks for new message. See #510354.
1305 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1307 * docs/libs/gstreamer-libs-docs.sgml:
1308 * docs/libs/gstreamer-libs-sections.txt:
1309 * libs/gst/base/Makefile.am:
1310 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1311 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1312 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1313 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1314 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1315 (gst_bit_reader_skip_to_byte):
1316 * libs/gst/base/gstbitreader.h:
1317 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1318 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1319 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1320 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1321 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1322 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1323 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1324 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1325 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1326 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1327 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1328 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1329 * libs/gst/base/gstbytereader.h:
1330 * tests/check/Makefile.am:
1331 * tests/check/libs/bitreader.c: (GST_START_TEST),
1332 (gst_bit_reader_suite):
1333 * tests/check/libs/bytereader.c: (GST_START_TEST),
1334 (gst_byte_reader_suite):
1335 API: Add bit reader and byte reader classes, including documentation
1336 and an extensive unit test suite. Fixes bug #553554.
1338 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1340 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1341 (gst_base_sink_query):
1342 Improve position reporting while flushing and other intermediate state
1343 changes. Fixes #553874.
1345 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1347 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1349 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1350 Original patch by : Simon Descaries
1351 Fix small refount leak in caps compatibility check.
1354 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1356 * docs/pwg/advanced-request.xml:
1357 Fix 0.8 api usage in example. Fixes #554561
1359 * docs/pwg/appendix-porting.xml:
1360 Change 0.9 to 0.10 here.
1362 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1364 * docs/manual/basics-data.xml:
1365 Change "event-event interaction" to "element-element interaction".
1366 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1369 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1372 Back to development -> 0.10.21.1
1374 === release 0.10.21 ===
1376 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1379 releasing 0.10.21, "Take These Things From Me"
1381 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1384 0.10.20.4 pre-release
1386 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1388 * libs/gst/base/gstbasetransform.c:
1389 * plugins/elements/gstcapsfilter.c:
1390 * tests/check/Makefile.am:
1391 * tests/check/elements/.cvsignore:
1392 * tests/check/elements/capsfilter.c:
1393 Fix assertion in basetransform when the subclass chooses not to
1394 allocate a buffer in prepare_buffer(), and make capsfilter error out
1395 cleanly if requested to apply caps that don't completely specify the
1396 buffer. Fixes #551509
1398 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1400 * libs/gst/base/gstbasetransform.c:
1401 (gst_base_transform_prepare_output_buffer):
1402 Take new caps ref because our old one might have been gone when the
1403 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1405 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1408 Do not probe availability of check unit test library when cross
1409 compiling, as test would not work anyway. Also cleanup verbose output
1410 of the check test. Fixes #551952.
1412 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1414 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1416 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1417 Avoid leaking the parent ref when we fail changing the state of the
1418 element using gst_element_sync_state_with_parent(). Fixes #551978.
1420 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1422 * docs/manual/intro-motivation.xml::
1423 Remove some bits that no longer apply, update others (#551642).
1425 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1428 0.10.20.2 pre-release
1436 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1438 * win32/common/config.h.in:
1439 Add GST_DATADIR, hard-code cpu to x86.
1441 * win32/common/libgstreamer.def:
1444 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1447 Fix Since: markers for new geo tags.
1449 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1452 Fix actual tag name define after renaming from altitude to elevation.
1454 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1456 * gst/gstpad.c: (add_unref_pad_to_list),
1457 (gst_pad_get_internal_links_default):
1458 Add fallback when calling the deprecated function on an element that
1459 implements the new internal_link handler.
1461 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1463 * docs/gst/gstreamer-sections.txt:
1466 Add new tags for geo location and clarify purpose of existing location
1469 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1471 Patch by: Olivier Crete <tester at tester dot ca>
1473 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1474 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1475 Use thread-safe internal links iterator. Fixes #549504.
1477 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1479 Based on patch by: Olivier Crete <tester at tester dot ca>
1481 * docs/gst/gstreamer-sections.txt:
1482 * win32/common/libgstreamer.def:
1483 * gst/gstpad.c: (gst_pad_init),
1484 (gst_pad_set_iterate_internal_links_function),
1485 (int_link_iter_data_free), (iterate_pad),
1486 (gst_pad_iterate_internal_links_default),
1487 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1489 Add threadsafe replacement functions for getting internal links of an
1490 element. Deprecate the old internal links functions.
1491 API:GstPad::gst_pad_set_iterate_internal_links_function()
1492 API:GstPad::GstPadIterIntLinkFunction
1493 API:GstPad::gst_pad_iterate_internal_links()
1494 API:GstPad::gst_pad_iterate_internal_links_default()
1496 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1497 (gst_proxy_pad_init):
1498 Implement threadsafe internal links.
1500 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1501 Unit test for internal links on tee. See #549504.
1503 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1505 * tests/check/Makefile.am:
1506 libs/transform1 test requires libs/test_transform.c
1508 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1510 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1511 Die evil deadlock, die !
1513 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1515 * gst/gstutils.c: (gst_element_get_compatible_pad):
1516 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1517 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1518 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1519 not steal the refcount of the given caps as stated.
1521 REVERT THIS COMMIT ONCE FIXED !
1522 REVERT THIS COMMIT ONCE FIXED !
1523 REVERT THIS COMMIT ONCE FIXED !
1524 REVERT THIS COMMIT ONCE FIXED !
1525 REVERT THIS COMMIT ONCE FIXED !
1526 REVERT THIS COMMIT ONCE FIXED !
1528 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1530 * gst/gstiterator.c:
1531 * gst/gstiterator.h:
1532 After 3 years it's about time to revise the documentation of the
1535 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1537 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1538 Make the internal links function less thread-unsafe and add some
1539 comments, dunno why.
1541 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1543 * gst/gst_private.h:
1544 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1545 build with --disable-gst-debug.
1547 2008-08-28 David Schleef <ds@schleef.org>
1549 * gst/gstpadtemplate.c: Revert last change, since it breaks
1550 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1551 but shouldn't be enabled until we've released fixed versions
1552 of -good and -ffmpeg.
1554 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1557 Put the gst_object_get_name() back in.
1559 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1561 * gst/gstpadtemplate.c:
1562 The old behaviour was that gst_pad_template_new() takes ownership of
1563 the caps. As we now call g_object_new() which calls g_object_set() and
1564 which copies the caps, we have to unref them to not leak them. Fixes
1565 make valgrid for me.
1567 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1570 Don't segfault on input like "tel:+1-123-555-1234".
1572 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1575 Due to popular request also include ObjectType in
1576 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1578 2008-08-26 David Schleef <ds@schleef.org>
1580 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1581 src_val must be positive, because that's not a requirement.
1582 This causes problems with converting negative granulepos
1584 * gst/gstquery.c: Same, gst_query_new_convert().
1586 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1588 * gst/gstclock.c: (gst_clock_add_observation):
1589 Add some more debugging to the clock slaving code.
1591 * win32/common/libgstbase.def:
1592 Add new basetransform method.
1594 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1596 * gst/gstbin.c: (gst_bin_element_set_state):
1597 Take the (recursive) state lock between getting the locked state of an
1598 element and changing the element state. This allows the application to
1599 lock an element's state and then change its state without races.
1601 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1603 * gst/gstbin.c: (gst_bin_element_set_state):
1604 When an element is in the locked state we still want to update the
1605 base_time of the element.
1607 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1609 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1610 Use the result from gst_pad_set_caps() instead of assuming the element
1611 always accepted the caps computed by the default negotiate function.
1613 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1615 * docs/libs/gstreamer-libs-sections.txt:
1616 * libs/gst/base/gstbasetransform.c:
1617 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1618 (gst_base_transform_chain), (gst_base_transform_suggest),
1619 (gst_base_transform_reconfigure):
1620 * libs/gst/base/gstbasetransform.h:
1621 Implement method for reconfiguring basetransform.
1622 API: GstBaseTransform::gst_base_transform_reconfigure()
1624 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1626 patch by: Murray Cumming <murrayc@murrayc.com>
1629 Mention that this is just like gst_buffer_merge() but with extra
1630 unreffing for C coders. Advise language bindings not to wrap it.
1633 Also fix file comment.
1635 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1637 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1639 * plugins/elements/gstfakesink.c:
1640 * plugins/elements/gstfakesrc.c:
1641 Call super::event() when not handling it. Fixes #544855.
1643 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1645 Patch by: Alessandro Decina <alessandro@nnva.org>
1646 * plugins/elements/gstfilesrc.c:
1647 Use 64 bit variants of stat functions on win32, to enable support
1648 of large files there.
1651 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1653 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1654 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1655 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1656 (gst_base_sink_get_position), (gst_base_sink_change_state):
1657 Improve position reporting in the flushing state.
1658 Also report the position when we are not yet prerolled but we
1659 have a newsegment event. Fixes #543444.
1660 Improve the pull-based negotiation code.
1662 * tests/check/elements/fakesink.c: (GST_START_TEST),
1664 Add testcase for position reporting while flushing in PAUSED and
1667 * tests/check/generic/sinks.c: (GST_START_TEST):
1668 Update unit-test, we can now query the position as soon as we receive a
1671 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1673 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1675 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1676 When the subclass event handler releases the PREROLL_LOCK, we could be
1677 in the flushing state and we have to ignore the event. Fixes #548394.
1679 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1681 * tools/gst-launch.1.in:
1682 Document GST_REGISTRY_UPDATE environment variable.
1684 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1686 * libs/gst/base/gstbasetransform.c:
1687 (gst_base_transform_prepare_output_buffer):
1688 If the element is configured in passthrough mode but the
1689 prepare_output_buffer gave us a new output buffer, discard that buffer
1690 and reuse the input buffer.
1692 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1694 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1696 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1697 (gst_tee_request_new_pad), (gst_tee_release_pad),
1698 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1699 * plugins/elements/gsttee.h:
1700 Protect pad_alloc with a new lock so that we can be sure that nothing is
1701 performing a pad_alloc when removing the pad. Fixes #547835.
1703 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1704 (buffer_alloc_harness_teardown), (app_thread_func),
1705 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1706 Added testcase for shutdown race.
1708 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1713 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1715 * libs/gst/base/gstbasetransform.c:
1716 (gst_base_transform_prepare_output_buffer),
1717 (gst_base_transform_buffer_alloc):
1718 Go over the buffer_alloc function again and make sure we always end up
1719 allocating a buffer.
1721 Avoid doing pad alloc when we have a pending suggestion because we
1722 cannot yet deal with changing caps in that case. Fixes #547728
1724 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1726 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1728 * docs/manual/advanced-clocks.xml:
1729 * docs/manual/clocks.png:
1730 * docs/manual/diagrams-clocks.svg:
1731 Add one more image showing different times together with a describing
1732 paragraph. Fixes #547729.
1734 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1736 * win32/common/libgstbase.def:
1739 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1741 * libs/gst/base/gstbasetransform.c:
1742 (gst_base_transform_transform_caps),
1743 (gst_base_transform_prepare_output_buffer),
1744 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1745 Don't overwrite the outsize when calculating the expected size of a new
1746 buffer because we still need it in case we cannot process the new
1748 When converting the size of the new buffer to an upstream size, actually
1749 use the expected size of the buffer, not some other random value.
1750 Use an atomic int to signal that a new upstream caps suggestion is
1752 When we can convert the current buffer to a new format, check if the
1753 buffer size is of the expected size and allocate a new buffer of the
1754 expected size when this is not the case. Fixes #546883.
1756 * tests/check/libs/transform1.c: (GST_START_TEST):
1757 remove ifdeffed code from the unit test.
1759 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1761 * pkgconfig/gstreamer-uninstalled.pc.in:
1762 * pkgconfig/gstreamer.pc.in:
1763 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1764 called gstcontroller-0.10.
1766 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1768 * gst/gstchildproxy.h:
1770 Remove double interface from doc-string.
1772 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1774 * libs/gst/base/gstbasesrc.c:
1775 * libs/gst/base/gstbasetransform.c:
1776 Fix headings in docs and gtk-doc warnings.
1778 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1780 * gst/gstregistrybinary.c:
1781 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1785 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1787 * libs/gst/base/gstbasetransform.c:
1788 (gst_base_transform_buffer_alloc):
1789 Fix a "may be used unitialized" warning.
1791 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1793 * docs/gst/gstreamer-sections.txt:
1795 Document preset-iface vmethods.
1797 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1799 * docs/manual/advanced-interfaces.xml:
1800 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1801 only used to discover devices.
1803 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1805 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1807 * gst/gst.c: (init_pre):
1808 Make sure gettext returns translations in UTF-8 encoding rather
1809 than in the current locale encoding (#546822).
1811 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1813 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1816 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1817 Improve unit test subset tests and add a testcase for the subset failure
1820 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1821 Improve subtraction unit test.
1823 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1825 * plugins/elements/gsttee.c:
1826 Unlock, instead of locking again.
1828 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1831 Clarify the docs a bit more.
1833 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1835 * tests/examples/metadata/read-metadata.c:
1836 Don't leak old taglist.
1838 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1840 Patch by: Olivier Crete <tester at tester dot ca>
1842 * gst/gststructure.c:
1843 (gst_structure_fixate_field_nearest_fraction):
1844 Avoid overflows in fixation code when dealing with MAXINT values, which
1845 v4l2src seems to do.
1848 * tests/check/gst/gststructure.c: (GST_START_TEST):
1849 Make a unit test to check the fix.
1851 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1853 * plugins/elements/gstcapsfilter.c: (copy_func),
1854 (gst_capsfilter_set_property):
1855 Use new caps suggestion feature of basetransform to request a caps
1856 negotiation upstream.
1858 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1860 * docs/libs/gstreamer-libs-sections.txt:
1862 API: GstBaseTransform::gst_base_transform_suggest()
1864 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1865 (gst_base_transform_init), (gst_base_transform_transform_caps),
1866 (gst_base_transform_transform_size),
1867 (gst_base_transform_configure_caps),
1868 (gst_base_transform_can_transform),
1869 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1870 (gst_base_transform_prepare_output_buffer),
1871 (gst_base_transform_buffer_alloc),
1872 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1873 (gst_base_transform_chain), (gst_base_transform_activate),
1874 (gst_base_transform_set_passthrough),
1875 (gst_base_transform_is_passthrough),
1876 (gst_base_transform_set_in_place),
1877 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1878 (gst_base_transform_set_qos_enabled),
1879 (gst_base_transform_is_qos_enabled),
1880 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1881 (gst_base_transform_reconfigure):
1882 * libs/gst/base/gstbasetransform.h:
1883 Rewrite of basetransform to perform negotiation outside of the
1884 buffer_alloc functions. Fixes #545853.
1886 * tests/check/libs/transform1.c: (GST_START_TEST),
1890 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1892 * tests/check/gst/gstpreset.c:
1893 Only run preset tests when $HOME is writable. Preliminary fix for
1896 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1898 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1899 (gst_bin_change_state_func), (bin_handle_async_done),
1900 (gst_bin_handle_message_func):
1901 Fix race for bins that simulate ASYNC state changes by inserting
1902 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1903 pending ASYNC messages even when the bin does not have ASYNC children.
1904 We note detect this behaviour because we will receive an ASYNC message
1905 that is originating from the bin itself.
1906 Fixes races with decodebin2 state changes.
1908 * tests/check/gst/gstbin.c: (GST_START_TEST):
1909 Add some more debug.
1911 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1913 * gst/gsttaglist.c: (_gst_tag_initialize):
1916 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1919 Argh. actually save the text before committing. Now adds
1920 gst_tag_merge_strings_with_comma() to gst_tag_register().
1922 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1926 Do as tim pointed out and actually register the new tag. Also improve
1927 te docs and use gst_tag_merge_strings_with_comma() method to allow
1928 retriving all keywords merged in one list.
1930 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1933 * docs/gst/gstreamer.types:
1934 Revert 'accidential' change of the configure option removal. We still
1935 need to generate the types file in configure --disable-load-save.
1937 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1939 * docs/gst/gstreamer-sections.txt:
1941 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1943 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1945 * gst/gstpadtemplate.c:
1946 (gst_pad_template_class_init), (gst_static_pad_template_get),
1947 (gst_pad_template_new), (gst_pad_template_pad_created),
1948 (gst_pad_template_set_property), (gst_pad_template_get_property):
1949 Add "name-template", "direction", "presence" and "caps" properties,
1950 so that gst_pad_template_new() is just a thin wrapper around
1951 g_object_new(), which is better for bindings. (Fixes: #539772)
1953 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1956 Be more liberal in what URIs we accept.
1957 Do not unescape bits of the URI for no apparent reason before passing to
1958 the element. Fixes #545352.
1960 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1962 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1965 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1967 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1970 * docs/gst/gstreamer-sections.txt:
1971 * docs/gst/gstreamer.types:
1972 * docs/gst/gstreamer.types.in:
1975 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1976 * gst/gstconfig.h.in:
1977 * gst/gstelement.c: (gst_element_get_index):
1978 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1979 (gst_registry_binary_load_feature),
1980 (gst_registry_binary_read_cache):
1981 * gst/gstregistryxml.c: (load_feature),
1982 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1983 * plugins/Makefile.am:
1985 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1986 (print_plugin_features), (print_element_features):
1987 * tools/gst-xmlinspect.c: (print_event_masks),
1988 (print_element_info):
1989 * win32/common/gstconfig.h:
1990 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1992 Disabling the indexers and URI handler code will only reduce the
1993 required amount of memory by a very small amount but on the other hand
1994 requires much more maintaince work. Apart from that many places of
1995 code are broken when disabling them.
1997 Disabling the enum types doesn't reduce the required amount of memory
1998 by more than a few bytes and makes it hard to fix bugs like #539772,
1999 i.e. use the enums as GObject properties.
2001 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2003 * docs/design/part-TODO.txt:
2004 Add some thoughts and problems with upstream renegotiation.
2006 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2008 * gst/gstpad.c: (gst_pad_acceptcaps_default),
2009 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
2010 Remove silly redundant debug.
2011 Add some more debug info.
2012 Clarify the docs regarding new caps received from pad_alloc.
2014 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2016 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
2017 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
2018 Make setting the caps more threadsafe.
2020 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2022 * docs/design/part-element-transform.txt:
2025 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
2027 * plugins/elements/gstqueue.c: (gst_queue_init),
2028 (gst_queue_acceptcaps):
2029 Add and use a custom acceptcaps function instead of falling back to the
2030 potentially less optimized default implementation.
2032 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
2034 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2035 Only sanity-check the buffer size if requested_caps == buffer_caps
2036 (ie. don't take pad caps into account, they're not relevant here)
2038 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2040 * plugins/elements/gsttee.c:
2041 * plugins/elements/gsttee.h:
2042 Reverting as not everything is clear yet. Needs some general design
2045 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2048 ChangeLog surgery for tee commit.
2050 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2052 * docs/gst/gstreamer-sections.txt:
2053 Cleanup section-file.
2055 2008-07-29 Stefan Kost <ensonic@users.sf.net>
2057 * plugins/elements/gsttee.c:
2058 * plugins/elements/gsttee.h:
2059 Relay tag events in tee. Fixes parts of #474016.
2060 Downgrades 3 reoccurring debugs to log.
2062 2008-07-28 Michael Smith <msmith@songbirdnest.com>
2065 * libs/gst/Makefile.am:
2066 Build the net library if we have winsock2.
2068 2008-07-26 Stefan Kost <ensonic@users.sf.net>
2070 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2072 * docs/manual/advanced-threads.xml:
2073 * docs/manual/diagrams-pipelines.svg:
2074 * docs/manual/hello-world.png:
2075 * docs/manual/linked-elements.png:
2076 * docs/manual/mime-world.png:
2077 * docs/manual/queue.png:
2078 * docs/manual/thread-buffering.png:
2079 * docs/manual/thread-synchronizing.png:
2080 Replace one diagram with two separate ones and updates others.
2083 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
2086 Fix link in documentation.
2088 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2091 Fix confusing documentation.
2093 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2095 * libs/gst/base/gstbasesrc.h:
2096 revert the changes to the header file for the ABI.
2098 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
2100 * libs/gst/base/gstbasesrc.c:
2101 * libs/gst/base/gstbasesrc.h:
2102 Don't cache the seekable status.
2105 2008-07-24 Rene Stadler <mail@renestadler.de>
2107 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2108 code to close the pipeline graph. This prevents the program from
2109 printing internal data flow errors.
2111 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2113 * docs/manual/basics-bus.xml:
2114 Correct typo. Fixes bug #544320.
2116 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2119 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2120 Add check (taken from -base) for winsock, adds WIN32_LIBS
2122 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2124 Define GST_EXPORTS when building libgstreamer (only used on win32)
2125 * gst/gst_private.h:
2127 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2128 for symbols that we need to export in both these files.
2130 Include gst_private.h higher up to avoid some compile problems on win32.
2132 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2137 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2140 Previous commit was wrong NULL caps does not exist
2141 and indicate an error, so also add a FIXME to
2142 gst_caps_is_equal where NULL caps are accepted.
2144 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2147 Allow passing of NULL to gst_caps_union
2149 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2151 * gst/gstghostpad.c:
2152 Add in doc that gst_ghost_pad_set_target can accept
2153 NULL to clear target
2155 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2158 * gst/gstregistry.c:
2159 GstRegistryPool doesn't exist; don't refer to it in docs.
2160 Don't refer to functions that don't exist in docs, it's
2163 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2166 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2168 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2170 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2172 * docs/pwg/building-testapp.xml:
2173 Don't use an undeclared variable in the example program.
2176 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2178 * gst/gstdebugutils.c:
2179 Squeeze ghost-pad links and remove <> from classname labels to save
2180 more horizontal space.
2182 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2184 * gst/gstdebugutils.c:
2185 Give request and sometimes pads a different shpe style. Condense the
2186 graphs a little more.
2188 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2191 Don't require flex and bison if the parser is disabled.
2193 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2195 * libs/gst/controller/gstinterpolationcontrolsource.c:
2196 (_list_find_sorted_custom):
2197 Don't use declarations after statements.
2199 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2201 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2202 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2203 of the the child-added / -removed signals as GstChildProxy
2204 only supports GstObjects.
2206 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2208 * gst/gstdebugutils.c:
2211 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2213 Patch by: Alessandro Decina <alessandro at nnva dot org>
2216 Fix "ignored return value" compiler warning with newer glibc.
2218 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2220 * gst/gstchildproxy.c:
2221 Fix copy&paste error in gst_child_proxy_removed() documentation.
2223 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2225 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2226 Print error debug message if plugin description fields that should
2229 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2230 Don't crash if the string to serialise is NULL (it really should
2231 not be, but apparently this used to work with the xml registry ...).
2233 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2235 * tools/gst-plot-timeline.py:
2236 Fix parsing of log messages
2238 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2240 * win32/common/libgstbase.def::
2241 Sort alphabetically so make check-exports doesn't barf.
2243 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2246 Use gst_format_get_name() to improve debug output.
2249 Remove #ifdef'ed code. Add TODO comment.
2252 Add debug output to ease spotting format != segment.format assertions.
2254 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2256 * tests/check/libs/gdp.c: (gst_dp_suite):
2257 Also enable the GDP unit test again on PPC now that the bug
2260 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2262 * libs/gst/dataprotocol/dataprotocol.c:
2263 Don't write to the same region of memory as a uint64 and uint16
2264 as this breaks strict aliasing rules and apparantly breaks on PPC
2265 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2267 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2269 * libs/gst/controller/gstinterpolationcontrolsource.c:
2270 Optimize list handling. Use own find function. Exploit that fact that
2271 the list is sorted. Also pass back the node before, so that we can
2272 insert quickly. Have a fast path for append.
2274 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2276 * docs/design/draft-framestep.txt:
2277 * docs/design/part-negotiation.txt:
2280 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2283 Show configuration sumary after configure run. Based on patch by
2284 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2286 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2288 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2290 * docs/manual/advanced-autoplugging.xml:
2291 * docs/manual/advanced-threads.xml:
2292 * docs/manual/basics-bins.xml:
2293 * docs/manual/basics-elements.xml:
2294 * docs/manual/basics-helloworld.xml:
2295 * docs/manual/basics-pads.xml:
2296 Add scale factor for pdf output.
2298 * docs/manual/intro-basics.xml:
2299 Switched sections "pads" and "bins" and added a pipeline diagram.
2301 * docs/manual/intro-gstreamer.xml:
2302 Added more info on gstreamer.
2304 * docs/manual/intro-motivation.xml:
2305 Commented out the whole section "current problem", which sounds
2306 historical and somehow osolete; it could be turned in a positive
2307 way and reused to improve the design principles.
2309 * docs/manual/intro-preface.xml:
2310 - Update URLs to library.gnome.org.
2311 - Do not mention GTK+ in preliminary reading (irrelevant).
2312 - Mention Plugin Writer's Manual and further reading only in the
2314 - Added a list of most relevant GObject/glib topics.
2316 * docs/manual/Makefile.am:
2317 * docs/manual/bin-element-ghost.fig:
2318 * docs/manual/bin-element-ghost.png:
2319 * docs/manual/bin-element-noghost.fig:
2320 * docs/manual/bin-element-noghost.png:
2321 * docs/manual/bin-element.fig:
2322 * docs/manual/bin-element.png:
2323 * docs/manual/filter-element-multi.fig:
2324 * docs/manual/filter-element-multi.png:
2325 * docs/manual/filter-element.fig:
2326 * docs/manual/filter-element.png:
2327 * docs/manual/gstreamer-overview.png:
2328 * docs/manual/hello-world.fig:
2329 * docs/manual/hello-world.png:
2330 * docs/manual/linked-elements.fig:
2331 * docs/manual/linked-elements.png:
2332 * docs/manual/mime-world.fig:
2333 * docs/manual/mime-world.png:
2334 * docs/manual/queue.fig:
2335 * docs/manual/queue.png:
2336 * docs/manual/simple-player.png:
2337 * docs/manual/sink-element.fig:
2338 * docs/manual/sink-element.png:
2339 * docs/manual/src-element.fig:
2340 * docs/manual/src-element.png:
2341 * docs/manual/diagrams-general.svg:
2342 * docs/manual/diagrams-pipelines.svg:
2343 Removed .fig, added .png counterpart.
2347 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2349 * plugins/elements/gstmultiqueue.c:
2350 * plugins/elements/gstmultiqueue.h:
2351 revert extra-size-buffers stuff, caused some race conditions
2352 and extra-size-buffers is not used anymore. Docs needs some updates
2354 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2356 * win32/common/config.h:
2357 * win32/common/gstenumtypes.c:
2358 * win32/common/gstenumtypes.h:
2359 * win32/common/gstversion.h:
2362 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2364 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2365 (GST_DEBUG_BIN_TO_DOT_FILE):
2366 Add missing Since' markers to gtk-doc blurbs.
2368 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2370 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2371 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2372 (set_caps_1), (set_caps_ct1), (transform_ct1),
2373 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2374 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2375 (transform_size_ct2), (buffer_alloc_ct2):
2376 Add some more tests with switching caps in buffer_alloc.
2378 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2380 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2381 (gst_test_trans_class_init), (result_sink_chain),
2382 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2383 (gst_test_trans_push), (gst_test_trans_pop):
2384 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2385 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2386 (set_caps_1), (set_caps_ct1), (transform_ct1),
2387 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2388 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2389 (transform_size_ct2), (buffer_alloc_ct2),
2390 (gst_basetransform_suite):
2391 More tests, prepare for tests with switching caps in buffer_alloc.
2393 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2395 * plugins/elements/gstmultiqueue.c:
2396 * plugins/elements/gstmultiqueue.h:
2397 Fix dead-lock in underrun_cb
2399 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2401 * docs/design/part-states.txt:
2402 Fix device open/close docs.
2404 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2407 Mention bugnumber for last commit.
2409 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2411 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2413 * docs/manual/manual.xml:
2414 - Reorganised the previous "introduction" bundle into Foreword,
2415 Introduction, and About GStreamer. The two first are <preface>
2416 docbook elements. The later is the first part of the book.
2417 - added intro-gstreamer.xml (content partially from
2419 - moved appendix-win32.xml into appendix-integration.xml
2421 * docs/manual/intro-preface.xml: gstreamer section moved...
2422 * docs/manual/intro-gstreamer.xml: ...here. new file.
2424 * docs/manual/appendix-win32.xml: removed file. Content moved...
2425 * docs/manual/appendix-integration.xml: ...here.
2427 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2428 * docs/manual/appendix-checklist.xml: ...here.
2432 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2434 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2436 * docs/manual/basics-helloworld.xml:
2437 * docs/manual/hello-world.fig:
2438 - Explicitely include glib.h.
2439 - Do not use global variables.
2440 - Use g_printerr() instead of g_print().
2441 - Minor formating/renaming to increase readibility.
2442 - Renamed new_pad() to on_pad_added()
2443 - Improved explenatory comments.
2444 - renamed ogg parser to ogg demuxer
2445 - Use "autoaudiosink" instead of "alsasink".
2448 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2451 Remove cvs conflict marker.
2453 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2456 Document that for plgin-docs we extraxt he short-desc from the element
2459 * docs/design/part-states.txt:
2460 Tell that devices should be closed in PAUSED -> READY.
2462 * docs/manual/README:
2463 Document how tests in the manual are handled.
2468 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2470 * gst/gstbin.c: (bin_query_latency_fold):
2471 Only care about latency min and max when the sink is actually a live
2474 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2476 * docs/design/part-block.txt:
2479 * docs/design/part-element-transform.txt:
2480 Add notes about why transform needs to know input/output sizes.
2481 Add some issues that need to be solved.
2482 Add some more use cases.
2484 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2485 (gst_test_trans_class_init), (result_sink_chain),
2486 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2487 (gst_test_trans_push), (gst_test_trans_pop):
2488 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2489 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2490 (set_caps_1), (set_caps_ct1), (transform_ct1),
2491 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2492 (gst_basetransform_suite):
2493 Add suport for different pad templates and buffer-alloc.
2494 Add more checks for caps and buffer-alloc.
2495 Add checks for proxy buffer alloc.
2496 Add unit test for copy transform.
2498 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2500 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2502 * docs/manual/appendix-integration.xml:
2503 * docs/manual/appendix-licensing.xml:
2504 * docs/manual/basics-elements.xml:
2505 * docs/manual/basics-helloworld.xml:
2506 * docs/manual/basics-pads.xml:
2507 * docs/manual/highlevel-components.xml:
2508 * docs/manual/highlevel-xml.xml:
2509 * docs/manual/intro-basics.xml:
2510 * docs/manual/intro-preface.xml:
2511 Typo and formatting fixes (#538594).
2513 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2515 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2516 Fix some memory leaks and uses of object instances that we don't
2519 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2521 * plugins/elements/gstmultiqueue.c:
2522 Add functionality to extra-size-buffers property.
2524 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2526 * plugins/elements/gstmultiqueue.c:
2527 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2528 activate the pads if they are added in STATE_NULL.
2530 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2532 * docs/libs/gstreamer-libs-sections.txt:
2534 * libs/gst/check/gstcheck.c:
2535 * libs/gst/check/gstcheck.h:
2536 API: gst_check_teardown_pad_by_name
2538 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2540 * libs/gst/check/gstcheck.c:
2541 * libs/gst/check/gstcheck.h:
2542 Also setup request pads and allow setup pads by name (#537812)
2543 API: gst_check_setup_src_pad_by_name
2544 API: gst_check_setup_sink_pad_by_name
2546 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2548 * tests/check/gst/gstbuffer.c:
2549 * tests/check/pipelines/parse-launch.c:
2550 Use HAVE_VALGRIND_H some more.
2552 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2554 * scripts/cvs-update.sh:
2555 Pass arguments to make.
2556 Run autoregen.sh if Makefile is not there.
2558 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2562 Don't assume that <valgrind/valgrind.h> exists just because
2563 the binary is there.
2565 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2567 * tests/check/Makefile.am:
2568 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2569 (gst_test_trans_class_init), (gst_test_trans_init),
2570 (gst_test_trans_set_data), (result_sink_chain),
2571 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2572 (gst_test_trans_pop):
2573 * tests/check/libs/transform1.c: (GST_START_TEST),
2574 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2575 Add some test basetransform element and the beginnings of various
2578 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2580 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2581 Increase code readability.
2582 Don't try to compare buffer offsets when ther are invalid.
2584 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2586 * docs/design/Makefile.am:
2587 Dist some more design docs.
2589 * docs/random/moving-plugins:
2590 Small addition: good plugins mustn't have functional code
2591 within assertion macros.
2593 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2595 * docs/design/draft-framestep.txt:
2596 Some ideas about a framestep API
2598 * docs/design/part-element-transform.txt:
2599 Start design and use cases for basetransform in order to get it
2602 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2605 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2606 be in UTF-8 encoding.
2608 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2611 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2613 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2615 * plugins/elements/gstcapsfilter.c:
2616 * plugins/elements/gstfakesink.c:
2617 * plugins/elements/gstfakesrc.c:
2618 * plugins/elements/gstfdsink.c:
2619 * plugins/elements/gstfdsrc.c:
2620 * plugins/elements/gstfilesink.c:
2621 * plugins/elements/gstfilesrc.c:
2622 * plugins/elements/gstidentity.c:
2623 * plugins/elements/gstmultiqueue.c:
2624 * plugins/elements/gstqueue.c:
2625 * plugins/elements/gsttee.c:
2626 * plugins/elements/gsttypefindelement.c:
2627 Remove short_description. Add basic docs for gsttypefindelement.
2628 Simplify markup for fakesrc/fdsrc.
2630 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2632 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2635 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2637 Patch by: Joel Larsson <tilljoel at gmail dot com>
2639 * docs/plugins/gstreamer-plugins.args:
2640 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2641 (gst_fd_src_init), (gst_fd_src_update_fd),
2642 (gst_fd_src_set_property), (gst_fd_src_get_property),
2643 (gst_fd_src_create):
2644 * plugins/elements/gstfdsrc.h:
2645 Add timeout property like udpsrc. Fixes #538628.
2646 Add some more docs and example pipelines.
2648 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2650 * docs/libs/gstreamer-libs-sections.txt:
2651 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2652 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2653 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2654 (gst_base_sink_do_sync):
2655 * libs/gst/base/gstbasesink.h:
2656 * win32/common/libgstbase.def:
2657 Add method to allow sinks to specify additional delay between the sync
2658 times and the actual rendering of the data.
2659 API: gst_base_sink_set_render_delay()
2660 API: gst_base_sink_get_render_delay()
2662 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2665 Bump version number back to dev -> 0.10.20.1
2667 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2669 * docs/gst/gstreamer-sections.txt:
2670 * gst/gsttaglist.c: (_gst_tag_initialize):
2672 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2675 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2677 * libs/gst/controller/gstcontroller.c:
2678 Revert one change, that make ret value possible uninitialized.
2680 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2682 * libs/gst/controller/gstcontroller.c:
2683 Use freeze/thaw notify to sync notify emission a bit (its also more
2684 efficient). Move debug output to LOG (is called a lot in a loop).
2685 Always unset g_values if the have been initialized.
2687 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2689 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2690 (gst_base_sink_wait_eos), (gst_base_sink_event):
2691 If we have not seen a buffer before EOS, use the segment values to
2692 report the current position instead of invalid positions.
2694 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2696 * docs/plugins/tmpl/.cvsignore:
2697 * tests/check/gst/.cvsignore:
2700 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2702 * libs/gst/controller/gstinterpolation.c:
2703 * libs/gst/controller/gstinterpolationcontrolsource.c:
2704 * tests/check/libs/controller.c:
2705 Rewrite handling of default values. Fix overflow with unsigned types
2706 in linear interpolation. Remove now obsolete _first_value() function.
2707 Add more tests. Fixes #538201.
2709 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2711 * libs/gst/base/gstbasetransform.c:
2712 (gst_base_transform_class_init), (gst_base_transform_init),
2713 (gst_base_transform_transform_caps),
2714 (gst_base_transform_prepare_output_buffer):
2716 When a buffer is writable, its metadata is also writable so we don't
2717 need to subbuffer (which then makes the buffer not-writable anymore).
2719 === release 0.10.20 ===
2721 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2724 releasing 0.10.20, "You Crazy Diamond"
2726 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2729 0.10.19.3 pre-release
2731 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2735 Rename DATADIR to GST_DATADIR to avoid build problems
2736 on win32. Patch By: David Schleef <ds@schleef.org>
2739 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2742 Explicitely link with -ldl if dladdr() is found there. Before it was
2743 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2744 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2746 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2748 * gst/gsterror.c: (_gst_stream_errors_init):
2749 Fix typo (spotted by Fabricio Godoy, #536723).
2751 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2754 0.10.19.2 pre-release
2756 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2758 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2759 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2761 Make sure we don't generate invalid QoS messages.
2763 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2765 * gst/gstevent.c: (gst_event_new_qos):
2766 Add some assert and docs for invalid input to the qos function.
2768 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2770 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2771 (gst_base_sink_get_position):
2772 The reported position must always be smaller than the last seen
2773 timestamps (or timestamp + duration for reverse).
2775 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2777 Patch by: Rob Bradford <rob at robster dot org dot uk>
2779 * gst/gstregistry.c: (gst_registry_scan_path_level):
2780 Don't recurse into .debug directories as some distros install
2781 the debugging symbols next to the plugins in .debug directories
2782 and dlopen() crashes on them sometimes. Fixes bug #508070.
2784 Add FIXME for 0.11 to not recurse into directories at all because
2785 it's very inconsistent to the behaviour of other PATH environment
2788 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2790 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2791 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2792 Fix position query range checks in reverse playback.
2794 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2798 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2799 clear of the reference to the resulting pad must be released later
2800 or not, resulting in possible leaks. Fixes bug #533865.
2802 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2804 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2806 * gst/gstelementfactory.c:
2807 Small doc fix. Fixes #535285.
2809 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2811 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2813 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2814 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2815 (gst_base_src_loop), (gst_base_src_set_flushing),
2816 (gst_base_src_change_state):
2817 Make sending an EOS event to the basesrc non-blocking even if the
2818 implementation does blocking waits in the create function. This is done
2819 by unlocking the create function when EOS is sent.
2822 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2824 * tools/gst-inspect.c: (print_element_properties_info):
2825 If possible print the element type of GValueArray properties.
2827 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2829 * gst/gstiterator.c:
2830 Remove an unused field from the private GstListIterator struct.
2832 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2834 * libs/gst/controller/gstcontroller.c:
2835 Add parameter guards.
2837 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2839 * tests/check/gst/gstpipeline.c:
2840 Revert test change and add comment why it should not work.
2842 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2844 * tests/check/gst/gstpipeline.c:
2845 Extending the test a little to verify that we also get the NULL state-
2848 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2850 * gst/gstpreset.c: (gst_preset_default_get_meta),
2851 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2852 (gst_preset_load_preset), (gst_preset_save_preset),
2853 (gst_preset_rename_preset), (gst_preset_delete_preset),
2854 (gst_preset_set_meta):
2855 Add Since: markers to docs blurbs.
2857 * win32/common/libgstreamer.def:
2858 Add recently-added API.
2860 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2862 Patch by: Stefan Kost <ensonic@users.sf.net>
2865 Add DATADIR for storing presets.
2867 * docs/gst/gstreamer-docs.sgml:
2868 * docs/gst/gstreamer-sections.txt:
2869 * docs/gst/gstreamer.types.in:
2870 Add GstPreset to docs.
2874 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2875 (preset_open_and_parse_header), (preset_parse_version),
2876 (preset_merge), (preset_get_keyfile),
2877 (gst_preset_default_get_preset_names),
2878 (gst_preset_default_get_property_names),
2879 (gst_preset_default_load_preset),
2880 (gst_preset_default_save_presets_file),
2881 (gst_preset_default_save_preset),
2882 (gst_preset_default_rename_preset),
2883 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2884 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2885 (gst_preset_default_reset), (gst_preset_get_preset_names),
2886 (gst_preset_get_property_names), (gst_preset_load_preset),
2887 (gst_preset_save_preset), (gst_preset_rename_preset),
2888 (gst_preset_delete_preset), (gst_preset_set_meta),
2889 (gst_preset_get_meta), (gst_preset_class_init),
2890 (gst_preset_base_init), (gst_preset_get_type):
2892 Add GstPreset to core. Fixes #396779
2894 * tests/check/Makefile.am:
2895 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2896 (gst_preset_test_set_property), (gst_preset_test_class_init),
2897 (gst_preset_test_base_init), (gst_preset_test_get_type),
2898 (gst_preset_test_plugin_init), (GST_START_TEST),
2899 (remove_preset_file), (test_setup), (test_teardown),
2901 Add GstPreset unit tests.
2903 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2905 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2906 The default event function on a sinkpad should return TRUE when
2907 there are no internal links but should collect the return values from
2908 the internal links otherwise.
2910 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2912 * plugins/elements/gsttypefindelement.c:
2913 (gst_type_find_element_src_event),
2914 (gst_type_find_element_handle_event):
2915 Use faster and safer _pad_push_event().
2917 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2919 * docs/gst/gstreamer-sections.txt:
2920 * gst/gstutils.c: (element_find_unlinked_pad),
2921 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2923 API: add gst_bin_find_unlinked_pad()
2924 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2926 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2932 Fixed a bunch of typos.
2934 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2937 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2938 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2939 (gst_parse_bin_from_description_full):
2941 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2943 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2945 * docs/pwg/advanced-tagging.xml:
2946 Small docs update, can't be bothered to rewrite the nonsensical
2949 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2952 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2954 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2956 * gst/parse/grammar.y:
2957 Remove unneeded casts.
2959 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2961 * gst/parse/grammar.y:
2962 * tests/check/pipelines/parse-launch.c:
2963 Get all missing elements from a parse launch string if possible
2964 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2966 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2968 * tests/check/Makefile.am:
2969 * tests/check/pipelines/parse-launch.c:
2970 Add some unit tests for the new gst_parse_launch*_full() API.
2971 (Exposes a previously-existing memory leak in the error code
2972 path, so adding to VALGRIND_TO_FIX for now).
2974 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2976 * docs/gst/gstreamer-sections.txt:
2977 * gst/gst.c: (init_post):
2978 * gst/gst_private.h: (_GstParseContext):
2979 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2980 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2981 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2982 (gst_parse_launch_full):
2983 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2984 (GstParseFlags), (GstParseContext):
2985 * gst/gstutils.c: (gst_parse_bin_from_description),
2986 (gst_parse_bin_from_description_full):
2988 * gst/parse/grammar.y:
2989 * gst/parse/types.h:
2990 * win32/common/libgstreamer.def:
2991 Add new gst_parse_*_full API (#528178):
2992 API: gst_parse_launch_full()
2993 API: gst_parse_launchv_full()
2994 API: gst_parse_bin_from_description_full()
2995 API: gst_parse_context_new()
2996 API: gst_parse_context_free()
2997 API: gst_parse_context_get_missing_elements()
2999 2008-05-23 Stefan Kost <ensonic@users.sf.net>
3001 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
3003 * docs/faq/gst-uninstalled:
3004 Also support ffmpeg in gst-uninstalled.
3006 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3009 After discussion on IRC use the binary registry as default
3010 but allow to disable it with --disable-binary-registry.
3012 * win32/common/libgstreamer.def:
3013 Add the two new symbols for the binary registry.
3015 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
3017 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
3018 * gst/gstutils.c: (gst_parse_bin_from_description):
3019 * gst/parse/grammar.y: (graph):
3020 More guards against bad input; typo fix; some minor clean-ups.
3022 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3024 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3026 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3027 If nothing else can be used, use the last buffer's start time as
3028 the segment's last stop. Fixes bug #534258.
3030 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
3032 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3033 Move size sanity check to the right place: downstream may return
3034 a buffer with a smaller size if the buffer caps are different than
3035 the requested ones, as may happen when doing reverse negotiation.
3037 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3039 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
3040 (gst_file_sink_render):
3041 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
3042 (gst_file_src_start):
3043 Small cleanups. Add note adbout g_fopen() on windows and why we don't
3046 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3048 * gst/gstpad.c: (gst_pad_load_and_link):
3049 * gst/gstutils.c: (gst_element_link_pads),
3050 (gst_element_unlink_pads):
3051 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3052 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3053 (gst_check_teardown_sink_pad),
3054 (gst_check_element_push_buffer_list):
3055 * tests/check/elements/fakesink.c: (GST_START_TEST):
3056 * tests/check/elements/filesink.c:
3057 * tests/check/elements/filesrc.c: (GST_START_TEST):
3058 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3059 (mq_sinkpad_to_srcpad):
3060 * tests/check/elements/tee.c: (GST_START_TEST):
3061 * tests/check/generic/sinks.c: (GST_START_TEST):
3062 * tests/check/gst/gstbin.c: (GST_START_TEST):
3063 * tests/check/gst/gstevent.c: (GST_START_TEST):
3064 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3065 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3066 * tests/check/gst/gstquery.c: (GST_START_TEST):
3067 * tests/check/gst/gstutils.c: (GST_START_TEST):
3068 * tests/check/libs/basesrc.c: (GST_START_TEST):
3069 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3070 (gst_parse_test_element_change_state):
3071 Don't use gst_element_get_pad().
3073 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
3076 Fix installing plugin documentation when gtk-doc is disabled.
3078 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3080 * docs/manual/advanced-autoplugging.xml:
3081 * docs/manual/basics-helloworld.xml:
3082 * docs/manual/basics-pads.xml:
3083 * docs/manual/highlevel-components.xml:
3084 Avoid using a bad function in the example code.
3086 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
3088 * gst/gstclock.c: (gst_clock_set_calibration):
3089 Fix debug of the new clock rate.
3091 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3093 * win32/common/libgstbase.def:
3094 Add gst_base_sink_wait_clock() to the exported symbols.
3096 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
3098 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
3100 * libs/gst/base/gstbasetransform.c:
3101 (gst_base_transform_sink_event):
3102 Unref events that the GstBaseTransform::event vfunc didn't want to
3103 have forwarded by the base class. Closes a leak in identity.
3106 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3108 * docs/libs/gstreamer-libs-sections.txt:
3109 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3110 * libs/gst/base/gstbasesink.h:
3111 Expose a method that was previously used internally to synchronize
3112 against the clock because it can be useful for subclasses too.
3113 API: GstBaseSink::gst_base_sink_wait_clock()
3115 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3117 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3118 Add sanity check to make sure we don't get smaller buffers
3119 than requested (and fallback to normal buffer alloc if we do).
3121 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3123 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3124 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3125 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3126 Refactor adjusting the running_time with latency and offset into a
3128 When doing clipping, we still want to use the subclass get_times method,
3129 just in case the DURATION or TIMESTAMP are not set.
3131 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3133 * docs/gst/gstreamer-sections.txt:
3134 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3135 * gst/gsttypefind.h:
3136 * win32/common/libgstreamer.def:
3137 API: add gst_type_find_suggest_simple(), #533740.
3139 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3141 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3142 Use right error code when typefinding fails, so we can use
3143 the default (translated) error messages.
3145 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3147 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3148 (gst_base_src_start):
3149 When the subclass did not set caps on outgoing buffers, configure the
3150 caps we negotiated on the source pad.
3151 When the typefind helper does not find caps, error out properly instead
3152 of doing things with NULL caps.
3154 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3156 * gst/gsttypefind.h:
3157 Tabs to spaces, oh yes!
3159 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3161 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3162 Add David's and Benjamin's tests for array intersection to the
3163 unit test suite (#147931).
3165 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3168 Document that gst_event_new_tag() and gst_event_new_navigation()
3169 take ownership of the taglist/structure passed to them. (#533635).
3171 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3174 Don't descend into the plugins dir if plugin docs building
3178 Add a note about the new type:GTypeName syntax for the plugin
3179 documentation .types file.
3181 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3183 * gst/gstmessage.c: (gst_message_new_error),
3184 (gst_message_new_warning), (gst_message_new_info):
3186 Mark the debug string parameters as const. Fixes bug #533490.
3188 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3190 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3191 Sort buffer cache list by end offsets. This makes sure that we don't
3192 stop to search for a cached buffer that contains the requested data
3194 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3195 more efficient. Fixes bug #459862.
3197 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3200 Explain why we copy the list.
3202 * gst/gstpipeline.c:
3206 Add one debug-log statement to help tracing probelms with linking pads.
3208 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3210 * tests/check/gst/gstinfo.c:
3211 Add a test for removing the default log handler. Seems to fail under
3214 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3216 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3217 Release pad lock before calling out to avoid a possible deadlock.
3219 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3221 * gst/parse/grammar.y:
3222 Remove unneeded value unset.
3224 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3225 Add unit test for de/serialization of caps.
3227 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3229 * plugins/elements/gstfakesink.c:
3230 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3231 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3232 (gst_fake_src_class_init):
3233 Use custom marshalers that take GstMiniObject as first parameter.
3234 Using OBJECT as parameter while a GstMiniObject is given will lead
3235 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3237 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3239 * plugins/elements/gsttypefindelement.c:
3240 (gst_type_find_element_handle_event),
3241 (gst_type_find_element_send_cached_events),
3242 (gst_type_find_element_change_state):
3243 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3246 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3248 * plugins/elements/gsttypefindelement.c:
3249 (gst_type_find_handle_src_query), (stop_typefinding),
3250 (gst_type_find_element_handle_event),
3251 (gst_type_find_element_send_cached_events),
3252 (gst_type_find_element_change_state):
3253 Forward FLUSH_START events immediately and clean up instead of
3256 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3258 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3260 * libs/gst/base/gstbasetransform.c:
3261 (gst_base_transform_buffer_alloc):
3262 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3263 fall back to default negotiation in the chain function if the caps
3264 are different from what was requested. Fixes bug #526768.
3266 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3269 * tests/check/gst/gstsegment.c:
3270 No, let's not use g_slice_{dup|copy} here, since they only exist
3271 since GLib 2.14 and we still depend only on >= 2.12. Also add
3272 unit test for gst_segment_copy().
3274 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3276 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3277 Try to fix 'dereferencing type-punned pointer will break strict
3278 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3279 changed the default GType typedef from gulong to gsize at some point,
3280 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3281 g_once_* functions all take a gsize * though, so work around the type
3282 mismatch for C++ by doing everything in gsize and casting to GType
3285 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3287 * plugins/elements/gstmultiqueue.c:
3288 Add documentation for the signals to push our core plugin docs
3289 coverage back up to 100%.
3291 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3293 * gst/gstinfo.h (GST_FUNCTION):
3294 Reverted GST_FUNCTION to the old version as we don't want the
3295 full signature in C++ code. Also added support for MSVC.
3297 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3300 Intern the type name string, similar to what G_DEFINE_TYPE does.
3302 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3305 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3307 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3309 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3311 * libs/gst/base/gstbasetransform.c:
3312 (gst_base_transform_buffer_alloc):
3313 Don't passthrough buffer allocation too easily if the caps change.
3314 This breaks when working in passthrough mode and upstream changes
3315 it's caps. Fixes bug #526768.
3317 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3319 * gst/gstinfo.c (gst_debug_log_valist):
3320 Improved the __FILE__ part of debug output for MSVC.
3322 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3324 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3325 Declaration after statement fix for compilers like MSVC.
3327 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3329 * win32/common/config.h.in:
3330 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3331 use the real thing than having "???" unconditionally.
3333 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3335 * gst/gstinfo.h (GST_FUNCTION):
3336 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3338 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3340 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3343 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3344 (gst_base_sink_set_flushing):
3345 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3348 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3350 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3351 (gst_fake_src_init), (gst_fake_src_set_property),
3352 (gst_fake_src_get_property), (gst_fake_src_start):
3353 * plugins/elements/gstfakesrc.h:
3354 Added format property to control the format of the newsegment events.
3355 API: GstFakeSrc:format
3357 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3359 * win32/common/libgstreamer.def:
3360 Add gst_pad_has_name() to the exported symbols.
3362 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3364 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3365 * libs/gst/base/gstbasetransform.c:
3366 (gst_base_transform_prepare_output_buffer):
3367 Don't allow negative sizes when allocating new buffers.
3370 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3372 Patch by: Sjoerd Simons <sjoerd at luon net>
3374 * gst/gstbus.c: (gst_bus_source_dispatch):
3375 Don't print a warning if the queue is empty when we try to pop
3376 here. That could happen if another thread or callback set the
3377 bus to flushing between the source's check/prepare and the
3378 dispatch being called (#531538).
3380 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3382 * plugins/elements/gstmultiqueue.c:
3385 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3387 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3388 Add unit test for deserializing uint64s and check some really large
3389 numbers in the int64 test.
3391 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3393 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3394 (print_interfaces), (print_element_properties_info),
3395 (print_signal_info):
3396 Use "%s" as format string instead of printing strings directly.
3398 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3400 * gst/gstclock.c: (gst_clock_set_calibration):
3401 Make some checks actually useful.
3403 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3404 Remove some unused code. Unsigned integers tend to be >= 0.
3406 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3408 * gst/gstminiobject.c: (gst_value_get_mini_object):
3409 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3410 function was not in the unscheduled 0.10.19 release.
3412 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3414 * gst/gstregistry.c: (gst_registry_scan_path_level):
3415 Only print one log message per non-plugin file.
3417 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3419 * gst/gstinfo.c: (gst_debug_log_default):
3420 Fix alignment of debug log columns on 64-bit.
3422 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3424 * docs/libs/Makefile.am:
3425 * docs/libs/gstreamer-libs-sections.txt:
3426 Ignore private controller headers for docs.
3428 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3430 * libs/gst/controller/gstcontrollerprivate.h:
3431 * libs/gst/controller/gsthelper.c:
3432 * libs/gst/controller/gstinterpolation.c:
3433 * libs/gst/controller/gstinterpolationcontrolsource.c:
3434 (gst_interpolation_control_source_set_interpolation_mode):
3435 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3436 * libs/gst/controller/lib.c:
3437 Move some private declarations into private headers.
3439 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3441 * gst/gstdebugutils.c: (debug_dump_element_pad):
3442 Remove some code that is unused after Stefan's refactoring and uses
3443 uninitialized variables now, resulting in a compiler warning.
3445 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3447 * gst/gstregistry.c: (gst_registry_scan_path_level):
3448 Run g_str_has_suffix() only on the file name, not the
3451 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3453 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3454 Since we're not called only from the chain function any longer,
3455 we can't assume that there's always data in the queue, so move
3456 the is_full check to the beginning of the loop (otherwise we'd
3457 hit the assert when changing the limit properties while the
3458 queue is empty or not running yet).
3459 Also, only set a discont if items were actually removed from
3462 * tests/check/elements/queue.c: (test_leaky_downstream):
3463 Test case for the above.
3465 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3467 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3469 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3470 (gst_queue_chain), (queue_capacity_change),
3471 (gst_queue_set_property):
3472 When changing thr max capacity of a leaky queue, immediatly drop buffers
3473 instead of waiting for a push on the sinkpad. Fixes #530637.
3475 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3477 * gst/gstdebugutils.c:
3478 Refactor code and fix handling of ghostpads and their proxypads.
3480 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3482 * docs/gst/gstreamer-sections.txt:
3483 * gst/gstevent.c: (gst_event_has_name):
3485 * tests/check/gst/gstevent.c: (GST_START_TEST):
3486 Add method to conveniently check the name of a custom event with
3487 gst_event_has_name().
3488 Reformat the event docs so that related methods are put together instead
3489 of the default alphabetical sort.
3490 Update unit test with new method.
3491 API: GstEvent::gst_event_has_name()
3493 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3495 * libs/gst/check/Makefile.am:
3496 Don't add an explicit link to libgstreamer-0.10.la; it's already
3497 included in GST_OBJ_LIBS.
3499 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3502 Register GstClock type from a type-safe context. Fixes bug #530317.
3504 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3506 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3508 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3510 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3512 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3514 Use the GLib stuff to create a private structure.
3515 Add some locking around some dispose methods to make them a little
3516 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3518 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3520 * libs/gst/base/gstbasesink.h:
3521 * libs/gst/base/gstbasesrc.h:
3522 * libs/gst/base/gstbasetransform.h:
3523 * libs/gst/base/gstcollectpads.h:
3524 Fix doc typos and unify caps a bit.
3526 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3528 * tools/gst-launch.1.in:
3529 Forgot to also add the envvar docs here.
3531 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3533 * gst/gst.c: (init_post), (gst_deinit):
3534 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3535 (test_concurrent_create), (gst_pipeline_suite):
3536 Ref some more classes in gst_init() to work around thread-safety
3537 issues in pre-2.16 GLibs, and add basic unit test.
3539 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3541 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3542 (gst_base_sink_send_event):
3543 Rearrange the latency query code. We always want to do the upstream
3544 query, even if we are not live so that the upstream elements can get the
3545 latency results too. If we fail doing the query and we are live, we
3546 return TRUE afterwards.
3548 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3550 patch by: Jason Zhao <e3423c@motorola.com>
3552 * docs/gst/running.xml:
3554 Enable/disable scan_and_update_registry() based on commandline switch
3555 or environment variable. Fixes #520468.
3558 Fix typo in my previous commit.
3560 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3562 * gst/gstregistrybinary.c:
3563 Add a warning if we hit unhandled factories when saving.
3564 More debug logging detail, but move to LOG category.
3566 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3568 * gst/gstregistry.c:
3569 Tell the *truth* when improving the documentation.
3571 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3573 * gst/gstelementfactory.c: (gst_element_factory_make):
3574 Unref the factory after it was used the last time, not before.
3576 * gst/gstindexfactory.c: (gst_index_factory_make):
3577 Improve debugging a bit and don't leak a ref to the index factory with
3580 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3582 * gst/gstregistry.c:
3583 Improve the documentation.
3585 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3588 The glib macro seems to be borked. Use g_slice_copy directly and cast
3589 in the hope that this fixes the warning on 64bit.
3591 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3594 Document the new function. Use g_slice_dup() (no need for
3595 gst_segment_init()).
3597 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3599 * docs/gst/gstreamer-sections.txt:
3600 Move GParamSepc macros to standart section.
3603 Dn't document _get_type - its in private section in docs anyway and
3604 this doc-blob was incomplete.
3607 Fix wrong symbol names in docs.
3610 Add once doc sentence.
3612 * tests/check/gst/.cvsignore:
3615 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3617 * docs/gst/Makefile.am:
3618 And remove those libs here.
3620 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3622 * docs/libs/Makefile.am:
3623 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3625 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3627 Patch by: Olivier Crete <tester at tester dot ca>
3629 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3630 Add the min-threshold to the min latency if possible. Fixes #529148.
3632 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3634 * docs/gst/gstreamer.types.in:
3635 Stupid editor, I removed that line as it should go in yet.
3637 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3639 * docs/gst/gstreamer.types.in:
3640 * docs/libs/gstreamer-libs.types:
3641 Remove library types fro core docs and have them in libs docs.
3642 Reformat and cleanup. Add comment for miniobject types.
3644 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3646 * gst/gsturi.c: (gst_uri_get_protocol):
3647 Fix leak: g_strdown operates on the string in place, while
3648 g_ascii_strdown() returns a newly-allocated string.
3650 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3652 * tools/gst-inspect.c: (print_uri_handler_info),
3653 (print_element_info):
3654 Print the URI protocols and the URI type supported by the element.
3656 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3658 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3659 Use g_value_take_string() instead of the deprecated
3660 g_value_set_string_take_ownership().
3662 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3664 * gst/gstregistrybinary.c: (_gst_crc32):
3665 Return the old CRC instead of 0 if we give a NULL buffer
3666 or a buffer with a length of 0.
3668 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3670 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3671 (gst_uri_get_protocol), (gst_uri_has_protocol),
3672 (gst_uri_construct), (gst_uri_handler_set_uri):
3673 A valid URI scheme can also include '+', '-' and '.' additional
3674 to alphanumeric characters as per RFC 3986 Section 3.1.
3676 Handle URI schemes case insensitive in all places and convert
3677 to lower-case when constructing an URI or setting an URI with
3678 the GstURIHandler interface. Fixes bug #528868.
3679 All elements can still assume (as before) that they will
3680 get passed URIs with a lower-case URI scheme by the GstURIHandler
3683 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3685 * gst/gstcaps.c: (gst_static_caps_get):
3686 * gst/gstclock.c: (gst_clock_entry_new):
3687 Don't use g_atomic_set_int where it's not needed.
3689 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3691 * gst/gstvalue.c: (gst_value_deserialize_caps):
3692 * gst/parse/grammar.y:
3695 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3697 * gst/gstutils.c: (gst_atomic_int_set):
3698 Use g_atomic_int_set() here too instead of assignment +
3701 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3705 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3706 now that we depend on new enough GLib.
3708 * gst/gstcaps.c: (gst_static_caps_get):
3709 * gst/gstclock.c: (gst_clock_entry_new):
3710 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3711 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3712 (gst_debug_category_set_threshold):
3713 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3714 (gst_base_sink_set_qos_enabled):
3715 * libs/gst/net/gstnettimeprovider.c:
3716 (gst_net_time_provider_set_property):
3717 Use g_atomic_int_set() instead of gst_atomic_int_set().
3719 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3722 Also use G_GINT64_CONSTANT for the queries.
3724 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3727 Use G_GINT64_CONSTANT in varargs function.
3729 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3731 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3732 Initialize the registry magic with zeroes.
3734 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3736 * gst/gstregistrybinary.c: (_gst_crc32),
3737 (gst_registry_binary_write),
3738 (gst_registry_binary_initialize_magic),
3739 (gst_registry_binary_write_cache),
3740 (gst_registry_binary_check_magic),
3741 (gst_registry_binary_read_cache):
3742 * gst/gstregistrybinary.h:
3743 Add crc32 checksum to the binary registry file and check this before
3744 accepting a registry file.
3746 Also free the data list when writing to the registry file fails.
3748 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3750 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3751 (gst_registry_binary_load_feature),
3752 (gst_registry_binary_load_plugin):
3753 If an element supports the Uri interface, returns a valid pointer
3754 to the supported URI protocols but this pointer contains nothing
3755 don't try to save that as it will corrupt the registry.
3757 Don't unref the plugin if we added it to the registry already but
3758 fail to load a feature as gst_registry_add_plugin() takes ownership
3761 Improve debugging a bit.
3763 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3766 Clarify some tag item docs after discussion on irc.
3768 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3770 * docs/gst/gstreamer-docs.sgml:
3771 Remove commented out plugins (they have their own docs). Update
3774 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3776 * docs/gst/gstreamer-docs.sgml:
3777 * docs/gst/gstreamer-sections.txt:
3778 * gst/gstparamspecs.c:
3779 * gst/gstparamspecs.h:
3780 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3781 docs to own section.
3784 This now only documents GValue.
3786 * docs/libs/gstreamer-libs-sections.txt:
3787 * libs/gst/controller/gstcontroller.h:
3788 Remove GST_PARAM_CONTROLLABLE.
3790 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3793 Correct file path. Tell about how to use -overrides.txt.
3794 * docs/design/draft-tagreading.txt:
3795 Small design update.
3797 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3799 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3800 (gst_registry_binary_load_plugin):
3801 Fix a typo in a debug message and revert change from yesterday as
3802 gst_registry_add_plugin() will only fail if something is really wrong
3803 already and we can't survive it anyway.
3805 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3807 * gst/gst.c: (init_post), (gst_deinit):
3808 Pre-register GstGError GType from a thread-safe context
3809 (fixes #527967); unref enum type classes in deinit.
3811 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3813 Patch by: Rene Stadler <mail at renestadler de>
3815 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3816 Merging an empty list with another list in KEEP_ALL mode should
3817 yield an empty list as result and not the second list (#512578).
3819 * tests/check/gst/gsttagsetter.c:
3820 Add unit test for tag merge modes and the aforementioned bug.
3822 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3824 Patch by: Rene Stadler <mail at renestadler de>
3827 Fix description to match the order in the table (#512577).
3829 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3831 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3833 * libs/gst/net/gstnettimepacket.h:
3834 * docs/libs/gstreamer-libs-sections.txt:
3835 Define socklen_t as int if it's not defined yet. Fixes compilation
3836 with MSVC6 and other versions where socklen_t is not defined in
3837 the windows headers (#518022).
3839 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3841 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3842 If gst_registry_add_plugin() fails our reference to the plugin is
3843 invalid so don't try to use it anymore and instead error out.
3845 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3847 * tools/gst-xmlinspect.c: (print_element_info), (main):
3848 De-cruft a bit. If no argument is specified, print all elements in
3849 XML syntax rather than a freestyle list of elements like gst-inspect.
3850 Also, don't print XML header chunk unless we actually have something
3851 to print (ie. don't print it before an error message); print error
3852 message to stderr not stdout. Remove support for printing plugin
3853 info (it would just output something freestyle along the lines of
3854 gst-inspect so far), which fixes #514507. Also add license header.
3856 2008-04-11 Julien Moutte <julien@fluendo.com>
3859 * configure.ac: Merge platform specific defines, introduce a new
3860 define on OS X to remember that forking when updating registry is
3862 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3864 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3866 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3867 condition that leads to absolutely no plugins being registered on
3870 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3872 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3874 * gst/gstutils.c: (gst_pad_add_data_probe),
3875 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3876 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3877 (gst_pad_add_buffer_probe_full):
3879 * docs/gst/gstreamer-sections.txt:
3880 * win32/common/libgstreamer.def:
3881 Add gst_pad_add_*_probe_full() functions with a notify callback that
3882 lets the caller free the data it passes to the probe functions. This
3883 is useful for bindings such as gst-python or gstreamermm (#526814).
3884 API: gst_pad_add_data_probe_full
3885 API: gst_pad_add_buffer_probe_full
3886 API: gst_pad_add_event_probe_full
3888 * tests/check/gst/gstutils.c:
3889 Add minimal unit test to make sure freeing the data actually works
3892 * tests/benchmarks/.cvsignore:
3893 Random cvsignore addendum.
3895 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3897 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3898 (GST_DEBUG_BIN_TO_DOT_FILE):
3899 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3900 to it in the docs (since these are macros the types of the arguments
3901 won't be shown in the docs otherwise).
3903 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3906 Do not abort on out of memory for pad_alloc_buffer.
3908 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3910 * libs/gst/check/gstcheck.c:
3911 Remove blank line between symbol name ad parameters to fix gtkdoc
3914 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3916 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3918 * docs/gst/gstreamer-sections.txt:
3921 * win32/common/libgstreamer.def:
3922 Expose gst_segment_copy() to make things easier for the c++ bindings.
3924 API: gst_segment_copy()
3926 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3928 * gst/gst.c: (gst_init_get_option_group), (init_post):
3929 Fix const position; ref GType classes for enum types to work
3930 around thread-safety issues in GLib versions < 2.16.
3932 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3934 * docs/design/part-buffering.txt:
3935 Fix some typos and set the estimated total for push mode to -1.
3937 * gst/gstquery.c: (gst_query_new_buffering):
3938 Set buffering-left to 0 as we're not buffering by default.
3940 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3941 Implement BUFFERING query.
3943 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3945 Based on patch by: Milosz Derezynski <internalerror gmail com>
3947 * gst/gsterror.c: (_gst_stream_errors_init):
3949 Add two new error codes for encrypted content. Fixes #524659.
3950 API: GST_STREAM_ERROR_DECRYPT
3951 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3953 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3958 * win32/common/libgstreamer.def:
3961 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3963 * plugins/elements/gstidentity.c: (gst_identity_event),
3964 (gst_identity_start):
3965 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3966 event after processing some data. Fixes bug #526042.
3968 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3970 * docs/gst/gstreamer-sections.txt:
3971 * gst/gstquery.c: (gst_query_parse_latency),
3972 (gst_query_set_buffering_percent),
3973 (gst_query_parse_buffering_percent),
3974 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3976 Rename _avail -> _range
3977 API: gst_query_set_buffering_range
3978 API: gst_query_parse_buffering_range
3980 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3982 * docs/design/part-buffering.txt:
3985 * gst/gstquery.c: (gst_query_parse_latency),
3986 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3987 (gst_query_parse_buffering_percent):
3989 Add busy field and quark for the buffering query so that the app can
3990 only use the query to see if buffering is in progress.
3992 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3994 * docs/gst/gstreamer-sections.txt:
3995 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3996 (gst_message_parse_buffering_stats):
3998 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3999 (gst_query_parse_latency), (gst_query_new_buffering),
4000 (gst_query_set_buffering_percent),
4001 (gst_query_parse_buffering_percent),
4002 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
4003 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
4005 Reorder the message docs and headers for clarity.
4006 Add aditional buffering stats API for messages.
4007 Add buffering query.
4008 Convert some leftover queries to use GstQuark.
4009 API: gst_message_set_buffering_stats
4010 API: gst_message_parse_buffering_stats
4011 API: GST_QUERY_BUFFERING
4012 API: GstBufferingMode
4013 API: gst_query_new_buffering
4014 API: gst_query_set_buffering_percent
4015 API: gst_query_parse_buffering_percent
4016 API: gst_query_set_buffering_stats
4017 API: gst_query_parse_buffering_stats
4019 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4021 * gst/gstmessage.c: (gst_message_new_error),
4022 (gst_message_new_warning), (gst_message_new_info),
4023 (gst_message_new_buffering), (gst_message_new_state_changed),
4024 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
4025 (gst_message_new_new_clock), (gst_message_new_segment_start),
4026 (gst_message_new_segment_done), (gst_message_new_duration),
4027 (gst_message_new_async_start), (gst_message_parse_buffering),
4028 (gst_message_parse_state_changed),
4029 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4030 (gst_message_parse_new_clock), (gst_message_parse_error),
4031 (gst_message_parse_warning), (gst_message_parse_info),
4032 (gst_message_parse_segment_start),
4033 (gst_message_parse_segment_done), (gst_message_parse_duration),
4034 (gst_message_parse_async_start):
4035 Use GstQuark for messages.
4037 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4039 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4041 Add some more quarks needed for messages and queries.
4043 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
4045 * docs/design/part-buffering.txt:
4046 Remove the "none" buffering mode, STREAM is a good default.
4047 Move estimated-time to the avail query, that's when it will be needed.
4048 Other small typo fixes and updates.
4050 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4052 * gst/gstindex.c: (gst_index_resolver_get_type):
4053 Don't put descriptions into the nick field of a GEnumValue: it's not
4054 meant for that and some language bindings rely on the nick field to
4055 construct constants and the like. Fixes #526705.
4057 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
4062 Merge other changes from 0.10.19 release branch.
4064 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
4066 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4069 Actually build dlls when cross-compiling with mingw32.
4072 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
4074 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4077 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4079 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
4081 * docs/design/draft-latency.txt:
4084 * docs/design/part-buffering.txt:
4085 Update design docs with more buffering ideas.
4087 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
4090 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4092 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4095 Revert part that belongs to the preset patch.
4097 2008-04-03 Stefan Kost <ensonic@users.sf.net>
4100 Add qoutes to the define. Fixes # 525961.
4102 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
4104 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4105 (gst_file_index_load), (gst_file_index_add_id),
4106 (gst_file_index_get_assoc_entry):
4107 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4108 (gst_mem_index_free_id), (gst_mem_index_add_id),
4109 (gst_mem_index_index_format):
4110 Use GSlice when possible.
4112 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4114 * libs/gst/controller/gstinterpolationcontrolsource.c:
4115 (gst_control_point_free),
4116 (gst_interpolation_control_source_set_internal):
4117 Use GSlice for allocating the control points.
4119 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4121 * plugins/elements/gsttypefindelement.c:
4122 (gst_type_find_element_class_init),
4123 (gst_type_find_element_set_property),
4124 (gst_type_find_element_get_property),
4125 (gst_type_find_element_activate):
4126 * plugins/elements/gsttypefindelement.h:
4128 Fix pad leak when peer query fails.
4129 We can still typefind when the peer returns -1.
4130 Add property to force caps and bypass typefinding. This will be used in
4134 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4139 * gst/glib-compat-private.h:
4140 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4141 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4142 Unconditionally use GSlice for allocation.
4144 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4145 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4146 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4147 (gst_structure_free):
4148 Use GSlice for allocation.
4150 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4152 * gst/parse/Makefile.am:
4153 * gst/parse/grammar.tab.pre.c:
4154 * gst/parse/grammar.tab.pre.h:
4155 * gst/parse/lex._gst_parse_yy.pre.c:
4156 Require a new enough flex and bison and remove the parser hacks to use
4157 a pre-regenerated version.
4159 2008-04-01 Julien Moutte <julien@fluendo.com>
4161 patch by: Jason Zhao <E3423C@motorola.com>
4163 * configure.ac: Add a configure switch to disable option parsing
4167 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4170 * gst/gstregistry.c:
4171 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4172 and handle this case.
4175 Add a comment here describing, why we stat each plugin and not try to
4178 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4180 * libs/gst/base/gstbasetransform.c:
4181 (gst_base_transform_prepare_output_buffer):
4182 Also unset the GAP flag on buffers if we're working inplace but
4183 the element is not GAP-aware.
4185 Mark a comment as FIXME 0.11.
4187 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4190 Fix type in log message and add one to ease seeing how long registry
4191 cache verification takes.
4193 * gst/gstregistry.c:
4194 Only test plugin filenames against G_MODULE_SUFFIX.
4196 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4198 * gst/gstdebugutils.c:
4199 Improve handling ghost/proxy pads.
4201 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4203 * docs/gst/gstreamer-sections.txt:
4206 Expose macro to docs and fix link to it.
4208 2008-03-27 Michael Smith <msmith@fluendo.com>
4210 * libs/gst/dataprotocol/dataprotocol.c:
4211 (gst_dp_packet_from_event_1_0):
4212 When calculating GDP body CRC, use the correct pointer.
4213 Fixes part of #522401.
4215 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4217 Patch by: Mark Nauwelaerts <manauw at skynet be>
4219 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4220 (gst_identity_init), (gst_identity_prepare_output_buffer):
4221 Identity is not always a passthrough element, it can modify the buffer
4222 timestamps when it has a datarate and operates in single-segment mode.
4223 We therefore make it an in_place filter with a custom buffer prepare
4224 function that conditionally makes the input buffer metadata writable
4225 when needed. Fixes #523985.
4227 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4229 Patch by: Mark Nauwelaerts <manauw at skynet be>
4232 * libs/gst/base/gstbasesrc.h:
4233 * libs/gst/base/gstbasetransform.c:
4234 * libs/gst/check/gstcheck.c:
4235 Small documentation fixes. Fixes #523978.
4237 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4239 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4240 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4241 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4243 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4245 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4246 (single_queue_underrun_cb):
4247 When trying to make room in the queue, bump the max allowed buffers
4248 bigger than the current amount of buffers in the queue. this fixes some
4249 nasty deadlocks in multiqueue when dynamically changing the limits of
4252 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4254 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4256 * gst/gstcaps.c: (gst_caps_set_simple),
4257 (gst_caps_set_simple_valist), (gst_caps_intersect):
4259 Constify the field gchar * params in set_simple and friends.
4262 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4264 * gst/gstvalue.c: (gst_value_transform_object_string):
4265 Transform a GstObject to a more meaningfull string that includes the
4266 object type in addition to its name.
4268 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4271 ChangeLog surgery to add bugnumber to commit.
4273 2008-03-23 Rene Stadler <mail@renestadler.de>
4275 * libs/gst/base/gstbasetransform.c:
4276 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4278 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4280 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4281 Rename constant everywhere and don't forget one occurence.
4283 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4285 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4286 Align memory to the pointer size even if the architecture allows
4287 unaligned memory access. Unaligned memory access usually comes with
4288 performance penality.
4290 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4292 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4293 (gst_registry_binary_check_magic),
4294 (gst_registry_binary_load_pad_template),
4295 (gst_registry_binary_load_feature),
4296 (gst_registry_binary_load_plugin):
4297 Align memory to the pointer size instead of always 32 bit. Fixes
4298 unaligned memory accesses on ia64 and friends.
4300 * gst/gstregistrybinary.h:
4301 Bump binary registry format version for this as it changes the
4302 format on those architectures that don't have unaligned access
4303 and 64 bit pointers.
4305 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4307 * docs/pwg/advanced-dparams.xml:
4308 * docs/pwg/building-props.xml:
4309 * docs/pwg/other-source.xml:
4310 * gst/glib-compat.h:
4311 * gst/gstbin.c: (gst_bin_class_init):
4312 * gst/gstclock.c: (gst_clock_class_init):
4313 * gst/gstindex.c: (gst_index_class_init):
4314 * gst/gstobject.c: (gst_object_class_init):
4315 * gst/gstpad.c: (gst_pad_class_init):
4316 * gst/gstpipeline.c: (gst_pipeline_class_init):
4317 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4318 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4319 * libs/gst/base/gstbasetransform.c:
4320 (gst_base_transform_class_init):
4321 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4322 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4323 (_gst_check_fault_handler_sighandler),
4324 (_gst_check_fault_handler_setup), (gst_check_init):
4325 * libs/gst/controller/gstcontroller.c:
4326 (_gst_controller_class_init):
4327 * libs/gst/controller/gstlfocontrolsource.c:
4328 (gst_lfo_control_source_class_init):
4329 * libs/gst/net/gstnetclientclock.c:
4330 (gst_net_client_clock_class_init):
4331 * libs/gst/net/gstnettimeprovider.c:
4332 (gst_net_time_provider_class_init):
4333 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4334 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4335 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4336 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4337 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4338 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4339 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4340 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4341 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4342 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4343 * plugins/elements/gsttee.c: (gst_tee_class_init):
4344 * plugins/elements/gsttypefindelement.c:
4345 (gst_type_find_element_class_init):
4346 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4347 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4348 use it everywhere for GParamSpecs that use static strings (i.e. all).
4349 This gives us less memory usage, fewer allocations and thus less
4350 memory defragmentation. Fixes bug #523806.
4352 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4354 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4355 (gst_param_spec_mini_object):
4356 * gst/gstminiobject.h:
4357 * win32/common/libgstreamer.def:
4358 * docs/gst/gstreamer-sections.txt:
4359 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4360 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4361 GstParamSpecMiniObject into a public header for this.
4363 This make GstMiniObject a bit more consistent with GObject and makes
4364 it possible to extend the param specs.
4366 gst_value_dup_mini_object is mainly useful for set_property methods.
4370 * tools/gst-inspect.c: (print_element_properties_info):
4371 Print something useful for GstMiniObject properties and not just
4374 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4376 * docs/gst/gstreamer-sections.txt:
4377 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4378 (gst_registry_binary_check_magic):
4379 * gst/gstregistrybinary.h:
4380 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4381 and add it to the (private part) of the docs to fix the build.
4383 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4385 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4386 (gst_registry_binary_check_magic),
4387 (gst_registry_binary_read_cache):
4388 * gst/gstregistrybinary.h:
4389 Don't use GST_MAJORMINOR for the binary registry version. Instead
4390 hardcode a value that must be changed whenever the format changes
4391 in an incompatible way.
4392 Also don't GST_ERROR when there is a version mismatch, just
4393 regenerate the registry silently.
4395 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4398 Back to development - 0.10.18.1
4400 === release 0.10.18 ===
4402 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4405 releasing 0.10.18, "So far away"
4407 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4410 * win32/common/config.h:
4411 0.10.17.4 pre-release
4413 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4415 Patch by: Ole André Vadla Ravnås
4416 <ole dot andre dot ravnas at tandberg dot com>
4418 * docs/gst/gstreamer-sections.txt:
4419 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4420 (gst_poll_update_winsock_event_mask),
4421 (gst_poll_prepare_winsock_active_sets),
4422 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4423 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4424 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4425 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4426 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4428 * win32/common/libgstreamer.def:
4429 Add new function gst_poll_fd_ignored() for improved Windows
4431 Various minor fixes and cleanups. See #520808.
4433 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4435 * gst/gstindex.c: (gst_index_entry_free):
4437 Don't free key strings which we don't own. Fixes crash in
4438 gst_index_entry_free() (#522741).
4440 * tests/check/Makefile.am:
4441 * tests/check/gst/.cvsignore:
4442 * tests/check/gst/gstindex.c: (test_index_entries),
4443 (gst_index_suite), (gst_index):
4444 Add unit test for the above.
4446 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4448 * win32/common/libgstreamer.def:
4449 Remove symbols that were removed recently. Fixes bug #521740.
4451 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4454 * win32/common/config.h:
4455 0.10.17.3 pre-release
4457 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4459 Patch by: Ole André Vadla Ravnås
4460 <ole dot andre dot ravnas at tandberg dot com>
4462 * docs/gst/gstreamer-sections.txt:
4463 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4464 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4465 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4466 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4467 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4468 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4469 (gst_poll_fd_can_write), (gst_poll_wait),
4470 (gst_poll_set_controllable), (gst_poll_restart),
4471 (gst_poll_set_flushing):
4473 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4474 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4475 (gst_net_time_provider_new):
4476 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4477 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4478 * tests/benchmarks/gstpollstress.c: (main):
4479 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4480 Remove GstPollMode from the API, it does not make sense to let the
4481 application control this.
4482 Add support for Win32.
4483 Fix the testsuite. Fixes #520671.
4485 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4487 Patch by: Ole André Vadla Ravnås
4488 <ole dot andre dot ravnas at tandberg dot com>
4490 * gst/gstregistrybinary.c:
4491 Include io.h for write() and close() when building with MSVC. Fixes
4494 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4497 * gst/gst_private.h:
4498 * gst/gstconfig.h.in:
4499 * gst/gstregistry.h:
4500 * gst/gstregistrybinary.c:
4501 * win32/common/gstconfig.h:
4502 Move registry backend API to private headers where we can. Add
4503 fixme-0.11 comments for the others. Add stubs for the xml backend when
4504 using the binary to ensure they functions exists (they should not be
4505 used though). Fixes #520756.
4507 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4510 * win32/common/config.h:
4513 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4515 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4516 (gst_registry_binary_read_cache):
4517 * gst/gstregistryxml.c: (gst_registry_save):
4518 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4519 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4520 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4521 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4522 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4525 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4527 * gst/gstminiobject.c:
4528 Import gst_private.h before any other header that might include other
4529 glib headers. This fixes the build on windows using native compilers.
4531 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4533 * win32/common/gstconfig.h:
4534 Add here too, just for completeness.
4536 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4539 * gst/gstconfig.h.in:
4540 * gst/gstregistry.h:
4541 Fix broken use of config.h-defined preprocessor directive in a public
4542 header file. Add a corresponding define to gstconfig.h, since we can't
4543 really remove those function declarations from the header file now
4544 (or can we? and why are they there in the first place?).
4546 2008-03-03 Andy Wingo <wingo@pobox.com>
4548 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4551 * gst/gststructure.c (gst_structure_from_string): Warn if
4552 structure_from_string didn't consume the whole string, but the
4553 caller did not provide an end pointer.
4555 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4557 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4559 * gst/gstregistryxml.c: (read_string), (load_feature):
4560 Strings allocated by libxml2 should be freed with xmlFree(), not
4561 with g_free(). Fixes issues on windows in certain contexts (#519698).
4563 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4565 * gst/gstinterface.c: (gst_element_implements_interface):
4566 Don't crash if the element supports the interface queried, but does
4567 not implement GstImplementsInterface. Fixes #519584.
4569 * tests/check/Makefile.am:
4570 * tests/check/gst/.cvsignore:
4571 * tests/check/gst/gstinterface.c:
4572 Add unit test for the above.
4574 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4576 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4579 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4581 * gst/gstsegment.c: (gst_segment_set_seek),
4582 (gst_segment_to_stream_time):
4583 Improve some comment.
4584 Update variables where it makes more sense.
4586 2008-02-29 Rene Stadler <mail@renestadler.de>
4588 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4589 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4590 URIHandlers implemented using language bindings.
4592 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4594 * gst/gstelementfactory.h:
4595 * tests/check/elements/fakesink.c:
4596 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4597 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4598 * tests/check/elements/filesink.c: (setup_filesink):
4599 * tests/check/elements/filesrc.c: (setup_filesrc):
4600 * tests/check/elements/identity.c: (setup_identity):
4601 * tests/check/elements/tee.c:
4602 * tests/check/generic/sinks.c:
4603 * tests/check/generic/states.c: (setup), (teardown):
4604 * tests/check/gst/gst.c:
4605 * tests/check/gst/gstabi.c:
4606 * tests/check/gst/gstbin.c:
4607 * tests/check/gst/gstbus.c: (pull_messages):
4608 * tests/check/gst/gstcaps.c:
4609 * tests/check/gst/gstelement.c:
4610 * tests/check/gst/gstevent.c:
4611 * tests/check/gst/gstghostpad.c:
4612 * tests/check/gst/gstiterator.c:
4613 * tests/check/gst/gstmessage.c:
4614 * tests/check/gst/gstminiobject.c: (my_foo_init):
4615 * tests/check/gst/gstobject.c: (thread_name_object),
4617 * tests/check/gst/gstpad.c:
4618 * tests/check/gst/gstplugin.c:
4619 * tests/check/gst/gstpoll.c:
4620 * tests/check/gst/gstquery.c:
4621 * tests/check/gst/gstsegment.c:
4622 * tests/check/gst/gststructure.c:
4623 * tests/check/gst/gstsystemclock.c:
4624 * tests/check/gst/gsttask.c:
4625 * tests/check/gst/gstutils.c:
4626 * tests/check/gst/gstvalue.c:
4627 * tests/check/gst/struct_hppa.h:
4628 * tests/check/gst/struct_i386.h:
4629 * tests/check/gst/struct_ppc32.h:
4630 * tests/check/gst/struct_ppc64.h:
4631 * tests/check/gst/struct_x86_64.h:
4632 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4633 * tests/check/libs/basesrc.c:
4634 * tests/check/libs/controller.c: (GST_START_TEST):
4635 * tests/check/libs/gdp.c:
4636 * tests/check/libs/gstnetclientclock.c:
4637 * tests/check/libs/gstnettimeprovider.c:
4638 * tests/check/libs/libsabi.c:
4639 * tests/check/libs/struct_hppa.h:
4640 * tests/check/libs/struct_i386.h:
4641 * tests/check/libs/struct_ppc32.h:
4642 * tests/check/libs/struct_ppc64.h:
4643 * tests/check/libs/struct_x86_64.h:
4644 * tests/check/pipelines/cleanup.c:
4645 * tests/check/pipelines/simple-launch-lines.c:
4646 * tests/check/pipelines/stress.c:
4647 And correct even more valid sparse warnings.
4649 * win32/common/libgstreamer.def:
4650 Add gst_poll_fd_init to the list of symbols.
4652 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4654 * gst/gstconfig.h.in:
4655 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4656 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4657 (gst_check_log_critical_func), (gst_check_drop_buffers),
4658 (gst_check_element_push_buffer_list):
4659 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4660 (gst_controller_get_type):
4661 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4662 (gst_object_get_controller), (gst_object_get_control_source):
4663 * libs/gst/controller/gstinterpolationcontrolsource.c:
4664 (gst_interpolation_control_source_new):
4665 * libs/gst/controller/gstlfocontrolsource.c:
4666 (gst_lfo_control_source_new):
4667 * libs/gst/dataprotocol/dataprotocol.c:
4668 (gst_dp_event_from_packet_0_2):
4669 * plugins/elements/gstfdsrc.c:
4670 * plugins/elements/gstmultiqueue.c:
4671 * plugins/elements/gsttee.c:
4672 * plugins/elements/gsttypefindelement.c:
4673 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4674 (gst_file_index_add_association):
4675 * plugins/indexers/gstmemindex.c:
4676 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4677 * tests/check/elements/queue.c: (setup_queue):
4678 * tests/check/gst/gstpipeline.c:
4679 * tests/check/libs/collectpads.c: (setup), (teardown),
4680 (gst_collect_pads_suite):
4681 * tests/examples/adapter/adapter_test.c:
4682 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4683 * tests/examples/xml/createxml.c:
4684 * tests/examples/xml/runxml.c:
4685 * tools/gst-inspect.c:
4687 Correct all relevant warnings found by the sparse semantic code
4688 analyzer. This include marking several symbols static, using
4689 NULL instead of 0 for pointers, not using variable sized arrays
4690 on the stack, moving variable declarations to the beginning of
4691 a block and using "foo (void)" instead of "foo ()" for declarations.
4693 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4695 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4696 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4697 Don't reset GstPollFDs, this is not necessary at all.
4699 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4700 (delayed_restart), (delayed_control):
4701 Use GST_POLL_FD_INIT.
4703 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4705 * gst/gstpoll.c: (gst_poll_fd_init):
4709 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4710 Use some more init macros.
4712 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4714 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4715 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4716 Use init macros and functions.
4718 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4720 * docs/gst/gstreamer-sections.txt:
4721 * gst/gstpoll.c: (gst_poll_fd_init):
4723 Add INIT macro and _init method for initializing the GstPollFD.
4725 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4727 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4728 (gst_fd_sink_update_fd):
4729 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4730 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4731 (delayed_restart), (delayed_control):
4732 Initialize some uninitialized variables as spotted by valgrind.
4734 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4736 * tests/benchmarks/Makefile.am:
4737 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4739 Add poll stress test.
4741 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4743 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4745 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4746 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4747 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4748 * plugins/elements/gstfdsink.h:
4749 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4750 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4751 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4752 (gst_fd_src_uri_set_uri):
4753 * plugins/elements/gstfdsrc.h:
4754 Port to GstPoll. See #505417.
4756 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4758 * win32/common/libgstreamer.def:
4759 Add new gst_poll_ symbols to win32 defs.
4761 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4763 * docs/libs/gstreamer-libs-sections.txt:
4764 * libs/gst/net/gstnetclientclock.c:
4765 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4766 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4767 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4768 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4769 * libs/gst/net/gstnetclientclock.h:
4770 * libs/gst/net/gstnettimeprovider.c:
4771 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4772 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4773 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4774 (gst_net_time_provider_new):
4775 * libs/gst/net/gstnettimeprovider.h:
4776 Use a private stuct to not break ABI.
4778 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4780 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4782 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4783 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4784 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4785 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4786 * libs/gst/net/gstnetclientclock.h:
4787 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4788 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4789 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4790 (gst_net_time_provider_new):
4791 * libs/gst/net/gstnettimeprovider.h:
4792 Massive code removal and cleanups because of GstPoll.
4795 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4798 Add checks for poll, ppoll and pselect.
4800 * docs/gst/gstreamer-docs.sgml:
4801 * docs/gst/gstreamer-sections.txt:
4802 Add docs for GstPoll.
4806 * gst/gstpoll.c: (find_index), (selectable_fds),
4807 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4808 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4809 (gst_poll_set_mode), (gst_poll_get_mode),
4810 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4811 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4812 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4813 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4814 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4815 (gst_poll_fd_can_write), (gst_poll_wait),
4816 (gst_poll_set_controllable), (gst_poll_restart),
4817 (gst_poll_set_flushing):
4819 Add generic poll abstraction. We ideally don't want to have this in core
4820 here but in glib intead...
4821 This code will be used in various network elements and ultimately for
4822 the nanosecond precision monotonic clock (that's why it's here in core).
4823 It'll allow us to implement cancelable socket operations for windows too.
4825 * tests/check/Makefile.am:
4826 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4827 (delayed_stop), (delayed_restart), (delayed_flush),
4828 (delayed_control), (gst_poll_suite):
4829 Add GstPoll unit test.
4831 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4834 Improve documentation of gst_filter_run(). Fixes #518627.
4836 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4839 Add a few lines about the new 'check-inspected-versions' target.
4841 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4843 * tests/check/gst/gstevent.c:
4844 Add qos to the event test. Rename tcase/tsuite; is not only about
4847 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4849 * plugins/elements/gstqueue.c:
4850 Ensure that buffer metadata is writeable, before modifying. Spotted by
4853 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4855 * plugins/elements/gstqueue.c:
4856 * plugins/elements/gstqueue.h:
4857 When dropping buffers in leaky modes, mark next buffers we sent as
4860 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4862 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4863 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4865 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4867 * plugins/elements/Makefile.am:
4868 * plugins/elements/gstbufferstore.c:
4869 * plugins/elements/gstbufferstore.h:
4870 * plugins/elements/gsttypefindelement.h:
4871 Remove GstBufferStore, no idea why we were still building it.
4872 It's not used anywhere and superseded by GstAdapter.
4874 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4875 (gst_file_src_create_mmap):
4876 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4877 Printf format fixes for 64-bit integers.
4879 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4882 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4883 We're not in 0.8 times anymore.
4885 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4887 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4888 (gst_check_element_push_buffer_list):
4889 * libs/gst/check/gstcheck.h:
4890 Make the declaration in the header for
4891 gst_check_element_push_buffer_list match the implementation.
4893 Fix up spelling, grammar and wording of the documentation in a few
4894 places, and add the Since keyword to new API functions.
4895 Use g_list_delete_link instead of g_list_remove in
4896 gst_check_drop_buffers, since it's immeasurably more efficient.
4898 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4899 Use new gst_check_drop_buffers function where appropriate.
4901 * win32/common/libgstbase.def:
4902 * win32/common/libgstreamer.def:
4903 Add new symbols gst_collect_pads_take_buffer,
4904 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4907 Changelog surgery to add API keyword to new gst_check API.
4909 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4911 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4912 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4913 Update pre-generated flex files with flex 2.3.34.
4915 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4917 * gst/gstminiobject.c:
4918 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4919 friendly to subclasses and not require them to know all internals
4920 of their parent class.
4922 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4924 * docs/libs/gstreamer-libs-sections.txt:
4925 * libs/gst/base/gstcollectpads.c:
4926 * libs/gst/base/gstcollectpads.h:
4927 Add sub-buffer functions to collectpads. Fixes #516187.
4928 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4930 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4933 Copy selected buffer-flags when creating subbuffers.
4936 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4938 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4939 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4940 * gst/gstmessage.c: (gst_message_class_init),
4941 (gst_message_finalize):
4942 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4943 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4944 (gst_mmap_buffer_finalize):
4945 Properly chain up finalize functions to the parent class.
4947 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4949 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4951 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4952 (gst_index_set_resolver_full):
4954 Add new function with option to dispose of user_data in resolver.
4955 Actually call the dispose function when finalizing the object and not
4956 just when changing the resolver/filter.
4957 API: GstIndex::gst_index_set_resolver_full()
4959 * docs/gst/gstreamer-sections.txt:
4960 Add new function to docs. Fixes #515469.
4962 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4964 * gst/gstindex.c: (gst_index_finalize):
4965 Chain up finalize to the parent class. Fixes leaking the GstObject
4966 name and other things.
4968 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4971 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4972 pre-releases or releases.
4974 * docs/faq/gst-uninstalled:
4977 * docs/random/release:
4978 Change one of the steps - we only upload core & base to Gnome FTP
4980 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4982 * gst/gstconfig.h.in:
4983 Add 'id' for example.
4987 * plugins/elements/gstfdsink.c:
4988 Link to signals. Doc and comment fixes.
4990 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4992 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4993 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4994 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4995 unused and unimplemented; finally, it is plugin features, not
4996 plugins, that have ranks.
4998 2008-02-05 Stefan Kost <ensonic@users.sf.net>
5000 * gst/gstpluginfeature.h:
5001 Clarify GstRank range docs.
5003 2008-02-05 David Schleef <ds@schleef.org>
5005 * gst/gst.c: Add a separate gst_deinitialized that prevents
5006 gst_init() from being called after gst_deinit(). Fixes #509559
5008 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
5010 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
5011 (gst_bin_class_init):
5012 * gst/gstelement.c: (gst_element_base_class_init),
5013 (gst_element_class_add_pad_template):
5014 * gst/gstpadtemplate.c: (gst_pad_template_init):
5015 * gst/gstpipeline.c: (gst_pipeline_get_type),
5016 (gst_pipeline_base_init), (gst_pipeline_class_init):
5017 * libs/gst/base/gstbasesink.c:
5018 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5019 (gst_base_src_base_init), (gst_base_src_class_init):
5020 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5021 (gst_capsfilter_class_init):
5022 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5023 (gst_fake_sink_class_init):
5024 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5025 (gst_fake_src_class_init):
5026 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5027 (gst_fd_sink_class_init):
5028 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5029 (gst_fd_src_class_init):
5030 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5031 (gst_file_sink_class_init):
5032 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5033 (gst_file_src_class_init):
5034 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5035 (gst_identity_class_init):
5036 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5037 (gst_multi_queue_class_init):
5038 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5039 (gst_queue_class_init):
5040 * plugins/elements/gsttee.c: (gst_tee_base_init),
5041 (gst_tee_class_init):
5042 * plugins/elements/gsttypefindelement.c:
5043 (gst_type_find_element_base_init),
5044 (gst_type_find_element_class_init):
5045 * tests/check/gst/gstelement.c: (gst_element_suite):
5046 Revert previous changes to the behaviour of GstPadTemplates, etc
5047 and the possiblity to call them in class_init as it breaks too
5048 many elements. Reopens bug #491501.
5050 Should be applied again for 0.11, thus added a few FIXME 0.11 at
5053 2008-02-05 Stefan Kost <ensonic@users.sf.net>
5055 * tools/gst-launch.c:
5056 Dump one graph per pipeline state-change and state change name
5057 (if GST_DEBUG_DUMP_DOT_DIR is set).
5059 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
5062 * tests/check/gst/gstpad.c:
5063 Be sure that we have a new copy of the caps and not
5064 reffed caps from a template
5066 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5068 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5069 * gst/gstpipeline.c: (gst_pipeline_get_type),
5070 (gst_pipeline_class_init):
5071 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5072 (gst_base_sink_class_init):
5073 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5074 (gst_base_src_class_init):
5075 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5076 (gst_base_transform_class_init):
5077 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5078 (gst_collect_pads_class_init):
5079 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5080 * libs/gst/net/gstnettimeprovider.c:
5081 (gst_net_time_provider_base_init),
5082 (gst_net_time_provider_class_init):
5083 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5084 (gst_capsfilter_class_init):
5085 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5086 (gst_fake_sink_class_init):
5087 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5088 (gst_fake_src_class_init):
5089 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5090 (gst_fd_sink_class_init):
5091 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5092 (gst_fd_src_class_init):
5093 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5094 (gst_file_sink_class_init):
5095 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5096 (gst_file_src_class_init):
5097 * plugins/elements/gstidentity.c: (gst_identity_base_init),
5098 (gst_identity_class_init):
5099 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5100 (gst_multi_queue_class_init):
5101 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5102 (gst_queue_class_init):
5103 * plugins/elements/gsttee.c: (gst_tee_base_init),
5104 (gst_tee_class_init):
5105 * plugins/elements/gsttypefindelement.c:
5106 (gst_type_find_element_base_init),
5107 (gst_type_find_element_class_init):
5108 Don't use base_init where not absolutely necessary. For example it's
5109 not necessary anymore for adding pad templates or setting element
5112 Leave empty base_init functions in several places as GST_BOILERPLATE
5113 still defines and uses them.
5115 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5117 * gst/gstelement.c: (gst_element_base_class_init),
5118 (gst_element_class_add_pad_template):
5119 * gst/gstpadtemplate.c:
5120 Make it possible (and recommended) to set element details and add
5121 pad templates in the class_init functions by copying the details/pad
5122 templates in GstElement's base_init.
5124 Also make it possible to replace existing pad templates by adding
5125 a new one with the same name. This was done in a hackish fashion
5126 in same elements before already.
5128 Don't reference pad templates that are added a second time. A
5129 new pad template has a refcount of one and is not floating anymore
5130 and to be owned by the element's class. Make this more explicit by
5131 mentioning it in the docs of gst_element_class_add_pad_template().
5133 These changes are backwards compatible. Fixes bug #491501.
5135 * tests/check/gst/gstelement.c:
5136 Add unit test for setting element details, adding pad templates and
5137 replacing them in a subclass.
5139 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5141 * tools/gst-inspect.c: (print_interfaces),
5142 (print_element_properties_info), (print_pad_info),
5143 (print_signal_info), (print_element_info):
5144 Fix a few memory leaks.
5146 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5148 * docs/libs/gstreamer-libs-sections.txt:
5149 * libs/gst/check/gstcheck.c:
5150 * libs/gst/check/gstcheck.h:
5151 Add more functions for unit testing: gst_check_drop_buffers,
5152 gst_check_caps_equal, gst_check_element_push_buffer_list,
5153 gst_check_element_push_buffer
5154 API: gst_check_drop_buffers
5155 API: gst_check_caps_equal
5156 API: gst_check_element_push_buffer_list
5157 API: gst_check_element_push_buffer
5159 2008-02-01 Julien Moutte <julien@fluendo.com>
5161 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5162 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5163 (gst_index_finalize), (gst_index_entry_free),
5164 (gst_index_add_association): Fix memory leaks.
5165 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5166 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5167 (gst_mem_index_free_format), (gst_mem_index_free_id),
5168 (gst_mem_index_finalize): Fix memory leaks.
5169 * win32/common/config.h: Updated to CVS HEAD.
5171 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5174 Some more details about how the plugin docs works.
5176 * docs/plugins/gstreamer-plugins-sections.txt:
5179 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5181 * gst/parse/grammar.tab.pre.c:
5182 * gst/parse/grammar.tab.pre.h:
5183 * gst/parse/grammar.y:
5184 * gst/parse/lex._gst_parse_yy.pre.c:
5185 Add delayed set-property. This allows to set properties on dynamicaly
5186 created objects (pads in videomxer). Fixes #509391.
5188 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5191 Check if caps are not NULL (fix bug #510194)
5193 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5195 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5196 (gst_base_sink_get_position_paused):
5197 Add fixme regarding EOS in pull mode.
5198 Fix position reporting in PAUSED for negative rates.
5200 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5202 * gst/gstminiobject.c: (gst_mini_object_replace):
5203 When replacing a miniobject, do a quick equality check first so that we
5204 can avoid a ref/unref pair.
5206 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5208 * docs/design/part-synchronisation.txt:
5211 * docs/plugins/Makefile.am:
5212 * docs/plugins/gstreamer-plugins-docs.sgml:
5213 * docs/plugins/gstreamer-plugins-sections.txt:
5214 * plugins/elements/gstmultiqueue.c:
5215 Add multiqueue to the docs.
5217 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5222 === release 0.10.17 ===
5224 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5227 releasing 0.10.17, "Due Negligence"
5229 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5232 Revert caps != NULL check temporarily for 0.10.17 release.
5234 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5237 Check if caps are not NULL (fix bug #510194)
5239 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5242 Fix compilation on systems that have posix timers but no
5245 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5248 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5250 * tools/gst-inspect.c:
5251 Revert previous commit in preparation for an impromptu 0.10.17 release
5253 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5255 * tools/gst-inspect.c: (print_interfaces),
5256 (print_element_properties_info), (print_pad_info),
5257 (print_signal_info), (print_element_info):
5258 Fix a few memory leaks.
5260 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5265 === release 0.10.16 ===
5267 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5270 releasing 0.10.16, "Special Dispensation"
5272 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5275 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5276 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5277 not fail when trying to crosscompile on OpenEmbedded (#511750).
5279 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5282 Use $(MAKE) instead of make to fix the build if GNU make is
5283 called different. Fixes bug #510747.
5285 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5287 * gst/gstplugin.c: (_gst_plugin_initialize):
5288 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5289 again, which I broke two commits ago when changing the API
5290 of gst_plugin_register_static(): the g_list_foreach() in
5291 _gst_plugin_register_static still assumed the old function
5292 signature and would therefore fail (re-fixes #510187).
5294 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5295 (_gst_plugin_register_static), (gst_plugin_register_static):
5296 Revert the (technically correct) change to call g_thread_init() from
5297 the pre-main() constructor. This will break programs which call
5298 g_thread_init() without an if (!g_thread_supported()) guard in their
5299 main function. We could just blame it on GLib or the application, but
5300 it's probably best to just avoid this altogether and simply not use
5301 any GLib functions here and use plain old malloc() with a simple
5302 array to store the plugins to register later when gst_init() is
5303 finally called (re-fixes #510187).
5305 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5306 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5307 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5308 (GST_START_TEST), (gst_plugin_suite):
5309 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5312 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5314 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5315 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5316 This makes gtk-doc complain, but results in slightly better
5317 compiler errors. The old _gst_plugin_register_static() is
5318 still guarded, so there'll be a compiler warning about that
5319 instead. Fixes #510187 too.
5321 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5323 * gst/gst.c: (init_post):
5324 * gst/gstplugin.c: (_gst_plugin_register_static),
5325 (gst_plugin_register_static), (_gst_plugin_initialize):
5326 * gst/gstplugin.h: (GstPluginFilter):
5327 Change API of gst_plugin_register_static() to not take
5328 a GstPluginDesc, but rather just take all the arguments
5329 in a GstPluginDesc directly. This is more intuitive and
5330 avoids certain mistakes when porting code from
5331 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5334 * tests/check/gst/gstplugin.c:
5335 Fix up for changed API.
5337 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5339 * docs/faq/legal.xml:
5340 Update FAQ, Totem actually has an exception these days.
5342 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5344 * win32/common/libgstreamer.def:
5345 Add new API declarations
5347 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5349 * gst/gstminiobject.c:
5350 Spelling fixes for the API docs.
5352 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5354 * libs/gst/base/gstbasetransform.c:
5355 Fix long property description for QoS.
5357 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5360 _gst_trace_on is already provided by gsttrace.h, no need to declare
5363 * docs/libs/gstreamer-libs-sections.txt:
5364 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5365 and remove strange tcase_add_test which is outputting a warning.
5367 * libs/gst/check/gstcheck.c:
5368 * libs/gst/check/gstcheck.h:
5369 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5370 and define them in gstcheck.c instead of having every .c file whcih
5371 includes gstcheck.h be defining its own copy and relying on symbol
5372 interposing to marry them all, which doesn't work on Solaris.
5374 * tests/check/elements/identity.c: (GST_START_TEST):
5375 Don't define 'buffers' locally, it comes from libgstcheck.
5377 * tests/check/generic/sinks.c: (send_buffer):
5378 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5380 * tests/check/gst/gststructure.c: (GST_START_TEST):
5381 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5382 * tests/check/gst/gstutils.c: (GST_START_TEST):
5383 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5384 Add a bunch of casts to make various constants fit the types
5385 they're being assigned to.
5387 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5389 * gst/gstchildproxy.c:
5390 Improve docs and add some ideas for making this more general-purpose.
5392 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5394 * gst/gst_private.h: (GST_CAT_TYPES):
5395 Add GST_CAT_TYPES, for consistency, and so that the other
5396 debug categories don't make fun of it. Spotted by Saur on IRC.
5398 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5400 * gst/parse/Makefile.am:
5401 Move types.h from EXTRA_DIST to noinst_HEADERS.
5403 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5406 Add -Wno-portability to the automake parameters to stop warnings
5407 about GNU make extensions being used. We require GNU make in almost
5408 every Makefile anyway.
5411 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5412 at the same time is required for per target flags.
5414 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5417 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5418 __GNUC__ is defined before using it.
5420 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5422 * docs/gst/gstreamer-sections.txt:
5423 * gst/gst.c: (init_post):
5424 * gst/gstplugin.c: (_gst_plugin_register_static),
5425 (gst_plugin_register_static), (_gst_plugin_initialize),
5426 (gst_plugin_register_func):
5427 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5428 API: add gst_plugin_register_static() and deprecate
5429 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5431 Also, in _gst_plugin_register_static(), make sure to call
5432 g_thread_init() before calling GLib functions such as
5433 g_list_append() if we're not initialised yet, since that
5434 may lead to random crashes with older GSlice/GLib versions.
5436 * tests/check/gst/gstplugin.c:
5437 Adapt unit test to above changes.
5439 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5441 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5442 * gst/gstcaps.c: (gst_caps_to_string):
5443 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5444 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5445 Yet another gratuitous GString micro-optimisation: add a (private)
5446 function that serialises a structure appending to an existing
5447 GString, so that when we serialise caps we don't need to alloc+free
5448 a throwaway GString for each structure (each of which also entailing
5449 multiple reallocs on the way); also use g_string_sized_new() in
5450 various places with an approximate string length to avoid reallocs
5451 within GString. See #500143.
5453 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5455 * gst/gststructure.c: (gst_structure_id_set_value):
5456 Always check UTF-8 conformance of structure strings and not only
5457 if the debugging system is enabled; reasoning: the behaviour of
5458 the actual code shouldn't really change depending on whether the
5459 debugging system is enabled or not (#508291).
5461 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5464 Remove old coverage target in favour of "make lcov".
5466 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5468 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5469 (gst_base_src_loop):
5470 The start segment for reverse playback goes from start to last_stop.
5472 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5474 Patch by: Peter Kjellerstedt <pkj axis com>
5477 Cast the results from the timeval/spec_to_time macros to what the
5478 docs say it casts to, a GstClockTime. fixes #508175.
5480 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5483 Update some comments.
5485 * tools/gst-inspect.c: (print_element_properties_info):
5486 Improve printing of flags.
5488 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5490 * libs/gst/base/gstbasetransform.c:
5491 (gst_base_transform_transform_size):
5492 Print element name with g_warning() if there's a problem
5495 2008-01-07 David Schleef <ds@schleef.org>
5497 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5499 * libs/gst/controller/gstcontroller.h:
5500 * libs/gst/controller/gstcontrolsource.h:
5501 * libs/gst/controller/gstinterpolationcontrolsource.h:
5502 * libs/gst/controller/gstlfocontrolsource.h:
5503 * libs/gst/dataprotocol/dataprotocol.h:
5504 Fix empty prototypes. Fixes bug #507957.
5506 2008-01-07 David Schleef <ds@schleef.org>
5508 * docs/faq/dependencies.xml: Fix typo.
5510 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5512 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5513 (gst_base_src_loop):
5514 Don't update the last_stop position in do_seek, that's the position we
5516 Read backwards when we have a negative rate.
5518 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5519 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5521 Add check for reverse reading.
5523 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5525 Patch by: Alexis Ballier <aballier at gentoo org>
5527 * tests/check/gst/gstabi.c:
5528 * tests/check/gst/struct_ppc64.h:
5529 * tests/check/libs/libsabi.c:
5530 * tests/check/libs/struct_ppc64.h:
5531 Decide which header to include based on the userland ABI target
5532 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5533 for 64-bit userland (#503590). Might need something similar for
5536 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5538 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5539 Log the reason why fopen fails in addition to the fact that it failed.
5541 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5543 * gst/parse/parse.l:
5544 Use "%option never-interactive" to prevent useless calls to isatty()
5545 on every input when parsing. Also use "%option noinput" to not define
5546 the static input/yyinput functions which we don't use anyway. This
5547 removes a compiler warning with gcc 4.3 and saves some bytes in the
5550 * gst/parse/lex._gst_parse_yy.pre.c:
5551 Regenerated for the above change.
5553 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5555 * gst/gstpad.c: (fixate_value):
5556 Don't crash when trying to fixate and empty list.
5559 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5561 * docs/faq/gst-uninstalled:
5562 Clarify the comments to make the usage of this script and what it
5563 does easier to understand.
5565 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5567 * tools/gst-plot-timeline.py:
5568 Add more options to gst-plot-timeline
5570 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5572 * docs/design/part-synchronisation.txt:
5573 Some more info on how the stream_time in GstBaseSink is done.
5575 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5577 * tests/check/generic/sinks.c: (gst_sinks_suite):
5578 Put back the tcase_set_timeout(), apparently it's needed after
5579 all; fix it up in a way that makes things work with valgrind too.
5581 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5583 * gst/gstdebugutils.c:
5584 Add warning when failed to open file for writing.
5586 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5588 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5590 * gst/gstvalue.c: (gst_value_is_fixed):
5591 Optimisation: bail out of the loop as early as possible (#500143).
5593 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5595 * gst/gstcaps.c: (gst_caps_to_string):
5596 * gst/gstinfo.c: (gst_debug_construct_term_color):
5597 * gst/gstparse.c: (gst_parse_launchv):
5598 * gst/gstutils.c: (gst_util_dump_mem):
5599 * gst/gstvalue.c: (gst_value_serialize_any_list),
5600 (gst_value_transform_any_list_string):
5601 Bunch of gratuitous nano-optimisations.
5603 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5605 * tests/check/generic/sinks.c: (async_done_func),
5606 (async_done_eos_func):
5607 Fix leak in unit test (bus sync handler must unref the message
5608 if it returns GST_BUS_DROP). Don't fiddle with the default test
5609 timeout, this is smaller than the current preconfigured value
5610 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5611 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5613 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5615 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5618 Check for stdio_ext.h for the filesink changes.
5620 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5621 (gst_file_sink_class_init), (gst_file_sink_init),
5622 (gst_file_sink_dispose), (gst_file_sink_set_property),
5623 (gst_file_sink_get_property), (gst_file_sink_open_file),
5624 (gst_file_sink_close_file):
5625 * plugins/elements/gstfilesink.h:
5626 Add two properties to control the buffering mode and size.
5627 API: GstFileSink::buffer-mode
5628 API: GstFileSink::buffer-size
5631 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5633 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5634 Add some more docs to explain why a FIXME was wrongly added.
5636 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5639 Fix typo in the gst_object_{ref,unref} documentation.
5641 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5643 * tests/check/libs/controller.c:
5644 * tests/check/libs/typefindhelper.c:
5645 * tests/check/pipelines/parse-launch.c:
5646 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5647 going to be deprecated (see #498924).
5649 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5651 * gst/gsttypefind.c: (gst_type_find_register):
5652 Make gst_type_find_register work for static typefind functions,
5653 ie. allow passing plugin == NULL (prerequisite for #498924).
5655 * gst/gstelementfactory.c: (gst_element_register):
5656 Small docs addition.
5658 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5660 * gst/gstpad.c: (gst_pad_dispose):
5661 Really unlink the peer pad instead of setting the peer pointer to NULL
5662 when we dispose the pad.
5663 This correctly calls the unlink functions and makes sure that the peer
5664 does not have a handle to invalid memory. See #504671.
5666 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5667 Add testsuite for above case.
5669 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5671 Patch by: Peter Kjellerstedt <pkj axis com>
5673 * libs/gst/check/gstcheck.h:
5674 Fix detection of the check version we're compiling against (would
5675 otherwise break if check goes v0.10.0); correctly report the
5676 name of the failed test again in case of failure, instead of
5677 just 'tf' (fixes #504499).
5679 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5681 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5682 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5683 (gst_base_src_loop), (gst_base_src_set_flushing),
5684 (gst_base_src_change_state):
5685 Allow sending EOS to the source to make it send out an EOS event from
5686 the streaming thread.
5687 Update docs and deprecate the old NULL/READY shutdown method.
5689 * tests/check/libs/basesrc.c: (GST_START_TEST),
5690 (gst_basesrc_suite):
5691 Add unit test for controlled shutdown.
5693 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5695 * docs/design/part-synchronisation.txt:
5698 * gst/gstsegment.c: (gst_segment_set_seek),
5699 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5700 (gst_segment_to_running_time):
5701 The seek format can be different from the segment format when the start
5702 and stop values are not to be updated, when we only do a rate change for
5705 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5706 (gst_segment_suite):
5707 Add a testcase for the rate-only seeks, checking that the format is
5708 correctly ignored when start and stop are not updated.
5710 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5712 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5714 * win32/vs8/grammar.vcproj:
5715 * win32/vs8/libgstcontroller.vcproj:
5716 * win32/vs8/libgstreamer.vcproj:
5717 Fix compilation with VS8 and include some missing files.
5719 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5722 Small docs addition: mention that the strings returned by
5723 gst_tag_list_get_string*() are in UTF-8 encoding.
5725 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5728 The check-exports stuff moved to common/win32.mak, so include that.
5730 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5732 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5733 (gst_base_src_perform_seek), (gst_base_src_get_range),
5734 (gst_base_src_set_playing), (gst_base_src_change_state):
5735 Make _wait_playing() not check any variables so that we can call this
5736 function from subclasses. Move the checks elsewhere similar to
5737 _wait_preroll() in basesink.
5739 Only signal the LIVE cond when we are going back to PLAYING.
5741 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5743 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5744 Use g_remove() and g_rename(). Check result of g_rename(), and
5745 don't leak the open file descriptor if we error out when writing.
5747 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5748 Must check the return value of close() after writing out the new
5749 registry file. Sometimes write problems such as out-of-diskspace
5750 are only reported when the file is closed and not already during
5751 the write. This may have caused partial/broken registry files in
5752 some rare circumstances. Should fix #503675.
5754 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5756 * docs/gst/.cvsignore:
5757 * docs/libs/.cvsignore:
5758 * docs/plugins/.cvsignore:
5759 Ignore files generated by new common/* modifications
5761 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5763 * win32/common/libgstbase.def:
5764 Yes, you can also have a <TAB> if you want.
5766 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5768 * win32/common/libgstbase.def:
5769 Add new basetransform API to win export file.
5771 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5773 * tests/check/gst/gstbin.c:
5774 Adjust the test to the refcount change two days ago.
5776 2007-12-14 David Schleef <ds@schleef.org>
5778 * docs/faq/getting.xml: Fix typo.
5780 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5782 * docs/libs/gstreamer-libs-sections.txt:
5783 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5784 (gst_base_transform_prepare_output_buffer),
5785 (gst_base_transform_set_gap_aware):
5786 * libs/gst/base/gstbasetransform.h:
5787 API: Add gst_base_transform_set_gap_aware() to control whether
5788 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5789 get buffers with this flag at all. Fixes #503231.
5791 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5793 * libs/gst/base/gstbasesink.c:
5794 * libs/gst/base/gstbasesrc.c:
5795 * libs/gst/base/gstbasetransform.c:
5796 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5797 thread. Correct log message in gstbasesrc.c.
5799 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5801 * gst/gstutils.c: (element_find_unconnected_pad):
5802 Fix possible compiler warning (#503417).
5804 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5806 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5807 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5809 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5811 * tools/gst-inspect.c: (print_element_properties_info):
5812 Add support for GstFraction properties.
5814 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5817 Add check-exports target and run it as part of 'make check'
5818 (see #499140 and #493983).
5820 * gst/gst_private.h:
5821 * gst/gstelementfactory.h:
5822 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5823 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5824 (_priv_gst_in_valgrind):
5825 * gst/gstinfo.h: (GstLogFunction):
5826 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5827 (gst_type_find_register):
5828 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5829 (gst_type_find_factory_get_type):
5830 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5831 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5832 (gst_controller_new_valist), (gst_controller_new_list),
5833 (_gst_controller_dispose), (_gst_controller_class_init):
5834 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5835 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5836 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5837 (gst_object_get_controller), (gst_object_set_controller),
5838 (gst_object_suggest_next_sync), (gst_object_sync_values),
5839 (gst_object_set_control_source), (gst_object_get_control_source),
5840 (gst_object_get_value_arrays), (gst_object_get_value_array),
5841 (gst_object_get_control_rate), (gst_object_set_control_rate):
5842 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5843 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5844 Make some functions that should be static static; rename some
5845 private symbols so that they don't get exported; add some FIXME
5846 comments so we can move accidentally exported functions into
5847 our private section in 0.11.
5849 * win32/common/libgstreamer.def:
5850 Add gst_utils_get_timestamp().
5852 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5856 Add more missing "Since:" tags to docs.
5858 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5861 Add mising "Since:" to docs.
5863 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5866 Include "glib-compat-private.h" to fix the build on system with
5867 glib < 2.10. Fixes #503131.
5869 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5873 Actually its not PURE as it gets the time from elsewhere.
5875 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5877 * docs/gst/gstreamer-sections.txt:
5879 * gst/gstdebugutils.c:
5883 * libs/gst/base/gstbasesink.c:
5884 * tools/gst-launch.c:
5885 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5886 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5887 Thanks Tim for spotting.
5888 API: gst_util_get_timestamp
5890 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5893 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5895 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5897 * gst/gststructure.c: (gst_structure_validate_name),
5898 (gst_structure_new_valist), (gst_structure_parse_value),
5899 (gst_structure_from_string):
5900 Don't crash in _from_string() if the structure name is not valid
5901 (fixes #501560). Allow structure names to start with a number
5902 again (this apparently broke the ubuntu codec installer).
5904 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5906 Add unit test for the crash; update unit tests for new behaviour.
5908 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5911 Clarify gst_element_get_compatible_pad() documentation.
5914 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5916 * tests/check/Makefile.am:
5917 Don't forget to dist {gst,libs}/struct_hppa.h.
5919 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5921 * libs/gst/base/gstbasesink.c:
5922 Use new API to get elapsed time.
5924 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5926 * gst/gstdebugutils.c:
5928 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5930 * tools/gst-launch.c:
5931 Use new API to get elapsed time.
5933 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5935 * docs/gst/gstreamer-sections.txt:
5937 * gst/gstdebugutils.c:
5939 Rename new API + ChangeLog surgery to remove old name from last entry..
5941 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5943 * docs/gst/gstreamer-sections.txt:
5945 * gst/gstdebugutils.c:
5947 Now hide the different clock stuff behind a macro.
5949 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5952 * gst/gstdebugutils.c:
5954 Apply the posix-timer check from #361155. Conditionally use the posix
5955 timer for logging. This gives better timestamp precission, less
5956 overhead and no ntp jitter.
5958 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5960 * gst/gstminiobject.c: (gst_mini_object_get_type),
5961 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5962 (gst_mini_object_finalize), (gst_mini_object_copy),
5963 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5964 (gst_mini_object_replace), (param_mini_object_validate),
5965 (gst_param_spec_mini_object_get_type):
5966 Some cleanup and checking against invalid function parameters.
5968 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5970 * docs/gst/gstreamer-sections.txt:
5972 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5973 (gst_systemclock_suite):
5974 Start merging in the easy bits of #361155, the monotonic clock patch.
5975 This one adds a few handy macros with docs and a testsuite.
5977 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5979 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5980 Be a bit smarter when seeking, like, don't try to do a seek when it's
5981 not needed. This avoids errors when the file is not seekable.
5984 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5986 * docs/gst/gstreamer-docs.sgml:
5987 * docs/gst/gstreamer-sections.txt:
5988 * docs/gst/gstreamer.types.in:
5993 * plugins/elements/gstqueue.c:
5994 Due to popular request remove preset interface again. :-(.
5996 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5998 * tools/gst-inspect.c:
5999 Print 'default value' for enums and flags too.
6001 2007-11-22 Stefan Kost <ensonic@users.sf.net>
6003 * docs/random/ensonic/profiling.txt:
6007 Fix typo and give better log output.
6009 * gst/gstdebugutils.c:
6010 * gst/gstdebugutils.h:
6011 More ideas, make graphs a bit smaller and fix param name in macro.
6013 2007-11-22 Stefan Kost <ensonic@users.sf.net>
6016 Try harder to use the return value from fgets().
6018 2007-11-21 Stefan Kost <ensonic@users.sf.net>
6021 For theses two fgets we handle the error below.
6023 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
6025 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
6026 Only send upstream events upstream. Fixes #498746.
6028 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
6030 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
6032 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6033 (gst_identity_init), (gst_identity_transform_ip),
6034 (gst_identity_set_property), (gst_identity_get_property):
6035 * plugins/elements/gstidentity.h:
6036 Add property to disable handoff signal emission. Fixes #498694.
6037 API: GstIdentity::signal-handoffs
6039 2007-11-21 Julien Moutte <julien@fluendo.com>
6041 * docs/faq/gst-uninstalled: Yet another missing library for the
6042 uninstalled script (fft)
6044 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
6046 * docs/faq/developing.xml:
6047 Add a question about how to submit new translations.
6049 * docs/random/release:
6050 Update the contact email address for the Translation Project
6052 * plugins/elements/gstfdsrc.c:
6053 The parent_class for fdsrc is pushsrc, not GstElement.
6055 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6058 Plug a leak and fix saving.
6060 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
6062 * docs/gst/gstreamer-sections.txt:
6063 Add new gst_preset__get_property_names() function to the docs
6066 2007-11-20 Stefan Kost <ensonic@users.sf.net>
6070 Change _get_preset_names API to return a strv with copies. Add
6071 _get_property_names to allow implementations to filter and provide
6072 good default implementation.
6074 2007-11-20 Julien MOUTTE <julien@moutte.net>
6076 * docs/faq/gst-uninstalled: Add another library to the uninstalled
6079 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6082 More cleanups, docs, and TODOs from comments that now slowly come in.
6084 2007-11-19 Julien MOUTTE <julien@moutte.net>
6086 * docs/faq/gst-uninstalled: Add new base libraries in the LD
6089 2007-11-19 Stefan Kost <ensonic@users.sf.net>
6092 Fix bogus warning and make the property type specific code more
6095 2007-11-19 Julien MOUTTE <julien@moutte.net>
6097 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6100 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
6102 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6103 (gst_bin_add_func), (gst_bin_remove_func),
6104 (gst_bin_change_state_func), (gst_bin_continue_func):
6105 Change email, cleanups add some more debug and comments.
6106 Also set bus and clock on new elements when the pipeline was in error.
6108 2007-11-18 Stefan Kost <ensonic@users.sf.net>
6111 * gst/gstdebugutils.c:
6112 Fix build with --disable-gst-debug. Fixes #497859.
6113 Spotted by Sameer Naik.
6115 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6118 Little documentation improvment.
6121 More TODO cleanups. Remove c++ comments.
6123 * libs/gst/controller/gstcontroller.c:
6124 Add TODO and use quark from static string.
6126 * tests/check/gst/gstmessage.c:
6127 * tests/check/gst/gststructure.c:
6128 Use quark from static string.
6130 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6133 Add some comments and TODOs.
6136 Add padding for future changes.
6138 * plugins/elements/gstqueue.c:
6139 Implement the iface.
6141 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6143 * docs/gst/gstreamer-docs.sgml:
6144 * docs/gst/gstreamer-sections.txt:
6145 * docs/gst/gstreamer.types.in:
6150 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6152 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6158 === release 0.10.15 ===
6160 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6163 releasing 0.10.15, "October"
6165 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6167 * win32/vs6/libgstreamer.dsp:
6168 Convert line endings back to DOS.
6170 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6172 * docs/design/draft-tagreading.txt:
6173 * docs/random/ensonic/profiling.txt:
6174 Update fast tagreading draft and performance profiling ideas.
6176 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6178 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6179 Don't hold the object lock when unreffing a buffer because it could
6180 cause a deadlock when the finalize function wants to grab the object
6181 lock too. Fixes #495133.
6183 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6185 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6186 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6187 Also accumulate time correctly when doing reverse playback. Fixes
6189 When converting to running and stream time, use default values for
6190 start/stop/time/accum when comparing different formats. Fixes #494245.
6192 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6193 Do running/stream time in TIME format.
6195 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6196 (gst_segment_suite):
6197 2 new unit tests for segment accumulation.
6199 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6201 * gst/gst.c: (init_pre):
6202 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6203 (_gst_debug_bin_to_dot_file):
6204 Move getenv() back into gst_init, so everyone can live happily
6205 ever after. Make sure the symbol isn't exported though.
6207 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6209 Patch by: Sebastien Moutte <sebastien moutte net>
6211 * win32/common/gstenumtypes.c:
6212 * win32/common/gstenumtypes.h:
6215 * win32/vs6/libgstreamer.dsp:
6216 Update vs6 project files (#494343).
6218 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6220 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6221 (gst_base_src_perform_seek), (gst_base_src_default_event),
6222 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6223 (gst_base_src_activate_pull):
6224 Unify flushing code, remove some old unlock code that is no longer used.
6225 Take the streaming lock when seeking to avoid races. Fixes #492729.
6226 Added some more comments.
6228 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6230 * gst/gst.c: (_gst_disable_segtrap):
6231 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6232 we can use gst_segtrap_is_enabled() there now that we have that API.
6233 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6234 to do the getenv here (and export the variable).
6236 * gst/gstdebugutils.c: (debug_dump_element),
6237 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6238 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6240 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6241 (gst_debug_log_default):
6242 Rename _gst_info_start_time to priv_gst_info_start_time so it
6243 doesn't get exported (was never in any header).
6245 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6246 (gst_plugin_loading_mutex):
6247 Make static mutex gst_plugin_loading_mutex really static (was never
6248 in any header), and use gst_segtrap_is_enabled() instead of
6249 _gst_disable_segtrap.
6251 * gst/gsttrace.c: (_gst_trace_default):
6252 Make local _gst_trace_default static (was never in any header).
6254 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6256 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6258 * win32/common/libgstbase.def:
6259 * win32/common/libgstcontroller.def:
6260 * win32/common/libgstdataprotocol.def:
6261 * win32/common/libgstnet.def:
6262 * win32/common/libgstreamer.def:
6263 Add more missing symbols, remove some duplicates, and sort
6264 as the 'sort' command sorts it (partially fixes #493983).
6266 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6268 * gst/gstelement.c: (gst_element_set_state_func):
6269 Only change the state cookie if a different state was set on the
6270 element. See #492729.
6272 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6275 Remove unused and uninitialised type variables that were still
6276 exported for some reason (they were never in any header files
6279 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6281 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6282 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6283 (gst_base_sink_event), (gst_base_sink_get_position_last),
6284 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6285 (gst_base_sink_change_state):
6286 Don't try to report a 0 position when we don't know, return -1 and FALSE
6287 instead. This mostly happens when we are prerolling.
6288 Make sure we can report the right position before we post the ASYNC_DONE
6289 message so that a message handler can query position without races.
6291 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6292 (async_done_handoff), (async_done_func), (send_buffer),
6293 (async_done_eos_func), (gst_sinks_suite):
6294 Add two tests for the above.
6296 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6299 Update with new email address.
6301 * docs/design/part-TODO.txt:
6302 Add some more info about future pad-block and negotiation changes.
6304 * docs/design/part-buffering.txt:
6305 Add some ideas about buffering reporting.
6307 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6309 * tests/check/gst/gstobject.c:
6310 Disable silly racy test that always fails on this combination of CPU
6313 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6315 Patch by: Murray Cumming <murrayc@murrayc.com>
6318 Corrected the registration of the parent-set and parent-unset
6319 signals: The parameter is a GstObject, not a GObject (#493134).
6321 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6323 * gst/gst_private.h:
6332 Move declaration of private _gst_foo_initialize() functions into
6333 our private header file where they should have been all along.
6335 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6337 * docs/plugins/gstreamer-plugins-sections.txt:
6338 * gst/gstdebugutils.h:
6340 * plugins/elements/gstqueue.c:
6341 gtk-doc fixes; trailing-comma-in-enum fix.
6343 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6345 * gst/gst.c: (gst_deinit):
6346 Clean up on deinit (not the external ones though, doesn't seem to be
6347 needed for some reason).
6349 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6351 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6352 Remove __declspec(dllimport) for MSVC that was copied over into core
6353 from a plugin, obviously without ever having been tested (note the
6354 single underscore in _declspec in the initial commit), and that doesn't
6355 really make sense. See #492077.
6357 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6359 * gst/gst.c: (init_post):
6360 * gst/gstevent.c: (_gst_event_initialize):
6361 * gst/gstquery.c: (_gst_query_initialize):
6362 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6363 g_type_class_ref() other types as well, see #349410 and #64764.
6365 * gst/gstbuffer.c: (_gst_buffer_initialize):
6366 * gst/gstmessage.c: (_gst_message_initialize):
6367 Simplify existing g_type_class_ref().
6369 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6371 * gst/gstformat.c: (_gst_format_initialize):
6372 g_type_class_ref() our GstFormat type to make sure we avoid the
6373 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6374 bug #64764. Should fix intermittent tee unit test failures (#474823).
6376 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6378 * tests/check/elements/tee.c: (test_num_buffers):
6379 Simplify, simplify, simplify - or not. Rewrite unit test
6380 not to use gst_parse_launch(); allow N sub-streams. Increasing
6381 the number of sub-streams seems to reproduce #474823 more easily.
6383 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6385 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6388 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6389 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6390 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6391 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6392 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6393 so use _pipe() directly (#492077).
6395 * win32/common/dirent.c: (_treaddir):
6396 Add a couple of casts to make it build without warnings with MSVC.
6398 * win32/common/libgstreamer.def:
6399 Add some more symbols that need to be exported.
6401 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6403 * tests/examples/metadata/read-metadata.c: (message_loop):
6404 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6405 arriving in a second or third tag message are added to
6406 the tag list as well.
6408 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6410 * libs/gst/base/gstbasesrc.c:
6411 Its "Since:" and not "@Since:". And remove an superflous cast.
6413 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6415 * docs/libs/gstreamer-libs-sections.txt:
6416 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6417 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6418 (gst_base_sink_get_property), (gst_base_sink_render_object),
6419 (gst_base_sink_preroll_object),
6420 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6421 (gst_base_sink_change_state):
6422 * libs/gst/base/gstbasesink.h:
6423 Add a new last-buffer property that contains the last buffer used in
6424 basesink for preroll or rendering. useful for making snapshots.
6425 API: gst_base_sink_get_last_buffer()
6426 API: GstBaseSink::last-buffer
6428 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6430 * docs/gst/running.xml:
6432 * gst/gstdebugutils.c:
6433 * gst/gstdebugutils.h:
6434 * tools/gst-launch.c:
6435 Improve bin graph dumping, by using the envvar to specify a path.
6436 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6438 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6440 * plugins/elements/gsttypefindelement.c:
6441 (gst_type_find_element_handle_event),
6442 (gst_type_find_element_activate):
6443 Post special error message if we can't determine the type of a stream
6446 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6448 * docs/gst/running.xml:
6449 * gst/gstdebugutils.c:
6450 Document new env-var. Add one log-line after dumpng a graph.
6452 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6455 Ugly hack to put the (recently removed and non-portable, apparently)
6456 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6457 GNU ld, because without that 'make check' fails miserably on my debian
6458 stable box. Someone with more knowledge of linker intricacies and
6459 portability issues than me fix this properly please.
6461 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6463 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6464 Reset last seen position after flushing so that we don't report the old
6467 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6469 * gst/gstelementfactory.c: (gst_element_register):
6471 Patch from Alessandro Decina adding get_type_full and
6472 get_protocols_full private vfuncs to the URIHandler interface
6473 to allow bindings to support creating URI handlers.
6474 Partially fixes: #339279
6475 API: GstURIHandlerInterface::get_type_full
6476 API: GstURIHandlerInterface::get_protocols_full
6478 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6480 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6481 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6482 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6483 Make it so that pads are considered linked until a buffer is pushed
6484 and discovered otherwise. This avoids problems with decodebin2 hanging
6485 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6488 Make sure we lock the multiqueue when updating the max-size properties.
6490 Fix a crash on Solaris in a debug statement in get_request_pad that
6491 passes a NULL string to GST_DEBUG.
6493 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6494 (run_output_order_test):
6495 Fix the test to allow the first buffer on not-linked pads to come out
6496 of sequence while multiqueue discovers that they are not-linked.
6498 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6501 * libs/gst/check/Makefile.am:
6502 Use a custom export symbol regex for libgstcheck, as it needs
6503 to export symbols that don't match the standard GStreamer gst_*
6504 pattern, and --export-dynamic is not portable (only works on
6507 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6508 (gst_check_setup_sink_pad):
6509 Make sure to pass a message parameter to the fail_* macros.
6511 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6512 Fix some compiler warnings.
6514 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6516 * tests/check/gst/gststructure.c: (test_to_string):
6517 Disable test that checks that white spaces are not allowed
6518 in structure names or field names, since we need to
6519 support that for now for backwards compatibility reasons.
6521 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6523 * docs/gst/gstreamer-sections.txt:
6526 API: add GST_TAG_ARTIST_SORTNAME
6527 API: add GST_TAG_ALBUM_SORTNAME
6528 API: add GST_TAG_TITLE_SORTNAME
6529 Add tag variants for sorting (#414539).
6531 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6533 * gst/gststructure.c:
6534 Also allow white space for names so we don't break
6535 backwards compatibility.
6537 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6539 * docs/design/part-TODO.txt:
6540 * docs/design/part-segments.txt:
6541 * docs/design/part-streams.txt:
6544 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6546 * docs/gst/gstreamer-sections.txt:
6547 Fixed documentation from my previous commit (added new API add
6548 gst_value_set_structure(), add gst_value_get_structure() and
6549 GST_VALUE_HOLDS_STRUCTURE).
6551 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6553 * gst/gstdebugutils.c:
6554 Reflow code to fix uninitialized variable warning.
6556 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6558 * gst/gstcaps.c: (gst_caps_to_string),
6559 (gst_caps_from_string_inplace):
6560 * gst/gststructure.c: (gst_structure_get_abbrs),
6561 (gst_structure_to_string), (gst_structure_from_string):
6562 * gst/gstvalue.c: (gst_value_set_structure),
6563 (gst_value_get_structure), (gst_value_serialize_structure),
6564 (gst_value_deserialize_structure), (_gst_value_initialize):
6566 * tests/check/gst/gststructure.c: (GST_START_TEST),
6567 (gst_structure_suite):
6568 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6569 Added GstStructure to gst_value_table and its related functions.
6570 Changed gst_structure_to_string to print ';' in the end.
6571 Changed gst_caps_to_string to not print ';' beteween its
6572 fields (structures) anymore and remove the lastes ';' from latest
6573 structure. Now it is possible to have nested structures.
6574 In addition, backward compatibilty is assured by accepting '\0' as
6575 end delimiter. Fixes: #487969.
6576 API: add gst_value_set_structure()
6577 API: add gst_value_get_structure()
6578 API: add GST_VALUE_HOLDS_STRUCTURE
6580 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6583 When no GSource callback has been set up, tell developer
6584 to use a function that actually exists.
6586 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6588 * docs/gst/gstreamer-sections.txt:
6592 * gst/gstdebugutils.c:
6593 * gst/gstdebugutils.h:
6596 * tools/gst-launch.c:
6597 Allow dumping pipelines as dot graphs. Fixes #456573.
6599 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6601 * gst/gststructure.c:
6602 Allow '+' as well, it can be part of media or mime types
6603 such as image/svg+xml.
6605 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6607 * docs/gst/gstreamer-sections.txt:
6610 API: add gst_bus_pop_filtered
6611 API: add gst_bus_timed_pop_filtered
6612 Two new functions for waiting for specific message types on the
6613 bus for a specified amount of time without iterating any main
6614 loops or main contexts.
6616 * tests/check/gst/gstbus.c:
6617 Some tests for the new functions.
6619 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6621 * docs/libs/gstreamer-libs-sections.txt:
6622 Make gtk-doc ignore stuff it should ignore.
6624 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6626 * libs/gst/check/gstcheck.c:
6627 * libs/gst/check/gstcheck.h:
6628 Allow runtime selection of unit tests to run via the GST_CHECKS
6629 environment variable (test case function names, comma-separated).
6631 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6633 * gst/gststructure.c:
6634 * tests/check/gst/gststructure.c:
6635 Revert serialisation change and constrain structure-names after
6636 consensus on irc. Update api documentation to reflect the change.
6638 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6640 * gst/gststructure.c:
6641 Improve serialization and fix tests.
6643 * tests/check/gst/gststructure.c:
6644 Add another test that covers why I actually did the previous structure
6647 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6649 * tools/gst-inspect.c: (print_element_info):
6650 Don't crash when inspecting an element.
6652 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6654 * tests/check/gst/gststructure.c:
6655 Add unit test for escaping of structure name when serialising
6656 and deserialising to/from strings.
6658 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6660 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6661 (gst_single_queue_new):
6662 * plugins/elements/gstqueue.c: (gst_queue_init),
6663 (gst_queue_push_one):
6664 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6665 upstream is tricked into thinking it can suggest a format downstream
6666 while downstream does not support that format. The real problem is that
6667 core calls acceptcaps when pushing a buffer with new caps, for which we
6668 do a little workaround by setting the caps on the srcpad ourselves
6669 before pushing the buffer (until this is figured out). Fixes #486758.
6671 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6673 * gst/gststructure.c:
6675 Add some more comments and debug output. Quote structure name to fix
6676 deserialisation of some strings.
6678 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6681 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6682 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6684 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6686 * tools/gst-inspect.c:
6687 Save approx. 400 1 byte allocs when printing. Use API to acces element
6693 * tools/gst-xmlinspect.c:
6694 Use API to acces element details.
6696 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6699 Fix some spelling errors.
6701 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6703 * gst/gstbin.c: (bin_handle_async_done):
6704 Correctly set the next state if all of our async children commited their
6705 state. This makes sure we can actually cancel the state change in
6706 progress. Fixes a regression in Rhythmbox when seeking.
6708 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6711 Don't shadow local variable.
6714 Don't shadow global function name.
6716 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6718 * gst/gstelementfactory.c:
6719 * gst/gstpluginfeature.c:
6720 * gst/gstpluginfeature.h:
6721 * gst/gstregistrybinary.c:
6722 * gst/gstregistryxml.c:
6723 * gst/gsttypefind.c:
6724 Use already-interned string for the private GstPluginFeature
6727 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6729 * docs/libs/gstreamer-libs-sections.txt:
6730 Add new API to docs; fixes the build.
6732 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6734 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6736 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6737 (gst_base_sink_event):
6738 * libs/gst/base/gstbasesink.h:
6739 Add function to wait for EOS, subclasses can use this to correctly wait
6740 for devices to drain before performing the EOS logic. Fixes #485343.
6741 API: gst_base_sink_wait_eos()
6743 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6746 Cast description string constants in GST_PLUGIN_DEFINE macros
6747 to a (gchar*) to make C++ code using these macros compile
6748 without warning with g++-4.2 (see #462737). Even if slightly
6749 ugly, this seems preferable to putting the description strings
6750 into the GLib quark table or making the structure member a
6751 const gchar * and doing casts in core code that allocs and
6752 frees these strings, or requiring a cast in the C++ code.
6754 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6757 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6758 to print the entire class/function signature into the log
6759 file for C++ code. This only affects C++ code, for C code
6760 everything remains the same.
6762 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6764 * gst/gstbin.c: (remove_from_queue):
6765 Work around a problem with pipelines containing (semi)loops until a
6766 proper, more complicated solution is ready. See #475455.
6768 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6772 * gst/gstregistrybinary.c:
6773 * gst/gstregistryxml.c:
6774 Put more strings into the GLib quark table. No need to keep
6775 a hundred-something copies of identical version strings,
6776 license strings, package name strings and package origin
6779 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6781 * docs/manual/advanced-dataaccess.xml:
6782 Don't imply that it's okay to unconditionally change
6783 buffer data or buffer metadata in a pad probe callback,
6784 and a bunch of other comments. Fixes #430031.
6786 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6788 * win32/common/gstenumtypes.c:
6789 * win32/common/gstenumtypes.h:
6790 * win32/common/gstversion.h:
6791 Update generated files.
6793 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6795 * docs/manual/advanced-autoplugging.xml:
6796 Prefix section with broken code with a warning (see #342432).
6798 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6800 * docs/manual/appendix-integration.xml:
6801 * docs/manual/basics-init.xml:
6802 Call g_thread_init() before g_option_context_new() to
6803 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6805 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6807 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6808 (gst_base_sink_queue_object_unlocked),
6809 (gst_base_sink_queue_object), (gst_base_sink_event),
6810 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6811 When we received EOS and are waiting for when to post the EOS message,
6812 our state is prerolled and we should not return ASYNC.
6813 Reorganize some code paths to implement this behavior.
6815 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6817 Add unit test to verify above EOS fix.
6819 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6821 * plugins/elements/gsttypefindelement.c:
6822 (gst_type_find_element_have_type), (gst_type_find_element_init),
6823 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6824 Move detecting the input caps of the sinkpad to the setcaps function.
6825 This allows us to update the output caps when we receive new input caps
6826 instead of always using the first detected caps.
6828 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6830 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6831 (gst_base_sink_get_position):
6832 Don't try to preroll non-async elements after a flush.
6833 Subtract latency form clock times when reporting position.
6835 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6837 * gst/gstpad.c: (gst_pad_pause_task):
6839 Small comment and documentation update.
6841 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6843 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6844 (gst_base_src_set_live), (gst_base_src_is_live),
6845 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6846 (gst_base_src_default_event), (gst_base_src_wait),
6847 (gst_base_src_do_sync), (gst_base_src_get_range),
6848 (gst_base_src_pad_get_range), (gst_base_src_loop),
6849 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6850 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6851 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6852 (gst_base_src_change_state):
6853 Rework the locking of basesrc in a similar fashion to basesink. We
6854 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6855 us to handle live sources and semi live ones much better.
6857 Fix unlocking when seeking, shutting down and pausing in live sources.
6859 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6861 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6862 Fix compilation again.
6864 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6867 Use meaningful categories for the logs to clean the default one.
6869 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6871 * tests/check/pipelines/cleanup.c:
6872 Print message name and not just number.
6874 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6876 * docs/design/draft-tagreading.txt:
6877 Add some more thoughts.
6879 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6881 * tests/check/pipelines/simple-launch-lines.c:
6882 Print message name and not just number.
6884 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6886 * libs/gst/base/gsttypefindhelper.c:
6887 Speedup typefinding. This is work in progress (see #459862).
6889 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6892 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6893 Spotted by Josep Torra Valles <josep@fluendo.com>.
6895 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6898 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6899 field has moved to GstObject.
6901 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6903 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6904 (gst_base_src_get_range), (gst_base_src_change_state):
6905 Call unlock for live sources so that they can't get stuck in _create and
6906 produce a buffer before they are set back to PLAYING.
6908 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6910 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6911 (gst_queue_locked_dequeue):
6912 Comment the segment-related code... in the PROPER function.
6913 See #482147 and my commit from yesterday.
6915 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6917 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6918 Also initialize the counter that calculates the first timestamp on a
6919 buffer correctly for non-live sources.
6921 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6923 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6924 Disable code that's breaking the current-time-level reporting.
6927 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6929 * docs/gst/gstreamer-sections.txt:
6930 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6931 as they shouldn't show up. Fixes the docs build.
6933 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6936 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6937 Define M_PI which is used in files which are including gstinfo.h.
6938 VS6 includes doesn't define it.
6939 * win32/common/libgstbase.def:
6940 * win32/common/libgstcontroller.def:
6941 * win32/common/libgstreamer.def:
6942 Add new exported functions and variables.
6943 * win32/vs6/libgstcontroller.dsp:
6944 * win32/vs6/libgstreamer.dsp:
6945 Update the list of files to build.
6947 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6949 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6951 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6952 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6953 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6954 Improve debugging. Fixes #480858.
6956 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6958 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6960 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6961 First patch of code cleanups, use the macros and right arguments in the
6962 macros to signal and lock the queue. See #480858.
6964 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6966 * gst/gstbus.c: (poll_func):
6967 Improve debugging when dealing with _poll().
6969 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6971 * gst/gstregistryxml.c:
6972 Fix memory leak I introduced a few days ago.
6974 2007-09-26 Michael Smith <msmith@fluendo.com>
6976 * gst/gstbuffer.c: (gst_buffer_finalize):
6977 Make it once again possible to free GstBuffers in the default
6979 The poisoning scribbles on parts of the miniobject we need in
6983 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6985 * docs/gst/gstreamer-sections.txt:
6988 API: add GST_TAG_COMPOSER, fixes #459809.
6990 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6994 Add the 3-clause BSD license and the MIT/X11 license to the license
6995 list. Fixes #479784.
6997 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6999 * docs/faq/getting.xml:
7000 Add Q+A about different GStreamer versions (#364056).
7002 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
7004 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7005 (gst_base_sink_event), (gst_base_sink_change_state):
7006 Return correct gboolean from query function.
7008 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
7010 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7011 (gst_base_sink_event), (gst_base_sink_query),
7012 (gst_base_sink_change_state):
7013 Simplify latency query.
7014 When not synchronizing, we can report latency without querying the peer
7017 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
7021 Fix small typos in the docs.
7023 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
7025 * docs/design/draft-latency.txt:
7026 * docs/design/draft-push-pull.txt:
7027 * docs/design/draft-tagreading.txt:
7028 * docs/design/part-MT-refcounting.txt:
7029 * docs/design/part-activation.txt:
7030 * docs/design/part-block.txt:
7031 * docs/design/part-element-source.txt:
7032 * docs/design/part-events.txt:
7033 * docs/design/part-gstbin.txt:
7034 * docs/design/part-gstelement.txt:
7035 * docs/design/part-gstobject.txt:
7036 * docs/design/part-gstpipeline.txt:
7037 * docs/design/part-messages.txt:
7038 * docs/design/part-preroll.txt:
7039 * docs/design/part-push-pull.txt:
7040 * docs/design/part-qos.txt:
7041 * docs/design/part-query.txt:
7042 * docs/design/part-scheduling.txt:
7043 * docs/design/part-seeking.txt:
7044 * docs/design/part-segments.txt:
7045 * docs/design/part-states.txt:
7046 Documentation updates and typo fixes.
7048 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
7050 * plugins/elements/gstfakesink.c:
7051 Add some debug text to error message to indicate that
7052 we errored out on request.
7054 * tools/gst-launch.c:
7055 When the state change to PLAYING fails, check for an
7056 error message on the bus and print it.
7058 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
7060 translated by: Jorge González González <aloriel@gmail.com>
7064 Added Spanish translation.
7066 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
7068 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7069 Fix printf arguments.
7071 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7073 * tests/check/generic/states.c:
7074 Improved state change unit test.
7076 2007-09-20 Stefan Kost <ensonic@users.sf.net>
7079 Move priv to the right place.
7081 * gst/gstsystemclock.c:
7082 Add FIXME: and improve log.
7084 * tests/check/Makefile.am:
7085 * tests/examples/manual/Makefile.am:
7086 Work with all types of registries.
7088 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
7090 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7091 Don't unref the event after pushing it. Fixes #478401.
7093 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7096 * tests/examples/manual/.cvsignore:
7097 Ignore registries in any format.
7099 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
7101 * gst/glib-compat-private.h:
7102 Add compatibility macro for g_intern_string() for
7103 GLib-2.8 (any reason we can't just bump the
7104 requirement to at least 2.10?)
7106 * gst/gstpadtemplate.h:
7107 * gst/gstelementfactory.c:
7108 * gst/gstregistryxml.c:
7109 * gst/gstregistrybinary.c:
7110 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7111 up the internal code accordingly. This shouldn't be a problem, since
7112 there is no reason external code could ever assume the string in such
7113 a structure is dynamically allocated unless it did that itself; the
7114 use of g_strdup() is private to element factories. The new code also
7115 saves some memory by putting pad template name strings into the GLib
7116 quark table instead of allocating them dynamically.
7117 Declaring this field constant fixes warnings with g++-4.2 when using
7118 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7120 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7122 * gst/gstelementfactory.c:
7123 Release static caps. Fixes #475723.
7125 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7129 Make some internal API take const gchar * instead of just
7130 gchar * to avoid compiler warnings with g++-4.2.2 when
7131 passing string constants (partially fixes #478092).
7133 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7135 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7136 A latency query fails when one of the sinks fail.
7138 * gst/gstelement.c: (gst_element_set_base_time):
7141 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7143 * gst/gstbin.c: (gst_bin_continue_func):
7144 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7145 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7146 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7148 Fix minor compilation warnings shown with Forte.
7150 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7152 * plugins/elements/gstqueue.c: (apply_buffer),
7153 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7154 Measure queue level based on the diff between head and tail timestamps
7155 even when pushing the first buffer.
7157 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7159 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7160 (gst_base_sink_event), (gst_base_sink_change_state):
7161 Sinks that don't preroll can always be queried for the latency.
7162 Don't post ASYNC start when we are not async.
7164 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7166 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7167 (gst_queue_handle_sink_event), (gst_queue_chain),
7168 (gst_queue_push_one), (gst_queue_handle_src_query),
7169 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7170 * plugins/elements/gstqueue.h:
7171 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7172 push more buffers but allow pushing of EOS and NEWSEGMENT.
7173 Add some more debug info here and there. Fixes #476514.
7175 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7177 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7178 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7179 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7180 (gst_base_sink_set_flushing), (gst_base_sink_query),
7181 (gst_base_sink_change_state):
7182 Latency query is allowed after we are prerolled. Introduce a new flag
7183 for this and stop abusing other variables.
7185 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7187 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7188 Push OOB events downstream when we get them in send_event. This allows
7189 the application to insert events in the pipeline.
7190 Add some more comments.
7192 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7194 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7195 (do_bin_latency), (gst_bin_change_state_func):
7196 * gst/gstpipeline.c: (gst_pipeline_change_state):
7197 Move latency query from GstPipeline to GstBin so that we can also
7198 use it when async-handling is enabled on bins.
7200 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7202 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7203 (gst_base_src_do_sync), (gst_base_src_change_state):
7205 Clean up the timestamping and syncing code for pseudo live sources.
7207 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7209 Patch by: Steve Fink <sphink gmail com>
7211 * docs/manual/appendix-checklist.xml:
7212 Mention less -R switch in the section about debug output (#474055).
7214 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7216 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7217 Queue can latency to the pipeline up to the configured max size in time.
7218 Report this fact in the latency query.
7220 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7222 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7224 * libs/gst/controller/gstinterpolation.c:
7225 * libs/gst/controller/gstlfocontrolsource.c:
7226 Use gst_guint64_to_gdouble() when converting from a uint64 or
7227 GstClockTime to double to fix the build on win32. Fixes #474371.
7229 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7231 * gst/gstbuffer.c: (gst_buffer_finalize):
7232 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7233 When finalizing a buffer the complete struct is filled with 0xff,
7234 thus making a use of the buffer after the final unref impossible.
7236 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7238 * tests/check/libs/controller.c: (GST_START_TEST):
7239 Use fail_unless_equals_int(a, b) instead of
7240 fail_unless_equals (a == b) to get better output on failures.
7242 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7244 * tests/check/gst/gsturi.c:
7245 Also check for the other file URI variant on win32.
7247 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7249 * gst/gsturi.c: (gst_uri_get_location):
7250 If there's no hostname, we want to return 'c:/foo/bar.txt'
7251 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7253 * tests/check/gst/gsturi.c:
7254 Unit test for the above and a few more things.
7256 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7258 * docs/design/part-live-source.txt:
7259 Add docs on how live sources should timestamp.
7261 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7262 Add some more debug info.
7263 For subclasses that are live and like to sync, add aditional startup
7264 latency to sync time and timestamps so that we timstamp according to the
7267 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7270 Also do a g_type_class_ref() for the subbuffer type in
7273 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7275 * docs/gst/gstreamer-sections.txt:
7276 * gst/gstpad.c: (gst_pad_peer_query):
7278 Add function to perform a query on the peer of a pad.
7279 API: gst_pad_peer_query()
7281 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7283 * tests/check/gst/gstsystemclock.c:
7284 Cleanup the test a little (use gst-logging and not g_message). Improve
7285 test to check if a wait reached the target.
7287 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7289 * docs/libs/gstreamer-libs-sections.txt:
7290 Add new API to docs and fix the build.
7292 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7294 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7295 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7296 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7297 (gst_base_src_get_property), (gst_base_src_do_sync):
7298 * libs/gst/base/gstbasesrc.h:
7299 Add property to make the basesrc timestamp buffers based on the current
7301 API: GstBaseSrc::do-timestamp
7302 API: gst_base_src_set_do_timestamp()
7303 API: gst_base_src_get_do_timestamp()
7305 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7307 * docs/random/release:
7308 Really make sure translations are up-to-date before
7309 a release (#465010).
7311 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7313 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7314 Always destroy the timer, also in error cases.
7316 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7318 * docs/manual/highlevel-xml.xml:
7319 Fix XML example code. Fixes #472714.
7321 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7323 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7324 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7325 (gst_base_sink_query):
7326 Protect eos and have_preroll with the OBJECT lock so we don't need to
7327 take the PREROLL lock when querying the latency. Fixes #473846.
7329 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7332 Give some log-messages a category.
7334 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7336 * gst/gststructure.c:
7337 (gst_structure_fixate_field_nearest_fraction):
7338 Fix fraction list fixation code. Take the fraction with the smallest
7339 difference with the target instead of the first one in the list.
7341 * tests/check/gst/gststructure.c: (GST_START_TEST),
7342 (gst_structure_suite):
7343 Added test to verify correct fraction list fixation behaviour.
7345 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7347 * win32/common/libgstreamer.def:
7348 Export gst_bus_add_signal_watch too.
7350 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7352 * docs/libs/gstreamer-libs-sections.txt:
7353 Add new methods to docs.
7355 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7356 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7357 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7358 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7359 * libs/gst/base/gstbasesink.h:
7360 Add ts-offset property to fine-tune the synchronisation.
7361 API: GstBaseSink::ts-offset property
7362 API: gst_base_sink_set_ts_offset()
7363 API: gst_base_sink_get_ts_offset()
7365 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7367 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7368 (gst_base_sink_init), (gst_base_sink_set_sync),
7369 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7370 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7371 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7372 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7373 (gst_base_sink_get_property), (gst_base_sink_change_state):
7374 * libs/gst/base/gstbasesink.h:
7375 Add async property to instruct the sink never to inform the parent about
7376 ASYNC state changes, update docs.
7377 Check argument with g_return_* for the public functions.
7378 API: GstBaseSink::async property
7379 API: gst_base_sink_set_async_enabled()
7380 API: gst_base_sink_is_async_enabled()
7382 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7384 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7387 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7388 (gst_base_src_default_query), (gst_base_src_wait),
7389 (gst_base_src_do_sync), (gst_base_src_change_state):
7390 Rearrange some code so that we can add support for measuring the
7393 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7395 * docs/random/ensonic/dynlink.txt:
7396 More thoughs on this.
7398 * plugins/elements/gstcapsfilter.c:
7399 Add bugzilla ticket number to FIXME comment.
7401 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7403 * docs/design/part-TODO.txt:
7404 * docs/design/part-block.txt:
7407 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7410 Revert patch which uses $(gst_headers) instead of $^ because it
7413 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7415 * tests/check/gst/gstbin.c: (GST_START_TEST):
7416 Fix leaks in the new unit test.
7418 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7421 Don't use GST_INFO before the debug system is actually initialised
7422 (shouldn't do any harm, but won't print anything either, so we can
7423 just as well remove it).
7426 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7427 compilers that don't support variadic macros (such as MSVC), should
7428 check for debug_level <= __gst_debug_min as well, since that's the
7429 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7430 inline helper functions. Should improve performance a bit, but also
7431 makes sure uses of GST_INFO et.al are ignored if the debugging
7432 system isn't initialised yet (instead of printing an assertion
7435 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7437 patch by: David Nečas <yeti@physics.muni.cz>
7440 Replace some non portable makefile constructs.
7442 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7444 * common/gtk-doc-plugins.mak:
7445 Grrrrr. Don't remove the types file on make clean.
7447 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7449 * tools/gst-launch.1.in:
7450 Add colorspace to example pipeline. Fixes #458274.
7452 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7454 * docs/random/release:
7455 The release manager should run 'make download-po' before making a
7456 release to make sure translations are up-to-date.
7462 Add some new translations.
7464 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7466 * tools/gst-launch.c: (event_loop), (main):
7467 Don´t try to do any state management when a live pipeline posts
7469 Also make the buffering string translatable.
7471 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7473 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7474 (bin_handle_async_start), (gst_bin_handle_message_func):
7476 When adding elements, insert messages into the bus of the newly added
7477 element and make sure the element is the source of the message. This
7478 allows the parent bin to intercept the message and do the
7479 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7480 messages to the app (which is not allowed).
7483 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7484 Fix testsuite so that is does not work around messages that should not
7485 have been posted in the first place.
7487 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7489 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7490 (update_degree), (gst_bin_sort_iterator_next):
7491 Fix annoying bug in the sorted iterator where a sink that is not really
7492 a sink (when it has downstream links) screwed up the iterator.
7494 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7495 Unit test to verify the fix.
7497 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7500 Add some more docs for the messages.
7502 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7503 (gst_base_sink_query):
7504 Add some more debugging.
7506 * tools/gst-launch.c: (event_loop):
7507 When interrupting, don't try to set pipeline to PAUSED twice.
7509 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7512 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7513 (bin_handle_async_start), (gst_bin_handle_message_func):
7514 Move ASYNC_START message posting to where it belongs, similar to
7516 Don't post ASYNC_START when we are in error.
7517 Post ASYNC_START when we added an async element to a bin.
7519 2007-08-14 Julien MOUTTE <julien@moutte.net>
7521 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7522 generation from vargs. Fixes #466595.
7524 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7526 * gst/gstbin.c: (gst_bin_element_set_state):
7527 Always change the state of a NO_PREROLL element even if it has ASYNC
7528 elements inside (in case of a bin).
7530 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7531 Unit test for this case.
7533 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7535 * libs/gst/check/gstbufferstraw.c:
7536 * libs/gst/check/gstcheck.h:
7537 * libs/gst/controller/gstcontroller.c:
7538 * libs/gst/controller/gstcontrolsource.h:
7539 * libs/gst/controller/gstlfocontrolsource.h:
7540 * plugins/elements/gstcapsfilter.h:
7541 * plugins/elements/gstfdsink.h:
7542 * plugins/elements/gstfdsrc.h:
7543 Add more missing docs.
7545 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7547 * gst/gststructure.c:
7548 Add Since tag to docs.
7550 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7552 * docs/gst/gstreamer-sections.txt:
7553 * gst/gststructure.c: (gst_structure_get_uint):
7554 * gst/gststructure.h:
7555 Add function to get uint from a structure.
7556 API: gst_structure_get_uint()
7558 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7560 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7561 (gst_caps_intersect):
7562 Fix proper check for simple caps.
7564 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7566 * docs/gst/Makefile.am:
7567 * docs/libs/Makefile.am:
7568 Remove cruft and do some cleanups.
7570 * docs/gst/gstreamer-docs.sgml:
7571 * docs/libs/gstreamer-libs-docs.sgml:
7572 Prepare for comming gtkdoc features (rebase against online docs).
7574 2007-08-10 Michael Smith <msmith@fluendo.com>
7576 * docs/gst/gstreamer-sections.txt:
7577 Add gst_registry_add_path to docs.
7579 2007-08-10 Michael Smith <msmith@fluendo.com>
7581 * gst/gstregistry.h:
7582 Add gst_registry_add_path, which was missing from this header.
7584 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7586 * libs/gst/controller/gstlfocontrolsource.c:
7589 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7591 * libs/gst/base/gstbasesink.c:
7592 Don't send an async_start message during downwards state change if
7593 target state is less than READY
7595 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7597 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7601 Added Hungarian translation.
7603 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7610 Updated translations.
7612 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7614 * libs/gst/controller/Makefile.am:
7615 Dist gstlfocontrolsourceprivate.h
7617 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7619 * docs/libs/gstreamer-libs.types:
7620 Don't register the enum type gst_lfo_waveform_get_type() in the
7621 .types file - only GObject derived types belong.
7623 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7625 Patch by: <arenevier at fdn dot fr>
7628 Remove comma from last element in enum to avoid compile errors when
7629 using -pendantic. Fixes #464366.
7631 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7633 * docs/design/part-TODO.txt:
7634 Add some more TODO items
7636 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7639 * gst/gstcaps.c: (gst_caps_intersect):
7640 Optimize trivial intersection case between identical caps pointers.
7642 * gst/gstelement.c: (gst_element_continue_state),
7643 (gst_element_set_state_func):
7645 Fix spelling and grammar mistakes.
7647 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7651 Update POTFILES. Fixes #461599.
7653 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7656 Fix confusing typo in debug output.
7658 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7660 reviewed by: Stefan Kost <ensonic@users.sf.net>
7662 * libs/gst/controller/Makefile.am:
7663 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7664 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7665 (gst_lfo_control_source_new),
7666 (gst_lfo_control_source_set_waveform),
7667 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7668 (gst_lfo_control_source_finalize),
7669 (gst_lfo_control_source_dispose),
7670 (gst_lfo_control_source_set_property),
7671 (gst_lfo_control_source_get_property),
7672 (gst_lfo_control_source_class_init):
7673 * libs/gst/controller/gstlfocontrolsource.h:
7674 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7675 API: Add GstLFOControlSource, a control source that gives values
7676 for specific timestamps based on several periodic waveforms.
7679 * tests/check/libs/controller.c: (GST_START_TEST),
7680 (gst_controller_suite):
7681 * docs/libs/gstreamer-libs-docs.sgml:
7682 * docs/libs/gstreamer-libs-sections.txt:
7683 * docs/libs/gstreamer-libs.types:
7684 Add documentation and unit tests for GstLFOControlSource.
7686 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7691 === release 0.10.14 ===
7693 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7696 releasing 0.10.14, "Breathing Vacuum"
7698 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7700 * gst/gstelement.c: (gst_element_class_set_details_simple):
7702 Make strings passed to gst_element_class_set_details_simple()
7703 constant, as they should be (#462752).
7705 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7707 * gst/gstbin.c: (gst_bin_change_state_func),
7708 (bin_handle_async_done), (gst_bin_handle_message_func):
7709 Don't forget about the fact that some element went ASYNC even after a
7710 resync. This makes us post the ASYNC_DONE message correctly.
7713 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7715 * gst/gstregistry.c: (gst_registry_add_feature):
7716 When replacing an existing feature in the registry, make sure to
7717 continue holding a reference until we've replaced the name string
7718 within our feature hash table. Make sure to use g_hash_table_replace
7719 instead of g_hash_table_insert to ensure the new name string is used
7720 as a key instead of the old one that we're about to free.
7723 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7725 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7726 (gst_plugin_feature_set_name):
7727 Revert patch from #459466 until after the release and we can work
7728 out exactly what the problem is (if any).
7730 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7732 * docs/gst/gstreamer-sections.txt:
7735 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7737 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7739 * docs/libs/Makefile.am:
7740 Include our build-prefix libs and includes before the generic ones to
7741 avoid linking against the installed libs when we want the build-tree
7744 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7746 Patch by: Steve Fink <sphink gmail com>
7748 * docs/pwg/building-testapp.xml:
7749 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7750 if people try to build or install the example from the plugin
7751 template against a GStreamer from package using the configure
7754 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7756 Patch by: Steve Fink <sphink gmail com>
7758 * tools/gst-inspect.1.in:
7759 Document --print-all and --print-plugin-auto-install-info command
7760 line options in man page.
7762 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7764 * docs/gst/gstreamer-sections.txt:
7765 Add docs for new api function.
7767 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7769 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7770 * gst/gstelementfactory.h:
7771 API: gst_element_factory_has_interface()
7772 Added method to check if an element factory implements a named
7775 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7778 * docs/gst/gstreamer.types.in:
7779 Another conditional doc check.
7782 * gst/gstparamspecs.h:
7783 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7788 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7790 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7791 (gst_registry_binary_load_feature),
7792 (gst_registry_binary_load_plugin),
7793 (gst_registry_binary_read_cache):
7794 Print error just once and with additional info.
7796 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7798 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7799 (helper_find_suggest), (helper_find_get_length),
7800 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7801 (gst_type_find_helper_for_buffer):
7802 Cleanup the typefindhelper code and add private doc comments.
7804 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7806 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7807 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7808 Fix capsfilter for cases where the caps set on capsfilter will provide
7809 additional information.
7812 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7814 * gst/gsttypefindfactory.c:
7815 Fix docs that recommened wrong function to use.
7817 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7819 * tools/gst-inspect.c: (print_plugin_features):
7820 Also give media-type for typefinders in element output.
7822 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7824 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7825 (gst_registry_remove_features_for_plugin_unlocked),
7826 (gst_registry_add_feature), (gst_registry_remove_feature),
7827 (gst_registry_lookup_feature_locked):
7828 * gst/gstregistry.h:
7829 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7832 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7834 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7835 (gst_plugin_feature_set_name):
7836 Avoid double memory usage for pluginfeature names. Fixes #459466.
7838 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7841 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7842 driving the pipeline may need to explicitly check for NOT_LINKED as
7843 well, since IS_FATAL doesn't cover that.
7845 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7847 * docs/pwg/advanced-types.xml:
7848 Fix typo and duplicate entry in video formats list.
7850 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7852 * libs/gst/controller/gstinterpolation.c:
7853 Also round to the nearest int when using cubic interpolation.
7855 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7857 * libs/gst/controller/gstinterpolation.c:
7858 When linearly interpolating integer types, round to the nearest int
7859 by adding 0.5. Don't do it for float/double types.
7860 Fixes the failing controller test on my machine, which is somehow
7861 rounding differently than on the buildbots.
7863 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7865 * tools/gst-plot-timeline.py:
7866 Better log parsing (categories can have -). Adjust text vs. lines, so
7867 that they span the same y-range.
7869 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7871 * docs/random/ensonic/audiobaseclasses.txt:
7872 * docs/random/ensonic/dynlink.txt:
7873 * docs/random/ensonic/profiling.txt:
7876 * docs/random/moving-plugins:
7877 Add note to use g_assert type macros.
7879 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7882 * libs/gst/check/Makefile.am:
7883 Add libm check as we use in for plugins.
7885 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7887 * gst/gstbin.c: (gst_bin_continue_func):
7888 Check that the state_cookie hasn't changed since the continue_func
7889 was scheduled. Avoids problems where the state changes back to
7890 something it shouldn't be because it was changed in the meantime.
7892 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7894 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7895 (gst_registry_binary_save_string),
7896 (gst_registry_binary_save_pad_template),
7897 (gst_registry_binary_save_feature),
7898 (gst_registry_binary_save_plugin),
7899 (gst_registry_binary_load_feature),
7900 (gst_registry_binary_load_plugin),
7901 (gst_registry_binary_read_cache):
7902 Fix memory leak. Be less verbose in the log.
7904 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7906 * tests/check/elements/.cvsignore:
7907 Add file to cvsignore as commanded.
7909 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7911 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7912 (mq_dummypad_event), (run_output_order_test):
7913 Use a GStaticMutex to protect all cases where libcheck
7914 fail_if/fail_unless macros might be called from multiple threads
7915 simultaneously to avoid errors like:
7916 "check_pack.c:107: :-1081725400:Bad message type arg"
7918 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7920 * tests/check/pipelines/stress.c: (GST_START_TEST):
7921 Make sure we set the pipeline back to the NULL state before
7922 dropping our final reference.
7924 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7926 * tests/check/elements/tee.c: (GST_START_TEST):
7927 Make the tee stress-test a little less stressful so it doesn't just
7928 time out on slow-machines, and remove a small race when it's starting
7929 up by adding a get_state() call.
7931 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7934 Avoid reading registry twice on startup. Fixes #457322.
7936 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7938 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7939 * pkgconfig/gstreamer-check.pc.in:
7940 Substitute the CFLAGS for libcheck into our .pc file too so that
7941 dependent modules will pick it up properly if libcheck is installed
7942 into some other prefix.
7944 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7947 Revert the pkg-config check for libcheck, since it pulls in the
7948 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7949 a proper solution, either from the check project, or something else.
7951 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7954 Use pkg-config to locate check.
7956 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7963 Add deprecation guards.
7965 * libs/gst/base/gstcollectpads.h:
7966 Don't document object (this is implicitly private).
7968 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7970 * gst/gststructure.c: (gst_structure_parse_value):
7971 When deserialising foo=bar without a type cast, check if it's a
7972 boolean before falling back to a string type, otherwise things like
7973 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7974 because the filtercaps end up having a signed=(string)true field,
7975 which causes problems later when intersection caps.
7977 * tests/check/gst/gststructure.c: (GST_START_TEST):
7978 Add a unit test for this.
7980 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7982 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7984 * libs/gst/controller/Makefile.am:
7985 * libs/gst/controller/gstcontroller.c:
7986 (gst_controlled_property_add_interpolation_control_source),
7987 (gst_controlled_property_new), (gst_controlled_property_free),
7988 (gst_controller_find_controlled_property),
7989 (gst_controller_new_valist), (gst_controller_new_list),
7990 (gst_controller_new), (gst_controller_remove_properties_valist),
7991 (gst_controller_remove_properties_list),
7992 (gst_controller_remove_properties),
7993 (gst_controller_set_property_disabled),
7994 (gst_controller_set_disabled), (gst_controller_set_control_source),
7995 (gst_controller_get_control_source), (gst_controller_get),
7996 (gst_controller_sync_values), (gst_controller_get_value_array),
7997 (_gst_controller_dispose), (gst_controller_get_type),
7998 (gst_controlled_property_set_interpolation_mode),
7999 (gst_controller_set), (gst_controller_set_from_list),
8000 (gst_controller_unset), (gst_controller_unset_all),
8001 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
8002 * libs/gst/controller/gstcontroller.h:
8003 * libs/gst/controller/gstcontrollerprivate.h:
8004 * libs/gst/controller/gstcontrolsource.c:
8005 (gst_control_source_class_init), (gst_control_source_init),
8006 (gst_control_source_get_value),
8007 (gst_control_source_get_value_array), (gst_control_source_bind):
8008 * libs/gst/controller/gstcontrolsource.h:
8009 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
8010 (gst_object_get_control_source):
8011 * libs/gst/controller/gstinterpolation.c:
8012 (gst_interpolation_control_source_find_control_point_node),
8013 (gst_interpolation_control_source_get_first_value),
8014 (_interpolate_none_get), (interpolate_none_get),
8015 (interpolate_none_get_boolean_value_array),
8016 (interpolate_none_get_enum_value_array),
8017 (interpolate_none_get_string_value_array),
8018 (_interpolate_trigger_get), (interpolate_trigger_get),
8019 (interpolate_trigger_get_boolean_value_array),
8020 (interpolate_trigger_get_enum_value_array),
8021 (interpolate_trigger_get_string_value_array):
8022 * libs/gst/controller/gstinterpolationcontrolsource.c:
8023 (gst_control_point_free), (gst_interpolation_control_source_reset),
8024 (gst_interpolation_control_source_new),
8025 (gst_interpolation_control_source_set_interpolation_mode),
8026 (gst_interpolation_control_source_bind),
8027 (gst_control_point_compare), (gst_control_point_find),
8028 (gst_interpolation_control_source_set_internal),
8029 (gst_interpolation_control_source_set),
8030 (gst_interpolation_control_source_set_from_list),
8031 (gst_interpolation_control_source_unset),
8032 (gst_interpolation_control_source_unset_all),
8033 (gst_interpolation_control_source_get_all),
8034 (gst_interpolation_control_source_get_count),
8035 (gst_interpolation_control_source_init),
8036 (gst_interpolation_control_source_finalize),
8037 (gst_interpolation_control_source_dispose),
8038 (gst_interpolation_control_source_class_init):
8039 * libs/gst/controller/gstinterpolationcontrolsource.h:
8040 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
8041 API: Refactor GstController into the core controller which can take
8042 a GstControlSource for providing actual values for timestamps.
8043 Implement a interpolation control source and use this for backward
8044 compatibility, deprecate a bunch of functions that are now handled
8045 by GstControlSource or GstInterpolationControlSource.
8046 Make it possible to disable the controller completely or only for
8047 specific properties. Fixes #450711.
8048 * docs/libs/gstreamer-libs-docs.sgml:
8049 * docs/libs/gstreamer-libs-sections.txt:
8050 * docs/libs/gstreamer-libs.types:
8051 Add new functions and classes to the docs.
8052 * tests/check/libs/controller.c: (GST_START_TEST),
8053 (gst_controller_suite):
8054 * tests/examples/controller/audio-example.c: (main):
8055 Port unit test and example to the new API and add some new
8058 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
8060 Patch by: Mark Nauwelaerts <manauw at skynet be>
8062 * plugins/elements/gstmultiqueue.c:
8063 (gst_multi_queue_get_internal_links), (apply_buffer),
8064 (single_queue_overrun_cb), (gst_single_queue_new):
8065 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8066 the pipeline layout can be tracked correctly. Fixes #453732.
8068 2007-07-05 Stefan Kost <ensonic@users.sf.net>
8070 * docs/gst/Makefile.am:
8071 * docs/libs/Makefile.am:
8072 * docs/plugins/Makefile.am:
8073 Simplify --extra-dir as gtkdoc scans recursively.
8075 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8077 * tools/gst-launch.c: (main):
8078 When we got an error, there is no point in waiting for preroll when
8081 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
8083 * plugins/elements/gsttee.c: (gst_tee_base_init),
8084 (gst_tee_request_new_pad), (gst_tee_release_pad),
8085 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8086 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8088 Be a lot smarter when deciding what srcpad to use for proxying
8089 the buffer_alloc. Also handle pad added/removed when doing so.
8091 Keep track of what pads we already pushed on in case we have pads
8092 added/removed while pushing. Fixes #374639
8094 * tests/check/Makefile.am:
8095 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8097 Added unit test for pad resync.
8099 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8103 Updated translations.
8105 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8107 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8111 Added new Finnish translation.
8113 2007-06-28 Wim Taymans <wim@fluendo.com>
8115 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8116 (single_queue_overrun_cb):
8117 When figuring out when a queue is filled, use our internal time estimate
8118 based on segments, just like check_full does.
8120 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8122 * gst/gstminiobject.c: (gst_mini_object_get_type):
8123 Remove 3 do-nothing methods.
8125 2007-06-27 Wim Taymans <wim@fluendo.com>
8127 Patch by: Tim Angus <tim at ngus dot net>
8129 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8130 (gst_capsfilter_set_property):
8131 Take a reference instead of a copy when setting "caps".
8132 Fix documentation to clarify this behaviour. Fixes #449414.
8134 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8136 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8137 * gst/gstplugin.c: (gst_plugin_init):
8138 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8139 * gst/gstquery.c: (gst_query_get_type):
8140 * gst/gstregistry.c: (gst_registry_init):
8141 * gst/gsturi.c: (gst_uri_handler_base_init):
8142 Remove empty instance_init() functions to save relocs and lessen the
8143 noise. Remove some of the function prototypes that are doubled by
8146 2007-06-27 Wim Taymans <wim@fluendo.com>
8148 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8150 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8151 Add peer and direction in the XML serialisation of ghostpads.
8154 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8157 Preserve useful information, thanks Tim.
8159 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8161 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8162 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8163 (gst_single_queue_push_one), (gst_multi_queue_loop),
8164 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8165 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8166 (compute_high_id), (gst_single_queue_new):
8167 * plugins/elements/gstmultiqueue.h:
8168 Take the multiqueue lock when updating the fill level so we don't get
8171 After applying a buffer or event on the src pad segment, make sure to
8172 call gst_data_queue_limits_changed() to get the data queue to unblock
8173 and check the filled state again.
8175 Rework the not-linked pad handling so the logic is that not-linked
8176 pads can push as fast as they like, but only so they never get
8177 ahead of any linked pads.
8179 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8180 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8181 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8183 Add a test to check that not-linked pads always stay behind
8188 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8190 * docs/random/release:
8191 Some updates to the release procedure.
8193 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8195 * gst/gstelementfactory.c: (__gst_element_details_clear):
8196 Microoptimization that saves stunning 80 bytes.
8198 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8200 * docs/plugins/gstreamer-plugins.args:
8201 * docs/plugins/inspect/plugin-coreelements.xml:
8202 * docs/plugins/inspect/plugin-coreindexers.xml:
8203 Update docs with caps info.
8205 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8208 Updated Italian translation.
8210 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8214 Update Vietnamese translations.
8216 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8218 * libs/gst/base/gstbasesink.c:
8219 Remove unused signal enum.
8221 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8223 * docs/gst/gstreamer-sections.txt:
8225 * gst/gstutils.c: (gst_type_register_static_full):
8226 Beef up and include the docs for gst_type_register_static_full and
8227 gst_element_class_set_details_simple and add the API keyword
8230 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8232 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8233 (update_time_level), (gst_single_queue_push_one),
8234 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8235 (single_queue_overrun_cb), (single_queue_underrun_cb),
8236 (single_queue_check_full):
8237 Fix setting max-* properties after adding queues.
8238 Use IS_FILLED for checking visible items.
8239 Signal overrun if multiple queues overrun.
8240 Add extra debug output.
8241 Patch by: Wim Taymans <wim@fluendo.com>
8243 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8245 * gst/gstelement.c: (gst_element_class_set_details_simple):
8247 * gst/gstutils.c: (gst_type_register_static_full):
8249 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8250 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8251 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8252 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8253 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8254 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8255 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8256 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8257 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8258 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8259 (apply_buffer), (gst_queue_chain):
8260 * plugins/elements/gsttee.c: (gst_tee_base_init):
8261 * plugins/elements/gsttypefindelement.c:
8262 (gst_type_find_element_base_init),
8263 (gst_type_find_element_class_init):
8264 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8265 API: add gst_type_register_static_full
8266 API: add gst_element_class_set_details_simple
8268 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8270 * docs/pwg/advanced-types.xml:
8271 Fix typo in iana.org URI.
8273 2007-06-19 Andy Wingo <wingo@pobox.com>
8275 * tests/check/pipelines/simple-launch-lines.c
8276 (test_state_change_returns): Enable pull-mode tests now that
8277 basesink has been fixed.
8279 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8280 Changed from gst_base_sink_is_prerolled, reversing the sense of
8281 the return value. Returns FALSE also if the sink is in pull mode,
8282 in which case it needs no preroll.
8283 (gst_base_sink_query, gst_base_sink_change_state): Update for
8284 needs_preroll change.
8285 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8286 chaining up, in which we return SUCCESS directly if we activated
8287 in pull mode instead of ASYNC. Involves countering an async_start
8288 message sent before chaining up; not sure if this is correct, in
8289 an ideal world we only send async-start when activating in push
8292 * tests/check/pipelines/simple-launch-lines.c
8293 (test_state_change_returns): New test, partially disabled until
8296 2007-06-19 Wim Taymans <wim@fluendo.com>
8298 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8299 (gst_multi_queue_sink_event):
8302 2007-06-19 Wim Taymans <wim@fluendo.com>
8304 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8305 (gst_bin_change_state_func), (bin_push_state_continue),
8306 (bin_handle_async_start), (bin_handle_async_done),
8307 (gst_bin_handle_message_func):
8308 Move the common code for posting state-change messages into
8310 Broadcast the state signal after we posted the messages.
8311 Mark the bin as busy when it's doing a state-change.
8312 Make sure async-start/done messages don't interfere with the bin's
8313 state when it's busy.
8314 After the state change, let the bin check which elements completed the
8315 state change while it was busy so that it can update its state.
8317 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8319 * docs/random/release:
8320 Add a note about updating the doap file to the release checklist
8322 2007-06-18 Wim Taymans <wim@fluendo.com>
8324 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8325 (gst_single_queue_push_one), (gst_multi_queue_chain),
8326 (gst_multi_queue_sink_event):
8327 Make sure we don't reference the buffer/event after we have given away
8328 ownership in the queue.
8330 2007-06-18 Wim Taymans <wim@fluendo.com>
8332 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8333 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8334 Update queue state _after_ adding the item in the queue because else we
8335 could end up being full without the element added yet.
8337 2007-06-18 Wim Taymans <wim@fluendo.com>
8339 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8340 (gst_bin_remove_func), (gst_bin_get_state_func),
8341 (gst_bin_element_set_state), (gst_bin_continue_func),
8342 (bin_push_state_continue), (bin_handle_async_start),
8343 (bin_handle_async_done), (gst_bin_handle_message_func):
8345 Immediatly commit the toplevel bin state when receiving an async-done
8346 message. This enables us to avoid spawning a thread to commit the state
8347 in some common cases and it also avoids some races.
8348 Avoid spawning a state thread when adding/removing async elements to a
8349 toplevel bin. Instead we immediatly update the bin state.
8350 Get rid of iterating all the children when getting the state in the bin
8351 because it is now always up-to-date.
8352 Fix bug where locked elements would always return _SUCCESS even it they
8353 returned NO_PREROLL before being locked.
8354 Fix the order of the state_change, async-start/done messages that was
8355 sometimes incorrect.
8356 Mark the state_dirty field as deprecated, we don't need it anymore as we
8357 are always up-to-date.
8359 * gst/gstelement.c: (gst_element_get_state_func),
8360 (gst_element_continue_state):
8361 Small debug inprovements.
8362 Return the previous element state return when nothing is pending instead
8363 of blindly returning SUCCESS.
8365 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8367 Add a whole bunch of new testcases.
8369 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8373 Update translations.
8375 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8378 Fix typo in the docs.
8380 2007-06-15 Wim Taymans <wim@fluendo.com>
8382 * docs/libs/gstreamer-libs-sections.txt:
8383 Add docs for new methods.
8385 2007-06-15 Wim Taymans <wim@fluendo.com>
8387 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8388 (gst_multi_queue_item_new):
8389 Don't use GSlice because we don't depend on >= 2.10 yet.
8391 2007-06-15 Wim Taymans <wim@fluendo.com>
8393 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8394 (update_time_level), (apply_segment), (apply_buffer),
8395 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8396 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8397 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8398 (single_queue_underrun_cb), (single_queue_check_full):
8399 Remove debug printf.
8401 2007-06-15 Wim Taymans <wim@fluendo.com>
8403 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8404 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8405 (gst_data_queue_set_flushing), (gst_data_queue_push),
8406 (gst_data_queue_pop), (gst_data_queue_drop_head),
8407 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8408 * libs/gst/base/gstdataqueue.h:
8410 Added methods to get the current levels and to inform the queue that the
8411 'full' limits changed.
8413 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8414 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8415 (gst_single_queue_flush), (update_time_level), (apply_segment),
8416 (apply_buffer), (gst_single_queue_push_one),
8417 (gst_multi_queue_item_steal_object),
8418 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8419 (gst_multi_queue_loop), (gst_multi_queue_chain),
8420 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8421 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8422 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8423 (single_queue_underrun_cb), (single_queue_check_full),
8424 (gst_single_queue_new):
8425 Keep track of time in the queue by measuring the difference between
8426 running_time on input and output. This gives more accurate results and
8427 can compensate for segments correctly.
8428 Make a queue by default only 5 buffers deep. We will now increase the
8429 buffer size depending on the filledness of the other queues.
8430 Factor out commong flush code.
8431 Make sure we don't add additional refcounts to buffers when we can avoid
8433 Propagate GstFlowReturn differently.
8434 Use GSlice for intermediate GstMultiQueueItems.
8436 Resize queues on over and underruns based on filled level of other
8438 When checking if the queue is filled, prefer to measure in time if we
8439 can and fall back to bytes when no time is known.
8441 * plugins/elements/gstqueue.c:
8444 2007-06-15 Wim Taymans <wim@fluendo.com>
8446 * libs/gst/base/gstbasetransform.c:
8447 (gst_base_transform_sink_event):
8448 Work around the brokenness of the event vmethod in basetransform. Prefer
8449 to return TRUE when the subclass returned FALSE (meaning don't forward
8452 * libs/gst/base/gstbasetransform.h:
8455 2007-06-15 Wim Taymans <wim@fluendo.com>
8457 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8458 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8459 (gst_base_src_default_query), (gst_base_src_get_range),
8460 (gst_base_src_start):
8461 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8464 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8466 * docs/pwg/advanced-types.xml:
8467 Added more formats to caps table.
8469 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8471 * tools/gst-launch.c: (main):
8472 Remove crufy code. GOption does not need this workaround.
8474 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8476 * libs/gst/controller/gstcontroller.c:
8477 (gst_controlled_property_set_interpolation_mode):
8478 Fix wrong getter for enums in controller.
8480 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8482 * libs/gst/check/gstcheck.c: (gst_check_init):
8483 Intercept criticals and warnings in the Gst-Phonon log domain, so
8484 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8487 2007-06-14 Edward Hervey <edward@fluendo.com>
8489 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8490 Since this file doesn't include "gst.h" it will not go through the
8491 macros that disable GST_LOG if debugging was disabled.
8493 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8495 * libs/gst/check/Makefile.am:
8496 * libs/gst/check/gstcheck.h:
8497 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8498 * pkgconfig/gstreamer-check.pc.in:
8499 Ugly 'fix' for the controller unit test on the p5 bot: in
8500 fail_unless_equals_float() check whether the values are 'almost
8501 equal' by allowing a small absolute error, which should be good
8502 enough for our use cases (normal numbers and values close to 0).
8503 Proper fixage left to floating point arithmetic aficionados.
8505 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8507 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8508 (gst_base_sink_render_object), (gst_base_sink_get_position):
8509 Add two breaks thats where missing.
8511 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8513 * docs/libs/gstreamer-libs-sections.txt:
8514 * libs/gst/check/gstcheck.h:
8515 API: add fail_unless_equals_float() and assert_equals_float().
8516 Add documentation for some of the macros.
8518 * tests/check/libs/controller.c: (GST_START_TEST):
8519 Use newly-added asserts.
8521 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8523 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8524 Show the caps change in the log to help spotting the case of not
8525 exactly matching caps.
8527 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8529 * docs/pwg/building-boiler.xml:
8530 Fix typos, spotted by Thijs Vermeir (#447190).
8532 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8534 * docs/plugins/tmpl/.cvsignore:
8535 Ignore file to keep the buildbots happy
8537 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8539 * docs/plugins/Makefile.am:
8540 * docs/plugins/gstreamer-plugins-docs.sgml:
8541 * docs/plugins/gstreamer-plugins-sections.txt:
8542 Pull fdsink into the docs too.
8544 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8546 * libs/gst/controller/gstinterpolation.c:
8547 Actually use the new functions with min/max checks for the trigger and
8548 none interpolation modes for get() and get_value_array() instead of
8551 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8553 * libs/gst/controller/gstcontroller.c:
8554 (gst_controlled_property_free):
8555 Unset the minimum and maximum GValues when freeing the corresponding
8556 GstControllerProperty struct.
8558 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8560 * libs/gst/controller/gstcontroller.c:
8561 (gst_controlled_property_new):
8562 * libs/gst/controller/gstcontrollerprivate.h:
8563 * libs/gst/controller/gstinterpolation.c:
8564 (gst_controlled_property_find_control_point_node),
8565 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8566 (interpolate_none_get_string_value_array),
8567 (interpolate_trigger_get),
8568 (interpolate_trigger_get_enum_value_array),
8569 (interpolate_trigger_get_string_value_array):
8570 Protect against values larger or smaller than the minimum or maximum
8571 allowed value for the property when using values that can be compared.
8573 Optimize trigger interpolator a bit by taking the last requested value
8574 into account instead of always looping through the complete list.
8576 Fix coding style a bit, everywhere else we use "return foo" instead
8579 * tests/check/libs/controller.c: (GST_START_TEST),
8580 (gst_controller_suite):
8581 Add unit test for the protection against too large or too small
8584 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8586 * docs/random/slomo/controller.txt:
8587 Add some thoughts about the future of the controller.
8589 2007-06-08 Wim Taymans <wim@fluendo.com>
8591 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8592 Don't overflow in retimestamping code.
8594 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8596 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8597 Use gst_util_guint64_to_gdouble for conversions.
8598 * win32/common/libgstreamer.def:
8599 Add new exported functions.
8601 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8604 Small docs addition.
8606 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8609 Remove that test line again.
8611 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8614 Test commit mail sending.
8616 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8619 Fix typo and test commit mail sending.
8621 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8623 * tests/examples/controller/audio-example.c:
8624 Improve comment and test commit mail sending.
8626 2007-06-07 Wim Taymans <wim@fluendo.com>
8628 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8629 (gst_bin_remove_func), (gst_bin_element_set_state),
8630 (bin_handle_async_start), (bin_handle_async_done),
8631 (gst_bin_handle_message_func):
8632 Add helper function to find messages.
8633 Generate the async-done messages together with the state change
8635 Small cleanups in handling toplevel bins.
8637 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8639 * libs/gst/base/gstdataqueue.c:
8640 * libs/gst/base/gstdataqueue.h:
8641 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8642 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8643 (gst_multi_queue_sink_event):
8644 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8645 Fix multiqueue leaking buffers and events when downstream or the
8646 queue are flushing. Make refcounting assumptions explicit and
8647 document them (shouldn't break existing code that uses it other than
8648 maybe leak miniobjects, but that already happens anyway). Add unit
8649 test for the most common flushing case. Fixes #423700.
8651 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8653 * libs/gst/controller/gstcontroller.c:
8654 Clarify docs: The get_all, get_value_array(s) functions
8655 don't modify the GObject properties.
8657 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8659 * libs/gst/controller/gstcontroller.c:
8660 (gst_controlled_property_set_interpolation_mode),
8661 (gst_controlled_property_prepend_default),
8662 (gst_controlled_property_new), (gst_controller_set_unlocked),
8663 (gst_controller_set), (gst_controller_set_from_list),
8664 (gst_controller_unset), (gst_controller_unset_all):
8665 * libs/gst/controller/gstcontrollerprivate.h:
8666 * libs/gst/controller/gstinterpolation.c:
8667 Factor out the 'set' logic into gst_controller_set_unlocked for the
8668 gst_controller_set and gst_controller_set_from_list functions.
8670 To make life of the interpolators easier always add a control point
8671 at timestamp zero with the default value.
8673 In the linear interpolator make things more obvious by better variable
8676 Implement cubic interpolation mode (by using a natural cubic spline)
8677 and map the quadratic interpolation mode to this too (as quadratic
8678 doesn't make much sense, see discussion on the list).
8680 * tests/check/libs/controller.c: (GST_START_TEST),
8681 (gst_controller_suite):
8682 Add unit test for the cubic interpolation mode and check everywhere
8683 if the interpolation mode could be set as expected.
8685 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8687 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8688 Don't use GLib-2.10 functions, we still depend on
8689 GLib-how-old-is-it-again-2.8.
8691 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8693 * docs/gst/gstreamer-sections.txt:
8697 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8698 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8699 (_gst_param_fraction_values_cmp),
8700 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8701 * gst/gstparamspecs.h:
8703 * tests/check/Makefile.am:
8704 * tests/check/gst/.cvsignore:
8705 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8706 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8707 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8708 (GST_START_TEST), (gst_param_spec_suite):
8709 API: add GstParamSpecFraction, so elements can have fraction
8710 properties without lots of painful string parsing (#444648).
8712 2007-06-05 Wim Taymans <wim@fluendo.com>
8714 * gst/gstobject.c: (gst_object_class_init):
8715 Fix signal signature.
8718 Add small clarification in the api docs.
8720 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8721 States are protected with object lock.
8723 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8726 I should probably be listed as an author by now.
8728 * docs/random/release:
8729 Update the release doc
8731 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8734 Make docs for gst_value_compare() mention return enums that
8737 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8742 === release 0.10.13 ===
8744 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8747 releasing 0.10.13, "With or without you"
8749 2007-05-25 Wim Taymans <wim@fluendo.com>
8751 * gst/gstbin.c: (bin_handle_async_done):
8752 Make sure that the child bin stops after completing the async state
8753 change so that the parent can continue the state change to PLAYING.
8756 2007-05-25 Wim Taymans <wim@fluendo.com>
8758 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8759 (unref_data), (gst_collect_pads_remove_pad),
8760 (gst_collect_pads_check_pads):
8761 Use additional refcounting to avoid crashes when dynamically adding and
8762 removing pads. Fixes #420206.
8764 2007-05-24 Wim Taymans <wim@fluendo.com>
8766 * tools/gst-launch.c: (event_loop):
8767 When buffering goes from a two digit to a single digit number, make sure
8768 to remove the old second digit by writing a blank over it.
8770 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8772 * libs/gst/base/gstdataqueue.c:
8773 Eliminate tabs and trailing comma in enum list; fix some typos.
8775 2007-05-24 Wim Taymans <wim@fluendo.com>
8777 * tests/check/gst/gstbin.c: (GST_START_TEST):
8778 Allow refcount of 3 and 4 because some state thread might still be busy
8781 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8783 * plugins/elements/Makefile.am:
8784 * plugins/elements/gstmultiqueue.h:
8785 * plugins/elements/gstqueue.h:
8786 These are not installed headers, no need for padding.
8788 2007-05-24 Wim Taymans <wim@fluendo.com>
8790 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8791 (gst_bin_continue_func):
8792 Enable latency for next release.
8793 Restore STATE_LOCK around recalc_state that was left out during the
8794 rewrite and could result in racy behaviour when _get_state and
8795 recalc_state are run concurrently. See #440463.
8797 2007-05-23 Wim Taymans <wim@fluendo.com>
8799 * tests/check/gst/gstsystemclock.c: (store_callback),
8801 Improve test_async_order to also work when both timers are already
8802 expired when we get scheduled to check it.
8804 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8806 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8807 (gst_bin_set_property), (gst_bin_get_property),
8808 (gst_bin_remove_func), (gst_bin_handle_message_func):
8810 'private' is a c++ keyword, let's not use that in header files,
8811 otherwise c++ compilers will throw a tantrum.
8813 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8815 * plugins/elements/gstelements.c:
8816 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8817 (gst_file_sink_get_current_offset):
8818 * plugins/indexers/gstindexers.c: (plugin_init):
8819 Use #ifdef for HAVE_XYZ for consistency.
8821 * tests/check/Makefile.am:
8822 * tests/check/elements/.cvsignore:
8823 * tests/check/elements/filesink.c: (setup_filesink),
8824 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8825 Add some unit tests for filesink.
8827 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8829 Patch by: Mark Nauwelaerts <manauw at skynet be>
8831 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8832 (gst_file_sink_query), (gst_file_sink_do_seek),
8833 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8834 * plugins/elements/gstfilesink.h:
8835 Fix position reporting; rename data_written member to current_pos to
8836 reflect its real meaning (fixes #412648).
8838 2007-05-22 Edward Hervey <edward@fluendo.com>
8840 * docs/gst/gstreamer-sections.txt:
8841 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8842 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8843 (gst_bin_remove_func), (gst_bin_handle_message_func):
8845 Add a property for bins that handle the state change of their childs.
8848 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8850 * libs/gst/controller/gstinterpolation.c:
8851 Use an array of the correct type when using _get_value_array with
8852 linear interpolation.
8854 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8856 * gst/gstelement.c (gst_element_requires_clock,
8857 gst_element_provides_clock, gst_element_request_pad,
8858 gst_element_class_set_details, gst_element_class_set_details_simple,
8859 gst_element_default_send_event, gst_element_abort_state,
8860 gst_element_continue_state, gst_element_set_state,
8861 gst_element_set_state_func, iterator_activate_fold_with_resync):
8862 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8863 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8864 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8865 gst_pad_get_range, gst_pad_pull_range):
8866 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8867 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8868 GstPadActivateModeFunction, GstPadChainFunction,
8869 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8870 GstPadFixateCapsFunction, GstPadTemplate):
8871 * gst/gstpipeline.c (gst_pipeline_change_state,
8872 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8873 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8874 gst_pipeline_get_delay):
8875 Whitespace and docs fixes.
8877 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8879 * libs/gst/controller/gstinterpolation.c:
8880 (interpolate_trigger_get_enum_value_array),
8881 (interpolate_trigger_get_string_value_array):
8882 Add support for retrieving value arrays when using the trigger
8885 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8887 * libs/gst/controller/gstcontroller.c:
8888 (gst_controller_get_value_array):
8889 * libs/gst/controller/gstcontroller.h:
8890 Clarify the docs of gst_controller_get_value_array(): The array where
8891 the values should be written to must be allocated as there seems to be
8892 no way to get the size of a random GType. This doesn't change any
8893 behaviour. Also fix some typos all over the place and remove an unused,
8894 commented function that is not necessary as g_object_set() could be
8896 * tests/check/libs/controller.c: (GST_START_TEST),
8897 (gst_controller_suite):
8898 Add unit test for gst_controller_get_value_array().
8900 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8902 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8904 Disable part of the gst_buffer_try_new_and_alloc test, because
8905 it can happily succeed on 64-bit systems where there's more address
8908 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8910 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8911 Add unit test for the improved caps checking from bug #421543.
8913 2007-05-21 Wim Taymans <wim@fluendo.com>
8915 * docs/design/part-synchronisation.txt:
8918 * gst/gstbin.c: (gst_bin_query):
8919 * plugins/elements/gstqueue.c: (apply_segment):
8925 2007-05-21 Wim Taymans <wim@fluendo.com>
8927 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8928 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8929 (gst_pad_configure_src):
8930 Added simple version of improved caps checking. It was previously
8931 assumed that a setcaps function would check the validity of the caps but
8932 people prefer us to check caps against the template automatically.
8935 2007-05-21 Wim Taymans <wim@fluendo.com>
8937 * libs/gst/base/gstbasetransform.h:
8938 Fix macro for locking/unlocking the transform lock.
8940 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8942 * docs/plugins/tmpl/.cvsignore:
8945 2007-05-18 Edward Hervey <edward@fluendo.com>
8947 * plugins/elements/gstqueue.c: (gst_queue_loop):
8948 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8949 for the subtle art of warning a potentially blocking thread that it
8950 should check the source pad return value, and relay the information
8953 2007-05-18 Edward Hervey <edward@fluendo.com>
8955 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8956 Release the queue lock !
8958 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8960 * docs/libs/gstreamer-libs-sections.txt:
8961 Add the two new controller functions to the appropiate places.
8963 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8965 reviewed by: Stefan Kost <ensonic@users.sf.net>
8967 * libs/gst/controller/gstcontroller.c:
8968 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8969 (_gst_controller_get_property), (_gst_controller_set_property),
8970 (_gst_controller_init), (_gst_controller_class_init):
8971 * libs/gst/controller/gstcontroller.h:
8972 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8973 (gst_object_get_control_rate), (gst_object_set_control_rate):
8974 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8975 Add API that provides sync suggestion timestamps for elements that
8976 call gst_object_sync_values() from which those elements can subdivide
8977 their processing loop to get the best results for the controlled
8978 properties. For now it just suggests last_sync + control_rate as
8979 new timestamp but this will be improved in the future.
8981 While doing that change the control-rate property to a GstClockTime
8982 from guint and change it's meaning from samples to nanoseconds as
8983 the GstController doesn't know anything about sampling rate. Strictly
8984 speaking this breaks ABI but as the control-rate property didn't do
8985 anything in the past and as such couldn't be used this should be no
8988 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8990 reviewed by: Stefan Kost <ensonic@users.sf.net>
8992 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8993 (gst_controller_unset_all):
8994 * libs/gst/controller/gstcontrollerprivate.h:
8995 * libs/gst/controller/gstinterpolation.c:
8996 (gst_controlled_property_find_control_point_node):
8997 Save last synced value from the list to continue searching from there
8998 in future syncs. This speeds everything up a bit.
9000 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
9002 reviewed by: Stefan Kost <ensonic@users.sf.net>
9004 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
9005 (gst_control_point_find), (gst_controlled_property_new),
9006 (gst_control_point_free), (gst_controlled_property_free),
9007 (gst_controller_set), (gst_controller_set_from_list),
9008 (gst_controller_unset), (gst_controller_unset_all),
9009 (gst_controller_sync_values):
9010 * libs/gst/controller/gstcontroller.h:
9011 * libs/gst/controller/gstcontrollerprivate.h:
9012 * libs/gst/controller/gstinterpolation.c:
9013 (gst_controlled_property_find_control_point_node),
9014 (interpolate_none_get), (interpolate_trigger_get):
9015 Add a new private GstControlPoint struct which "inherits" from
9016 GstTimedValue to allow different interpolators to store internal
9017 values next to each control point. From the outside everything is
9018 still a GstControlPoint so we don't loose binary compatibility.
9019 Also fixup all the GValue handling to not leak GValues or list nodes.
9020 * tests/check/libs/controller.c: (GST_START_TEST):
9021 Free the list nodes and GValues in the controller_misc test.
9023 2007-05-17 Edward Hervey <edward@fluendo.com>
9028 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
9030 * gst/gstplugin.c: (gst_plugin_load_file):
9031 If we fail to load a plugin because of unresolved symbols or missing
9032 libraries and spew a warning to stderr, we may just as well mention
9033 which plugin it was that failed to load.
9035 2007-05-13 David Schleef <ds@schleef.org>
9037 * docs/Makefile.am: the gtk-doc makefile snippet correctly
9038 handles the case when ENABLE_GTK_DOC is false, and installs
9039 the prebuilt documentation. So gtk-doc subdirs are
9040 unconditionally enabled. Fixes: #349099.
9042 2007-05-13 David Schleef <ds@schleef.org>
9044 * gst/gstutils.h: Reword some documentation.
9046 2007-05-12 David Schleef <ds@schleef.org>
9048 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9049 do anything with the passed "module" parameter, so remove it.
9050 Allows removal of additional vestigal code.
9052 2007-05-12 David Schleef <ds@schleef.org>
9055 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9056 Switch to using g_stat() because it's more portable.
9058 2007-05-12 David Schleef <ds@schleef.org>
9061 Add GST_DISABLE_OPTION_PARSING, in order to disable option
9062 parsing for embedded systems.
9063 * gst/gstelementfactory.c:
9064 Allow gst_element_register() to be called with plugin==NULL.
9065 Did nobody notice that static elements were broken?
9067 2007-05-12 Wim Taymans <wim@fluendo.com>
9069 * tools/gst-launch.c: (event_loop):
9070 Give more interesting info when buffering starts and stops.
9071 Fix case where buffering starts but we fail to update the buffering flag
9072 because the target state is not PLAYING.
9074 2007-05-12 Wim Taymans <wim@fluendo.com>
9076 * plugins/elements/gstqueue.c: (gst_queue_init),
9077 (gst_queue_finalize), (update_time_level), (apply_segment),
9078 (apply_buffer), (gst_queue_locked_flush),
9079 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9080 (gst_queue_handle_sink_event), (gst_queue_chain),
9081 (gst_queue_push_one), (gst_queue_loop):
9082 * plugins/elements/gstqueue.h:
9083 Refactor an cleanup queue a bit.
9084 Do better time level calculations that also work when the srcpad is not
9086 Remove some unneeded debug lines.
9088 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9089 Added testcase for time level measurement.
9090 Try to make some stuff more racefree.
9092 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9094 * gst/gsturi.c: (gst_element_make_from_uri):
9095 Don't leak plugin feature.
9097 * tests/check/Makefile.am:
9098 * tests/check/gst/.cvsignore:
9099 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9100 Add brain-dead unit test.
9102 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
9104 Patch by: Jeroen Wouters <woutersj at gmail com>
9106 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9107 Treat protocol strings in a case-insensitive way (#437563).
9109 2007-05-11 Michael Smith <msmith@fluendo.com>
9111 * gst/gstplugin.c: (gst_plugin_load_file):
9112 * gst/gstregistry.c: (gst_registry_scan_path_level):
9113 Don't print a g_warning for any failure to load a shared object.
9114 Instead, push this down into gstplugin.c, and warn _only_ if we
9115 failed to open the module (i.e. failure to link).
9116 Avoids warnings on normal, working, non-plugin .so files.
9118 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9120 * gst/gstplugin.c (gst_plugin_load_file):
9121 * gst/gstregistry.c (GST_CAT_DEFAULT,
9122 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9123 Print a g_warning if there was an error when loading a plugins during
9124 registry scan. The shuld help beginners starting with gst-plugin
9127 2007-05-10 Wim Taymans <wim@fluendo.com>
9129 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9130 (update_time_level), (gst_queue_locked_flush),
9131 (gst_queue_handle_sink_event), (gst_queue_chain),
9132 (gst_queue_push_one), (gst_queue_loop):
9133 * plugins/elements/gstqueue.h:
9134 Be smarter when calculating the current amount of data in the queue by
9135 measuring the difference between start and end timestamps (in running
9136 time) inside the queue. Fixes #432876.
9137 API: GstQueue::pushing to notify elements that we are pushing data again
9138 since the running signal is rather broken for this purpose.
9140 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9142 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9143 gst_queue_base_init, gst_queue_init):
9146 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9148 * win32/common/libgstreamer.def:
9149 Add new exported functions.
9150 * win32/vs6/grammar.dsp:
9151 Use grammar pre-generated files.
9153 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9155 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9158 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9160 * gst/gstutils.c: (gst_parse_bin_from_description):
9162 Maintain API and ABI when --disable-parse is used. Now that
9163 we have an appropriate error code, we can just return NULL and the
9164 appropriate error when gst_parse_launch() is used despite it having
9165 been disabled (#342564).
9167 * tests/check/Makefile.am:
9168 * tests/check/pipelines/.cvsignore:
9169 * tests/check/pipelines/parse-disabled.c:
9170 Make sure these functions exist and return NULL plus a GError when
9171 --disable-parse is used.
9173 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9175 * tests/benchmarks/complexity.c: (main):
9176 * tests/benchmarks/mass-elements.c: (main):
9177 Set a good example and don't leak messages.
9179 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9181 * docs/gst/Makefile.am:
9182 * docs/libs/Makefile.am:
9183 Correct fixxrefs options.
9185 * docs/plugins/Makefile.am:
9186 * docs/plugins/gstreamer-plugins-docs.sgml:
9187 * docs/plugins/gstreamer-plugins-sections.txt:
9188 * plugins/elements/Makefile.am:
9189 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9190 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9191 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9192 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9193 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9194 _GstCapsFilterClass, trans_class):
9195 * plugins/elements/gstelements.c (name, rank, type, _elements):
9196 * plugins/elements/gstidentity.c
9197 (gst_identity_check_imperfect_timestamp,
9198 gst_identity_check_imperfect_offset):
9199 Document capsfilter and add doc-blurb to identity.
9201 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9203 * libs/gst/controller/gstcontroller.c:
9204 (gst_controlled_property_set_interpolation_mode):
9205 * libs/gst/controller/gstinterpolation.c:
9206 Don't crash if someone tries to set an interpolation mode that
9207 is invalid or that isn't supported yet. Fixes #422295.
9209 * tests/check/libs/controller.c: (GST_START_TEST),
9210 (gst_controller_suite):
9211 Add a test case for the above.
9213 2007-05-03 Edward Hervey <edward@fluendo.com>
9215 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9216 Properly set the last_stop position on GstSegment. This will only happen
9217 if there is a buffer to push out.
9219 2007-05-03 Wim Taymans <wim@fluendo.com>
9221 * libs/gst/base/gstbasetransform.c:
9222 (gst_base_transform_buffer_alloc):
9223 always_in_place does not mean that the sink and source caps are the
9224 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9226 2007-05-03 Wim Taymans <wim@fluendo.com>
9228 * docs/libs/gstreamer-libs-sections.txt:
9229 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9230 (gst_base_src_default_query), (gst_base_src_get_range):
9231 * libs/gst/base/gstbasesrc.h:
9232 API: gst_base_src_query_latency(). Added method so that subclasses can
9233 easily get the latency values of the base source class.
9235 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9237 * tools/gst-inspect.c (print_implementation_info):
9240 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9242 * tools/Makefile.am:
9243 * tools/gst-launch.1.in:
9244 Don't create a customised man page based on the host architecture,
9245 describe the default registry path generically. That way the man
9246 page is the same for all architectures and packagers have one
9247 multilib issue less to deal with. Fixes #434926.
9249 2007-05-02 Wim Taymans <wim@fluendo.com>
9252 Fix documentation as spotted by rg on IRC.
9254 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9257 Improve docs for gst_element_{link,unlink}.
9259 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9261 * docs/design/part-events.txt:
9262 * docs/design/part-overview.txt:
9266 * libs/gst/base/gstbasesink.c:
9267 Typo fixes; minor docs addition.
9269 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9271 * docs/gst/gstreamer-sections.txt:
9272 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9273 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9275 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9276 or src that supports a given URI protocol exists.
9278 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9280 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9281 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9282 Set the location to NULL if "file://" is set as URI. Otherwise
9283 some random previous URI would still be set if "file://" is
9284 set on an already used filesink/filesrc.
9286 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9288 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9289 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9290 Special case the "file://" URI as as this is used by some
9291 applications to test with gst_element_make_from_uri if there's
9292 an element that supports the URI protocol.
9293 Also move the g_path_is_absolute() check for the location part
9294 of the URI to also check this for "file://localhost/bla" URIs.
9296 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9298 * docs/gst/gstreamer-sections.txt:
9299 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9301 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9303 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9305 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9307 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9308 (gst_registry_binary_load_pad_template),
9309 (gst_registry_binary_load_plugin),
9310 (gst_registry_binary_read_cache):
9311 * gst/gstregistrybinary.h:
9312 Implement no-mmap alternative for registry reading. Do code cleanups.
9313 Add more comments about avoiding strdups for all text data. Comments
9316 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9318 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9319 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9320 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9321 Comment structs and reformat to fix the build (that stuff should go
9322 into a priv. header).
9324 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9326 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9327 (gst_registry_binary_load_feature):
9328 * gst/gstregistrybinary.h:
9329 Refactor so that we can implement multiple features. Add support for
9330 TypeFindFactory features.
9332 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9334 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9337 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9339 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9341 * gst/gstbin.c: (gst_bin_element_set_state),
9342 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9343 (bin_handle_async_done), (gst_bin_handle_message_func):
9344 Fix build with --gst-disable-gst-debug
9346 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9348 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9349 Make sure streaming has finished before calling the ::stop() vfunc,
9350 since that vfunc might clear state which is being used in the
9351 streaming thread. This fixes a race that caused crashes in
9352 audioresample when shutting down a pipeline (#420106).
9354 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9356 * docs/gst/gstreamer-sections.txt:
9357 That was one byte missing.
9359 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9362 * docs/gst/gstreamer-sections.txt:
9364 * gst/gstconfig.h.in:
9365 * gst/gstobject.c: (gst_object_class_init),
9366 (gst_signal_object_class_init):
9368 2nd attempt to have a xml-less build as a joined effort of #413123
9371 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9373 * docs/design/draft-tagreading.txt:
9374 Added open issues/thoughts to draft.
9376 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9378 * gst/parse/grammar.tab.pre.c:
9379 * gst/parse/grammar.tab.pre.h:
9380 * gst/parse/lex._gst_parse_yy.pre.c:
9381 Update the prebuild parser sources.
9383 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9385 * gst/parse/Makefile.am:
9386 And now fix the building of the flex sources. Now everything should
9389 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9391 * gst/parse/Makefile.am:
9392 Now hopefully fix the build failures by setting proper rule
9393 dependencies and moving instead of copying.
9395 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9397 * tests/benchmarks/complexity.gnuplot:
9398 * tests/benchmarks/complexity.scm:
9399 * tests/benchmarks/mass-elements.gnuplot:
9400 * tests/benchmarks/mass-elements.scm:
9401 Total licensification.
9403 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9405 * gst/parse/Makefile.am:
9406 Fix the build by correcting the rule that gave wrong files to flex.
9408 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9410 * tests/benchmarks/complexity.c:
9411 * tests/benchmarks/mass-elements.c:
9412 Change licence to LGPL as granted by Benjamin and Andy.
9414 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9416 * gst/parse/Makefile.am:
9417 Add correct grammar.tab.h dependency if compiling without new enough
9418 flex. Fixes #431150.
9420 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9422 * gst/parse/Makefile.am:
9423 Fix typo and use outdated sources if the flex/bison sources are newer
9424 than the pregenerated ones but flex is too old. Print a warning in
9425 that case. This should fix the build on the build bot.
9427 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9429 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9430 * gst/parse/Makefile.am:
9431 * gst/parse/grammar.y:
9432 * gst/parse/parse.l:
9433 Make the parser reentrant and recursively callable. This requires flex
9434 >= 2.5.31, for older versions pregenerated sources are used as we
9435 can't bump the build dependency. Finally fixes #349180.
9437 * gst/gstparse.c: (gst_parse_launch):
9438 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9441 * docs/gst/Makefile.am:
9442 * docs/gst/Makefile.am:
9443 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9444 (__gst_parse_strfree), (__gst_parse_link_new),
9445 (__gst_parse_link_free), (__gst_parse_chain_new),
9446 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9447 (gst_parse_element_set), (gst_parse_free_link),
9448 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9449 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9450 (_gst_parse_launch):
9451 * gst/parse/grammar.tab.pre.h:
9452 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9453 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9454 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9455 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9456 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9457 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9458 (_gst_parse_yypop_buffer_state),
9459 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9460 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9461 (yy_fatal_error), (_gst_parse_yyget_extra),
9462 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9463 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9464 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9465 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9466 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9467 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9468 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9469 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9470 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9471 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9472 (_gst_parse_yyfree):
9473 If the installed flex version is too old use pre-generated parser
9474 sources. These pre-generated parser sources are always updated when
9475 the actual flex/bison sources change but require everybody who wants
9476 to change something in the parser to have flex >= 2.5.31 installed.
9478 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9480 * common/m4/gst-gettext.m4:
9481 * gst/gst-i18n-lib.h:
9482 Make --disable-nls to work
9484 2007-04-17 Wim Taymans <wim@fluendo.com>
9486 * gst/gstconfig.h.in:
9487 Revert previous change that broke the build.
9489 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9493 * gst/gstconfig.h.in:
9494 Drop libxml2 dependency when building with
9495 --enable-binary-registry --disable-loadsave
9497 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9499 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9500 (gst_registry_binary_read_cache):
9501 * gst/gstregistrybinary.h:
9502 Remove unnecessary <sys/mman.h> include which broke the win32 build
9503 with MingW; move includes from header file to .c file, even if the
9504 header file isn't installed; use g_strerror() where UTF-8 strings
9505 are expected, such as in GST_DEBUG messages.
9507 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9509 * docs/libs/gstreamer-libs-sections.txt:
9510 Remove bogus addition for API I didn't end up keeping.
9512 * libs/gst/base/gstbasesrc.h:
9513 Mention Since: 0.10.13 in the documentation.
9515 Add the API keyword to the previous ChangeLog entry.
9517 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9519 * docs/libs/gstreamer-libs-sections.txt:
9520 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9521 (gst_base_src_default_prepare_seek_segment),
9522 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9523 * libs/gst/base/gstbasesrc.h:
9524 Allow basesrc derived classes to execute seeks in other formats
9525 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9526 to prepare the GstSegment in any format that their perform_seek method
9527 will be able to understand. The default implementation provides the
9528 old behaviour of attempting to convert the seek offsets to the
9529 configured native format.
9531 API: basesrc::prepare_seek_segment vmethod.
9533 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9535 * gst/gstelement.c: (gst_element_get_state_func):
9536 Don't output the same debug statement twice.
9538 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9539 (gst_adapter_peek), (gst_adapter_take_buffer):
9540 Optimise the case where we have buffers at the head of the queue that
9541 can be joined quickly (because they're contiguous sub-buffers) by
9542 merging them together rather than copying data out into new memory.
9544 * gst/parse/grammar.y:
9545 * tests/check/pipelines/parse-launch.c:
9546 Fix a leak in an error path for parse_launch, and add a check
9547 for it to the testsuite.
9549 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9551 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9552 Don't deadlock when releasing a pad - gst_pad_set_active may try
9553 and take the multiqueue lock too.
9555 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9557 * gst/gsterror.c: (_gst_core_errors_init):
9559 API: add GST_CORE_ERROR_DISABLED (#392804).
9561 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9563 * docs/faq/gst-uninstalled:
9564 don't get empty paths on the PATH variables
9565 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9566 Don't format for the uncommon terminal width of 84 characters.
9568 2007-04-06 Wim Taymans <wim@fluendo.com>
9570 * gst/gstpipeline.c: (reset_stream_time),
9571 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9572 Only try to select a different pipeline clock when we went back to
9573 PAUSED and not when we merely got flushed.
9575 2007-04-05 Michael Smith <msmith@fluendo.com>
9577 * tools/gst-launch.1.in:
9578 fractions are better supported in gstreamer than ractions, so
9579 suggest using those.
9581 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9583 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9587 Added Danish translation.
9589 2007-04-05 Wim Taymans <wim@fluendo.com>
9591 * libs/gst/base/gstbasesink.c:
9592 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9593 Fix leak caused when refusing newsegment after EOS.
9595 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9596 (gst_fake_sink_init), (gst_fake_sink_set_property),
9597 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9598 (gst_fake_sink_render), (gst_fake_sink_change_state):
9599 * plugins/elements/gstfakesink.h:
9600 Add num-buffers property to make the element generate EOS after a
9601 configurable amount of buffers.
9602 API: fakesink::num-buffers property.
9604 * tests/check/elements/fakesink.c: (GST_START_TEST),
9606 Fix GstBus leak in test.
9607 Test for fakesink num-buffers.
9609 2007-04-05 Wim Taymans <wim@fluendo.com>
9611 * libs/gst/base/gstbasesink.c:
9612 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9613 (gst_base_sink_change_state):
9614 Don't accept anything after an EOS, return UNEXPECTED instead.
9616 * tests/check/elements/fakesink.c: (GST_START_TEST),
9618 Unit test for new EOS behaviour.
9620 2007-04-05 Wim Taymans <wim@fluendo.com>
9622 * gst/gstelement.c: (gst_element_get_request_pad):
9623 Make padtemplates also work when they don't contain %s or %d.
9625 2007-04-05 Wim Taymans <wim@fluendo.com>
9627 * docs/gst/gstreamer-sections.txt:
9628 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9629 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9631 Improve _adjust_unlocked() so that it overflows less.
9632 Add gst_clock_unadjust_unlocked to convert from external time to
9633 internal time based on calibration.
9634 Add some more debug.
9635 API: GstClock::gst_clock_unadjust_unlocked()
9637 2007-04-03 Wim Taymans <wim@fluendo.com>
9639 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9641 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9642 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9643 when releasing sink pad. Fixes #425400.
9645 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9647 * docs/random/ensonic/dynlink.txt:
9648 More work on proposal for new core api.
9650 * docs/libs/gstreamer-libs-sections.txt:
9651 * libs/gst/base/gstbasetransform.h:
9652 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9654 * libs/gst/controller/gstcontroller.c:
9655 (on_object_controlled_property_changed),
9656 (gst_controller_sync_values),
9657 (gst_controller_set_interpolation_mode):
9658 * libs/gst/controller/gstcontroller.h:
9659 Less verbose logging add docs for unimplemented parts and correctly
9660 return when using unavailable parts.
9662 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9664 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9665 Move all the debug to the CLOCK category, and associate it with
9668 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9670 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9671 Make take_buffer a bit quicker by removing redundant checks
9672 caused by calling gst_adapter_take.
9674 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9676 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9679 * tests/check/Makefile.am:
9680 * tests/check/elements/.cvsignore:
9681 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9682 (GST_START_TEST), (multiqueue_suite):
9683 Add some dead simple unit tests for the 'multiqueue' element
9684 (some bits don't work yet and are disabled for now).
9686 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9688 * gst/gstelement.c: (gst_element_get_request_pad),
9689 (gst_element_class_get_request_pad_template):
9690 Make gst_element_get_request_pad() create request pads only for
9691 request pad templates and not for, say, sometimes pad templates.
9693 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9695 * docs/design/draft-klass.txt:
9696 Add example that needs more thinking.
9698 * docs/design/draft-missing-plugins.txt:
9699 More thoughts about wrapper plugins.
9701 * docs/random/ensonic/embedded.txt:
9702 * docs/random/ensonic/profiling.txt:
9705 2007-03-25 Wim Taymans <wim@fluendo.com>
9707 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9708 (gst_base_src_loop):
9709 Only push the segment events in the PLAYING state for live sources.
9711 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9713 * gst/gstpipeline.c: (gst_pipeline_change_state):
9714 Modify the clock distribution path in PAUSED->PLAYING so that we
9715 never attempt to choose a new clock unless we're actually leaving
9716 the PAUSED state for the first time. This prevents choosing a
9717 different clock when the state_change gets called for a 2nd time due
9718 to some element doing an async state change.
9720 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9722 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9723 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9724 (gst_pad_chain_unchecked), (gst_pad_push):
9725 Revert last commit. This needs some more thoughts.
9727 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9729 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9730 (gst_pad_chain_unchecked), (gst_pad_push):
9731 Check in set_caps if the caps are compatible with the pad and remove
9732 two functions that are redundant now. Fixes #421543.
9734 2007-03-22 Wim Taymans <wim@fluendo.com>
9736 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9737 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9738 Unref some more to make valgrind happy.
9740 2007-03-22 Wim Taymans <wim@fluendo.com>
9742 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9743 (gst_system_clock_id_wait_jitter),
9744 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9745 Fix anoying regression that survived a few releases. When adding an
9746 async entry while blocking on a sync entry, the sync entry will unblock
9747 but still be busy, so it should continue to wait instead of returning
9749 Add some comments here and there.
9751 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9752 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9753 Add testcase for this.
9755 2007-03-22 Wim Taymans <wim@fluendo.com>
9757 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9758 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9759 WRONG_STATE and can silently pause the task. All other cases should
9762 2007-03-22 Wim Taymans <wim@fluendo.com>
9764 Patch by: Ville Syrjala <syrjala at sci dot fi>
9766 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9767 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9770 2007-03-21 Michael Smith <msmith@fluendo.com>
9772 * docs/pwg/advanced-types.xml:
9773 Fix some errors in the typefinding docs pointed out on irc.
9775 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9777 * libs/gst/base/gstbasesrc.c:
9778 Clarify FIXME comment in the face of having added unlock_stop()
9780 2007-03-21 Wim Taymans <wim@fluendo.com>
9782 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9783 Prepare for release where we warn against possible app breakage in the
9784 case of live pipelines along with an env var to enable/disable live
9785 preroll mode (GST_COMPAT=[no-]live-preroll).
9787 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9789 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9790 So we should use correct constants for checking for None offset.
9792 2007-03-20 Wim Taymans <wim@fluendo.com>
9794 * docs/design/part-block.txt:
9795 Mention the fact that the newly switched element should be set to at
9798 2007-03-20 Wim Taymans <wim@fluendo.com>
9801 Fix compilation with registry disabled as spotted by Saur.
9803 2007-03-20 Wim Taymans <wim@fluendo.com>
9805 Patch by: Olivier Crete <tester at tester dot ca>
9807 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9808 Look at the pending state too when syncing the element state to the
9809 parent. Fixes #420133.
9811 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9813 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9814 (gst_base_sink_change_state):
9815 * libs/gst/base/gstbasesink.h:
9816 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9817 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9818 (gst_base_src_deactivate):
9819 * libs/gst/base/gstbasesrc.h:
9820 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9821 for sub-classes to correctly clear any state they set trying to
9822 unlock, such as clearing out unlock commands from a command fd.
9823 API: basesrc::unlock_stop
9824 API: basesink::unlock_stop
9826 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9827 (gst_fd_sink_render), (gst_fd_sink_unlock),
9828 (gst_fd_sink_unlock_stop):
9829 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9830 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9831 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9833 Implement unlock_stop in fdsrc and fdsink.
9834 Implement seeking in fdsrc when a seekable fd is passed, as in
9835 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9837 2007-03-19 Wim Taymans <wim@fluendo.com>
9839 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9841 * gst/gstelement.c: (gst_element_class_init):
9842 Fix pad-added and pad-removed signal signatures so that the pad type is
9843 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9845 2007-03-19 Wim Taymans <wim@fluendo.com>
9847 * docs/gst/gstreamer-sections.txt:
9848 Add new element field and method.
9850 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9851 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9852 (gst_bin_recalc_state), (gst_bin_get_state_func),
9853 (gst_bin_element_set_state), (gst_bin_change_state_func),
9854 (gst_bin_continue_func), (bin_bus_handler),
9855 (bin_push_state_continue), (bin_handle_async_start),
9856 (bin_handle_async_done), (gst_bin_handle_message_func):
9857 Make async state changes a bit smarter by using new ASYNC_START and
9858 ASYNC_DONE messages. This reduces the number of times we run the state
9859 recalculation thread.
9860 Don't change state of element with a pending ASYNC_START message.
9861 Deprecate STATE_DIRTY messages.
9863 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9864 (gst_element_get_state_func), (gst_element_continue_state),
9865 (gst_element_lost_state), (gst_element_set_state_func),
9866 (gst_element_change_state):
9868 Keep the state that was last set by the app in a new element field.
9869 Don't allow state changes when handling an element event.
9870 Post ASYNC_START and ASYNC_DONE messages.
9871 Change lost_state so that we go to PAUSED and wait for the parent to set
9872 us to PLAYING again (so latency calculation can be performed)
9873 Export gst_element_change_state() method so that subclasses can use it.
9874 API: gst_element_change_state()
9875 API: GST_STATE_TARGET
9877 * gst/gstpipeline.c: (gst_pipeline_class_init),
9878 (reset_stream_time), (gst_pipeline_change_state),
9879 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9880 Using the new ASYNC_START message we can reset the base_time when
9881 needed. This can then be used to implement base_time redistribution in
9882 flushing seeks so that we can remove the explicit seek handling.
9883 Perform latency query and configuration when going to PLAYING.
9885 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9886 (gst_base_sink_query), (gst_base_sink_change_state):
9887 Post new ASYNC_START/ASYNC_DONE messages.
9889 * tests/check/generic/sinks.c: (GST_START_TEST):
9890 Fix test because the bin will not set the async element to PLAYING right
9893 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9894 Make the message check a little stronger.
9895 Handle ASYNC messages.
9897 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9898 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9899 Expect ASYNC_DONE messages.
9901 2007-03-19 Wim Taymans <wim@fluendo.com>
9903 * docs/gst/gstreamer-sections.txt:
9904 * gst/gstmessage.c: (gst_message_new_async_start),
9905 (gst_message_new_async_done), (gst_message_parse_info),
9906 (gst_message_parse_async_start):
9908 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9911 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9913 * tools/gst-inspect.c:
9914 (print_plugin_automatic_install_info_codecs):
9915 Now that we don't check for the 'Codec' keyword any longer in the
9916 klass, we shouldn't spew a warning if the klass isn't a decoder or
9917 encoder (since it might be a Source/Network, for example).
9919 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9921 * tools/gst-inspect.c:
9922 (print_plugin_automatic_install_info_codecs):
9923 Don't require decoder/demuxer/depayloader elements or
9924 encoder/muxer/paylader elements to have 'Codec' as part of their
9925 factory class string when introspecting a plugin's capabilities.
9926 draft-klass.txt mentions that it might be removed in future, and
9927 flump3dec doesn't have it as part of its class string, so chances
9928 are others might also not have it.
9930 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9952 Update translations from translation project
9954 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9956 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9957 (gst_child_proxy_set_property):
9958 Invert precondition check to be alike the ones in the mimiced gobject
9961 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9963 * docs/design/draft-tagreading.txt:
9964 * docs/random/ensonic/audiobaseclasses.txt:
9965 Do some Architect work.
9967 * gst/gstobject.c: (gst_object_set_name):
9971 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9973 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9975 * gst/gstsystemclock.c: (gst_system_clock_init),
9976 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9977 Defer starting the async system clock thread until the first async
9978 wait is scheduled. Fixes #414986.
9980 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9982 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9983 (gst_single_queue_free):
9984 Fix small leak (free GstSingleQueue structure too, not only contents).
9986 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9988 * gst/gstbin.c:(gst_bin_add):
9989 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9990 * win32/common/libgstbase.def:
9991 * win32/common/libgstreamer.def:
9992 Add new exported functions.
9994 2007-03-09 Wim Taymans <wim@fluendo.com>
9996 * docs/plugins/gstreamer-plugins-sections.txt:
9999 2007-03-09 Wim Taymans <wim@fluendo.com>
10001 * docs/gst/gstreamer-sections.txt:
10002 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
10004 Add metadata copy functions. Fixes #393099.
10005 API: gst_buffer_copy_metadata()
10007 * gst/gstutils.c: (gst_buffer_stamp):
10008 * libs/gst/base/gstbasetransform.c:
10009 (gst_base_transform_prepare_output_buffer):
10010 Use new metadata copy functions.
10012 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
10014 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10015 (gst_identity_init), (gst_identity_check_perfect),
10016 (gst_identity_check_imperfect_timestamp),
10017 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
10018 (gst_identity_set_property), (gst_identity_get_property):
10019 * plugins/elements/gstidentity.h:
10020 Separate out check-imperfect-timestamp and check-imperfect-offset.
10021 Put back check-perfect as it was to keep compatibility.
10023 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
10025 * gst/gstelement.c: (gst_element_dispose):
10026 There's no need to warn if VOID_PENDING is not NONE here, as
10027 long as the state is NULL it's ok, and that's checked immediately
10030 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10032 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10033 Fix check for perfect stream to ignore buffers with -1
10034 offsets/offset ends when checking data contiguity.
10036 2007-03-08 Wim Taymans <wim@fluendo.com>
10038 * tools/gst-launch.c: (event_loop):
10039 Print INFO messages.
10041 2007-03-08 Wim Taymans <wim@fluendo.com>
10043 * libs/gst/base/gstbasetransform.c:
10044 (gst_base_transform_sink_eventfunc),
10045 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10046 (gst_base_transform_activate):
10047 * libs/gst/base/gstbasetransform.h:
10048 Add support for dropping buffers with custom GstFlowReturn.
10049 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10050 buffers or dropped buffers.
10052 * docs/libs/gstreamer-libs-sections.txt:
10053 docs for new custom return code.
10055 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10056 Use drop support in base class to implement drop-probability.
10058 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
10060 * gst/gst.c: (load_plugin_func):
10061 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10062 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10063 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10064 Remove newlines at end of debug log strings.
10066 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10068 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10069 Only post bus message at max, once per buffer received.
10071 2007-03-07 Wim Taymans <wim@fluendo.com>
10073 * docs/design/Makefile.am:
10074 * docs/design/part-synchronisation.txt:
10075 Add doc about synchronisation
10077 * docs/design/draft-latency.txt:
10078 * docs/design/part-TODO.txt:
10079 * docs/design/part-clocks.txt:
10080 * docs/design/part-events.txt:
10081 * docs/design/part-gstbus.txt:
10082 * docs/design/part-gstpipeline.txt:
10083 * docs/design/part-live-source.txt:
10084 * docs/design/part-messages.txt:
10085 * docs/design/part-overview.txt:
10086 * docs/design/part-streams.txt:
10087 * docs/design/part-trickmodes.txt:
10088 Documentation updates.
10090 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10093 Update the doap file.
10095 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10097 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10098 Rename non-perfect to imperfect for Mike and for the sanctity of the
10100 Also make sure bus message gets emitted for data-incontiguities.
10102 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10104 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10105 (gst_identity_start):
10106 * plugins/elements/gstidentity.h:
10107 Emit bus message if check-perfect is true and we encounter a
10108 non-perfect stream between 2 consecutive buffers.
10111 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10116 === release 0.10.12 ===
10118 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10121 releasing 0.10.12, "Inevitable Demise"
10123 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10126 Version 0.10.11.2 (0.10.12 pre-release)
10127 Bump libtool versioning.
10129 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10131 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10132 Log flow-names and not numbers.
10134 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10137 Convert to new AG_GST style.
10139 2007-02-28 Wim Taymans <wim@fluendo.com>
10141 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10142 Don't unref query twice.
10144 2007-02-28 Wim Taymans <wim@fluendo.com>
10146 * gst/gstvalue.c: (gst_value_transform_object_string),
10147 (_gst_value_initialize):
10148 Implement GstObject -> string transform so we print object names
10149 when serializing GValues containing GstObjects.
10151 2007-02-28 Wim Taymans <wim@fluendo.com>
10153 * docs/gst/gstreamer-sections.txt:
10154 Add new stuff to docs.
10156 2007-02-28 Wim Taymans <wim@fluendo.com>
10158 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10159 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10160 (gst_base_sink_change_state):
10161 Improve latency query code.
10162 Don't leak latency events.
10164 * tests/check/gst/gstbin.c: (GST_START_TEST):
10167 2007-02-28 Wim Taymans <wim@fluendo.com>
10169 * gst/gstelement.c: (gst_element_message_full),
10170 (gst_element_get_state_func):
10171 * gst/gstelement.h:
10172 Improve docs a little. Added Since: for new macro.
10174 * gst/gstobject.c: (gst_object_sink):
10175 * gst/gstpipeline.c: (gst_pipeline_change_state),
10176 (gst_pipeline_set_new_stream_time):
10177 * gst/gstpipeline.h:
10178 Improve debugging and docs.
10180 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10183 2007-02-28 Wim Taymans <wim@fluendo.com>
10185 * gst/gstelement.c: (gst_element_message_full),
10186 (gst_element_set_locked_state), (gst_element_get_state_func),
10187 (gst_element_change_state):
10188 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10189 Documentation updates.
10190 Small code cleanups.
10192 * gst/gstmessage.c: (gst_message_new_info),
10193 (gst_message_parse_info):
10194 * gst/gstmessage.h:
10195 API: gst_message_new_info()
10196 API: gst_message_parse_info()
10197 Add INFO message create and parse code.
10199 2007-02-28 Wim Taymans <wim@fluendo.com>
10201 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10202 (bin_query_latency_done):
10203 Also report the live parameter of a latency query.
10205 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10207 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10208 Copy the current generic/states example from -base and adapt so
10209 we can use the exact same code everywhere.
10210 Check a STATES_IGNORE_ELEMENTS env var which can be used
10211 to ignore certain element factories for this test, which is
10212 what is being done in -base
10213 * tests/check/Makefile.am:
10214 Mention this environment variable.
10216 2007-02-27 Wim Taymans <wim@fluendo.com>
10218 * docs/gst/gstreamer-sections.txt:
10219 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10220 (gst_bus_timed_pop), (gst_bus_pop):
10222 API: gst_bus_timed_pop()
10223 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10224 message to arrive on the bus.
10226 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10228 Two unit tests for new _timed_pop() function.
10230 2007-02-23 Wim Taymans <wim@fluendo.com>
10232 * gst/gstpipeline.c: (gst_pipeline_change_state),
10233 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10234 Don't ref a NULL clock in _provide_clock_func().
10235 Don't allow an INVALID delay.
10236 Don't try to calculate base_time with an invalid start_time.
10237 Also distribute and notify a NULL clock when it was selected.
10239 * tools/gst-launch.c: (event_loop):
10240 Don't crash when a NULL clock was selected in the pipeline.
10242 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10244 * docs/design/Makefile.am:
10245 * docs/design/draft-missing-plugins.txt:
10246 * docs/random/draft-missing-plugins.txt:
10247 Some small updates: update plugin system identifier prefix
10248 ('gstreamer.net' to 'gstreamer'), mention our new install
10249 API in libgstbaseutils rather than libgimme-codec, add
10250 reference to the online docs.
10252 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10254 * win32/common/config.h:
10255 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10256 use moap cl ci to only check in what is mentioned in the ChangeLog.
10258 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10260 * docs/gst/gstreamer-sections.txt:
10261 * gst/gstelement.h:
10262 Fix up documentation to link to the correct GstGError section.
10263 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10265 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10267 * tools/gst-launch.c: (event_loop):
10268 Make sure that we actually show the important message part of a
10270 No need to check if the gerror is not NULL to free; first of all
10271 g_free accepts NULL; and second the default error handler would
10272 segfault if gerror was NULL.
10274 2007-02-21 Wim Taymans <wim@fluendo.com>
10276 * docs/gst/gstreamer-sections.txt:
10277 Removed docs as well.
10279 2007-02-21 Wim Taymans <wim@fluendo.com>
10281 * gst/gstmessage.c: (gst_message_parse_duration):
10282 * gst/gstmessage.h:
10283 Remove new messages for release.
10285 2007-02-20 Wim Taymans <wim@fluendo.com>
10287 * docs/design/part-gstghostpad.txt:
10288 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10289 (gst_ghost_pad_new_full):
10290 Make the ghostpad a parent of the internal pad again for better backward
10291 compatibility. Don't write code that relies on this however.
10293 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10294 (gst_pad_link_check_hierarchy):
10295 Require that parents should be GstElements in the hierarchy check.
10297 2007-02-20 Wim Taymans <wim@fluendo.com>
10299 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10300 (gst_bin_change_state_func), (bin_query_min_max_init),
10301 (bin_query_latency_fold), (bin_query_latency_done),
10303 Improve debug info.
10304 Implement latency query.
10306 2007-02-20 Wim Taymans <wim@fluendo.com>
10308 * docs/design/part-gstghostpad.txt:
10309 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10310 (gst_ghost_pad_internal_do_activate_push),
10311 (gst_ghost_pad_internal_do_activate_pull),
10312 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10313 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10314 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10315 Do not set the internal pad as a parent anymore so we can avoid
10316 hierarchy linking errors when the ghostpad has no parent yet. This also
10317 fixes failed activation because of unlinked internal pads, which in
10318 turn fixes the impossible case where you have to activate a pad before
10319 you can add it to a running element.
10322 * gst/gstpad.c: (pre_activate), (post_activate),
10323 (gst_pad_set_active), (gst_pad_activate_pull),
10324 (gst_pad_activate_push), (gst_pad_check_pull_range):
10325 Add some more debug info.
10326 Mark activation mode in pre_activate so that we don't try to activate in
10327 endless loops. Fixes #385084.
10329 2007-02-19 Wim Taymans <wim@fluendo.com>
10331 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10332 (gst_base_transform_check_get_range):
10333 Implement a checkgetrange function instead of relying on the default
10334 core behaviour that assumes we can operate in pull mode if we have a
10335 getrange function. First step at fixing #385084.
10337 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10339 * gst/gstchildproxy.h:
10340 * libs/gst/base/gstbasesink.h:
10341 * libs/gst/base/gstbasesrc.h:
10342 * libs/gst/base/gstbasetransform.h:
10343 More docs coverage and some ChangeLog surgery (add missing names)
10345 2007-02-15 Wim Taymans <wim@fluendo.com>
10347 * docs/design/part-TODO.txt:
10348 * docs/design/part-activation.txt:
10349 * docs/design/part-block.txt:
10350 * docs/design/part-buffering.txt:
10351 * docs/design/part-clocks.txt:
10352 * docs/design/part-element-source.txt:
10353 * docs/design/part-events.txt:
10354 * docs/design/part-gstbin.txt:
10355 * docs/design/part-gstbus.txt:
10356 * docs/design/part-gstpipeline.txt:
10357 * docs/design/part-live-source.txt:
10358 * docs/design/part-messages.txt:
10359 * docs/design/part-overview.txt:
10360 * docs/design/part-qos.txt:
10361 * docs/design/part-query.txt:
10362 * docs/design/part-states.txt:
10363 * docs/design/part-trickmodes.txt:
10364 Some doc updates. Start renaming from stream_time to running_time where
10365 it was used wrongly.
10367 2007-02-15 Wim Taymans <wim@fluendo.com>
10369 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10370 Answer LATENCY query.
10372 2007-02-15 Wim Taymans <wim@fluendo.com>
10374 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10378 2007-02-15 Wim Taymans <wim@fluendo.com>
10380 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10381 (gst_pad_dispatcher):
10382 Improve debugging of default pad dispatcher and query functions.
10384 2007-02-15 Wim Taymans <wim@fluendo.com>
10386 * docs/gst/gstreamer-sections.txt:
10387 Remove old unused method.
10389 2007-02-13 Wim Taymans <wim@fluendo.com>
10391 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10394 2007-02-13 Wim Taymans <wim@fluendo.com>
10396 * docs/design/part-seeking.txt:
10399 * gst/gstsegment.c: (gst_segment_set_seek):
10400 Revert old bogus change that should make seeking work again.
10402 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10404 * docs/random/ensonic/dynlink.txt:
10405 * docs/random/ensonic/interfaces.txt:
10406 * docs/random/ensonic/receipies.txt:
10407 Possible dynamic reconnection api, plus some type fixes the other two
10410 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10412 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10413 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10414 Also check for an absolute path following file:// in the filesrc
10415 element. Remove redundant check and call g_path_is_absolute() on the
10416 unescaped location.
10418 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10420 * docs/design/draft-klass.txt:
10421 Add existing category analysis.
10424 Fix doc example, framerate is a fraction.
10426 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10429 * docs/gst/Makefile.am:
10430 * docs/gst/gstreamer-sections.txt:
10431 * docs/libs/Makefile.am:
10432 Erm, forgot a bunch of --extra-dir.
10434 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10437 * docs/gst/Makefile.am:
10438 * docs/libs/Makefile.am:
10439 * docs/plugins/Makefile.am:
10440 Add crossreferences to glib/gobject docs.
10442 2007-02-12 Wim Taymans <wim@fluendo.com>
10444 * docs/design/draft-latency.txt:
10447 * docs/libs/gstreamer-libs-sections.txt:
10448 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10449 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10450 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10451 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10452 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10453 (gst_base_sink_get_position), (gst_base_sink_query),
10454 (gst_base_sink_change_state):
10455 * libs/gst/base/gstbasesink.h:
10456 API: gst_base_sink_query_latency() to let subclasses query the upstream
10458 API: gst_base_sink_get_latency() to let subclasses query the configured
10459 latency in the sink.
10460 Implement query and set latency.
10462 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10463 don't continue preroll when we are flushing. Fixes #405284.
10465 * tests/check/pipelines/stress.c: (change_state_timeout),
10466 (quit_timeout), (GST_START_TEST), (stress_suite):
10469 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10471 Patch by: René Stadler <mail at renestadler de>
10473 * docs/gst/gstreamer-sections.txt:
10474 * gst/gsttaglist.c: (_gst_tag_initialize):
10475 * gst/gsttaglist.h:
10476 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10478 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10480 * docs/libs/Makefile.am:
10481 Fix path to core docs.
10483 * gst/gstbin.c: (gst_bin_get_by_interface),
10484 (gst_bin_iterate_all_by_interface):
10485 Refix docs by also renaming 'interface' to 'iface' in implementation.
10487 * docs/gst/gstreamer-sections.txt:
10489 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10490 * gst/gstchildproxy.h:
10491 * gst/gstelementfactory.c:
10492 * gst/gstpadtemplate.h:
10493 * libs/gst/controller/gstcontroller.c:
10494 (gst_controlled_property_new):
10497 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10499 * gst/gstbin.h:(gst_bin_get_by_interface),
10500 (gst_bin_iterate_all_by_interface):
10501 Replace interface parameter name by iface as interface is
10502 a reserved keyword in Visual Studio for C++ projects so it removes
10503 a build error for application developpers using VS.
10504 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10505 Fix a bug on Windows in uri format check. Now the prefix checked
10506 is file:// and next we check if the path after file:// is absolute.
10507 * win32/common/libgstbase.def:
10508 * win32/common/libgstdataprotocol.def:
10509 * win32/common/libgstgstreamer.def:
10510 Add new exported functions.
10512 2007-02-09 Andy Wingo <wingo@pobox.com>
10514 * tests/check/pipelines/simple-launch-lines.c
10515 (simple_launch_lines_suite, test_tee): Disable tee test until I
10516 have time to fix it :-(
10518 * tests/check/Makefile.am (noinst_HEADERS):
10519 * tests/check/libs/libsabi.c:
10520 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10521 * tests/check/gst/gstabi.c:
10522 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10524 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10525 tests for push and pull tee behavior.
10527 * plugins/elements/gsttee.h:
10528 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10529 mark as deprecated as well as unimplemented. It was a crack idea.
10530 Add support for tee operating in pull mode, off by default.
10532 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10533 normal-case logs down to LOG, raise errors to WARNING.
10534 (gst_registry_xml_read_cache): Don't log before calling a function
10537 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10538 exit (registry finalize).
10539 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10540 DEBUG log when we emit signals that people don't even have the
10541 chance to connect to.
10542 (gst_registry_scan_path_level): Less logging in the normal case.
10544 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10546 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10548 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10549 Correctly generate EOS for non-seekable files. We don't have a total
10550 length for them and would get an unexpected end of file if we only
10551 special-cased for regular files. (Fixes: #404569)
10553 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10555 * tests/check/elements/filesrc.c: (GST_START_TEST),
10557 Add unit test for the GstURIHandler interface in filesrc. This also
10558 tests the newly added file://localhost/foo/bar support.
10560 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10562 * gst/gstelementfactory.h:
10563 The klass string is not a hierarchy. Add reference to the design doc
10564 for more information and common types.
10566 2007-02-02 Wim Taymans <wim@fluendo.com>
10568 * gst/gstquery.c: (gst_query_new_latency):
10569 Remove old structure field.
10571 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10573 * tools/gst-launch.1.in:
10574 Give example for network streaming (#351998)
10576 2007-02-02 Wim Taymans <wim@fluendo.com>
10578 * docs/gst/gstreamer-sections.txt:
10579 Add docs for new methods.
10581 * gst/gstevent.c: (gst_event_new_latency),
10582 (gst_event_parse_latency):
10584 Add new LATENCY event to configure latency in a pipeline.
10585 API: gst_event_new_latency
10586 API: gst_event_parse_latency
10588 * gst/gstmessage.c: (gst_message_new_buffering),
10589 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10590 (gst_message_new_latency), (gst_message_parse_buffering),
10591 (gst_message_parse_lost_preroll):
10592 * gst/gstmessage.h:
10593 Added messages used in draft-latency.
10594 API: gst_message_new_lost_preroll
10595 API: gst_message_parse_lost_preroll
10596 API: gst_message_new_prerolled
10597 API: gst_message_new_latency
10599 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10600 (gst_query_parse_latency):
10602 Implemented new latency query as in design doc.
10603 API: gst_query_new_latency
10604 API: gst_query_set_latency
10605 API: gst_query_parse_latency
10607 2007-02-02 Wim Taymans <wim@fluendo.com>
10609 * docs/design/draft-latency.txt:
10610 Slight redesign to allow for dynamic latency adjustments.
10612 * docs/design/part-negotiation.txt:
10615 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10617 reviewed by: Wim Taymans <wim@fluendo.com>
10619 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10620 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10621 Allow file://localhost/foo/bar URLs and correctly fail for every other
10622 hostname that one sets. This was gnomevfssrc is linked for those if
10623 installed as it can handle it (#403172)
10625 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10627 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10629 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10630 (unref_data), (gst_collect_pads_add_pad_full):
10631 * libs/gst/base/gstcollectpads.h:
10632 Don't put the previously added destroy notify in the GstCollectData
10633 struct as all it's padding is already used and we don't want to break
10634 ABI. Instead put in the pad's GObject data for now. This should be
10635 cleaned up for 0.11 (#402393).
10637 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10639 reviewed by: Wim Taymans <wim@fluendo.com>
10641 * docs/libs/gstreamer-libs-sections.txt:
10642 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10643 (unref_data), (gst_collect_pads_add_pad),
10644 (gst_collect_pads_add_pad_full):
10645 * libs/gst/base/gstcollectpads.h:
10646 API: Add function to specify a destroy notification for custom
10647 GstCollectData when adding new pads in GstCollectPads (#402393).
10649 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10652 Update Swedish translation (#378255).
10654 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10656 * docs/design/draft-klass.txt:
10657 Fix the previous change, this is a list of categories and not a hierarchy.
10659 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10661 * docs/design/draft-klass.txt:
10662 Add info about how to get a list of used classes.
10664 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10666 * plugins/elements/gsttypefindelement.c:
10667 (gst_type_find_element_chain_do_typefinding),
10668 (gst_type_find_element_change_state):
10669 Don't leak found caps in chain function (no idea why that never
10670 showed up as a leak anywhere).
10672 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10675 Fix and expand GstPluginDesc API docs.
10677 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10680 * gst/gstelementfactory.c:
10681 * gst/gstpadtemplate.h:
10684 * libs/gst/controller/gstcontroller.c:
10685 (gst_controlled_property_new):
10686 * tests/examples/controller/audio-example.c:
10689 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10692 comment about refining the xml deps
10694 * docs/manuals.mak:
10695 comments about moving away from jade for docs
10698 recommit the ifdefs to use the binary registry
10700 * gst/gstbin.c: (gst_bin_change_state_func):
10701 this break is obsolete
10703 * gst/gstelementfactory.h:
10704 better GST_ELEMENT_DETAILS docs, add comment about translation
10709 * gst/gstobject.c: (gst_signal_object_get_type):
10710 add G_UNLIKELY as usual
10712 * gst/gstpad.c: (gst_pad_event_default):
10713 add fall trhu comment
10715 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10716 (gst_registry_binary_initialize_magic),
10717 (gst_registry_binary_save_string),
10718 (gst_registry_binary_save_pad_template),
10719 (gst_registry_binary_save_feature),
10720 (gst_registry_binary_save_plugin),
10721 (gst_registry_binary_write_cache),
10722 (gst_registry_binary_check_magic),
10723 (gst_registry_binary_load_pad_template),
10724 (gst_registry_binary_load_feature),
10725 (gst_registry_binary_load_plugin),
10726 (gst_registry_binary_read_cache):
10727 comment typo and formatting
10729 * gst/gstutils.c: (gst_element_state_get_name),
10730 (gst_element_state_change_return_get_name):
10731 remove obsolete breaks
10733 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10734 add FIXME 0.11 and remove cpp comment
10736 2007-01-29 Edward Hervey <edward@fluendo.com>
10738 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10739 Fix print statement in an even more portable way.
10741 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10743 * docs/gst/gstreamer-sections.txt:
10745 API: add GST_ROUND_DOWN_* macros (#401781).
10747 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10749 * docs/gst/gstreamer.types.in:
10750 * gst/gstregistry.c: (gst_registry_class_init):
10751 Document registry signals and make gtk-doc pick them up (#401381).
10753 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10755 * docs/pwg/building-testapp.xml:
10756 Add some audioconverts and audioresample to the pipeline, and some
10757 more comments and error handling.
10759 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10761 * docs/manual/manual.xml:
10762 * docs/pwg/pwg.xml:
10763 Fix typo (#400987).
10765 2007-01-26 Wim Taymans <wim@fluendo.com>
10767 * gst/gstcaps.c: (gst_static_caps_get):
10768 Init caps flags too.
10770 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10772 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10774 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10775 If not using mmap'ed files try to seek to the end instead of the
10776 start to determine whether we can seek at all. This fixes the case
10777 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10778 seeks for everything afterwards fail. Fixes #400656
10780 2007-01-25 Wim Taymans <wim@fluendo.com>
10782 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10783 Add some refcount debugging.
10784 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10785 in multiple streaming threads.
10787 2007-01-25 Wim Taymans <wim@fluendo.com>
10789 Patch by: David Schleef <ds at schleef dot org>
10791 * docs/libs/gstreamer-libs-sections.txt:
10792 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10793 * libs/gst/base/gstadapter.h:
10794 API: gst_adapter_copy() that can reduce the amount of memcpy when
10795 getting data from the adapter. Fixes #388201.
10797 2007-01-25 Edward Hervey <edward@fluendo.com>
10799 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10800 In print statements, "%x" is for guint. Fixes build on macosx.
10802 2007-01-24 Edward Hervey <edward@fluendo.com>
10804 * plugins/elements/gstmultiqueue.c:
10805 (gst_multi_queue_loop):
10807 (single_queue_overrun_cb), (single_queue_underrun_cb),
10808 (single_queue_check_full), (gst_single_queue_new):
10809 Implement single queue growth system.
10810 This uses the extra-size properties, and will grow single queues by
10811 that much if one goes full whereas there are others empty. This is
10812 called extra-mode in the code.
10813 When a single queue's levels go back below the initial max-size
10814 limits, it is no longer in extra-mode. This is to ensure we don't
10815 consume too much memory.
10818 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10820 * gst/gst.c: (gst_init_get_option_group):
10821 Make warning about late g_thread_init() calls a bit more explicit,
10822 so that it's more obvious to application developers what they need
10823 to do if a user files a bug against their application.
10825 2007-01-22 Edward Hervey <edward@fluendo.com>
10827 * plugins/elements/gstmultiqueue.c:
10828 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10829 Remove previous hack of unsetting the flushing flag for the source pad
10830 instead of activating it. Instead, fix the source pad activate function
10831 so that it no longer depends on having a parent set or not.
10833 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10835 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10837 * docs/manual/basics-bus.xml:
10838 Fix example code, gst_element_unref() doesn't exist any longer.
10840 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10842 Patch by: Mark Nauwelaerts <manauw at skynet be>
10845 Fix two docs typoes (#399094).
10847 2007-01-19 Edward Hervey <edward@fluendo.com>
10849 * docs/faq/gst-uninstalled:
10850 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10851 depending on libgstbaseutils can work in uninstalled environment.
10853 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10855 * gst/gsttaglist.h:
10856 * gst/gsttagsetter.c:
10857 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10858 statement for new tag.
10860 2007-01-17 Edward Hervey <edward@fluendo.com>
10862 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10863 When dynamically creating single queues, activate sinkpad before adding
10865 We should be doing the same thing for the source pad, but we can't
10866 since it would call a method which needs the parent to be set in order
10867 to work propertly. Instead of activating the source pad, we just unset
10868 the flushing flag, which is the minimal requirement for adding a pad
10869 to an element in a state greater than READY.
10871 2007-01-17 Edward Hervey <edward@fluendo.com>
10873 * docs/faq/gst-uninstalled:
10874 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10877 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10879 * tests/check/gst/gstabi.c:
10880 * tests/check/gst/struct_hppa.h:
10881 * tests/check/libs/libsabi.c:
10882 * tests/check/libs/struct_hppa.h:
10883 Add ABI structs for HPPA (see #393796).
10885 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10887 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10888 Actually write ABI structs to the file specified in the GST_ABI
10889 environment variable, as the message we print claims we would.
10891 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10893 * tests/check/gst/gsttask.c:
10894 Fix header comment.
10896 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10898 * gst/gsttaglist.c: (_gst_tag_initialize):
10899 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10900 previous two entries.
10902 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10904 * docs/gst/gstreamer-sections.txt:
10905 * gst/gsttaglist.c: (_gst_tag_initialize):
10906 * gst/gsttaglist.h:
10907 Add tag support for beat-per-minute.
10909 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10911 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10912 (gst_registry_binary_initialize_magic),
10913 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10914 (gst_registry_binary_save_pad_template),
10915 (gst_registry_binary_save_feature),
10916 (gst_registry_binary_save_plugin),
10917 (gst_registry_binary_write_cache),
10918 (gst_registry_binary_check_magic),
10919 (gst_registry_binary_load_pad_template),
10920 (gst_registry_binary_load_feature),
10921 (gst_registry_binary_load_plugin),
10922 (gst_registry_binary_read_cache):
10923 * gst/gstregistrybinary.h:
10924 Use glib types, cleanup comments, impement interfaces and uri-types.
10926 2007-01-13 Andy Wingo <wingo@pobox.com>
10928 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10929 getrange() to return buffers with other caps, while we fix
10930 demuxers and typefind, or otherwise change part-negotiation.txt.
10932 2007-01-12 Andy Wingo <wingo@pobox.com>
10934 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10935 Factor start/stop into this private function instead of partially
10936 in activate functions and partially in the change_state function.
10937 Fixes setup before the element has changed from READY->PAUSED, as
10938 is the case in pull-mode pipelines.
10939 (gst_base_transform_sink_activate_push)
10940 (gst_base_transform_src_activate_pull): Refactor to use
10941 gst_base_transform_activate().
10942 (gst_base_transform_change_state): Removed, not needed any more.
10944 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10945 Truncate before fixating.
10947 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10948 Don't set_caps() if the result of fixating is ANY, as it's not
10949 supported, and not necessary in the case of a link with no
10950 template caps on either side. Fixes tests/check/libs/basesrc in
10951 some pull-mode tests.
10953 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10954 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10955 (gst_base_transform_src_activate_pull):
10956 Track the activation mode.
10957 (gst_base_transform_setcaps): In pull mode, when activating the
10958 src pad, after activating the sink pad, activate the sink pad's
10959 peer, as discussed in part-negotiation.txt.
10961 * libs/gst/base/gstbasesrc.h:
10962 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10963 vmethod, as in basesink.
10965 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10967 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10968 mode, first proxy the setcaps to the peer pad.
10969 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10970 new fixate vmethod.
10971 (gst_base_sink_default_activate_pull): Rename from
10972 gst_base_sink_activate_pull.
10973 (gst_base_sink_negotiate_pull): New function, performs negotiation
10974 in pull mode before calling ::activate_pull().
10975 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10976 vmethod instead of the default implementation. I have no idea how
10977 this worked before. Negotiate before calling activate_pull.
10979 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10980 sink pads in pull mode. In addition to being correct, fixes
10981 filesrc ! decodebin ! identity ! fakesink.
10982 (gst_pad_get_range, gst_pad_pull_range): Don't call
10983 gst_pad_set_caps() if the caps changes; instead error out with
10984 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10986 2007-01-12 Andy Wingo <wingo@pobox.com>
10988 * docs/design/part-negotiation.txt: Update with more policy.
10990 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10992 * libs/gst/check/gstbufferstraw.h:
10993 * libs/gst/check/gstcheck.h:
10994 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10997 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10999 * tests/check/Makefile.am:
11000 * tests/check/gst/.cvsignore:
11001 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
11002 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
11003 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
11004 (GST_START_TEST), (gst_tag_setter_suite):
11005 Add minimal unit test for beforementioned GstTagSetter bug.
11007 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
11009 Patch by: René Stadler <mail at renestadler dot de>
11011 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
11012 gst_tag_list_merge() returns a new list, so it's not the best idea
11013 to ingore its return value. Effectively meant that tags could only
11014 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
11015 Also add function guard to require a non-NULL taglist as input (has
11016 always been so due to gst_tag_list_copy(), just making it explicit).
11018 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11020 * docs/random/draft-missing-plugins.txt:
11021 Some additions: mention new API that is supposed to be used at the
11022 various stages; short blob about new gst-inspect introspection
11023 option; mention potential future problem with plugins that have
11024 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
11026 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11028 * tools/gst-inspect.c:
11029 (print_plugin_automatic_install_info_codecs),
11030 (print_plugin_automatic_install_info_protocols),
11031 (print_plugin_automatic_install_info), (main):
11032 Add --print-plugin-auto-install-info option to gst-inspect, so we can
11033 introspect plugin files and get machine-parsable output that corresponds
11034 to the last bit of the missing-plugin installer string (small gotcha:
11035 doesn't take into account ranks).
11037 2007-01-11 Stefan Kost <ensonic@users.sf.net>
11040 * docs/gst/gstreamer-sections.txt:
11042 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
11043 (gst_registry_lookup_locked):
11044 * gst/gstregistry.h:
11045 * gst/gstregistrybinary.c: (gst_registry_binary_write),
11046 (gst_registry_binary_initialize_magic),
11047 (gst_registry_binary_save_string),
11048 (gst_registry_binary_save_pad_template),
11049 (gst_registry_binary_save_feature),
11050 (gst_registry_binary_save_plugin),
11051 (gst_registry_binary_write_cache),
11052 (gst_registry_binary_check_magic),
11053 (gst_registry_binary_load_pad_template),
11054 (gst_registry_binary_load_feature),
11055 (gst_registry_binary_load_plugin),
11056 (gst_registry_binary_read_cache):
11057 * gst/gstregistrybinary.h:
11058 * gst/gstregistryxml.c: (load_feature),
11059 (gst_registry_xml_read_cache):
11060 commit binary registry (disabled by default, see #359653)
11062 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
11064 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11065 Fix 'make check' too.
11067 2007-01-10 Andy Wingo <wingo@pobox.com>
11069 * docs/design/part-negotiation.txt: Fix a typo, add a couple
11072 * docs/design/part-negotiation.txt: Update with, um, one way that
11073 pull-mode negotiation might work?
11076 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11077 that the pad must be a src pad; makes sense to call it the other
11078 way in pull mode, and the logic is symmetric anyway.
11080 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
11082 * plugins/elements/gstfilesink.c:
11083 Include <stdio.h> for fseeko().
11085 2007-01-10 Wim Taymans <wim@fluendo.com>
11089 Reserve LATENCY event.
11091 2007-01-09 Wim Taymans <wim@fluendo.com>
11093 * docs/design/draft-latency.txt:
11096 2007-01-09 Wim Taymans <wim@fluendo.com>
11098 * docs/design/draft-latency.txt:
11101 * gst/gstelement.h:
11102 * gst/gststructure.c:
11106 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
11108 * tests/check/.cvsignore:
11109 Ignore test-registry.xml as well.
11111 2007-01-09 Wim Taymans <wim@fluendo.com>
11113 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11114 unref data at the end when we are done with the pad.
11116 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11118 * docs/gst/gstreamer-sections.txt:
11119 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11120 (init_post), (gst_deinit), (gst_update_registry):
11122 API: add gst_update_registry() (#391296).
11124 * tests/check/Makefile.am:
11125 * tests/check/gst/gstregistry.c:
11126 * tests/check/gst/.cvsignore:
11127 Simple unit test for the above.
11129 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11131 * gst/gstregistry.c: (gst_registry_scan_path_level):
11132 Plugin extension on HP-UX is .sl, add that to the list of approved
11133 plugin extensions (see #393796).
11135 * tests/check/gst/gstpad.c: (GST_START_TEST):
11136 ulong => gulong. Fixes compilation with HP-UX compiler.
11138 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11139 Fix compilation if valgrind headers are not available.
11141 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11143 * win32/common/libgstreamer.def:
11144 Add new exported function.
11145 * win32/vs6/libgstbase.dsp:
11146 Add gstdataqueue.c to the build.
11147 * win32/vs6/libgstcoreelements.dsp:
11148 Add gstmultiqueue.c to the build.
11150 2007-01-06 Andy Wingo <wingo@pobox.com>
11152 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11153 activate_pull(), providing for a way to specialize the process of
11154 spawning a thread to pull on the sink pad. There is a default
11157 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11158 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11159 (gst_base_sink_init): Renamed pad activation functions (inserting
11160 "_pad" in their names). Refactor to use the new activate_pull
11161 vmethod, as appropriate.
11162 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11163 default activate_pull function to start a task pulling from the
11164 sink pad, as before.
11166 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11167 on the pads if necessary, as in push()/chain(). Update docs.
11168 Shouldn't affect existing pull() usage as it is currently only
11169 being used on buffers without caps.
11171 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11173 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11175 Call g_thread_init() first thing in gst_init() / gst_check_init().
11176 When initialisation is done via gst_init_get_option_group() and
11177 GOption parsing, issue a warning if the GLib thread system has not
11178 been initialised yet by the time gst_init_get_option_group() is
11179 called, as it's quite likely other GLib functions such as
11180 g_option_context_new() have been called already then, and
11181 g_thread_init() must be called before any other GLib function. The
11182 application in question must be fixed in that case, since memory
11183 corruption might happen otherwise.
11184 We issue the warning because even if the GLib folks decide to work
11185 around the problem on their end in future, this is still an issue
11186 with all GLib versions >= 2.10.0, so we should warn until we depend
11187 on a GLib version we know to be safe.
11188 Update documentation as well.
11189 Closes bug #391278.
11191 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11193 * tools/gst-inspect.c: (main):
11194 * tools/gst-launch.c: (main):
11195 * tools/gst-typefind.c: (main):
11196 * tools/gst-xmlinspect.c: (main):
11197 Call g_thread_init() really really early, before any other GLib
11198 function (see #342564 and recent discussion on gtk-devel-list).
11200 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11202 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11204 * gst/gst_private.h:
11205 * gst/gstconfig.h.in:
11207 On win32, all the __declspec stuff for symbol exporting is
11208 apparently only needed with MSVC, but doesn't work with MingW.
11209 Fixes compilation with MingW and #391909.
11211 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11213 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11214 Change some GST_ERROR_OBJECT that aren't really errors to
11215 GST_WARNING_OBJECT in order to reduce terminal spam.
11217 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11219 * tests/check/Makefile.am:
11220 disable test again, as there seem to be still race problems
11222 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11224 * tests/check/Makefile.am:
11225 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11226 (GST_START_TEST), (queue_suite):
11227 enable queue test again, add tests for the leaky behaviour
11229 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11232 * tests/examples/Makefile.am:
11233 Compile adapter test/example only if the required headers are
11234 available (fixes #391915).
11236 2007-01-01 David Schleef <ds@schleef.org>
11239 Restore the previous signal handler for SIGSEGV instead of
11240 setting to default, since we may have stolen it away from
11241 someone. (i.e., Mono)
11243 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11245 * docs/random/draft-missing-plugins.txt:
11246 Some small additions and clarifications.
11248 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11250 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11251 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11252 since that can lead to random memory corruptions and crashes
11253 (may or may not be related to #383244, #386711, and #386711).
11255 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11257 * tests/check/.cvsignore:
11258 * tests/check/Makefile.am:
11259 sync .cvsignome and CLEANFILES
11261 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11263 * tests/check/Makefile.am:
11266 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11268 * docs/design/part-states.txt:
11269 two tiny additional comments
11271 * gst/gststructure.c:
11274 * tests/check/Makefile.am:
11275 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11277 disable test for now, unless it gets fixed
11279 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11281 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11283 fix race in underrun test
11285 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11287 * tests/check/elements/.cvsignore:
11290 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11292 try to narrow test failure
11294 2006-12-21 David Schleef <ds@schleef.org>
11296 * plugins/elements/gstfakesrc.c:
11297 Use g_random_int_range(), since it produces better random
11298 numbers in a range than almost-correct floating point code.
11300 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11302 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11303 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11304 (gst_check_teardown_sink_pad):
11305 do not automatically (de)activate pads
11307 * tests/check/Makefile.am:
11308 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11309 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11310 add new, yet simple tests for queue
11312 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11313 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11314 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11316 * tests/check/elements/identity.c: (cleanup_identity):
11317 consistent pad (de)activation
11319 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11321 Patch by: Sebastian Dröge <slomo ubuntu com>
11323 * libs/gst/base/gstcollectpads.c:
11324 Fix two doc typos (#387866).
11326 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11328 * docs/manual/advanced-dparams.xml:
11329 Fix typo (g_object_control_properties() doesn't exist).
11331 2006-12-19 Edward Hervey <edward@fluendo.com>
11333 * gst/gstsegment.c: (gst_segment_set_seek):
11334 Fine tune the cases where the segment start/stop values are really
11336 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11337 Add tests for the return values of gst_segment_set_seek().
11339 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11344 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11346 Fix incorrect documentation and flesh it out a bit more.
11347 Set default values for the max properties on the GParamSpec as well,
11348 so it shows up correctly in gst-inspect.
11350 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11352 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11353 Correct docs of queue, add more detail and crosslink it more.
11355 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11357 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11358 Print additional debug info when the stream isn't perfectly
11359 timestamped; don't try to use invalid durations.
11361 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11363 * docs/design/Makefile.am:
11364 Dist new design docs.
11366 2006-12-16 Wim Taymans <wim@fluendo.com>
11368 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11370 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11371 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11372 (gst_collect_pads_stop), (gst_collect_pads_event),
11373 (gst_collect_pads_chain):
11374 * libs/gst/base/gstcollectpads.h:
11375 Add refcounting to the collectpads data so we can track when it's safe
11376 to free the data. Fixes #383382.
11378 2006-12-15 Wim Taymans <wim@fluendo.com>
11380 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11381 (gst_collect_pads_remove_pad):
11382 Automatically activate/deactivate pads when they are added to a
11383 started/stoped collectpads.
11385 2006-12-15 Wim Taymans <wim@fluendo.com>
11387 * gst/gstelement.c: (gst_element_add_pad):
11388 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11389 * gst/gstpad.c: (gst_pad_init):
11390 Set pads to FLUSHING when they are created. Check, warn and fix when a
11391 demuxer adds an inactive pad to itself when running. Fixes #339326.
11393 2006-12-15 Wim Taymans <wim@fluendo.com>
11395 * gst/gstelement.c: (gst_element_class_init),
11396 (gst_element_default_send_event), (gst_element_send_event),
11397 (gst_element_default_query), (gst_element_query):
11398 Expose default element send_event and query handling as vmethods that
11399 subclasses can chain up to.
11401 2006-12-15 Wim Taymans <wim@fluendo.com>
11403 * gst/gstelement.c: (gst_element_set_state_func):
11404 Small documentation fixes.
11406 2006-12-15 Wim Taymans <wim@fluendo.com>
11408 * docs/design/draft-latency.txt:
11409 Checked in draft for handling latency in pipelines.
11411 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11415 * gstreamer.spec.in:
11418 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11420 * gst/gst.c: (init_pre), (init_post):
11421 init_pre() and init_post() might be called via our GOptionGroup or
11422 from gst_init(), and we should skip both of them if we've already
11423 been initialised, otherwise we will init some things twice or add
11424 two default log functions.
11426 2006-12-13 Edward Hervey <edward@fluendo.com>
11428 * docs/manual/basics-bus.xml:
11429 No, gst_main_loop does not exist. Its g_main_loop.
11430 Discovered by somebody who abused the copy-paste technique of coding :)
11432 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11434 * gst/gstghostpad.c:
11435 Log ghostpad debug stuff to the GST_PADS category as well rather
11436 than just to the default category.
11438 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11441 * gst/gst.c: (init_pre):
11442 Add some basic system details such as OS and architecture
11443 to the debug output if possible, courtesy of uname().
11445 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11447 * docs/gst/running.xml:
11448 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11449 environment variables.
11451 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11453 * tests/check/gst/gstbin.c: (GST_START_TEST):
11454 It is acceptable to have a refcount of 2 or 3 at this point in the
11455 test, because the pipeline might be just posting its state_change
11456 message. The next line then waits for that message to appear using
11457 bus_poll, so that should be fine too.
11459 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11461 * gst/gst.c: (ensure_current_registry_forking):
11462 Ignore EINTR when reading from the child registry pipe.
11463 Explicitly ignore the return value from close, since it makes no
11466 * gst/gstminiobject.c: (gst_mini_object_ref),
11467 (gst_mini_object_unref):
11468 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11470 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11471 When removing cached plugins, remove their features too, so they're
11472 not visible after they've disappeared.
11474 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11475 In the unlikely case that we are linking pads with no parents, don't
11476 crash trying to get the non-existent parent bin.
11478 * gst/parse/grammar.y:
11479 Output debug in the PIPELINE category
11481 2005-03-08 Wim Taymans <wim@fluendo.com>
11483 Patch by: René Stadler <mail at renestadler dot de>
11485 * gst/gstclock.c: (gst_clock_new_periodic_id):
11486 Reject invalid clock times for interval of periodic ids.
11489 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11491 * gst/gstelementfactory.c: (gst_element_factory_create):
11492 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11493 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11494 * tools/gst-inspect.c: (print_element_info):
11495 Fix refcounting of gst_plugin_feature_load to match the docs.
11498 2006-12-07 Wim Taymans <wim@fluendo.com>
11500 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11501 (gst_base_sink_get_position):
11502 Improve debugging of events.
11504 2006-12-07 Wim Taymans <wim@fluendo.com>
11506 Patch by: René Stadler <mail at renestadler dot de>
11508 * gst/gstclock.c: (gst_clock_id_wait):
11509 Make period ids add the interval to the origial requested time instead
11510 of the possibly updated time which can be wrong when there are multiple
11511 waiters for the same id. Fixes #382592.
11513 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11514 (gst_system_clock_id_wait_jitter_unlocked),
11515 (gst_system_clock_id_wait_jitter):
11516 Fix restart in the async notify thread when an async entry is added to
11517 the front of the list. Fixes #381492.
11519 * tests/check/gst/gstsystemclock.c: (store_callback),
11520 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11521 Added test for multiple async waits.
11522 Added test for async wait order.
11524 2006-12-07 Wim Taymans <wim@fluendo.com>
11526 * gst/gstbin.c: (gst_bin_query):
11527 Add some more docs about the POSITION query.
11529 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11532 Bump version nano - back to CVS.
11534 === release 0.10.11 ===
11536 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11539 releasing 0.10.11, "Love never runs on time"
11541 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11543 * win32/common/libgstbase.def:
11544 * win32/common/libgstreamer.def:
11545 * win32/vs8/libgstbase.vcproj:
11546 * win32/vs8/libgstcoreelements.vcproj:
11547 * win32/vs8/libgstreamer.vcproj:
11548 Fix compilation on win32 under VS8
11549 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11550 Partially fixes #381175
11552 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11554 * gst/gstvalue.c: (gst_value_compare_fraction):
11555 If someone is foolish enough to compare 2 fractions with denominator =
11556 0, return UNORDERED rather than aborting.
11558 2006-11-28 Edward Hervey <edward@fluendo.com>
11560 * libs/gst/base/Makefile.am:
11561 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11562 (gst_data_queue_base_init), (gst_data_queue_class_init),
11563 (gst_data_queue_init), (gst_data_queue_new),
11564 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11565 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11566 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11567 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11568 (gst_data_queue_set_flushing), (gst_data_queue_push),
11569 (gst_data_queue_pop), (gst_data_queue_drop_head),
11570 (gst_data_queue_set_property), (gst_data_queue_get_property):
11571 * libs/gst/base/gstdataqueue.h:
11572 New GstDataQueue object for threadsafe queueing. Most useful for
11573 elements that need some queueing functionnality.
11574 * docs/libs/gstreamer-libs-docs.sgml:
11575 * docs/libs/gstreamer-libs-sections.txt:
11576 Insert documentation for GstDataQueue
11577 * plugins/elements/Makefile.am:
11578 * plugins/elements/gstelements.c:
11579 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11580 (gst_multi_queue_class_init), (gst_multi_queue_init),
11581 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11582 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11583 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11584 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11585 (gst_multi_queue_loop), (gst_multi_queue_chain),
11586 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11587 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11588 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11589 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11590 (wake_up_next_non_linked), (compute_next_non_linked),
11591 (single_queue_overrun_cb), (single_queue_underrun_cb),
11592 (single_queue_check_full), (gst_single_queue_new):
11593 * plugins/elements/gstmultiqueue.h:
11594 New multiqueue element, using GstDataQueue. Used for queuing multiple
11596 Closes #344639 and #347785
11598 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11600 * docs/pwg/advanced-types.xml:
11601 add more missing type details
11603 * tools/gst-run.c: (main):
11604 remove unused variable
11606 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11608 * docs/libs/Makefile.am:
11609 * docs/libs/gstreamer-libs.types:
11610 add types of base classes to enable gobject specific stuff in the docs
11612 * docs/random/ensonic/embedded.txt:
11613 more ideas about isolating platform specific things
11615 2006-11-20 Wim Taymans <wim@fluendo.com>
11617 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11619 * libs/gst/check/gstcheck.h:
11620 Fix compilation and running against 0.9.4. Fixes #377332.
11622 2006-11-20 Wim Taymans <wim@fluendo.com>
11624 * gst/gstsegment.c: (gst_segment_set_seek),
11625 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11626 (gst_segment_to_running_time):
11627 Fix boundary checking in to_running_time() and to_stream_time().
11630 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11631 stream and running time can now be calculated for the complete
11634 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11636 * gst/gstpad.c: (gst_pad_push_event):
11637 Can't access event structure after giving away ownership of
11640 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11642 * docs/random/ensonic/embedded.txt:
11643 * docs/random/ensonic/profiling.txt:
11644 * docs/random/ensonic/receipies.txt:
11647 2006-11-13 Wim Taymans <wim@fluendo.com>
11649 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11652 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11654 2006-11-13 Wim Taymans <wim@fluendo.com>
11656 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11658 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11659 Store new length in segment duration so we don't keep on calling the
11660 potentially expensize get_size() call. Fixes #370865.
11662 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11664 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11666 * win32/common/libgstreamer.def:
11667 Add two missing symbols (#366492).
11669 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11671 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11672 (gst_adapter_take_buffer):
11673 Fix format string to use all its arguments.
11674 Remove useless >= check on a guint
11676 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11678 * tests/examples/adapter/.cvsignore:
11679 Ignore build file as commanded by the build-bot
11681 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11683 * tests/examples/adapter/Makefile.am:
11684 * tests/examples/adapter/adapter_test.c: (run_test_take),
11685 (run_test_take_buffer), (run_tests), (main):
11687 Add new files from the previous commit
11689 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11693 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11694 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11695 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11696 * libs/gst/base/gstadapter.h:
11697 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11698 (GST_START_TEST), (gst_adapter_suite):
11699 * tests/examples/Makefile.am:
11700 Do some optimisation work in GstAdapter to avoid copies in more cases.
11701 It could still do slightly better by merging buffers when
11702 gst_buffer_is_span_fast is true, but is already faster.
11704 Also, avoid traversing a single-linked list to append each incoming
11705 buffer inside the adapter.
11707 Add simple test app that times the adapter behaviour in different
11708 situations, and extend the unit test to check that bytes enter and
11709 exit the adapter in their original order.
11711 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11713 * docs/random/draft-missing-plugins.txt:
11714 Update: use element message instead of adding a new message
11715 type to the core; don't provide GStreamer API to initiate the
11716 plugin download, just provide API to compose the strings needed
11717 and let an external libgimmestuff handle the rest.
11719 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11721 * tools/gst-inspect.c: (print_element_properties_info):
11722 Print a string instead of 'unknown type' for GValueArray properties
11724 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11726 * docs/random/draft-missing-plugins.txt:
11729 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11731 * tests/examples/typefind/typefind.c: (type_found), (main):
11732 Make typefind element example work again (#371894); add a
11735 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11737 * docs/random/draft-missing-plugins.txt:
11738 Commit initial draft about how to deal with missing plugins,
11739 needs work (API too).
11741 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11743 * docs/pwg/advanced-types.xml:
11744 documents the new caps elements (see #363118)
11746 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11748 * gst/gstplugin.c: (gst_plugin_load_file):
11749 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11750 (gst_file_src_map_region), (gst_file_src_start):
11751 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11752 (gst_file_index_commit):
11753 Use g_strerror() instead of strerror() - we want UTF-8.
11755 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11757 Patch by: Peter Kjellerstedt <pkj at axis com>
11759 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11760 Another printf fix (#371493).
11762 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11764 * tests/check/gst/gsttag.c:
11765 relicence (okay with author=company)
11767 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11769 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11770 (gst_pad_push_event):
11771 Enhance debug and improve docs
11776 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11778 * docs/random/ensonic/distributed.txt:
11779 * docs/random/ensonic/profiling.txt:
11782 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11784 * docs/gst/gstreamer-sections.txt:
11785 add new API and fix the build
11787 * gst/gstbin.c: (gst_bin_recalc_state):
11788 * gst/gstelement.c: (gst_element_message_full),
11789 (gst_element_get_state_func), (gst_element_set_state_func):
11790 use new API and improve logging
11792 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11794 API: add function to get StateChangereturn names to improve logs
11796 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11798 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11799 I'm considering shooting the next person to put strerror stuff
11800 in the translateable part of the message.
11802 2006-11-03 Wim Taymans <wim@fluendo.com>
11804 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11805 Get the type and printf conversion specifiers right.
11807 2006-11-03 Wim Taymans <wim@fluendo.com>
11809 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11811 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11812 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11813 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11814 Some small cleanups. Improve debugging.
11816 Signal all waiting threads with a broadcast instead of just one.
11819 2006-11-03 Wim Taymans <wim@fluendo.com>
11821 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11822 (gst_fd_src_create):
11823 Add some debugging.
11824 Only update fd when it's different from the old.
11826 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11828 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11829 Printf fixes for PPC/OSX, take two (#369366).
11831 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11833 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11835 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11836 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11837 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11838 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11839 don't cast to long long for portability reasons, but use
11840 GLib's types instead.
11842 2006-10-30 Michael Smith <msmith@fluendo.com>
11844 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11845 Get the arguments to lseek() the right way around.
11848 2006-10-30 Wim Taymans <wim@fluendo.com>
11850 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11853 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11855 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11857 Patch by: Kjartan Maraas <kmaraas at gnome org>
11859 * docs/design/part-MT-refcounting.txt:
11860 * docs/random/wtay/capsnego2-docs:
11863 Typo fixes (#366212).
11865 2006-10-28 Wim Taymans <wim@fluendo.com>
11867 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11870 * win32/common/libgstbase.def:
11871 * win32/common/libgstreamer.def:
11872 * win32/vs8/libgstbase.vcproj:
11873 * win32/vs8/libgstcontroller.vcproj:
11874 Add needed entries in .def files.
11876 Rearrange def files in vs8 solutions. Fixes #366286.
11878 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11880 * win32/common/gstconfig.h:
11881 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11882 hand-made win32 gstconfig.h. Fixes #366321.
11884 2006-10-27 Wim Taymans <wim@fluendo.com>
11886 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11887 (gst_ghost_pad_new_full):
11888 Make acceptcaps return TRUE when we don't have a target, just like
11891 2006-10-27 Wim Taymans <wim@fluendo.com>
11893 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11894 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11896 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11898 * gst/gststructure.c: (gst_structure_id_set_value):
11899 If someone tries to set a non-UTF8 string field on a structure,
11900 don't just print a warning, but also ignore the request and do
11901 not change/add that field to the structure.
11903 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11904 Test for the above.
11906 2006-10-25 David Schleef <ds@schleef.org>
11909 g_hash_table_insert() needs a cast to a non-const pointer duh.
11911 2006-10-25 David Schleef <ds@schleef.org>
11915 Change name parameter of _gst_debug_register_funcptr to const
11916 to reflect the constness of its use in the function as well
11917 as to quiet a gcc warning.
11919 2006-10-25 Edward Hervey <edward@fluendo.com>
11921 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11922 Don't push the buffer if it's empty.
11925 2006-10-24 Wim Taymans <wim@fluendo.com>
11930 * libs/gst/base/gstbasetransform.c:
11931 (gst_base_transform_sink_eventfunc):
11932 Debug segment values *after* updating them as this is more
11935 2006-10-23 Wim Taymans <wim@fluendo.com>
11937 * docs/design/part-events.txt:
11940 * docs/design/part-block.txt:
11941 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11942 (gst_pad_push_event):
11943 Revert BLOCKING patch, it tries to be smart without really having a
11944 clear idea what or how. So, now we discard all FLUSHING events again on
11945 a blocking pad. Should fix gnonlin again.
11947 2006-10-23 Wim Taymans <wim@fluendo.com>
11949 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11951 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11952 (gst_base_src_start), (gst_base_src_activate_push):
11953 Make sure size is always initialized. Fixes #364388.
11955 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11957 * docs/random/ensonic/distributed.txt:
11958 add some ideas about doing distributed processing
11960 * docs/random/ensonic/profiling.txt:
11961 get_rusage look promising
11963 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11965 * docs/manual/basics-helloworld.xml:
11966 Add a cast in example to fix compile warning
11968 2006-10-18 Wim Taymans <wim@fluendo.com>
11970 * gst/gstsegment.c: (gst_segment_set_last_stop),
11971 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11972 Relax arg checking again, -1 is allowed.
11974 2006-10-18 Wim Taymans <wim@fluendo.com>
11976 * gst/gstsegment.c: (gst_segment_set_last_stop),
11977 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11978 _set_last_stop() must be with a value != -1
11979 A _TYPE_SET to -1 means seek to 0.
11980 Calc last_stop correctly for negative rates.
11981 Make sure we work with positive durations when updating a segment.
11983 2006-10-18 Wim Taymans <wim@fluendo.com>
11985 * docs/design/part-live-source.txt:
11989 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11992 Add an explicit cast to GstBuffer** to keep old code that added an
11993 explicit cast to GstMiniObject** for gst_mini_object_replace()
11994 compiling without warning.
11996 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11998 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11999 check for validity of dates
12001 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
12003 * docs/gst/gstreamer-sections.txt:
12004 Forgot this one, makes gtk-doc shut up.
12006 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
12008 Patch by: Peter Kjellerstedt <pkj at axis com>
12011 Don't define xmlNodePtr to gpointer if the core was built with
12012 --disable-loadsave and --disable-registry, this will break
12013 applications that want to use libxml2 but are buildling against a
12014 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
12015 instead so we don't have to mess with the libxml2 namespace
12018 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
12021 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
12022 type-punned pointer warnings.
12024 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
12026 * gst/gstelement.h:
12027 Add casts to the correct return type to state <=> state transition
12030 2006-10-16 Stefan Kost <ensonic@users.sf.net>
12032 * docs/design/part-live-source.txt:
12033 describe howto handle latency
12035 * docs/random/ensonic/profiling.txt:
12038 * tools/gst-plot-timeline.py:
12039 fix log parsing for solaris, remove unused function
12041 2006-10-16 Wim Taymans <wim@fluendo.com>
12043 * docs/design/part-trickmodes.txt:
12045 Update some docs regarding reverse playback.
12047 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
12049 Patch by: Marcus Granado <mrc dot gran at gmail com>
12051 * win32/vs8/grammar.vcproj:
12052 Error out with a warning if glib-genmarshal.exe is not in path,
12053 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12055 2006-10-13 Wim Taymans <wim@fluendo.com>
12057 * gst/gstsegment.c: (gst_segment_set_seek):
12058 When seeking to stop -1, set last_stop (current position) to the
12059 duration of the segment.
12061 2006-10-13 Wim Taymans <wim@fluendo.com>
12063 * gst/gstelement.h:
12064 Clarify _NO_PREROLL a bit more.
12069 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12070 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12071 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12072 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12073 due to wrong locking order. Fixes #361769.
12074 Remove some redundant/misplaced checks in pad_block.
12076 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12077 For negative rates, count backwards from the duration.
12079 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
12081 * gst/gsterror.c: (_gst_library_errors_init):
12082 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12083 up with something better).
12085 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12087 * win32/vs6/libgstreamer.dsp:
12088 * win32/vs7/libgstreamer.vcproj:
12089 * win32/vs8/libgstreamer.vcproj:
12090 Don't reference glib-compat.c which is currently not used and not
12091 disted; add gstquark.c which was recently added. Fixes #361730.
12093 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
12095 * win32/common/libgstbase.def:
12096 * win32/common/libgstcontroller.def:
12097 * win32/common/libgstreamer.def:
12098 Add gst_caps_merge() and a bunch of other recently-added functions.
12101 2006-10-11 Wim Taymans <wim@fluendo.com>
12103 * docs/plugins/gstreamer-plugins.args:
12104 * docs/plugins/inspect/plugin-coreelements.xml:
12105 * docs/plugins/inspect/plugin-coreindexers.xml:
12106 Update element args.
12108 * gst/gstsystemclock.c:
12109 Small comment update.
12111 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12112 (gst_tee_request_new_pad), (gst_tee_release_pad),
12113 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12114 (gst_tee_sink_activate_pull):
12115 * plugins/elements/gsttee.h:
12117 Add default property defines.
12118 Implement release pad function.
12119 Give properties better blubs etc.
12120 Activate pads before adding them to a running tee.
12121 Do simple buffer_alloc on the first requested pad.
12122 Post error when activation fails.
12124 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12126 * gst/gst.c: (ensure_current_registry_forking):
12127 Check return value of write() to make compiler happy.
12129 2006-10-11 Wim Taymans <wim@fluendo.com>
12131 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12133 * plugins/elements/gstqueue.c: (gst_queue_chain):
12134 Recheck queue filledness after signalling the overrun when we're about
12135 to leak downstream because we released the lock when emitting the signal
12136 and the queue could be empty again. Fixes #352345.
12138 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12140 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12141 Fix refcounting here too, just like we did for _new_valist() a few
12142 days ago (#357180) (thanks to René Stadler). Also remove all those
12143 'Since: 0.9' from the gtk-doc blobs.
12145 * tests/check/libs/controller.c: (controller_refcount_new_list),
12146 (gst_controller_suite):
12147 Unit test for the above.
12149 2006-10-10 Wim Taymans <wim@fluendo.com>
12151 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12153 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12154 (gst_pad_save_thyself):
12156 Write pad direction in XML output. Fixes #345496.
12158 2006-10-10 Wim Taymans <wim@fluendo.com>
12160 Patch by: René Stadler <mail at renestadler dot de>
12162 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12163 (gst_controller_new_list), (_gst_controller_dispose),
12164 (_gst_controller_finalize), (_gst_controller_class_init):
12165 Take ref to controlled object so that it cannot disappear.
12168 2006-10-10 Wim Taymans <wim@fluendo.com>
12170 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12171 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12172 (gst_check_teardown_sink_pad):
12173 Activate/deactivate pads in setup/teardown respectively.
12175 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12177 Patch by: Josep Torra Valles <josep@fluendo.com>
12180 Cast values when making gstenumtypes.h. This pacifies Forte
12181 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12182 in the enumeration.
12184 2006-10-09 Wim Taymans <wim@fluendo.com>
12186 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12187 Rename some more @cur to @start to fix docs.
12189 * gst/gstsegment.c: (gst_segment_set_seek):
12191 time and start must always stay in sync as defined in design doc.
12193 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12194 Rename param to fix docs.
12196 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12197 Check that start and time are in sync.
12199 * tests/check/pipelines/parse-launch.c:
12200 (gst_parse_test_element_change_state):
12201 Activate pad before adding to the element.
12203 2006-10-09 Wim Taymans <wim@fluendo.com>
12205 * docs/design/part-qos.txt:
12210 Update seek event docs regarding negative rates.
12211 Rename @cur to @start.
12213 * gst/gstsegment.c: (gst_segment_set_seek):
12214 * gst/gstsegment.h:
12215 Update set_seek docs regarding negative rates.
12216 Correctly update last_stop to @stop when dealing with negative
12218 Rename @cur to @start.
12220 * tests/check/gst/gstpad.c: (GST_START_TEST):
12221 Activate pads before trying to use them.
12223 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12224 (gst_segment_suite):
12225 Add simple check for segments and negative rates.
12227 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12229 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12230 * gst/gsttaglist.h:
12231 * docs/gst/gstreamer-sections.txt:
12232 API: add gst_tag_list_is_empty() (#360467).
12234 * tests/check/gst/gsttag.c: (GST_START_TEST):
12237 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12239 * gst/gstmessage.h:
12240 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12241 a value that doesn't fit on enumeration.
12243 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12245 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12246 Remove local debugging system and use Gstreamer's instead.
12248 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12250 Patch by: Josep Torra Valles <josep@fluendo.com>
12252 * common/m4/gst-error.m4:
12253 Disable warning of statement not reached on Forte.
12254 * gst/gstmessage.h:
12255 Fix warning on Forte (value doesn't fit on enumeration).
12256 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12257 Fix warning on Forte (value doesn't fit on enumeration).
12258 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12259 DEBUG macro says it takes minimum of 2 args and so Forte
12260 complains about the use with just 1 arg.
12261 * plugins/elements/gstfdsink.c:
12262 * plugins/elements/gstfdsrc.c:
12263 * plugins/elements/gstfilesink.c:
12264 * plugins/elements/gstfilesrc.c:
12265 Use correct return type for the uri handler implementations.
12267 All these fix warnings in Forte. Fixes bug #360860.
12269 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12271 * gst/gstelement.h:
12272 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12273 format string, so don't use G_GNUC_PRINTF for those versions.
12275 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12277 * gst/gsttaglist.c: (gst_is_tag_list):
12278 * gst/gsttaglist.h:
12279 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12281 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12282 Small test for the above.
12284 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12286 * gst/gsttaglist.h:
12287 Less tabs, more spaces.
12289 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12292 Those two function declarations do actually belong there, revert
12293 commit from yesterday that turned them intro macros.
12295 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12297 Patch by: Josep Torra Valles <josep@fluendo.com>
12299 * gst/gst.c: (gst_init_get_option_group):
12300 Fix empty declaration and type mismatch.
12301 * gst/gstbin.c: (gst_bin_change_state_func):
12303 * gst/gstelement.c: (gst_element_continue_state),
12304 (gst_element_set_state_func), (gst_element_change_state),
12305 (gst_element_change_state_func):
12306 Fix type mismatches.
12307 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12308 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12309 Cast as appropriate.
12310 * gst/gstobject.c: (gst_class_signal_connect):
12311 Cast as appropriate. The function pointer parameter really
12312 has the wrong type but would break API if we change it.
12314 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12315 order of including string.h.
12316 * gst/gstutils.c: (gst_element_state_get_name):
12317 Remove unreachable line.
12318 * gst/gstxml.c: (gst_xml_parse_doc):
12320 All these caught by Forte.
12322 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12324 Patch by: Josep Torra Valles <josep@fluendo.com>
12326 * common/m4/gst-error.m4:
12328 We need to disable warnings on Forte for empty declarations
12329 due to gst-indent adding ;s to lines that just use macros
12330 where the macro actually doesn't need a ; at end to end
12333 2006-10-06 Wim Taymans <wim@fluendo.com>
12335 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12336 (gst_file_sink_close_file), (gst_file_sink_event),
12337 (gst_file_sink_render):
12338 Add some FIXME for the NEWSEGMENT handling.
12340 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12342 * gst/parse/grammar.y:
12343 Remove static function gst_parse_element_lock as all it does
12344 is return. Looks like cruft from 0.8.
12346 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12348 Patch by: Josep Torra Valles <josep@fluendo.com>
12350 * common/m4/gst-error.m4:
12352 * libs/gst/net/Makefile.am:
12353 Fix a compilation issue with Forte on Solaris. inet_aton is in
12356 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12358 * gst/gstpad.c: (pre_activate):
12359 * gst/gstregistry.c: (gst_registry_scan_path_level):
12360 * gst/gstregistryxml.c: (load_plugin):
12361 * libs/gst/controller/gstcontroller.c:
12362 (gst_controlled_property_set_interpolation_mode):
12363 * libs/gst/dataprotocol/dataprotocol.c:
12364 (gst_dp_packet_from_event_1_0):
12365 * libs/gst/net/gstnetclientclock.c:
12366 (gst_net_client_clock_observe_times):
12367 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12370 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12373 * docs/gst/gstreamer-sections.txt:
12374 * gst/gstconfig.h.in:
12375 * gst/gstelement.h:
12377 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12378 whether we can use G_GNUC_PRINTF in other header files and at
12379 least check the printf format/arguments of debug messages and
12380 GST_ELEMENT_ERROR messages when the printf extension is not
12382 Replace more tabs with spaces in gstinfo.h and remove two spurious
12383 function declarations in GST_DISABLE_DEBUG part with macros.
12385 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12387 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12388 More docs for the sync-message signal (mention that it is not
12389 emitted by default); log message structures of messages posted on
12392 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12394 * gst/gst.c: (ensure_current_registry_forking):
12395 Use a pipe pair to receive status results from the forked child, and
12396 ignore the result from waitpid. Fixes #355499
12398 2006-10-02 Wim Taymans <wim@fluendo.com>
12400 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12401 (gst_ghost_pad_suite):
12404 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12407 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12409 2006-10-02 Edward Hervey <edward@fluendo.com>
12411 * docs/design/part-block.txt:
12412 Further explain the use of flushing on blocked pads.
12413 * docs/gst/gstreamer-sections.txt:
12414 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12415 (gst_pad_push_event):
12417 Added new GstPadFlag : GST_PAD_BLOCKING.
12418 Adds the notion of pads really blocking, which enables to properly
12419 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12421 API: gst_pad_is_blocking()
12422 API: GST_PAD_IS_BLOCKING() macro
12423 API: GST_PAD_BLOCKING GstPadFlag
12425 2006-10-02 Wim Taymans <wim@fluendo.com>
12427 Patch by: mrcgran <mrc.gran at gmail dot com>
12429 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12430 Filter the proxied caps against the padtemplate if we have one.
12432 * gst/gstquery.c: (gst_query_new_segment):
12433 Add include for gstinfo.h so that compilation with
12434 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12436 2006-10-02 Wim Taymans <wim@fluendo.com>
12438 Patch by: Alessandro Decina <alessandro at nnva org>
12440 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12441 (gst_file_sink_set_location), (gst_file_sink_open_file),
12442 (gst_file_sink_close_file), (gst_file_sink_event),
12443 (gst_file_sink_render):
12444 Set file to NULL when closing filesink so that we can set a new filename
12445 in READY. Fixes #358613.
12447 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12449 Patch by: Alessandro Decina <alessandro at nnva org>
12451 * gst/gstevent.c: (_gst_event_copy):
12452 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12453 with event structures by setting the parent refcount address of the
12454 copied structure to the address of the refcount member of the newly
12455 copied event rather than the address of the refcount member of the
12456 original event. Fixes #358737.
12458 * tests/check/gst/gstevent.c: (GST_START_TEST):
12459 Unit test for the above.
12461 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12463 * docs/design/Makefile.am:
12464 Dist some more files.
12466 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12468 * tests/check/libs/controller.c: (GST_START_TEST),
12469 (gst_controller_suite):
12470 Add test for the previous fix; add some more tests
12471 for correct refcounting behaviour; fix a few leaks
12472 in test cases; call gst_controller_init() at start
12475 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12477 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12478 (gst_controller_set_from_list):
12479 Don't g_return_val_if_fail() on timed values with invalid timestamps
12480 inside a critical section without unlocking the mutex. Spotted by
12481 René Stadler. (#357617)
12482 Also, fix up refcounting properly: when returning an existing
12483 controller, we should increase the reference only once and not
12484 once per property and when trying to control a property again
12485 we should also increase the refcount.
12487 2006-09-29 Wim Taymans <wim@fluendo.com>
12489 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12490 * libs/gst/net/gstnettimeprovider.c:
12491 (gst_net_time_provider_thread):
12492 Stop reading commands when EOF as well.
12494 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12495 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12496 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12497 Unify description of the dump property.
12499 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12501 * tests/examples/manual/.cvsignore:
12502 OK, so it's actually cvsignore that needs changing. Stop laughing.
12504 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12506 * tests/examples/manual/Makefile.am:
12507 Gah, declare vars *before* using them
12509 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12511 * gst/gst.c: (init_pre), (scan_and_update_registry),
12512 (ensure_current_registry_nonforking),
12513 (ensure_current_registry_forking), (ensure_current_registry),
12514 (init_post), (gst_debug_help), (gst_deinit):
12515 * gst/gst_private.h:
12516 * gst/gstregistry.c: (gst_registry_finalize),
12517 (gst_registry_remove_features_for_plugin_unlocked),
12518 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12519 (gst_registry_scan_path),
12520 (_priv_gst_registry_remove_cache_plugins),
12521 (_priv_gst_registry_cleanup):
12522 * gst/gstregistry.h:
12523 Re-commit the registry changes, along with an extra fix:
12524 When a cached plugin is encountered at a different file path,
12525 update the stored path in the registry cache so that the parent
12526 process knows where it actually is now when it re-reads the registry
12527 cache. Fixes the thing that broke distcheck with the previous commit.
12529 * tests/check/Makefile.am:
12530 Clean up files named 'core' too when running make clean.
12532 * tests/examples/manual/Makefile.am:
12533 Set up a registry path for running these tests, and clean it properly
12536 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12539 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12540 want gmodule-no-export-2.0.pc instead so that we don't drag in
12541 --export-dynamic on every project that links to GStreamer.
12543 Also, make our export regex only match the start of symbols, rather
12544 than any symbol that contains '_gst' somewhere.
12546 * libs/gst/check/Makefile.am:
12547 The libgstcheck we build does however need export-dynamic, as it
12548 produces some symbols that don't match our _gst... style regex.
12551 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12553 * gst/gst.c: (init_pre), (scan_and_update_registry),
12554 (ensure_current_registry_nonforking),
12555 (ensure_current_registry_forking), (ensure_current_registry),
12556 (init_post), (gst_debug_help), (gst_deinit):
12557 * gst/gst_private.h:
12558 * gst/gstregistry.c: (gst_registry_finalize),
12559 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12560 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12561 (_gst_registry_cleanup):
12562 * gst/gstregistry.h:
12563 Revert previous change until I figure out why it breaks distcheck.
12565 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12567 * gst/gst.c: (init_pre), (scan_and_update_registry),
12568 (ensure_current_registry_nonforking),
12569 (ensure_current_registry_forking), (ensure_current_registry),
12570 (init_post), (gst_debug_help), (gst_deinit):
12572 Make init_pre and init_post take the full complement of GOptionFunc
12573 args so they can return useful GErrors. Make the registry updating
12576 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12577 ensure that the registry we're about to write out doesn't contain
12578 stale information about old-deleted plugin files.
12580 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12581 that deletion of plugin files is considered a registry change.
12583 * gst/gst_private.h:
12584 * gst/gstregistry.c: (gst_registry_finalize),
12585 (gst_registry_remove_features_for_plugin_unlocked),
12586 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12587 (gst_registry_scan_path),
12588 (_priv_gst_registry_remove_cache_plugins),
12589 (_priv_gst_registry_cleanup):
12590 * gst/gstregistry.h:
12591 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12592 by adding _priv prefix, so that they won't appear in the global
12593 symbol table. They still do atm though because of #318031. Move the
12594 prototypes to gst_private.h
12596 When removing a plugin, remove all features for that plugin too.
12599 2006-09-27 Wim Taymans <wim@fluendo.com>
12601 * docs/random/moving-plugins:
12602 Make it clear that the "compiled-in descriptions" really mean
12603 the element details.
12605 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12606 (gst_base_sink_wait_preroll):
12609 * docs/libs/gstreamer-libs-sections.txt:
12610 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12611 (gst_base_src_get_range), (gst_base_src_activate_push):
12612 * libs/gst/base/gstbasesrc.h:
12613 Added function to block while waiting for PLAYING, this function
12614 is used by live sources that block on the clock.
12615 API: gst_base_src_wait_playing()
12617 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12619 Patch by: Peter Kjellerstedt <pkj at axis com>
12622 gst-element-check.m4 is generated and should therefore be
12623 copied from the build dir rather than the source dir (#357593).
12624 'make distcheck' hasn't noticed this because we were disting
12625 the file as well, so stop doing that.
12627 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12629 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12630 Add some tests for gst_caps_intersect().
12632 * tools/gst-launch.c: (event_loop):
12633 Print all buffering percentages we get, even the 100% one.
12635 2006-09-26 Wim Taymans <wim@fluendo.com>
12637 * tools/gst-inspect.c: (print_element_properties_info),
12638 (print_signal_info):
12639 Fix printing of flags to match the look of enums.
12641 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12643 * gst/gstelementfactory.c:
12644 Fix typo in docs blurb.
12646 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12648 * gst/gsturi.c: (search_by_entry):
12649 Don't assert/crash here if a uri handler doesn't return any
12650 supported protocols. The list of protocols could be generated
12651 dynamically at runtime or at plugin registration, and an error
12652 in the underlying library shouldn't be fatal (#353301).
12654 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12657 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12658 (spotted by Peter Kjellerstedt).
12660 2006-09-23 Wim Taymans <wim@fluendo.com>
12662 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12664 * libs/gst/base/gstbasesrc.c:
12665 (gst_base_src_default_check_get_range), (gst_base_src_start),
12666 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12667 (gst_base_src_change_state):
12668 Match _start/_stop calls in the activate functions. Remove redundant
12669 _stop call from the state change function. Fixes #356910.
12670 Turn failure DEBUG into ERROR.
12672 2006-09-22 Wim Taymans <wim@fluendo.com>
12674 * docs/design/part-buffering.txt:
12675 * gst/gstmessage.c: (gst_message_new_buffering),
12676 (gst_message_parse_buffering):
12677 Update docs about buffering.
12679 * docs/design/part-trickmodes.txt:
12682 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12684 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12685 (gst_controller_new_list):
12686 Ref instances when returning them again (fixes #357180)
12688 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12690 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12691 Don't forget to release proxy lock when there's an error.
12693 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12696 Add extra initialisers for Caps things, to fix some plugin warnings
12699 2006-09-18 Wim Taymans <wim@fluendo.com>
12701 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12702 Also set template on the internal pad so that a getcaps from the
12703 target pad returns the template caps.
12705 2006-09-18 Wim Taymans <wim@fluendo.com>
12707 * gst/gstelement.c: (gst_element_post_message),
12708 (gst_element_dispose):
12709 Use _DEBUG_OBJECT some more.
12711 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12714 * tools/gst-launch.c: (main):
12715 If the toplevel element is not a GstPipeline, it must be put in a
12716 pipeline so that a bus and clock is selected.
12718 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12720 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12721 JITTER, RATE, and LATENCY query should be handled by the
12722 default case and not by the CONVERT query code.
12724 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12726 * gst/gstformat.c: (gst_format_register):
12727 Fix locking order (must take lock before using n_values).
12729 * gst/gstvalue.c: (gst_value_serialize_enum),
12730 (gst_value_deserialize_enum_iter_cmp),
12731 (gst_value_deserialize_enum):
12732 Fix serialisation/deserialisation of custom registered GstFormats.
12734 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12735 Unit test for custom format serialisation/deserialisation.
12737 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12739 * docs/pwg/building-boiler.xml:
12740 * plugins/elements/gstcapsfilter.c:
12741 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12744 2006-09-16 Edward Hervey <edward@fluendo.com>
12746 * libs/gst/base/gstbasetransform.c:
12747 (gst_base_transform_buffer_alloc):
12748 Check if requested caps are the same as the sinks caps IF
12749 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12751 This fixes the renegotiation issues stated in #352827.
12753 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12756 * docs/manual/advanced-autoplugging.xml:
12757 * tests/examples/Makefile.am:
12758 * tests/examples/manual/.cvsignore:
12759 * tests/examples/manual/Makefile.am:
12760 * tests/examples/manual/extract.pl:
12761 Extract the manual examples again like we used to do.
12764 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12766 * win32/common/config.h:
12769 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12772 Documents how to receive errors.
12774 2006-09-15 Wim Taymans <wim@fluendo.com>
12776 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12777 (event_loop), (main):
12778 Added some comments here and there.
12779 Post an application message when an interrupt is caught instead of doing
12780 an uncontrolled state change.
12781 Clean up the event loop.
12782 Handle buffering messages, pause/resume the pipeline.
12783 Make shutdown because of an interrupt more reliable.
12785 2006-09-15 Wim Taymans <wim@fluendo.com>
12787 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12788 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12789 (gst_base_sink_preroll_object):
12790 Make sure that our internal state is correct when we commit our state
12791 asynchronously. This solves a race where a state change to PLAYING
12792 could cause the sink to remain blocked in preroll in some situations.
12794 2006-09-15 Wim Taymans <wim@fluendo.com>
12796 * tools/gst-inspect.c: (print_element_properties_info),
12797 (print_signal_info):
12798 List flags as hex so it's easier to deal with.
12800 2006-09-15 Wim Taymans <wim@fluendo.com>
12802 * docs/libs/gstreamer-libs-sections.txt:
12803 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12804 (gst_base_sink_do_sync):
12805 * libs/gst/base/gstbasesink.h:
12806 Expose logic to wait for preroll so that subclasses such as audiosink
12807 can also use this method.
12808 API: gst_base_sink_wait_preroll()
12810 2006-09-15 Wim Taymans <wim@fluendo.com>
12812 * gst/gstobject.c: (gst_object_set_parent):
12813 * gst/gstpipeline.c: (do_pipeline_seek):
12814 Small cleanups in docs and code.
12816 * gst/gstsegment.c: (gst_segment_clip):
12817 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12818 if stop == start and start is in the segment, no clipping should be
12819 done. Also add a test for this.
12821 2006-09-15 Wim Taymans <wim@fluendo.com>
12823 * docs/design/part-buffering.txt:
12824 * docs/gst/gstreamer-sections.txt:
12825 * gst/gstmessage.c: (gst_message_new_buffering),
12826 (gst_message_parse_buffering):
12827 * gst/gstmessage.h:
12828 Added methods to create and parse BUFFERING messages.
12829 Added preliminary docs about buffering.
12830 API: gst_message_new_buffering
12831 API: gst_message_parse_buffering
12833 2006-09-06 Wim Taymans <wim@fluendo.com>
12836 Update documentation.
12838 * gst/gstelement.c: (gst_element_class_init),
12839 (gst_element_release_request_pad), (gst_element_set_clock),
12840 (gst_element_get_index), (gst_element_add_pad),
12841 (gst_element_remove_pad), (gst_element_get_random_pad),
12842 (gst_element_send_event), (gst_element_get_query_types),
12843 (gst_element_query), (gst_element_post_message),
12844 (gst_element_message_full), (gst_element_continue_state),
12845 (gst_element_lost_state), (gst_element_save_thyself),
12846 (gst_element_restore_thyself):
12847 Documentation updates.
12848 Rename last bit of the new-pad -> pad-added signal rename.
12849 Fix the case where an element query would only work if the source
12851 Avoid some useless type checking in message handling.
12856 Documentation updates.
12858 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12860 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12861 add an INFO line for when we actually update the fd
12863 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12868 === release 0.10.10 ===
12870 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12873 releasing 0.10.10, "Pais"
12875 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12877 * docs/manual/advanced-position.xml:
12878 Fix typo in sample code.
12880 2006-09-05 Wim Taymans <wim@fluendo.com>
12882 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12883 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12884 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12885 * libs/gst/net/gstnetclientclock.h:
12886 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12887 * libs/gst/net/gstnettimepacket.h:
12888 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12889 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12890 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12891 * libs/gst/net/gstnettimeprovider.h:
12892 Make stuff compile on windows. Fixes #345295.
12894 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12896 * gst/gst.c: (ensure_current_registry_forking):
12897 Print better details when child was terminated by signal.
12899 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12901 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12902 Print a warning rather than g_assert() if a plugin feature
12903 is a URI handler but returns no protocols (#353976).
12905 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12907 * docs/random/moving-plugins:
12910 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12912 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12913 Fix locking order, handle NULL function values properly.
12918 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12919 Initialise variable before using it and fix debug statement to
12920 print the address of the function rather than the address of the
12921 variable on the stack holding the address of the function.
12923 2006-09-01 Wim Taymans <wim@fluendo.com>
12925 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12926 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12927 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12928 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12929 (gst_ghost_pad_parent_unset),
12930 (gst_ghost_pad_internal_do_activate_push),
12931 (gst_ghost_pad_internal_do_activate_pull),
12932 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12933 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12934 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12935 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12936 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12937 (gst_ghost_pad_new_no_target_from_template),
12938 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12940 Avoid needless typechecking in macros.
12941 Since the internal pad is always present and never changes, there is
12942 no need to locking or ref when retrieving it.
12943 Improve debugging a bit.
12944 Handle link errors when setting the target. Fixes #341029.
12946 2006-09-01 Wim Taymans <wim@fluendo.com>
12948 * docs/libs/gstreamer-libs-sections.txt:
12949 * docs/plugins/gstreamer-plugins-sections.txt:
12950 Fix docs some more.
12952 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12953 (gst_collect_pads_event):
12954 * libs/gst/base/gstcollectpads.h:
12955 Documentation updates.
12956 Free queued buffer when removing a pad.
12958 2006-08-31 Michael Smith <msmith@fluendo.com>
12960 * gst/gstutils.c: (gst_element_link_pads),
12961 (gst_element_link_pads_filtered):
12962 Ensure that we set a capsfilter to NULL if we failed to link it
12963 when doing filtered linking, to avoid criticals.
12965 No need to check for unreffing srcpad, which is explicly NULLed
12966 above (a trivial code cleanup).
12968 2006-08-31 Wim Taymans <wim@fluendo.com>
12970 * docs/design/part-gstghostpad.txt:
12971 Update ascii art in documentation.
12973 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12974 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12975 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12976 (gst_ghost_pad_internal_do_activate_push),
12977 (gst_ghost_pad_internal_do_activate_pull),
12978 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12979 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12980 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12981 (gst_ghost_pad_set_target):
12982 Small cleanups and leak fixes.
12983 Remove some checks now that the internal pad is never NULL.
12984 Fix the case where linking pads without a target would create nasty
12985 criticals. Fixes #341029.
12986 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12987 value of _set_target().
12989 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12990 (gst_ghost_pad_suite):
12991 Some more tests for creating and linking untargeted ghostpads.
12993 2006-08-31 Edward Hervey <edward@fluendo.com>
12995 * docs/gst/gstreamer-sections.txt:
12996 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12997 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12998 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12999 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
13000 (gst_ghost_pad_new_from_template),
13001 (gst_ghost_pad_new_no_target_from_template):
13002 * gst/gstghostpad.h:
13003 Refactored *_new() functions.
13004 Templates are now used as a g_object_new() parameter.
13005 Use template in _do_getcaps() if we don't have a target.
13006 Small documentation cleanups.
13007 Added two new constructors:
13008 gst_ghost_pad_new_from_template()
13009 gst_ghost_pad_new_no_target_from_template()
13010 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
13011 (gst_ghost_pad_suite):
13012 Added tests for new ghostpad instanciation functions.
13014 API additions: gst_ghost_pad_new_from_template,
13015 gst_ghost_pad_new_no_target_from_template
13017 2006-08-30 Stefan Kost <ensonic@users.sf.net>
13019 * docs/random/ensonic/profiling.txt:
13020 Ideas about qos profiling.
13022 2006-08-29 Wim Taymans <wim@fluendo.com>
13024 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
13028 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
13031 Improve and detypofy docs.
13033 * tests/check/Makefile.am:
13034 * tests/check/gst/.cvsignore:
13035 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
13036 Add a basic test suite for GstXML.
13038 2006-08-29 Wim Taymans <wim@fluendo.com>
13040 * gst/gstelement.c: (activate_pads), (clear_caps),
13041 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13042 Clear the pad caps when the element shut down all of the pads and
13043 is not streaming data that could modify the caps.
13046 2006-08-28 Michael Smith <msmith@fluendo.com>
13048 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13049 Revert previous change; I misunderstood single-segment mode.
13051 2006-08-28 Michael Smith <msmith@fluendo.com>
13053 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13054 Unset DISCONT on buffers when using single-segment mode.
13056 2006-08-28 Wim Taymans <wim@fluendo.com>
13058 * gst/gstcaps.c: (gst_caps_merge_structure):
13060 Fix docs and indentation again.
13062 * tests/check/gst/gstquery.c: (GST_START_TEST):
13063 Fix leak in tests and add some more tests.
13065 2006-08-28 Edward Hervey <edward@fluendo.com>
13067 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13068 Inform GstSegment of the last stop position in order for the current
13069 segment to have a proper duration if it doesn't have a specific stop
13070 position from which a duration could be calculated.
13071 This bug was noticeable when a non-flushing, non-update new segment was
13072 followed by another segment (all buffers from the new segment were being
13075 2006-08-28 Wim Taymans <wim@fluendo.com>
13077 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13078 Small comment update.
13080 * plugins/elements/gstidentity.c: (gst_identity_class_init),
13081 (gst_identity_transform_ip):
13082 Drop-probability is broken, mention this in the code with a
13083 FIXME and also in the property description.
13084 Make silent also be silent about the drop messages.
13086 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
13088 * docs/manual/appendix-win32.xml:
13089 Remove mention of popt, we don't depend on that any
13090 longer (#353136). Add some comments pointing out that
13091 this section is slightly outdated.
13093 2006-08-28 Wim Taymans <wim@fluendo.com>
13095 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13097 * gst/gstquery.c: (gst_query_new_segment):
13098 * tests/check/gst/gstquery.c: (GST_START_TEST):
13099 Initialize variables when creating a new segment query.
13102 2006-08-28 Wim Taymans <wim@fluendo.com>
13104 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13106 * gst/gstelement.c: (gst_element_get_bus):
13107 * tests/check/gst/gstelement.c: (GST_START_TEST):
13108 Check for NULL before _reffing the bus. Fixes #353122.
13110 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13112 * docs/manual/basics-bus.xml:
13113 Docs update: fix wrong callback return value explanation; add
13114 some lines about the implicit relationship between main loop
13115 and main context; remove duplicate main loop variable declaration.
13117 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13119 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13120 Don't leak caps in unit test; add a few more simple
13123 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13125 * docs/gst/gstreamer-sections.txt:
13126 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13127 (gst_caps_structure_is_subset), (gst_caps_merge),
13128 (gst_caps_merge_structure):
13130 * libs/gst/base/gstbasetransform.c:
13131 (gst_base_transform_transform_caps):
13132 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13133 implement caps merging (fixes #352580)
13135 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13137 * tools/Makefile.am:
13138 * tools/gst-plot-timeline.py:
13139 add debug-log plotting developer tool (#340674)
13141 2006-08-23 Wim Taymans <wim@fluendo.com>
13143 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13144 (gst_pad_stop_task):
13145 Improve debugging for task functions.
13147 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13148 (gst_task_start), (gst_task_pause), (gst_task_join):
13149 Make sure that the task function started and finished after a
13151 Don't try to push the task function on the threadpool multiple
13153 Improve the g_warning message with some useful suggestions
13154 about how to fix the problem.
13156 2006-08-23 Wim Taymans <wim@fluendo.com>
13158 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13159 Handle RESYNC correctly in _proxy_getcaps.
13161 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13163 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13164 (gst_xml_parse_memory), (gst_xml_get_element):
13165 Chain up to parent class in dispose function and also
13166 unref the elements in the toplevel_elements GList.
13167 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13168 Always return a reference in gst_xml_get_element() rather
13169 than only sometimes.
13171 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13172 Don't leak GstXml object.
13174 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13176 * docs/gst/gstreamer-sections.txt:
13177 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13180 * libs/gst/base/gstbasetransform.c:
13181 (gst_base_transform_transform_caps):
13182 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13185 2006-08-21 Edward Hervey <edward@fluendo.com>
13187 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13188 Implement GObject::dispose virtual method in GstXML so we can free the
13189 top_elements GList.
13191 2006-08-21 Wim Taymans <wim@fluendo.com>
13193 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13194 (gst_buffer_create_sub):
13195 Copy duration/offset_end/caps when creating a subbuffer of the
13197 Make the subbuffer read-only when we make the metadata writable for
13198 now. Fixes #351768.
13200 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13201 Added check for metadata copy when creating subbuffers.
13203 2006-08-21 Edward Hervey <edward@fluendo.com>
13205 * libs/gst/base/gstbasetransform.c:
13206 (gst_base_transform_buffer_alloc):
13207 Only call downstream buffer_alloc if transform element is passthrough
13208 or always_in_place. Closes #350449.
13210 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13213 ChangeLog surgery to add comments to previous changes
13215 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13220 * gst/gstpad.c: (gst_pad_set_active):
13221 Be more verbose in the log
13223 * libs/gst/base/gstbasetransform.c:
13224 (gst_base_transform_transform_caps):
13225 Simplify caps to get rid of duplicates, fixes #345444
13227 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13231 Use these optimizations only internally.
13233 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13235 * gst/gstvalue.c: (gst_value_compare_list),
13236 (gst_value_compare_fraction_range),
13237 (gst_value_intersect_fraction_fraction_range),
13238 (gst_value_intersect_fraction_range_fraction_range),
13239 (gst_value_subtract_fraction_fraction_range),
13240 (gst_value_subtract_fraction_range_fraction_range),
13241 (gst_value_get_compare_func), (gst_value_compare),
13242 (gst_value_compare_with_func):
13244 Saves the expensive lookup of the compare function in many cases
13247 2006-08-18 Edward Hervey <edward@fluendo.com>
13249 * tests/check/gst/gstinfo.c: (gst_info_suite):
13250 Disable test that require gstdebug if it wasn't built in core.
13252 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13254 * docs/random/ensonic/logging.txt:
13257 * gst/gstinfo.c: (gst_debug_log_default):
13258 reorder fields, save some columns, add optional color codes for log
13261 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13263 * docs/random/ensonic/logging.txt:
13264 add ideas about making the logs a bit more useful
13266 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13268 * docs/pwg/advanced-events.xml:
13269 * docs/pwg/titlepage.xml:
13270 Update for 0.10 API (#340627). Add myself
13273 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13275 * docs/libs/gstreamer-libs-docs.sgml:
13276 * docs/libs/gstreamer-libs-sections.txt:
13277 * libs/gst/check/gstbufferstraw.c:
13278 Make gstcheck stuff show up in docs (still needs to
13279 be documented properly though).
13281 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13283 * docs/gst/gstreamer-sections.txt:
13285 * gst/gst.c: (init_post):
13286 * gst/gst_private.h:
13287 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13289 * gst/gstquery.c: (gst_query_new_position),
13290 (gst_query_set_position), (gst_query_parse_position),
13291 (gst_query_new_duration), (gst_query_set_duration),
13292 (gst_query_parse_duration), (gst_query_new_convert),
13293 (gst_query_set_convert), (gst_query_parse_convert),
13294 (gst_query_new_segment), (gst_query_set_segment),
13295 (gst_query_parse_segment), (gst_query_new_seeking),
13296 (gst_query_set_seeking), (gst_query_parse_seeking):
13297 Add internal helpers for pre-registering quarks from static strings
13298 and using the quark values directly instead of looking them up when
13299 creating and parsing queries. Can be used for event construction too.
13302 2006-08-16 Wim Taymans <wim@fluendo.com>
13307 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13309 * gst/gstutils.c: (gst_util_set_value_from_string):
13310 Fix memleak (#351502).
13312 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13313 Add unit test for most of gst_util_set_value_from_string()
13314 (not that one would want to encourage use of this function).
13316 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13318 * libs/gst/check/gstcheck.h:
13319 Use const gchar * variables in fail_unless_equals_string
13320 macro to avoid compiler warnings (and don't use tabs for
13323 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13325 * tools/gst-launch.c: (print_tag):
13326 More space on the left for the tag names, to cater
13327 for the 'extended comment' tag (not touching the
13328 string for the first line since it's translated).
13330 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13332 * libs/gst/check/gstcheck.h:
13333 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13334 print something when they fail.
13336 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13338 * docs/gst/gstreamer-sections.txt:
13339 * gst/gsttaglist.c: (_gst_tag_initialize):
13340 * gst/gsttaglist.h:
13341 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13342 Also change merge function for GST_TAG_COMMENT to
13345 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13347 * gst/gstinfo.c: (gst_debug_print_object):
13348 Make GST_PTR_FORMAT print messages as well.
13350 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13351 (GST_START_TEST), (gst_info_suite):
13354 2006-08-14 Edward Hervey <edward@fluendo.com>
13356 * gst/gstelementfactory.c: (gst_element_register):
13357 If the GstElementClass doesn't have a GstElementDetails with all fields
13358 filled up correctly (longname, description AND author), then error out
13359 nicely instead of crashing.
13361 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13363 * gst/gststructure.c:
13364 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13367 Expand on the difference between arrays and lists as we use them.
13369 2006-08-14 Wim Taymans <wim@fluendo.com>
13371 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13372 If the parent state change function failed, don't assume we can safely
13373 stop the source, this will be done when the pads are deactivated.
13375 2006-08-14 Wim Taymans <wim@fluendo.com>
13378 * gst/gsttask.c: (gst_task_join):
13381 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13382 (gst_pad_stop_task):
13383 When pad (de)activation failed for some reason, restore the old
13384 activation mode and set the pad to flushing instead of assuming the
13385 pad is deactivated.
13386 If the _task_join() failed, reinstall the task on the pad so that it can
13387 be stopped later and return an error.
13389 2006-08-11 Andy Wingo <wingo@pobox.com>
13392 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13393 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13394 is only for users of API that don't want to see deprecated
13395 functions in the headers; people that want to compile out
13396 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13397 CFLAGS. Fixes the build of multifdsink, or will soon..
13399 2006-08-11 Wim Taymans <wim@fluendo.com>
13401 * docs/gst/gstreamer-sections.txt:
13402 Add GstClockClass vmethod docs.
13405 Mark #endif with comment for associated #if
13407 * gst/gstclock.c: (gst_clock_id_wait):
13409 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13410 most clock implementations.
13412 Flesh out docs about resolution methods.
13413 API: GstClockClass::wait_jitter
13415 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13416 (gst_system_clock_async_thread),
13417 (gst_system_clock_id_wait_jitter_unlocked),
13418 (gst_system_clock_id_wait_jitter):
13419 Use base class wait_jitter variant for improved performance
13420 due to less clock polling.
13422 2006-08-11 Edward Hervey <edward@fluendo.com>
13424 * gst/gst.c: (gst_init_check), (init_post):
13425 Set gst as being initialized before scanning/updating the registry,
13426 since there might be my python plugin loader that calls gst_init() and
13427 we don't want to loop back in.
13430 2006-08-11 Wim Taymans <wim@fluendo.com>
13432 * docs/design/part-qos.txt:
13433 Bring docs in line with the code. Mostly the sign of the jitter was
13434 wrong in the docs. Fixes #349943.
13437 Fix the docs for the jitter.
13439 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13440 (gst_event_parse_tag), (gst_event_new_buffer_size),
13441 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13442 (gst_event_new_seek), (gst_event_parse_seek),
13443 (gst_event_new_navigation):
13444 Make sure the GstStructure has no parent when creating custom
13446 Add some more argument checking so that we avoid 0.0 rates.
13447 Flesh out the docs for the QoS event some more.
13449 2006-08-11 Wim Taymans <wim@fluendo.com>
13451 * docs/gst/gstreamer-sections.txt:
13452 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13453 (ensure_current_registry_forking), (ensure_current_registry),
13454 (parse_one_option), (parse_goption_arg), (gst_deinit),
13455 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13458 Added API and command line option to disable registry forking in
13459 addition to the environment variable.
13460 Constify some static arrays.
13461 Added some more debug.
13462 Don't deinit twice.
13463 API: gst_registry_fork_is_enabled()
13464 API: gst_registry_fork_set_enabled()
13465 API: --gst-disable-registry-fork command line option
13468 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13470 * gst/gst.c: (gst_init):
13471 Fix typo in error message.
13473 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13475 * libs/gst/controller/gstcontroller.h:
13476 fix ABI size-correction
13478 * tests/check/libs/gdp.c: (gst_dp_suite):
13479 make tests that use deprecated API conditional
13481 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13483 * docs/libs/gstreamer-libs-sections.txt:
13484 * libs/gst/controller/gstcontroller.c:
13485 (_gst_controller_get_property), (_gst_controller_set_property),
13486 (_gst_controller_init), (_gst_controller_class_init):
13487 * libs/gst/controller/gstcontroller.h:
13488 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13489 (gst_object_set_control_rate):
13490 API: add gst_object_{s,g}et_control_rate(), add private data section,
13493 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13494 * libs/gst/dataprotocol/dataprotocol.h:
13495 add deprecation guards to make gtk-doc happy and allow disabling cruft
13497 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13499 * tests/check/Makefile.am:
13500 * tests/check/gst/.cvsignore:
13501 Let's enable the new unit test as well.
13503 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13506 * docs/gst/gstreamer-sections.txt:
13507 * gst/gstconfig.h.in:
13508 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13509 (_gst_info_printf_extension_ptr),
13510 (_gst_info_printf_extension_segment):
13511 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13512 register that lets us easily dump GstSegments into debug
13515 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13516 (info_segment_format_printf_extension), (gst_info_suite):
13517 Add simple unit test that logs a bunch of different segments (not
13518 valgrinded at the moment because of leaks in
13519 gst_debug_add_log_function).
13521 2006-08-09 Edward Hervey <edward@fluendo.com>
13523 * libs/gst/base/gstbasetransform.c:
13524 (gst_base_transform_buffer_alloc):
13525 Even if we can't figure out the proper format to request downstream,
13526 call buffer_alloc() downstream with the input parameters without setting
13527 the caps on the srcpad. This will force negotiation in the chain
13531 2006-08-08 Edward Hervey <edward@fluendo.com>
13533 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13534 Unlinking from a pad without a target is now a perfectly valid case
13535 which should NOT raise an assertion.
13536 This case would happen if a linked ghostpad its target set to NULL after
13537 it was previously linked.
13539 2006-08-08 Edward Hervey <edward@fluendo.com>
13541 * tests/check/libs/gdp.c:
13542 Also comment out the test (see below).
13544 2006-08-08 Edward Hervey <edward@fluendo.com>
13546 * tests/check/libs/gdp.c: (gst_dp_suite):
13547 Use the architecture information from config.h and not gcc macros
13548 in order to properly disable a test that fails on PPC64.
13550 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13552 * gst/gstelement.c: (gst_element_remove_pad):
13553 Don't crash printing the warning if the pad has no parent.
13555 2006-08-02 Wim Taymans <wim@fluendo.com>
13557 * libs/gst/dataprotocol/dataprotocol.c:
13558 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13559 (gst_dp_crc), (gst_dp_header_payload_length),
13560 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13561 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13562 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13563 (gst_dp_event_from_packet), (gst_dp_validate_header),
13564 (gst_dp_validate_payload):
13565 Make debug category static
13566 Constify the crc table.
13567 Do some more arg checking in public functions.
13568 Fix some docs and do some small cleanups.
13570 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13571 Add some more checks to see if GDP deals with bogus input.
13573 2006-07-31 Wim Taymans <wim@fluendo.com>
13575 * gst/gstvalue.c: (gst_value_compare_list):
13576 Fix GstValueList comparison code. Fixes #347293.
13578 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13579 Check to test GstValueList comparison.
13581 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13583 * gst/gstelementfactory.c: (gst_element_factory_create):
13584 Remove unnecessary ref/unref pair
13586 * gst/parse/grammar.y:
13587 Make sure to free the parse buffer on all code paths.
13588 Move a g_free up to the error handler where it's easier to see.
13590 * tests/check/gst/gstevent.c: (test_event):
13591 Extending timeout for downstream travelling events to 10 seconds to
13592 hopefully avoid intermittent failure on the buildbots.
13594 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13595 Don't manually set the state of the src element - it will happen as a
13596 natural consequence of the pipeline changing state, and that way it
13597 will do it in the right order too.
13599 2006-07-31 Wim Taymans <wim@fluendo.com>
13601 * libs/gst/base/gstbasetransform.c:
13602 (gst_base_transform_buffer_alloc):
13603 Use OBJECT_LOCK and refcounting to get the pad caps in the
13604 buffer_alloc function because the caps could change while we are
13605 busy with them. Fixes #349105
13607 2006-07-31 Wim Taymans <wim@fluendo.com>
13609 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13610 Protect _PAD_CAPS with OBJECT_LOCK.
13612 2006-07-31 Wim Taymans <wim@fluendo.com>
13614 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13615 (gst_pad_get_property), (gst_pad_activate_pull),
13616 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13617 (gst_pad_set_activate_function),
13618 (gst_pad_set_activatepull_function),
13619 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13620 (gst_pad_set_getrange_function),
13621 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13622 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13623 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13624 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13625 (gst_pad_set_acceptcaps_function),
13626 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13627 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13628 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13629 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13630 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13631 (gst_pad_configure_sink), (gst_pad_configure_src),
13632 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13633 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13634 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13635 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13636 (gst_pad_send_event):
13637 Use _DEBUG_OBJECT when it makes sense.
13638 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13639 Small cleanups and code reflows.
13640 Avoid caps refcounting in _accept_caps.
13641 Refactor alloc_buffer so that the code performed on the peer is in a
13642 separate function. Also if the pad does not implement a buffer alloc
13643 function, we should still check if the pad is flushing before falling
13644 back to the default allocator.
13646 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13648 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13649 Make all uses of identity and fakesink have silent=true to avoid
13650 serialising every passing data structure, which is breaking tests
13651 on FC4 for some unknown reason.
13653 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13655 * gst/parse/Makefile.am:
13656 * gst/parse/grammar.y:
13657 * gst/parse/parse.l:
13658 Reverted previous patch as it required to bump the flex dependency to
13659 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13661 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13663 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13665 * gst/parse/Makefile.am:
13666 * gst/parse/grammar.y:
13667 * gst/parse/parse.l:
13668 push & pop the state of the lexer for reentrant use case
13671 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13673 * libs/gst/base/gstbasesrc.h:
13674 Note in the docs that the ::newsegment vfunc is not actually used by
13677 2006-07-28 Wim Taymans <wim@fluendo.com>
13679 * libs/gst/base/gstcollectpads.c:
13680 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13681 (gst_collect_pads_clear), (gst_collect_pads_flush),
13682 (gst_collect_pads_event), (gst_collect_pads_chain):
13683 When flushing a pad, also clear the queued buffer so that we don't
13684 accidentally use it when we shouldn't.
13685 Fix leaks by inreffing incomming buffer.
13686 Flush out queued buffers in case of errors.
13689 2006-07-28 Wim Taymans <wim@fluendo.com>
13691 * docs/random/phonon-gst:
13692 Random notes about a Phonon backend.
13694 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13696 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13698 * tests/check/libs/gdp.c: (gst_dp_suite):
13699 Take a whack at fixing the ppc compile using a different define to
13700 disable the broken test.
13702 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13703 Remove excess g_print()
13705 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13707 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13708 Oops, meant to uncomment this line too to dampen the noise a bit.
13710 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13712 * gst/parse/grammar.y:
13713 * gst/parse/parse.l:
13714 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13715 (GST_START_TEST), (parse_suite):
13716 Fix some of the leaks exposed by extending the parse-launch testsuite,
13717 and move the 3 I can't figure out into a separate test that won't run
13718 the pipelines unless the appropriate line is uncommented.
13720 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13722 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13723 Requesting 0 bytes before the end of the file should result in
13724 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13727 2006-07-27 Wim Taymans <wim@fluendo.com>
13729 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13730 Fix useless assert, a uint is always positive.
13732 * gst/gststructure.c: (gst_structure_nth_field_name),
13733 (gst_structure_foreach), (gst_structure_map_in_place):
13734 Check input arguments for public functions to avoid obvious crashes.
13736 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13737 * plugins/elements/gstfakesink.h:
13738 Do less useless typechecking.
13740 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13742 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13743 Do not use mmap() by default since there are a number of error
13744 conditions that we would like to handle in a non-fatal way that
13745 will result in a SIGBUS if we use mmap(). Examples: external
13746 devices (USB harddrive, portable music player) being unplugged
13747 while in use; file on mounted CD/DVD that can't be read because
13748 the medium is partly damaged. Fixes #348455 and #348475.
13750 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13753 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13754 rates are a gdouble
13756 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13758 * gst/gstregistry.c:
13759 Move big documentation comment into class section header, so that it
13760 appears in the API docs.
13762 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13764 * docs/gst/gstreamer-sections.txt:
13765 Oops. Commit the docs additions too for new API.
13766 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13768 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13770 * gst/gststructure.c: (gst_structure_id_set),
13771 (gst_structure_id_set_valist):
13772 * gst/gststructure.h:
13773 Add API for setting values into structures without performing
13774 a quark lookup, if the appropriate quark is already known.
13776 API: gst_structure_id_set
13777 API: gst_structure_id_set_valist
13779 * gst/parse/grammar.y:
13780 * gst/parse/parse.l:
13781 Remove some dead code shown by the coverage information.
13782 Don't throw a critical g_warning when encountering a syntax error,
13783 just warn and let the normal error path handle it.
13785 * plugins/elements/gstelements.c:
13786 Bump the rank of filesink up to PRIMARY so that it is preferred over
13787 gnomevfssink for file:// sink uri's
13789 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13790 (GST_START_TEST), (run_delayed_test),
13791 (gst_parse_test_element_base_init),
13792 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13793 (gst_parse_test_element_change_state),
13794 (gst_register_parse_element), (parse_suite):
13795 Beef up the tests for parse syntax to check that more error cases
13796 fail as they are supposed to. Increases the test coverage a bit.
13798 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13800 * docs/manual/basics-elements.xml:
13801 Fix gst_element_link() example.
13804 Mention in API docs that one should usually gst_bin_add()
13805 elements to a bin or pipeline before doing the linking.
13807 2006-07-26 Wim Taymans <wim@fluendo.com>
13809 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13810 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13811 Avoid function call for known types by keeping the buffer and
13812 subbuffer GType global.
13814 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13815 Random silly optimisations in read() path.
13817 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13819 * tools/gst-launch.c: (main):
13820 If the top-level of the parse is a normal bin, it doesn't do the
13821 right logic to run as a top-level element, so place it inside a
13824 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13826 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13827 Remove superfluous g_object_notify() calls, GObject does
13828 that for us automatically.
13830 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13833 on Win32, use dllspec to export the debug category symbols
13835 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13837 * gst/gsttaglist.c: (_gst_tag_initialize):
13838 Allow more than one GST_TAG_IMAGE per taglist.
13840 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13842 * gst/gstminiobject.c:
13844 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13845 (gst_fd_src_create):
13846 log recurring events at LOG level
13847 add more debug for when the fd gets set
13849 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13851 * gst/gstparse.c: (gst_parse_launch):
13852 Also remove reentrance checks if flex is MT safe (#348179)
13853 Fix my empty ChangeLog entry below
13855 2006-07-21 Andy Wingo <wingo@pobox.com>
13857 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13859 * libs/gst/check/Makefile.am
13860 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13861 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13862 * libs/gst/check/gstbufferstraw.h:
13863 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13864 functions, thus proving I am still a GStreamer haxor. OK I wrote
13865 them a long time ago, but anyways.
13867 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13870 * gst/gstparse.c: (gst_parse_launch):
13871 Check for flex version and omit mutex if we have a MT save flex
13874 2006-07-21 Wim Taymans <wim@fluendo.com>
13876 * gst/gstparse.c: (gst_parse_launch):
13877 Protect recursive calls to _parse with a recursive mutex
13880 2006-07-21 Wim Taymans <wim@fluendo.com>
13882 * tests/check/gst/gstpad.c: (GST_START_TEST):
13885 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13887 * gst/gstparse.c: (gst_parse_launch):
13888 Do not hang on recursive usage of gst_parse_launch()
13890 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13892 * gst/gsttaglist.c:
13893 Add some more docs, comments and FIXME 0.11s here and there
13894 and also fix some typos.
13896 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13898 * gst/gstsegment.h:
13899 Convert tabs to spaces for better readability.
13901 2006-07-20 Edward Hervey <edward@fluendo.com>
13903 * tests/check/libs/gdp.c: (gst_dp_suite):
13904 the test_buffer test fails at line 140 on ppc64 at the following
13906 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13907 GST_BUFFER_FLAG_IN_CAPS),
13908 "GST_BUFFER_IN_CAPS flag should have been copied !");
13909 See bug #348114 for more details.
13911 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13913 * docs/pwg/advanced-scheduling.xml:
13915 Fix typos (#348000).
13917 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13919 * docs/pwg/intro-basics.xml:
13920 Fix wrong links (#347927).
13922 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13924 * gst/gstregistry.h:
13925 * gst/gstregistryxml.c: (load_feature),
13926 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13927 * win32/common/config.h:
13928 make --disable-index work (#342564)
13930 2006-07-18 Wim Taymans <wim@fluendo.com>
13932 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13936 The attached patch adds two missing defines to gsttrace.h when tracing
13937 is disabled. It also corrects one existing define.
13940 2006-07-17 Wim Taymans <wim@fluendo.com>
13942 * docs/gst/gstreamer-sections.txt:
13943 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13945 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13946 Add two functions to check and change the SIGSEGV behaviour
13947 when loading plugins.
13948 Don't mess with the SIGSEGV handler when we were told not to.
13950 API: gst_segtrap_is_enabled
13951 API: gst_segtrap_set_enabled
13953 2006-07-14 Wim Taymans <wim@fluendo.com>
13955 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13956 * tests/check/elements/filesrc.c: (GST_START_TEST):
13957 Revert fix for regression in #347408 after release.
13959 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13961 Patch by: Antoine Tremblay <hexa00 at gmail com>
13963 * gst/gstutils.c: (gst_element_unlink):
13964 Free iterator when done (#347311).
13966 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13967 And add a test case for this.
13969 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13972 Bump nano back to CVS
13974 === release 0.10.9 ===
13976 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13979 releasing 0.10.9, "On the road again"
13981 2006-07-13 Wim Taymans <wim@fluendo.com>
13983 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13984 * tests/check/elements/filesrc.c: (GST_START_TEST):
13985 Revert pull-0 fix for release. Disable check. Fixes #347408.
13987 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13989 * libs/gst/dataprotocol/dataprotocol.c:
13990 (gst_dp_event_from_packet_1_0):
13991 Fixes #347337: failure to deserialize event packets with
13992 empty payload (only event type)
13994 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13997 do not install a .c file in the header directory
13999 2006-07-13 Edward Hervey <edward@fluendo.com>
14001 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14002 GhostPad no longer implicitely use the padtemplates of the targets.
14005 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
14007 * gst/gstvalue.c: (gst_value_compare_list),
14008 (gst_value_compare_array), (_gst_value_initialize):
14009 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14010 Make GstValueArray comparison be order dependent as designed.
14011 Add checks for value lists and value array comparisons.
14014 2006-07-11 Edward Hervey <edward@fluendo.com>
14016 * gst/gstbin.c: (activate_pads),
14017 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
14018 (gst_bin_change_state_func):
14019 (de)activate src pads before calling state_change on the childs.
14020 This is to avoid the case where a src ghostpad is blocked (holding the
14021 stream lock), which would block the deactivation of the ghostpad's
14023 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
14024 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
14025 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
14026 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14027 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14028 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14029 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
14030 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
14031 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
14032 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
14033 (gst_ghost_pad_class_init),
14034 (gst_ghost_pad_internal_do_activate_push),
14035 (gst_ghost_pad_internal_do_activate_pull),
14036 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
14037 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14038 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
14039 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
14040 GhostPads now create their internal GstProxyPad at creation (and not
14041 when they're linked, as it was being done previously).
14042 The internal and target pads are linked straight away.
14043 The data will also travel through the other pad in order to make
14044 pad blocking and probes non-hackish (the probe/block now really happens
14045 on the GhostPad and not on the target).
14046 * gst/gstpad.c: (gst_pad_set_blocked_async),
14047 (gst_pad_link_prepare), (gst_pad_push_event):
14048 Remove previous ghostpad cruft.
14049 * gst/gstutils.c: (gst_pad_add_data_probe),
14050 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14051 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14052 (gst_pad_remove_buffer_probe):
14053 Remove previous ghost pad cruft.
14054 Added more detailed debug statements.
14055 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14056 Fix the testsuite for refcounting changes.
14057 The comments about who has references were correct, but the refcount
14058 being checked wasn't the same (!?!).
14062 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14064 * docs/gst/gstreamer-sections.txt:
14065 * gst/gstconfig.h.in:
14066 More docs for configuration options, add docs to gtk-doc.
14068 2006-07-10 Stefan Kost <ensonic@users.sf.net>
14071 * gst/gstconfig.h.in:
14072 * win32/common/config.h:
14073 Fix build when disabling tracing (fixes #344016). Also start to document
14074 the defines that disable the sub-systems.
14076 2006-07-10 Edward Hervey <edward@fluendo.com>
14078 * gst/gst.c: (ensure_current_registry_forking):
14079 let's make valgrind happy...
14081 2006-07-09 Wim Taymans <wim@fluendo.com>
14083 * gst/gstelement.c: (activate_pads),
14084 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14085 Better pad activation code: Reset the collect value too on resync.
14088 2006-07-09 Wim Taymans <wim@fluendo.com>
14090 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14091 (gst_pad_activate_push):
14092 Use some more macros where it makes sense.
14093 Allow pad mode switching instead of asserting. When a pad
14094 is activated in one mode and we activate it in another,
14095 deactivate it first before activating it in a different mode.
14098 2006-07-08 Andy Wingo <wingo@pobox.com>
14100 * tools/gst-launch.c (main): Handle err == NULL.
14102 * gst/gst.c (init_post, ensure_current_registry)
14103 (ensure_current_registry_forking)
14104 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14105 factoring out the registry scanning into separate functions. Don't
14106 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14107 Better environment var name/interface suggestions accepted.
14109 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14111 * gst/gstobject.c: (gst_object_set_name_default),
14112 (gst_object_set_name):
14113 Random micro-optimisation: don't use a hash table
14114 with strings as keys and the usual strdup/strcmp
14115 involved, but rather just use the GQuark of the
14116 type name as key, since it needs to be looked up
14117 anyway to get the type name string.
14119 * tests/check/gst/gstobject.c: (GST_START_TEST):
14122 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14124 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14125 (gst_bin_iterate_all_by_interface):
14126 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14127 GTypes are gulongs and thus the top 4 bytes might be cut
14128 off on some platforms when doing GPOINTER_TO_INT, leading
14129 to invalid GTypes and bad things happening (see RH bug #179654).
14130 Also add a check to make sure the type passed in is really
14133 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14138 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14142 * gst-element-check.m4:
14143 * gst-element-check.m4.in:
14144 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14145 instead of the unversioned gst-inspect (#324176, #168659).
14147 2006-07-06 Wim Taymans <wim@fluendo.com>
14149 * gst/gstmessage.h:
14150 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14153 2006-07-06 Wim Taymans <wim@fluendo.com>
14155 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14156 (gst_base_src_wait), (gst_base_src_update_length),
14157 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14158 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14159 (gst_base_src_loop), (gst_base_src_start),
14160 (gst_base_src_activate_pull):
14162 blocksize == 0 now means the default blocksize when working in push
14164 Remove some pointless asserts in _wait function.
14165 Fix offset/length calculations and EOS handling. We can now pull 0
14166 bytes as well, which is allowed.
14167 use _check_get_range() to decide if we can operate in _pull based
14169 Fix refcounting leak when check_get_range function was not
14171 API GstBaseSrc::blocksize range can be 0 too now (default)
14173 * tests/check/elements/filesrc.c: (GST_START_TEST),
14175 Added check to test _get_range() behaviour.
14177 2006-07-06 Wim Taymans <wim@fluendo.com>
14179 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14180 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14181 (gst_pad_pull_range):
14183 Lots of comments and docs added to the pad functions.
14184 Flesh out the expected behaviour of the get_range() functions.
14186 2006-07-06 Wim Taymans <wim@fluendo.com>
14191 * gst/gstiterator.h:
14195 Remove comma at end of enumerator list.
14197 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14199 * win32/common/libgstbase.def:
14200 * win32/common/libgstdataprotocol.def:
14201 * win32/common/libsgtreamer.def:
14202 Add new exported functions.
14204 2006-07-05 Wim Taymans <wim@fluendo.com>
14206 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14207 Add some more docs here and there.
14209 2006-07-05 Wim Taymans <wim@fluendo.com>
14211 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14212 (gst_base_sink_loop), (gst_base_sink_get_position):
14213 When operating in pull mode update the offset so that we
14216 2006-07-05 Wim Taymans <wim@fluendo.com>
14218 * gst/gstregistryxml.c: (read_string):
14219 Avoid strdup. (will happen in libxml, but hey!)
14222 Add some more docs.
14224 2006-07-05 Wim Taymans <wim@fluendo.com>
14226 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14227 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14228 (gst_buffer_suite):
14229 No point in checking if the size of the subbuffer > 0, the
14230 code handles it correclty as demonstrated by unit test.
14231 Also add a unit test for the zero sized _new_and_alloc and
14232 _copy. Fixes #346663.
14234 2006-07-05 Wim Taymans <wim@fluendo.com>
14236 * libs/gst/base/gstbasetransform.c:
14237 (gst_base_transform_prepare_output_buffer),
14238 (gst_base_transform_buffer_alloc),
14239 (gst_base_transform_handle_buffer):
14240 Make sure the buffer we pass to transform_ip has a refcount of
14241 1 and thus is writable. Fixes #343196
14243 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14245 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14246 (gst_file_src_init), (gst_file_src_set_property),
14247 (gst_file_src_get_property), (gst_file_src_map_region):
14248 * plugins/elements/gstfilesrc.h:
14249 Add "sequential" property, off by default, to use madvise and hint
14250 to the kernel that sequential access is desired.
14251 Touch all retrieved pages by default to ensure they are pulled
14252 into memory. (Closes #345720)
14254 2006-07-03 Wim Taymans <wim@fluendo.com>
14256 * docs/design/part-block.txt:
14257 * docs/design/part-dynamic.txt:
14258 Small docs updates.
14260 2006-07-03 Wim Taymans <wim@fluendo.com>
14262 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14263 (gst_caps_unref), (gst_static_caps_get),
14264 (gst_caps_append_structure):
14265 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14266 Use GSlice when the glib we build against is >= 2.10
14268 2006-07-03 Wim Taymans <wim@fluendo.com>
14270 * gst/gstelement.c: (gst_element_pads_activate):
14271 Small cleanup in pad activation code.
14273 2006-07-03 Wim Taymans <wim@fluendo.com>
14275 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14277 * gst/gst-i18n-app.h:
14278 * gst/gst-i18n-lib.h:
14279 * tools/gst-inspect.c: (print_signal_info):
14280 The attached patch will make the inclusion of gettext.h unconditional in
14281 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14282 libintl.h in tools/gst-inspect.c.
14283 This allows use of --disable-nls again and fixes #344642.
14285 2006-07-03 Edward Hervey <edward@fluendo.com>
14287 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14288 Implement pad blocking on events according to part-block.txt.
14289 More comments on behaviour.
14290 * tests/check/gst/gstevent.c: (test_event):
14291 Send event to peer pad of blocked pad (else it will block).
14293 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14295 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14296 (gst_check_run_suite):
14297 if we get the wrong message, give us the types as string
14298 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14300 * tests/check/elements/filesrc.c: (GST_START_TEST):
14301 add a test for trying to open a non-existing file
14303 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14305 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14306 add a test for adding self
14308 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14310 * libs/gst/check/gstcheck.h:
14311 add some assert_ as alias for fail_unless_*
14312 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14313 increase test coverage
14315 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14318 include lcov.mak for lcov coverage generation
14319 * tools/Makefile.am:
14322 2006-07-02 Edward Hervey <edward@fluendo.com>
14324 * tests/check/elements/.cvsignore:
14327 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14330 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14331 * tests/check/Makefile.am:
14332 clean up gcov files
14334 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14336 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14337 remove gst_caps_simplify; it was not declared and not used
14338 and deprecated in 0.8
14340 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14342 * docs/faq/gst-uninstalled:
14343 don't put empty paths on PYTHONPATH
14344 * docs/gst/gstreamer-sections.txt:
14345 remove some symbols that are not there
14347 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14349 * gst/gstcaps.c: (gst_caps_compare_structures):
14351 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14352 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14355 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14357 * libs/gst/dataprotocol/Makefile.am:
14358 build dataprotocol test by linking to the lib, instead of
14359 compiling the source, so we get coverage
14360 * tests/check/Makefile.am:
14361 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14362 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14363 add a test for filesrc
14365 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14367 * tests/check/gst/gststructure.c: (GST_START_TEST),
14368 (gst_structure_suite):
14369 Push coverage from 59.04% to 70.00%
14371 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14373 * tests/check/Makefile.am:
14374 gst-inspect every element; this makes sure that we also get
14375 coverage on element's get/set functions
14377 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14380 set CFLAGS and friends to -O0 if gcov is being used
14383 * libs/gst/base/Makefile.am:
14384 * libs/gst/check/Makefile.am:
14385 * libs/gst/controller/Makefile.am:
14386 * libs/gst/dataprotocol/Makefile.am:
14387 * libs/gst/net/Makefile.am:
14388 * plugins/elements/Makefile.am:
14389 * plugins/indexers/Makefile.am:
14390 add makefile rules to generate gcov data and clean up
14391 * tests/check/Makefile.am:
14392 add a coverage target that generates an html overview
14395 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14397 * tests/check/elements/fakesink.c:
14398 * tests/check/elements/fakesrc.c:
14399 * tests/check/elements/fdsrc.c:
14400 * tests/check/elements/identity.c:
14401 * tests/check/generic/sinks.c: (gst_sinks_suite):
14402 * tests/check/generic/states.c:
14403 * tests/check/gst/gst.c:
14404 * tests/check/gst/gstabi.c:
14405 * tests/check/gst/gstbin.c:
14406 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14407 * tests/check/gst/gstbus.c: (gst_bus_suite):
14408 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14409 * tests/check/gst/gstelement.c:
14410 * tests/check/gst/gstevent.c: (gst_event_suite):
14411 * tests/check/gst/gstghostpad.c:
14412 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14413 * tests/check/gst/gstmessage.c: (gst_message_suite):
14414 * tests/check/gst/gstminiobject.c:
14415 * tests/check/gst/gstobject.c:
14416 * tests/check/gst/gstpad.c:
14417 * tests/check/gst/gstpipeline.c:
14418 * tests/check/gst/gstplugin.c:
14419 * tests/check/gst/gstquery.c: (gst_query_suite):
14420 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14421 * tests/check/gst/gststructure.c:
14422 * tests/check/gst/gstsystemclock.c:
14423 * tests/check/gst/gsttag.c:
14424 * tests/check/gst/gsttask.c: (gst_task_suite):
14425 * tests/check/gst/gstutils.c:
14426 * tests/check/gst/gstvalue.c:
14427 * tests/check/libs/adapter.c:
14428 * tests/check/libs/basesrc.c:
14429 * tests/check/libs/collectpads.c:
14430 * tests/check/libs/controller.c:
14431 * tests/check/libs/gdp.c: (gst_dp_suite):
14432 * tests/check/libs/gstnetclientclock.c:
14433 * tests/check/libs/gstnettimeprovider.c:
14434 * tests/check/libs/libsabi.c: (libsabi_suite):
14435 * tests/check/libs/typefindhelper.c:
14436 * tests/check/pipelines/cleanup.c:
14437 * tests/check/pipelines/parse-launch.c:
14438 * tests/check/pipelines/simple-launch-lines.c:
14439 * tests/check/pipelines/stress.c: (stress_suite):
14442 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14444 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14445 * libs/gst/check/gstcheck.h:
14446 create a macro and function so that the simple unit test
14447 case can be just one macro to create main()
14449 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14451 * gst/gstbin.c: (gst_bin_restore_thyself):
14452 * gst/gstxml.c: (gst_xml_make_element):
14453 Fix deserialisation from XML. Set parent manually
14454 instead of using gst_bin_add(), since gst_bin_add()
14455 will unlink all pads of the element being added.
14458 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14460 Patch by: Peter Kjellerstedt <pkj at axis com>
14462 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14463 Fix missing g_strdup() and double free when using the
14464 --gst-plugin-load command line option (#346097).
14466 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14469 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14471 * libs/gst/net/gstnetclientclock.c:
14472 * libs/gst/net/gstnettimeprovider.c:
14473 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14475 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14477 * docs/manual/advanced-dataaccess.xml:
14478 Fix buffer probe example compilation in
14481 2006-06-22 Edward Hervey <edward@fluendo.com>
14483 * gst/gstelement.c: (gst_element_pads_activate):
14484 We need to deactivate src pads first and then sink pads.
14485 The reason is the src pads might be blocking while holding the streaming
14486 lock, so we need to deactivate them first so that deactivating the sink
14487 pads doesn't block (since it will require the streaming lock).
14489 2006-06-22 Wim Taymans <wim@fluendo.com>
14491 * libs/gst/base/gstbasetransform.c:
14492 (gst_base_transform_buffer_alloc):
14493 Forgot to remove two unneeded unrefs.
14494 Simplify a check _is_equal allready checks the obvious case.
14496 2006-06-22 Wim Taymans <wim@fluendo.com>
14498 * docs/design/part-block.txt:
14499 Some docs about what pad_block should do.
14501 2006-06-22 Wim Taymans <wim@fluendo.com>
14503 * gst/gstcaps.c: (gst_caps_replace):
14504 Fix crasher when passed NULL. Doc clarification.
14505 Optimize for the trivial case.
14507 * gst/gstpipeline.c: (gst_pipeline_change_state):
14510 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14511 Small documentation cleanup.
14513 * libs/gst/base/gstbasetransform.c:
14514 (gst_base_transform_buffer_alloc):
14515 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14516 is what we need and it avoids a whole lot of redundant
14517 refcount operations.
14519 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14521 Patch by: Philip Jägenstedt <philip at lysator liu se>
14523 * docs/manual/advanced-dataaccess.xml:
14524 Fix 'Embedding static elements' section to use
14525 GST_PLUGIN_DEFINE_STATIC (#345607).
14527 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14529 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14530 Attempt to 'fix' spuriously failing test case: it seems like the
14531 timeout of half a second is simply too small when the system is under
14532 load otherwise, and the timeout doesn't really seem to serve any
14533 particular purpose here. Give the pipeline a few seconds to preroll
14534 first, and then give it another half a second to go from PAUSED to
14535 PLAYING and marshal the message into the main thread.
14537 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14539 * tools/gst-feedback-m.m:
14540 Don't only use unversioned tools, try versioned tools as well
14543 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14545 * gst/gstbus.c: (gst_bus_class_init):
14546 Fix some typos, make docs more explicit.
14548 2006-06-20 Wim Taymans <wim@fluendo.com>
14550 * tests/check/gst/gstghostpad.c: (block_callback),
14551 (GST_START_TEST), (gst_ghost_pad_suite):
14552 Added some more ghostpad tests, mainly blocking
14555 2006-06-16 Wim Taymans <wim@fluendo.com>
14557 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14558 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14559 (gst_file_sink_event), (gst_file_sink_render):
14560 * plugins/elements/gstfilesink.h:
14561 Check if we can seek in the file instead of assuming
14562 we always can. Post an error when we are asked to seek in a
14563 non-seekable file (like a fifo). Fixes #343312.
14566 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14568 * tools/gst-launch.1.in:
14569 Un-garble (fourcc) bit in filtered caps section.
14571 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14573 * docs/manual/advanced-autoplugging.xml:
14574 * docs/manual/basics-helloworld.xml:
14575 * docs/manual/highlevel-components.xml:
14576 Don't leak bus reference in sample code.
14578 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14581 Add default for new --enable-plugin-docs switch.
14584 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14587 * docs/Makefile.am:
14588 Use new ENABLE_PLUGIN_DOCS conditional.
14590 2006-06-14 Wim Taymans <wim@fluendo.com>
14592 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14593 Make it clear with a FIXME and a real define what the #if 0
14594 previously disabled.
14596 2006-06-14 Wim Taymans <wim@fluendo.com>
14598 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14599 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14600 * libs/gst/base/gstbasetransform.c:
14601 (gst_base_transform_sink_eventfunc):
14602 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14603 Don't randomly and silently reset a segment when the format
14604 changes as this is a bug somewhere upstream. Fixes #330379.
14606 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14608 Patch by: Wouter Paesen <wouter at kangaroot net>
14610 * libs/gst/controller/gstcontroller.c:
14611 (gst_controlled_property_new):
14612 Fix controlling of float properties (#344849).
14614 * tests/check/libs/controller.c:
14615 (gst_test_mono_source_get_property),
14616 (gst_test_mono_source_set_property),
14617 (gst_test_mono_source_class_init), (GST_START_TEST):
14618 While we're at it, add some float stuff to unit test.
14620 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14623 * docs/images/gdp-header.svg:
14625 * docs/libs/Makefile.am:
14626 * docs/libs/gdp-header.png:
14627 * libs/gst/dataprotocol/dataprotocol.c:
14628 add it to the API docs
14629 * docs/manual/intro-motivation.xml:
14632 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14634 * gst/gst.c: (scan_and_update_registry), (init_post):
14635 If the fork()'ed child process can't write the updated registry cache
14636 file to disk for some reason, make it exit with a failure exit code,
14637 so that the parent can then re-scan the plugins itself and update the
14638 registry structures in memory and work with that (rather than failing
14639 when creating elements because seemingly no plugins are available).
14640 Refactor registry scanning code into separate function for this and
14641 also separate fork() and non-fork() code paths. Fixes #344748.
14643 2006-06-13 Wim Taymans <wim@fluendo.com>
14645 * docs/manual/advanced-dataaccess.xml:
14646 Fix wrong PluginDesc. Fixes #344755.
14648 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14650 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14651 Fix silly bug that prevented us from creating
14652 ~/.gstreamer-0.10 and writing the registry in one
14653 go (the first call to g_mkstemp() would overwrite the
14654 placeholder in the template string, so the second call
14655 to g_mkstemp() after creating the missing directory
14656 would then error out with 'invalid argument').
14658 2006-06-13 Edward Hervey <edward@fluendo.com>
14660 * gst/gst.c: (init_post):
14663 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14665 * gst/glib-compat-private.h:
14666 * gst/glib-compat.c:
14667 * gst/glib-compat.h:
14668 * gst/gstvalue.c: (gst_value_serialize_flags):
14669 remove GLib 2.6 compatibility code
14671 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14673 * gst/parse/Makefile.am:
14674 Fix build with 'make -j N' even more (#340016).
14676 2006-06-12 Wim Taymans <wim@fluendo.com>
14678 * docs/gst/gstreamer-sections.txt:
14681 2006-06-12 Wim Taymans <wim@fluendo.com>
14683 * gst/gstsegment.c: (gst_segment_set_duration),
14684 (gst_segment_set_last_stop), (gst_segment_set_seek),
14685 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14686 (gst_segment_to_running_time), (gst_segment_clip):
14687 Use G_UNLIKELY to help the compiler a bit.
14689 2006-06-12 Wim Taymans <wim@fluendo.com>
14691 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14693 * gst/gstevent.c: (gst_event_get_type):
14694 * gst/gstmessage.c:
14695 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14697 constify quark registration strings. Fixes #344115
14698 Avoid unneeded type checking is _pad_push() by internally
14699 calling gst_pad_chain_unchecked().
14701 2006-06-12 Wim Taymans <wim@fluendo.com>
14703 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14704 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14705 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14706 (gst_buffer_is_span_fast), (gst_buffer_span):
14707 Init _type for consistency.
14708 Use _FLAGS macro to avoid type check.
14709 Avoid unneeded type checks in subbufer code.
14711 2006-06-12 Wim Taymans <wim@fluendo.com>
14713 * gst/gst.c: (gst_debug_help):
14714 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14715 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14716 (gst_plugin_feature_list_free):
14717 * gst/gstregistry.c: (gst_registry_add_plugin),
14718 (gst_registry_add_feature), (gst_registry_plugin_filter),
14719 (gst_registry_feature_filter), (gst_registry_find_plugin),
14720 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14721 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14722 * gst/gstregistryxml.c: (load_feature),
14723 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14724 * gst/gstminiobject.c: (gst_mini_object_unref),
14725 (gst_mini_object_replace), (gst_value_mini_object_free),
14726 (gst_value_mini_object_copy):
14727 Use _CAST macros to avoid unneeded type checking.
14728 Added some more G_UNLIKELY.
14730 2006-06-12 Wim Taymans <wim@fluendo.com>
14733 Avoid unneeded type checking.
14734 API: GST_BUFFER_IS_DISCONT
14736 * gst/gstminiobject.h:
14737 Avoid type check in flag accessor.
14739 * gst/gstelementfactory.h:
14741 * gst/gstpluginfeature.h:
14743 API: GST_ELEMENT_FACTORY_CAST
14744 API: GST_PLUGIN_CAST
14745 API: GST_PLUGIN_FEATURE_CAST
14747 2006-06-12 Wim Taymans <wim@fluendo.com>
14749 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14750 (gst_object_unref):
14751 Add G_UNLIKELY in type registration.
14752 Avoid type check in _ref/_unref since that is also
14755 2006-06-12 Wim Taymans <wim@fluendo.com>
14757 * gst/gsterror.c: (gst_g_error_get_type):
14758 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14759 (gst_static_pad_template_get_type):
14760 * gst/gsttaglist.c: (gst_tag_list_get_type):
14761 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14762 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14763 * gst/gsturi.c: (gst_uri_handler_get_type):
14764 * gst/gstvalue.c: (gst_date_get_type):
14765 * gst/gstxml.c: (gst_xml_get_type):
14766 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14767 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14768 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14769 Add G_UNLIKELY in type registration.
14771 2006-06-12 Wim Taymans <wim@fluendo.com>
14773 * tools/gst-inspect.c: (print_signal_info):
14774 Properly print enum values.
14776 2006-06-12 Wim Taymans <wim@fluendo.com>
14778 * gst/gstinfo.c: (gst_debug_set_active),
14779 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14781 Add some G_[UN]LIKELY.
14782 Maintain __gst_debug_min to avoid formatting the arguments of
14783 debug messages that will be dropped anyway to avoid a lot of
14784 overhead from the debugging system.
14786 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14789 * po/POTFILES.skip:
14790 add missing files containing translatable strings, tell intltool about
14793 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14795 * tests/check/libs/.cvsignore:
14796 add test-binary to ignore list
14798 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14800 * docs/libs/gstreamer-libs-docs.sgml:
14801 reorder (put dp into a chapter) and indent
14803 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14808 === release 0.10.8 ===
14810 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14813 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14815 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14817 * gst/gst.c: (init_post):
14818 move pid declaration to declaration block
14820 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14822 * gst/gst.c: (init_post):
14823 use _exit() instead of exit() in our forked child; this ensures
14824 that none of the registered exit handlers from whatever is using
14825 GStreamer get executed. This fixes gnome-mixer-applet failing
14826 to load, because ORBit would shut down.
14827 Spotted by: Edward Hervey <edward@fluendo.com>
14828 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14831 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14836 === release 0.10.7 ===
14838 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14841 releasing 0.10.7, "Soepeke, ik zie ou"
14843 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14866 * win32/common/config.h:
14867 0.10.6.2 prerelease
14869 2006-06-07 Wim Taymans <wim@fluendo.com>
14871 * gst/gstindex.c: (gst_index_gtype_resolver):
14872 * tools/gst-xmlinspect.c: (print_plugin_info):
14873 Fix leak spotted by coverity checker. Fixes #343827
14874 Fix another other leak found by paolo borelli.
14876 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14878 * libs/gst/dataprotocol/dataprotocol.c:
14879 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14880 (gst_dp_version_get_type), (gst_dp_init),
14881 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14882 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14883 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14884 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14885 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14886 (gst_dp_packetizer_free):
14887 * libs/gst/dataprotocol/dataprotocol.h:
14888 API: add a GstDPPacketizer object, and create/free functions
14889 API: add GstDPVersion enum
14890 Add 1.0 event function that uses the string serialization
14891 Serialize more useful buffer flags
14894 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14896 * tests/check/Makefile.am:
14897 * tests/check/gst/gstabi.c:
14898 * tests/check/gst/struct_ppc64.h:
14899 * tests/check/libs/libsabi.c:
14900 * tests/check/libs/struct_ppc64.h:
14901 add ppc64 structure sizes
14903 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14905 * tests/check/Makefile.am:
14906 * tests/check/gst/gstabi.c:
14907 * tests/check/gst/struct_x86_64.h:
14908 * tests/check/libs/libsabi.c:
14909 * tests/check/libs/struct_x86_64.h:
14910 generate and add structure size lists for x86_64
14912 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14914 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14915 * libs/gst/check/gstcheck.h:
14916 factor out the method from tests that checks size of structures,
14917 and add code to generate the header containing these sizes
14918 * tests/check/gst/gstabi.c: (GST_START_TEST):
14919 * tests/check/gst/struct_i386.h:
14920 * tests/check/libs/libsabi.c: (GST_START_TEST):
14921 * tests/check/libs/struct_i386.h:
14924 2006-06-06 Michael Smith <msmith@fluendo.com>
14926 * gst/gstsegment.h:
14927 Don't use c++-style comments, fixes #343929
14929 2006-06-05 Edward Hervey <edward@fluendo.com>
14932 plugin_paths is not used if we build without registry support.
14934 * gst/gstsegment.c: (gst_segment_copy):
14935 _copy() was always returning NULL...
14937 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14939 * libs/gst/dataprotocol/dataprotocol.c:
14940 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14941 (gst_dp_packet_from_event):
14942 factor out CRC code
14944 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14946 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14947 make sure we unset caps
14949 2006-06-02 Michael Smith <msmith@fluendo.com>
14951 * libs/gst/check/gstcheck.c: (gst_check_init),
14952 (gst_check_chain_func):
14953 * libs/gst/check/gstcheck.h:
14954 Add a cond/mutex to the check support lib, signal this whenever we
14955 add to the buffers list. This will allow tests to not busy-wait on
14958 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14960 * libs/gst/dataprotocol/dataprotocol.c:
14961 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14962 (gst_dp_packet_from_event):
14963 factor out some common header init code
14965 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14967 * docs/libs/gstreamer-libs-sections.txt:
14968 * docs/libs/tmpl/gstdataprotocol.sgml:
14969 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14970 * libs/gst/dataprotocol/dataprotocol.h:
14971 API: make gst_dp_crc() public
14973 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14975 * plugins/indexers/gstindexers.c: (plugin_init):
14976 conditionally register fileindexer (fixes #343598)
14978 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14980 * gst/gsttagsetter.h:
14981 Can't cast ifaces to a class
14983 * libs/gst/net/gstnetclientclock.h:
14984 * libs/gst/net/gstnettimeprovider.h:
14985 * plugins/elements/gstfakesink.h:
14986 * plugins/elements/gstfakesrc.h:
14987 * plugins/elements/gstfdsink.h:
14988 * plugins/elements/gstfdsrc.h:
14989 * plugins/elements/gstfilesink.h:
14990 * plugins/elements/gstfilesrc.h:
14991 * plugins/elements/gstidentity.h:
14992 * plugins/elements/gstqueue.h:
14993 * plugins/elements/gsttee.h:
14994 * plugins/indexers/gstfileindex.c:
14995 * plugins/indexers/gstmemindex.c:
14996 * tests/old/examples/plugins/example.h:
14997 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14999 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
15001 * libs/gst/dataprotocol/dataprotocol.c:
15002 (gst_dp_header_from_buffer):
15003 make sure we zero the whole ABI-compatible area
15005 2006-06-01 Wim Taymans <wim@fluendo.com>
15007 Patch by: Alessandro Decina <alessandro at nnva dot org>
15009 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
15010 Make sure the EOS flag is cleared from pads after a flush
15011 or stop. Fixes #343538.
15013 * tests/check/libs/collectpads.c: (GST_START_TEST),
15014 (gst_collect_pads_suite):
15015 Added test for collectpads reusage after EOS.
15017 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
15020 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
15021 * win32/common/libgstbase.def:
15022 export gst_collect_pads_set_flushing
15023 * win32/common/libgstreamer.def:
15024 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
15025 gst_value_fraction_multiply
15026 * win32/vs6/gst_inspect.dsp:
15027 add a link to intl.lib
15029 2006-05-30 Wim Taymans <wim@fluendo.com>
15031 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15032 (gst_collect_pads_chain):
15033 Handle the case where a pad is removed from the collection
15034 that could cause the other pads to become collectable.
15036 2006-05-30 Wim Taymans <wim@fluendo.com>
15038 * gst/gstelement.c:
15039 Clarify the use of _release_request_pad() and
15040 _get_request_pad() a bit better.
15042 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
15043 (gst_adapter_take_buffer):
15044 Fix some doc and comment typos.
15046 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15048 * docs/gst/gstreamer-sections.txt:
15049 * docs/libs/gstreamer-libs-sections.txt:
15050 add declared symbols
15052 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
15054 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15055 Add debug that can be enabled using a #define at the top of the file,
15056 for dumping stats about how late/early we were when waking up from
15057 waiting on the clock.
15059 2006-05-30 Wim Taymans <wim@fluendo.com>
15061 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15062 When rebuilding the pad list, don't leak the previous list.
15064 2006-05-30 Wim Taymans <wim@fluendo.com>
15066 Patch by: Lutz Mueller <lutz at topfrose dot de>
15068 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15069 (gst_base_src_get_query_types), (gst_base_src_update_length):
15070 Publish supported query types.
15071 Update last_stop field in get_range mode so the position
15072 query works. Fixes #342321.
15074 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
15076 * docs/gst/gstreamer-sections.txt:
15077 * gst/gsttaglist.c: (_gst_tag_initialize):
15078 * gst/gsttaglist.h:
15079 API: add GST_TAG_PREVIEW_IMAGE (#343341).
15081 2006-05-30 Wim Taymans <wim@fluendo.com>
15083 Patch by: Alessandro Decina <alessandro at nnva dot org>
15085 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15086 Unlock mutex when removing an unknown pad.
15089 * tests/check/Makefile.am:
15090 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15091 (push_event), (setup), (teardown), (GST_START_TEST),
15092 (gst_collect_pads_suite), (main):
15093 Added collecpads check, disabled for now as check crashes for
15096 2006-05-29 Wim Taymans <wim@fluendo.com>
15098 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15099 Don't leak pads lists.
15101 2006-05-29 Wim Taymans <wim@fluendo.com>
15103 * docs/libs/gstreamer-libs-sections.txt:
15104 * libs/gst/base/gstcollectpads.c:
15105 (gst_collect_pads_set_flushing_unlocked),
15106 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15107 (gst_collect_pads_stop):
15108 * libs/gst/base/gstcollectpads.h:
15109 API: gst_collect_pads_set_flushing()
15110 Added api to set the pads to flushing, useful for seeking
15111 code in elements using collectpads.
15112 Clear segment when receiving a flush.
15114 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15116 * gst/gst.c: (add_path_func), (init_post):
15117 Don't scan registry paths passed via --gst-plugin-path immediately
15118 (will crash, because absolutely nothing is set up and no types are
15119 registered etc.); do this later in init_post(). Fixes #343057.
15121 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15123 * gst/gst.c: (init_post):
15124 if we have fork, fork while reading/rebuilding the registry
15125 so the parent doesn't take the hit of having all plugins loaded
15126 in memory. Fixes #342777.
15128 Check if we have fork()
15129 * win32/common/config.h.in:
15132 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15134 * plugins/elements/gstelements.c:
15135 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15136 (gst_file_src_init), (gst_file_src_set_property),
15137 (gst_file_src_get_property), (gst_file_src_start):
15138 * plugins/elements/gstfilesrc.h:
15139 API: GstFileSrc::use-mmap
15141 Add a use-mmap property to enable easier testing of all code paths.
15142 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15143 in the absence of gnomevfssrc. (Closes #340501)
15145 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15147 * tools/gst-inspect.c:
15148 Add missing include, removes warning of ngettext not being defined on
15151 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15153 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15154 Handle NULL input and output pointers silently as a failed conversion,
15155 rather than g_warnings.
15157 2006-05-25 Wim Taymans <wim@fluendo.com>
15159 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15160 Initialize variable before using. Fixes #342820.
15162 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15164 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15165 Fix off-by-one bug that would only allow peeks of N-1 bytes
15166 from the start even if the buffer to typefind on contains
15167 in fact N bytes of data (makes vorbis typefinding from a
15168 vorbis identification header buffer work).
15170 * tests/check/Makefile.am:
15171 * tests/check/libs/.cvsignore:
15172 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15173 (gst_typefindhelper_suite), (main), (foobar_typefind),
15175 Add very basic unit test for gst_type_find_helper_for_buffer()
15176 that checks for the problem fixed above.
15178 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15180 * tools/gst-inspect.c: (print_interfaces),
15181 (print_element_properties_info), (print_element_list), (main):
15182 add more translatable strings
15184 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15186 Patch by: Julien Moutte <julien at moutte net>
15188 * docs/gst/gstreamer-sections.txt:
15189 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15191 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15192 (gst_fake_sink_preroll):
15193 * plugins/elements/gstfakesink.h:
15194 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15196 2006-05-23 Wim Taymans <wim@fluendo.com>
15198 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15200 Added _CUSTOM error and success GstFlowReturn that can be
15201 used be elements internally.
15202 Added macro to check for SUCCESS flowreturns.
15203 API: GST_FLOW_CUSTOM_SUCCESS
15204 API: GST_FLOW_CUSTOM_ERROR
15205 API: GST_FLOW_IS_SUCCESS
15207 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15208 Added check for GstFlowReturn sanity.
15210 2006-05-23 Wim Taymans <wim@fluendo.com>
15212 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15214 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15215 (gst_collect_pads_event):
15216 clear/reset segment info in FLUSH_STOP.
15219 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15222 (gst_collect_pads_check_collected):
15223 Flush queued buffer on _stop(), fixes playing again (#342454)
15225 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15227 * tests/check/gst/gststructure.c: (GST_START_TEST),
15228 (gst_structure_suite):
15229 add a test for a complete structure
15231 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15233 * docs/faq/developing.xml:
15234 * docs/faq/faq.xml:
15235 * docs/faq/troubleshooting.xml:
15236 * docs/faq/using.xml:
15237 Some minor FAQ updates that won't change the fact that
15238 our FAQ is badly structured, full of information hardly
15239 anyone new to GStreamer needs to know and lacking lots
15240 of information people constantly ask for.
15242 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15244 * gst/gstpad.c: (gst_pad_set_caps):
15245 Short-circuit gst_pad_set_caps if setting the existing
15246 caps pointer again, and avoid printing debug and
15247 reffing/unreffing the caps.
15249 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15250 There's actually no need to set the caps before pushing -
15251 the acceptcaps method will handle it anyway.
15253 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15255 * docs/gst/gstreamer-sections.txt:
15256 * win32/common/libgstreamer.def:
15257 * gst/gstutils.c: (gst_element_seek_simple):
15259 API: add gst_element_seek_simple() (#342238).
15261 2006-05-18 Edward Hervey <edward@fluendo.com>
15263 * gst/gsttypefind.c: (gst_type_find_get_type):
15264 * gst/gsttypefind.h:
15265 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15266 registered for GstTypeFind pointers. This allows wrapping the structure
15267 in bindings (i.e. gst-python).
15269 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15271 * gst/gsttagsetter.c:
15272 Docs additions and fixes (see #339918).
15274 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15276 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15277 The caps intersection algorithm can produce multiple copies of the
15278 caps. Until that is fixed, we need to simplify the result to be
15279 sure whether the allowed caps are fixed or not.
15281 * plugins/elements/gstqueue.c: (gst_queue_init),
15282 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15283 (gst_queue_push_one):
15284 Proxied buffer alloc should not set the caps on the source pad.
15285 When pushing buffers, we always accept the caps change that triggers.
15286 This prevents negotiation errors caused by caps changing mid-stream
15287 and then being refused on our source pad (because upstream is now
15288 refusing those caps).
15290 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15292 * tests/examples/helloworld/helloworld.c: (main):
15293 Must plug audioconvert and audioresample between decoder
15296 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15298 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15299 (load_feature), (load_plugin):
15300 Allow empty strings for some of the plugin fields so we don't
15301 drop valid plugin entries that were written out correctly
15304 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15306 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15307 Use g_remove and g_rename instead of remove and rename that don't
15308 handle utf8 characters. rename was failing for users who had specific
15309 characters in their name then the registry was built at each
15311 * win32/vs6/gst_inspect.dsp:
15312 * win32/vs6/gst_launch.dsp:
15313 * win32/vs6/libgstbase.dsp:
15314 * win32/vs6/libgstcoreelements.dsp:
15315 * win32/vs6/libgstreamer.dsp:
15316 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15317 build of libgstreamer and clean unused libraries in projects link
15320 2006-05-17 Edward Hervey <edward@fluendo.com>
15322 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15323 The queue is not responsible for pushing an EOS when receiving a fatal
15324 flow error. It's up to the real element driving the pipeline to do that.
15326 2006-05-16 Edward Hervey <edward@fluendo.com>
15328 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15329 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15330 buffer returned a fatal error. It should just send an EOS and stop
15332 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15333 when pushing buffers on the queue and will be able to handle the event.
15335 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15337 * docs/manual/basics-bins.xml:
15338 * docs/manual/basics-init.xml:
15339 Fix typos and minor errors in sample code (#341856).
15341 2006-05-16 Wim Taymans <wim@fluendo.com>
15343 * docs/design/part-qos.txt:
15344 Fix indexes in formulas to make more sense.
15346 2006-05-15 Wim Taymans <wim@fluendo.com>
15348 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15349 Don't report POSITION based on clock time if sync is
15350 disabled in a sink.
15352 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15355 Add cast to make compiler happy - refcount variable was a gint
15356 in GstObject but is a guint in GObject and g_atomic_int_get()
15359 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15361 * gst/parse/Makefile.am:
15362 chain commands using &&, which also makes parallel make work
15364 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15366 * docs/gst/gstreamer-sections.txt:
15369 * gst/gstmessage.h:
15372 === release 0.10.6 ===
15374 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15377 releasing 0.10.6, "Take the cannoli"
15379 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15381 * tools/gst-launch.c: (print_tag):
15382 Fix use of uninitialized variable in the hypothetical
15383 case that some broken plugin creates a GST_TAG_IMAGE
15384 tag containing a NULL buffer (#341667).
15386 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15388 * tools/gst-launch.c: (print_tag):
15389 Print something more intelligible for image tags when
15390 using the -t switch (#341556).
15392 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15397 define GST_MAJORMINOR so we have it available in win32/common/config.h
15398 Possibly remove it from our Makefile.am files later
15399 * win32/common/config.h:
15400 * win32/common/config.h.in:
15401 added GST_MAJORMINOR
15402 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15403 * win32/common/gstversion.h:
15406 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15409 Update win32 files listing.
15410 * win32/common/gstversion.h:
15411 Add GST_MAJORMINOR definition.
15412 * win32/common/libgstreamer.def:
15413 Add new exported functions.
15415 2006-05-12 Michael Smith <msmith@fluendo.com>
15417 * gst/gstplugin.c: (gst_plugin_load_file):
15418 If an so file has no plugin entry point, unload the module.
15420 2006-05-11 Wim Taymans <wim@fluendo.com>
15422 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15423 (gst_queue_set_property):
15424 Don't forget to signal the _chain or _loop function
15425 when the queue size or thresholds change since that might
15426 cause them to make progres again.
15428 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15430 * gst/gstclock.c: (gst_clock_class_init):
15431 * gst/gstindex.c: (gst_index_class_init):
15432 * gst/gstobject.c: (gst_object_class_init):
15433 * gst/gstpad.c: (gst_pad_class_init):
15434 * gst/gstpipeline.c: (gst_pipeline_class_init):
15435 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15436 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15437 * libs/gst/base/gstbasetransform.c:
15438 (gst_base_transform_class_init):
15439 * libs/gst/net/gstnetclientclock.c:
15440 (gst_net_client_clock_class_init):
15441 * libs/gst/net/gstnettimeprovider.c:
15442 (gst_net_time_provider_class_init):
15443 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15444 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15445 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15446 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15447 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15448 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15449 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15450 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15451 * plugins/elements/gsttee.c: (gst_tee_class_init):
15452 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15453 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15454 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15456 2006-05-11 Wim Taymans <wim@fluendo.com>
15458 * gst/gstbuffer.c: (_gst_buffer_initialize):
15459 Register subbufer along with the buffer type so that
15460 it does not accidentally gets registered from N
15461 different streaming threads in a non threadsafe way.
15463 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15467 * gst/gstmessage.h:
15468 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15469 gst_event_ref() and gst_message_ref() functions again
15470 (ugly hack, please do fix if there's a better way besides
15471 overrides.txt, which doesn't seem to work).
15473 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15475 * libs/gst/check/gstcheck.h:
15476 add an assert for setting state to avoid lots of repetitive code
15479 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15481 * gst/gstvalue.c: (gst_value_serialize_flags):
15482 fix a leak if no flags are set
15483 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15486 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15488 * docs/manual/basics-pads.xml:
15489 Expand a bit on caps and filtered links and update
15490 examples that were still using the no longer existing
15491 gst_pad_link_filtered() (#338206).
15493 2006-05-10 Wim Taymans <wim@fluendo.com>
15495 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15496 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15497 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15498 (gst_collect_pads_stop):
15499 * libs/gst/base/gstcollectpads.h:
15500 No need to call _stop in _finalize.
15501 Iterate the main pad list in _finalize.
15502 Added some more debug.
15503 Free lists and data in the right order.
15504 Also free data whem doing _remove_pad when stopped for
15505 backward compatibility protect ::started with PAD_LOCK as
15508 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15510 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15511 (gst_structure_parse_value):
15513 rename a method so that it actually says what it does better
15515 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15517 * gst/gstevent.c: (_gst_event_initialize):
15518 * gst/gstformat.c: (_gst_format_initialize):
15519 make sure some essential types used by events are registered
15520 as part of gst_init()
15521 * gst/gstvalue.c: (gst_value_serialize_flags):
15522 if no flags are set, serialize them to a value that represents NONE
15523 so that deserializing them works
15524 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15525 add tests for serialization and deserialization of flags
15527 2006-05-10 Wim Taymans <wim@fluendo.com>
15529 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15530 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15531 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15532 (gst_collect_pads_event), (gst_collect_pads_chain):
15535 Catch and return errors from the collect function
15536 Refuse data on eos pads.
15538 2006-05-10 Edward Hervey <edward@fluendo.com>
15540 * gst/gstinterface.h:
15541 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15542 GInterface type checking.
15543 They were previously using non-defined macros.
15545 2006-05-09 Wim Taymans <wim@fluendo.com>
15547 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15548 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15549 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15550 (gst_collect_pads_start), (gst_collect_pads_stop),
15551 (gst_collect_pads_peek), (gst_collect_pads_pop),
15552 (gst_collect_pads_available), (gst_collect_pads_read),
15553 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15554 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15555 (gst_collect_pads_chain):
15556 * libs/gst/base/gstcollectpads.h:
15557 Clean up the mess that is collectpads, add comments and
15558 FIXMEs where needed.
15559 Maintain a separate pad list so we can add pads while
15560 collecting the other ones. For this we need a new separate
15562 Fix memory leak in finalize.
15563 Refactor some weird code to set/unset pad flushing flags, mark
15565 Don't crash in _available, _read, _flush when we're EOS.
15567 * tests/check/libs/.cvsignore:
15568 Ignore adapter check binary.
15570 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15572 * gst/gstindex.c: (gst_index_resolver_get_type):
15573 * plugins/elements/gstfakesink.c:
15574 (gst_fake_sink_state_error_get_type):
15575 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15576 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15577 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15578 Const-ify GEnumValue arrays.
15580 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15582 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15583 Add test case for flags + gst_buffer_make_metadata_writable().
15585 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15587 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15588 gst_buffer_make_metadata_writable() should maintain the
15589 buffer flags (those that make sense at least) (see #340859).
15591 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15593 * tools/gst-inspect.c:
15594 * tools/gst-launch.c:
15595 * tools/gst-typefind.c:
15596 * tools/gst-xmlinspect.c:
15598 Fix up includes: need to include stdlib.h in tools.h for exit().
15600 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15602 * gst/gsttaglist.c: (_gst_tag_initialize):
15603 * gst/gsttaglist.h:
15604 API: add GST_TAG_IMAGE tag (#340721).
15606 2006-05-08 Wim Taymans <wim@fluendo.com>
15609 Added some docs for the segment query.
15611 2006-05-08 Wim Taymans <wim@fluendo.com>
15613 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15614 (gst_base_src_loop), (gst_base_src_change_state):
15615 Always push non-flushing serialized events in the streaming
15618 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15620 * gst/gsterror.c: (_gst_stream_errors_init):
15621 Add a missing error string.
15623 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15625 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15626 Add applied_rate to the debug
15628 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15629 Copy applied_rate into the outgoing NEWSEGMENT event
15631 2006-05-08 Wim Taymans <wim@fluendo.com>
15633 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15635 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15636 (gst_base_sink_change_state):
15637 call ::unlock before taking the PREROLL_LOCK so we can safely
15638 handle elements that lock in ::render.
15641 2006-05-08 Edward Hervey <edward@fluendo.com>
15643 * autogen.sh: (CONFIGURE_DEF_OPT):
15644 Darwin's libtoolize is in fact called glibtoolize.
15645 Adding glibtoolize to the list of accepted names for libtoolize.
15647 2006-05-08 Wim Taymans <wim@fluendo.com>
15649 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15650 Unify error handling, don't post an error message
15651 when a push() returns EOS but perform our normal EOS
15652 handling code. Fixes #340772.
15654 2006-05-08 Wim Taymans <wim@fluendo.com>
15656 * docs/design/part-overview.txt:
15657 Make upsteam/downstream concepts more clear.
15658 Give an example of serialized/non-serialized events.
15660 * docs/design/part-events.txt:
15661 * docs/design/part-streams.txt:
15662 Mention applied_rate.
15664 * docs/design/part-trickmodes.txt:
15665 Mention applied rate, flesh out some more use cases.
15667 * gst/gstevent.c: (gst_event_new_new_segment),
15668 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15669 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15670 (gst_event_parse_tag), (gst_event_new_buffer_size),
15671 (gst_event_parse_buffer_size), (gst_event_new_qos),
15672 (gst_event_parse_qos), (gst_event_parse_seek),
15673 (gst_event_new_navigation):
15675 Add applied_rate field to NEWSEGMENT event.
15676 API: gst_event_new_new_segment_full()
15677 API: gst_event_parse_new_segment_full()
15679 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15680 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15681 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15682 * gst/gstsegment.h:
15683 Add applied_rate to GstSegment structure.
15684 Make calculation of stream_time and running_time more correct
15685 wrt rate/applied_rate.
15686 Add some more docs.
15687 API: GstSegment::applied_rate field
15688 API: gst_segment_set_newsegment_full();
15690 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15691 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15692 * libs/gst/base/gstbasetransform.c:
15693 (gst_base_transform_sink_eventfunc),
15694 (gst_base_transform_handle_buffer):
15695 Parse and use applied_rate in the GstSegment field.
15697 * tests/check/gst/gstevent.c: (GST_START_TEST):
15698 Add check for applied_rate field.
15700 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15701 (gstsegments_suite):
15702 Add more checks for various GstSegment operations.
15704 2006-05-08 Wim Taymans <wim@fluendo.com>
15706 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15707 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15708 (gst_base_sink_get_position), (gst_base_sink_change_state):
15709 Store the sync time of the buffer end position separatly in a
15710 new variable eos_rtime so we can properly sync the EOS event.
15712 Fix the docs for gst_base_sink_set_qos_enabled().
15713 Don't set segment start to invalid value when we receive a
15714 non TIME newsegment.
15715 get closer to handling position reporting for negative rates
15718 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15721 Docs about how to print caps for debug purposes.
15723 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15724 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15726 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15728 * gst/gstelement.c:
15729 use full enum names and preprend a '%' in docs strings to make recent
15730 gtk-doc turn that into a link
15732 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15734 * docs/manual/basics-bins.xml:
15735 * docs/manual/basics-bus.xml:
15736 * docs/manual/basics-pads.xml:
15737 Some typo fixes, some additions, some clarifications.
15739 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15741 * tools/gst-inspect.c: (main):
15742 * tools/gst-launch.c: (main):
15743 * tools/gst-run.c: (main):
15744 * tools/gst-typefind.c: (main):
15745 * tools/gst-xmlinspect.c: (main):
15746 Use the string passed to g_option_context_new() for
15747 what it's intended for - the program name is already
15750 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15752 * tools/Makefile.am:
15753 * tools/gst-inspect.c: (main):
15754 * tools/gst-launch.c: (main):
15755 * tools/gst-xmlinspect.c: (main):
15757 Add back --version command line option (#340460).
15759 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15760 Add --version option and use GOption for argument parsing; refactor a
15761 bit; accept directories as arguments and recurse into them; lastly,
15762 print a decent error message when things go wrong.
15764 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15766 * docs/manual/basics-bins.xml:
15767 Don't mention GstThread (#340611)
15768 * docs/manual/basics-elements.xml:
15769 Update link to GObject tutorial (#340607)
15771 2006-05-05 Wim Taymans <wim@fluendo.com>
15774 * gst/gstminiobject.c:
15775 Add note about refcounting and miniobject/buffer writeability
15776 to docs. Fixes #340604
15778 * gst/gstelementfactory.h:
15779 Added some explanation about @klass.
15781 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15783 * docs/manual/intro-motivation.xml:
15784 * docs/manual/manual.xml:
15785 Avoid CORBA & Bonobo references (#340598)
15787 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15789 * docs/manual/basics-bus.xml:
15790 * docs/manual/basics-pads.xml:
15791 Fix up some inaccuracies and omissions (#340609)
15793 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15795 * gst/gstghostpad.c:
15796 Small typo in docs (#340625)
15798 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15800 * gst/parse/Makefile.am:
15801 Make 'make -j' proof (see #340698).
15803 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15806 Require GLib-2.8 here as well.
15808 2006-05-05 Wim Taymans <wim@fluendo.com>
15810 * gst/glib-compat.c:
15811 * gst/gst.c: (init_pre):
15812 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15813 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15814 (gst_object_dispatch_properties_changed):
15816 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15817 * gst/gststructure.c: (gst_structure_set_valist):
15818 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15819 Remove pre glib2.8 compatibility, fixes #340508
15821 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15823 * gst/gsttaglist.h:
15824 Mention type of tags in doc blurbs.
15826 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15828 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15829 (gst_pad_configure_src), (gst_pad_push):
15830 Restore acceptcaps checking behaviour now that good plugins have
15833 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15835 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15842 * gst/gstmessage.c:
15846 * gst/parse/Makefile.am:
15847 * libs/gst/base/gstadapter.c:
15848 * libs/gst/base/gstbasesrc.c:
15849 * libs/gst/base/gstpushsrc.c:
15850 * libs/gst/base/gsttypefindhelper.c:
15851 * plugins/elements/gstfakesrc.c:
15852 * plugins/elements/gstidentity.c:
15853 Make sure gstprivate.h and/or config.h are
15854 always included first, otherwise some of our
15855 defines (like _FILE_OFFSET_BITS) might be
15856 redefined in the system headers. Fixes build
15857 on opensolaris (#340016).
15859 2006-05-04 Wim Taymans <wim@fluendo.com>
15861 * docs/libs/gstreamer-libs-sections.txt:
15862 API: addition: gst_adapter_take_buffer()
15864 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15865 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15866 (gst_adapter_available_fast):
15867 * libs/gst/base/gstadapter.h:
15868 Prepare for optimizing the hell out of this hugely inefficient
15870 Added gst_adapter_take_buffer() so we can at least start thinking
15871 about subbuffering and merging.
15872 Added some comments.
15874 * tests/check/Makefile.am:
15875 * tests/check/libs/adapter.c: (GST_START_TEST),
15876 (gst_adapter_suite), (main):
15877 Added GstAdapter check.
15879 2006-05-04 Wim Taymans <wim@fluendo.com>
15881 * docs/design/part-overview.txt:
15882 Fix some typos, add blurb about buffer flags.
15884 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15886 * docs/libs/gstreamer-libs-sections.txt:
15887 make sure GstBaseTransformClass shows up in the docs
15888 * libs/gst/base/gstbasetransform.c:
15889 * libs/gst/base/gstbasetransform.h:
15890 move docs so gtk-doc picks it up now
15892 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15894 * docs/libs/gstreamer-libs-sections.txt:
15895 add missing symbols to docs
15897 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15899 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15900 back out the newsegment handling change, see #340060 for ongoing
15903 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15905 * tools/gst-run.c: (get_candidates), (main):
15906 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15907 work); fix typo in error message. Fixes #340079.
15909 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15911 * common/Makefile.am:
15912 * docs/Makefile.am:
15913 * docs/faq/Makefile.am:
15914 * docs/gst/Makefile.am:
15915 * docs/libs/Makefile.am:
15916 * docs/manual/Makefile.am:
15917 * docs/plugins/Makefile.am:
15918 * docs/pwg/Makefile.am:
15919 * docs/slides/Makefile.am:
15921 * common/upload.mak:
15922 move upload.mak to common
15924 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15926 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15927 add more asserts on refcounts
15928 do more cleanup at end of tests
15929 fix test leaks showing in FC5
15931 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15933 * plugins/elements/gsttypefindelement.c:
15934 (gst_type_find_element_handle_event):
15935 reverted wrong change and reflowed code to avoid others falling into
15938 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15940 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15941 fix changelog entry about last collectpads change,
15942 add notes about proper fix
15944 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15947 * gst/gstregistry.c: (gst_registry_scan_path_level),
15948 (gst_registry_scan_path):
15949 * gst/gstregistry.h:
15950 only write out registry if it has changed, fixes #338339
15952 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15955 * gst/gstpipeline.c:
15956 * plugins/elements/gstcapsfilter.c:
15957 * plugins/elements/gstfakesink.c:
15958 * plugins/elements/gstfakesrc.c:
15959 * plugins/elements/gstfdsink.c:
15960 * plugins/elements/gstfdsrc.c:
15961 * plugins/elements/gstfilesink.c:
15962 * plugins/elements/gstfilesrc.c:
15963 * plugins/elements/gstidentity.c:
15964 * plugins/elements/gstqueue.c:
15965 * plugins/elements/gsttee.c:
15966 * plugins/elements/gsttypefindelement.c:
15967 (gst_type_find_element_handle_event):
15968 make GstElementDetails const
15970 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15972 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15973 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15974 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15975 more detailed debug and formatting cleanup,
15976 forward newsegments to src-pad (so that e.g. adder not eats them)
15978 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15980 * gst/gstutils.c: (gst_element_link_pads):
15981 cleanup double code
15983 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15985 * libs/gst/controller/gstcontroller.c:
15986 (gst_controller_sync_values):
15988 * tests/check/libs/controller.c: (GST_START_TEST),
15989 (gst_controller_suite):
15990 a new test for live value handling
15992 2006-04-28 Wim Taymans <wim@fluendo.com>
15994 * gst/gstutils.c: (push_and_ref):
15995 Added some more docs.
15996 Fix refcount issue whith gst_element_found_tags() helper
15997 function. Fixes #338335
15999 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16000 Added testsuite for gst_element_found_tags().
16002 2006-04-28 Michael Smith <msmith@fluendo.com>
16004 * gst/gstvalue.c: (gst_value_serialize_flags):
16005 Avoid NULL dereference when trying to serialize flags containing
16008 2006-04-28 Michael Smith <msmith@fluendo.com>
16010 * plugins/elements/gsttypefindelement.c:
16011 (gst_type_find_element_handle_event):
16012 If we get EOS before any data is accumulated, don't use
16013 uninitialised local variables.
16015 2006-04-28 Michael Smith <msmith@fluendo.com>
16017 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16018 (gst_dp_event_from_packet):
16019 Fixes in reading/writing events over GDP (not currently used?) -
16020 dereferencing NULL events for unknown/invalid event types, memory
16021 leak, and change g_warning to GST_WARNING.
16023 2006-04-28 Wim Taymans <wim@fluendo.com>
16025 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
16026 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16027 (gst_base_sink_get_position), (gst_base_sink_change_state):
16028 When frame dropping is enabled, we should not ignore frames
16029 without a duration.
16030 Update some documentation.
16032 2006-04-28 Wim Taymans <wim@fluendo.com>
16034 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16035 (gst_base_src_send_event), (gst_base_src_change_state):
16036 Documentation updates.
16038 2006-04-28 Wim Taymans <wim@fluendo.com>
16040 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
16041 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
16042 handle EAGAIN, EINTR and short writes correctly. Also clean
16043 up some error cases, avoid a deadlock on bad file descriptors and
16044 use GST_DEBUG_OBJECT.
16047 2006-04-28 Wim Taymans <wim@fluendo.com>
16049 * gst/gstvalue.c: (gst_value_serialize_buffer),
16050 (gst_value_deserialize_buffer):
16051 Don't try to serialize a GValue with a NULL buffer.
16054 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16055 Added check for serialisation of NULL buffers.
16057 2006-04-28 Wim Taymans <wim@fluendo.com>
16059 * gst/gstminiobject.c: (gst_value_take_mini_object):
16060 Taking a NULL miniobject is valid, fix the case where
16061 we try to unref the NULL miniobject.
16063 2006-04-28 Wim Taymans <wim@fluendo.com>
16065 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16067 * gst/gstbin.c: (gst_bin_handle_message_func):
16069 Don't leak bin refcount when a state recalc is
16070 in progress and we delay another one #339808.
16072 2006-04-28 Wim Taymans <wim@fluendo.com>
16074 * docs/design/part-TODO.txt:
16075 Mention QoS as an ongoing work item.
16077 * docs/design/part-buffering.txt:
16078 New doc about buffering that needs to be fleshed out
16081 * docs/design/part-qos.txt:
16082 More QoS policy for decoders/demuxers/transforms
16084 * docs/design/part-trickmodes.txt:
16087 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16092 === release 0.10.5 ===
16094 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
16097 releasing 0.10.5, "Fogo"
16099 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
16101 patch by: Wim Taymans
16103 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16104 (gst_pad_configure_src), (gst_pad_push):
16105 * gst/gstpipeline.c: (gst_pipeline_init):
16106 Fix internal data flow errors. Fixes #338711.
16108 2006-04-12 Wim Taymans <wim@fluendo.com>
16110 * tests/check/gst/gstelement.c: (GST_START_TEST):
16111 Don't leak the factory.
16113 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16116 * win32/common/config.h:
16119 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16121 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16122 (gst_controller_unset_all):
16123 Free allocated GstTimedValues when freeing list nodes.
16124 Should fix leaks 'make check-valgrind' complains about.
16126 * win32/common/libgstcontroller.def:
16127 Add gst_controller_unset_all.
16129 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16131 * docs/libs/gstreamer-libs-sections.txt:
16132 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16133 (gst_controller_unset_all):
16134 * libs/gst/controller/gstcontroller.h:
16135 API: Added new method gst_controller_unset_all()
16136 fixed gst_controller_unset()
16137 * tests/check/libs/controller.c: (GST_START_TEST),
16138 (gst_controller_suite):
16139 Added two testcases for new and fixed method
16141 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16143 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16144 MSG_DONTWAIT is not defined on Cygwin, so work
16145 around that (fixes #317048).
16147 2006-04-11 Wim Taymans <wim@fluendo.com>
16149 * gst/gstelementfactory.c: (gst_element_register),
16150 (gst_element_factory_create), (gst_element_factory_make):
16153 Updated docs (Fixes #131079)
16155 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16158 * tests/check/gst/gstelement.c: (GST_START_TEST),
16159 (gst_element_suite):
16160 Added testcase for elementfactory class field.
16162 2006-04-10 Wim Taymans <wim@fluendo.com>
16164 * gst/gstsegment.c:
16165 Added some more docs.
16167 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16168 (gst_base_sink_reset_qos):
16169 Calculate more accurate rate values.
16171 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16173 * gst/gst_private.h:
16174 add a new #ifdef to use __declspec(dllimport) only for
16175 other modules and not for gstreamer core
16176 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16177 use gst_guint64_to_gdouble for conversion
16178 * win32/common/libgstreamer.def:
16179 add new exported functions
16180 * win32/vs6/gst_inspect.dsp:
16181 * win32/vs6/gst_launch.dsp:
16182 * win32/vs6/libgstbase.dsp:
16183 * win32/vs6/libgstcontroller.dsp:
16184 * win32/vs6/libgstcoreelements.dsp:
16185 * win32/vs6/libgstdataprotocol.dsp:
16186 * win32/vs6/libgstnet.dsp:
16187 update project files
16189 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16191 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16192 * gst/gstclock.c: (gst_clock_class_init):
16193 * gst/gstelement.c: (gst_element_class_init):
16194 * gst/gstindex.c: (gst_index_class_init):
16195 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16196 * gst/gstobject.c: (gst_object_class_init),
16197 (gst_signal_object_class_init):
16198 * gst/gstpad.c: (gst_pad_class_init):
16199 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16200 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16201 * gst/gstregistry.c: (gst_registry_class_init):
16202 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16203 * gst/gsttask.c: (gst_task_class_init):
16204 * gst/gstxml.c: (gst_xml_class_init):
16205 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16206 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16207 (gst_base_src_loop):
16208 * libs/gst/controller/gstcontroller.c:/
16209 (_gst_controller_class_init):
16210 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16211 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16212 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16213 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16214 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16215 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16217 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16219 * gst/gstpad.c: (gst_pad_link):
16220 Must set peer pads before calling the link function, otherwise
16221 a task started from a link function might get a flow-not-linked
16222 result when trying to push because the other thread where the
16223 linking happens hasn't had a chance to set the peers yet. This
16224 might happen for example when a queue gets linked to a downstream
16225 element, as queue starts a streaming task when its source pad
16226 gets linked. Happens in real life when playing back flac/musepack
16227 files in playbin (#332390).
16229 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16233 * libs/gst/base/gstadapter.h:
16234 * libs/gst/base/gstbasesink.h:
16235 * libs/gst/base/gstbasesrc.h:
16236 * libs/gst/base/gstbasetransform.h:
16237 * libs/gst/base/gstcollectpads.h:
16238 * libs/gst/base/gstpushsrc.h:
16239 Fix broken GObject macros
16241 2006-04-07 Wim Taymans <wim@fluendo.com>
16243 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16244 Initialize start and stop times, thanks valgrind.
16246 2006-04-07 Wim Taymans <wim@fluendo.com>
16248 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16249 Be a bit nicer to badly behaving upstream elements that expect
16250 us to deal with non TIME segments and timestamps (such as fakesrc
16253 2006-04-07 Wim Taymans <wim@fluendo.com>
16256 Small documentation clarification about the signal watch.
16258 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16259 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16260 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16261 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16262 (gst_base_sink_get_position_last),
16263 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16264 Convert and store timestamps in stream time and running time, the
16265 raw timestamps are not useful, also document this better.
16266 Use different window sizes for good and bad QoS observations so
16267 we react to badness a little quicker.
16268 Keep track of the amount of rendered and dropped buffers.
16269 Send QoS timestamps in running time.
16271 * libs/gst/base/gstbasetransform.c:
16272 (gst_base_transform_sink_eventfunc),
16273 (gst_base_transform_handle_buffer):
16274 Compare QoS timestamps against running time.
16276 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16279 Typo fixes in docs.
16281 2006-04-06 Michael Smith <msmith@fluendo.com>
16283 * gst/gstpad.c: (gst_pad_set_property):
16284 Use g_value_get_object() instead of g_value_dup_gst_object(),
16285 to avoid double-reffing the pad template (which we then sink,
16286 so this worked previously if (and only if) the pad template
16289 * gst/gstpadtemplate.c: (gst_pad_template_init),
16290 (gst_pad_template_pad_created):
16291 Never return floating references to pad templates, create
16292 them as initially-sunken.
16294 Document an extra function (and make this stop sinking our
16295 pad template, since that is now guaranteed to do nothing,
16296 since we created it sunken).
16298 * gst/gstghostpad.c:
16301 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16303 * gst/gstinfo.c: (__gst_in_valgrind):
16306 * plugins/elements/gsttypefindelement.c:
16307 (gst_type_find_element_chain):
16308 Don't leak buffer caps.
16310 2006-04-06 Michael Smith <msmith@fluendo.com>
16312 * gst/parse/grammar.y:
16313 Fix a leak in parse-launch for any source-or-sink named element
16316 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16317 Unref the pipeline if it exists after we've failed parsing.
16319 2006-04-05 Michael Smith <msmith@fluendo.com>
16321 * gst/gstpipeline.c: (gst_pipeline_init):
16322 When we create a pipeline bus, initially create it in flushing mode.
16323 Fixes leaks in at least one test, and makes a new pipeline work the
16324 same as one that has gone to READY and then back to NULL.
16326 * gst/gstelement.c:
16329 2006-04-05 Michael Smith <msmith@fluendo.com>
16331 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16332 Unref a pad we reffed.
16333 * tests/check/gst/gstutils.c: (GST_START_TEST):
16336 2006-04-05 Michael Smith <msmith@fluendo.com>
16338 * gst/gstquery.c: (gst_query_set_formats),
16339 (gst_query_set_formatsv):
16340 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16342 2006-04-05 Michael Smith <msmith@fluendo.com>
16344 * tests/check/generic/sinks.c: (GST_START_TEST):
16345 Fix a variety of memleaks in sinks check, which are only sometimes
16346 shown by running the tests under valgrind (weird?).
16348 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16350 * docs/version.entities.in:
16351 Fix the substituted entity name after thomas' changes on the
16354 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16356 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16359 2006-04-05 Andy Wingo <wingo@pobox.com>
16361 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16363 * libs/gst/base/gstbasetransform.c
16364 (gst_base_transform_sink_eventfunc): When resetting our segment on
16365 FLUSH_STOP, also update the flag saying we haven't seen a
16368 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16370 Patch by: Paolo Borelli <pborelli at katamail dot com>
16372 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16373 (gst_plugin_check_license):
16374 minor clean-ups: G_DEFINE_TYPE already takes care of the
16375 parent_class stuff, no need to do it twice. Mark array of
16376 license strings as constant. (#337103)
16378 2006-04-04 Michael Smith <msmith@fluendo.com>
16380 * tools/gst-inspect.c: (print_element_list):
16381 Free the right plugin list; fixes a memory leak.
16383 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16385 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16387 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16388 Don't error out on empty buffers (#336945).
16390 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16392 * docs/libs/gstreamer-libs-sections.txt:
16393 * gst/gsttaglist.c:
16394 * libs/gst/base/gstbasesink.c:
16395 * libs/gst/base/gstbasesink.h:
16396 * libs/gst/base/gstbasesrc.c:
16397 * libs/gst/base/gstbasesrc.h:
16398 Documentation updates. Make BaseSink and BaseSrc docs contain the
16399 class structure so that people can actually see the prototypes for
16400 virtual functions they're supposed to be overriding.
16402 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16404 * plugins/elements/gsttypefindelement.c:
16405 (gst_type_find_element_chain):
16406 More debug info; when skipping typefinding, send cached
16407 events in all cases.
16409 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16412 use new AS_VERSION and AS_NANO macros
16413 * gst/gst-i18n-lib.h:
16416 * gst/gstversion.h.in:
16417 * win32/common/config.h:
16418 * win32/common/config.h.in:
16421 2006-03-31 Michael Smith <msmith@fluendo.com>
16423 * plugins/elements/gsttypefindelement.c:
16424 (gst_type_find_element_chain):
16425 Do not typefind content if the buffers already have caps.
16426 Neccesary for icydemux (#333657), and the right thing to do anyway.
16428 2006-03-30 Wim Taymans <wim@fluendo.com>
16430 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16431 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16432 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16433 (gst_base_sink_record_qos_observation),
16434 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16435 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16436 (gst_base_sink_change_state):
16437 More QoS measurements as described in the design doc.
16438 Get rid of ringbuffer with observations, running average is
16439 more simple and equally good.
16440 Calculates valid proportion now.
16441 Added beginning of flood measurement.
16443 2006-03-29 Wim Taymans <wim@fluendo.com>
16445 * docs/design/part-qos.txt:
16447 Small documentation updates and additions.
16449 2006-03-29 Wim Taymans <wim@fluendo.com>
16451 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16452 (gst_base_src_send_event), (gst_base_src_loop),
16453 (gst_base_src_change_state):
16454 Perform the EOS logic when we reach the segment stop position.
16455 Fix compilation on gcc4.1
16457 2006-03-29 Wim Taymans <wim@fluendo.com>
16459 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16461 * plugins/elements/gstqueue.c: (gst_queue_init),
16462 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16463 (gst_queue_set_property):
16464 * plugins/elements/gstqueue.h:
16465 In queue, when EOS is received, if minimum threshold > max_size -
16466 current_level, there is chance that queue blocks forever in conditional
16467 item del wait. This is because the queue is not emptied completely due
16468 to minimum threshold. Here is another approach. Instead of setting
16469 cur_levels to max in EOS, just zero all minimum threshold levels. This
16470 should make sure that queue gives out all data. When going to READY
16471 (stop) state, just reset the original minimum threshold levels.
16474 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16476 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16477 (gst_type_find_element_handle_event),
16478 (gst_type_find_element_send_cached_events),
16479 (gst_type_find_element_change_state):
16480 * plugins/elements/gsttypefindelement.h:
16481 When typefinding is done in push mode, we should cache
16482 events we receive during typefinding instead of just
16483 dropping them (e.g. newsegment, custom events from
16484 dvdreadsrc etc.) and then send them out once we've
16485 determined the type of the stream (and decodebin
16486 has had a chance to plug in a decoder/demuxer).
16488 2006-03-27 Wim Taymans <wim@fluendo.com>
16490 * docs/design/part-qos.txt:
16493 2006-03-27 Wim Taymans <wim@fluendo.com>
16495 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16497 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16498 (gst_base_src_send_event), (gst_base_src_change_state):
16499 Handle element seek correctly when we are streaming.
16502 2006-03-24 Michael Smith <msmith@fluendo.com>
16504 * docs/faq/gst-uninstalled:
16505 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16506 allow you to correctly run intalled applications built against old
16507 core, using plugins that require updated core (e.g. running
16508 installed totem against a full uninstalled gstreamer stack)
16510 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16512 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16515 2006-03-24 Wim Taymans <wim@fluendo.com>
16517 * docs/gst/gstreamer-sections.txt:
16518 Rearrange the order of the methods so that related methods
16519 are grouped together in sections.
16521 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16523 * gst/gstelement.c:
16524 Little clarification in the docs
16526 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16530 * plugins/elements/gstidentity.c:
16531 * plugins/elements/gstqueue.c:
16532 * plugins/elements/gsttee.c:
16533 * plugins/elements/gsttypefindelement.c:
16534 GST_ELEMENT_DETAILS formatting
16536 2006-03-24 Wim Taymans <wim@fluendo.com>
16538 * libs/gst/base/gstbasesink.h:
16539 Only add fields, not insert or we break ABI.
16541 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16543 * win32/common/libgstbase.def:
16544 * win32/common/libgstreamer.def:
16545 Update, add recently added functions.
16547 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16549 * docs/gst/gstreamer-sections.txt:
16550 * gst/gstutils.c: (gst_pad_query_peer_position),
16551 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16553 API: add some new utility functions:
16554 - gst_pad_query_peer_position()
16555 - gst_pad_query_peer_duration()
16556 - gst_pad_query_peer_convert()
16558 2006-03-23 Wim Taymans <wim@fluendo.com>
16560 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16561 (gst_base_sink_init), (gst_base_sink_finalize),
16562 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16563 (gst_base_sink_set_property), (gst_base_sink_get_property),
16564 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16565 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16566 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16567 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16568 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16569 (gst_base_sink_preroll_object), (gst_base_sink_event),
16570 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16571 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16572 (gst_base_sink_query), (gst_base_sink_change_state):
16573 Decouple max-lateness and the fact that QoS messages are generated
16574 with a new property (qos).
16575 added API: GstBaseSink::async_play()
16576 Add vmethod so subclasses can be notified of ASYNC playing
16578 Collect timestamp start and stop to report better current
16579 position in EOS/PLAYING/PAUSED/READY/NULL.
16580 Refactor QoS/frame dropping and other measurements.
16581 API: GstBaseSrc::qos
16584 * libs/gst/base/gstbasesink.h:
16585 Added Private struct.
16586 API: gst_base_sink_set_qos_enabled()
16587 API: gst_base_sink_is_qos_enabled()
16589 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16591 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16592 If compiling against GLib-2.8 or newer, try to read the
16593 registry file using GMappedFile first before falling back
16594 to fopen() + fread() (#332151).
16596 2006-03-22 Wim Taymans <wim@fluendo.com>
16598 * gst/gstinfo.c: (gst_debug_set_active),
16599 (gst_debug_category_set_threshold):
16600 Disable debugging unless explicitly activated.
16603 2006-03-22 Wim Taymans <wim@fluendo.com>
16605 * gst/gstelement.c: (gst_element_set_locked_state),
16606 (gst_element_dispose):
16607 Cleanup the error case.
16609 * gst/gstobject.c: (gst_object_dispose):
16610 print a critical when some object was disposed with
16611 a parent, also revive the object since it might
16614 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16616 * tools/gst-launch.1.in:
16619 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16622 * tests/check/Makefile.am:
16623 disable some tests when we don't have a registry
16624 * tests/check/gst/gstutils.c: (gst_utils_suite):
16625 don't build the part that needs parsing
16627 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16630 * tests/examples/Makefile.am:
16631 fix --disable-parse build
16633 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16635 * tools/gst-feedback.1.in:
16636 Fix typo: s/feeback/feedback/ (#133494).
16638 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16640 * tools/Makefile.am:
16641 * tools/gst-launch.1.in:
16642 Add FILES section and correct entry about GST_REGISTRY_PATH
16643 environment variable (#133495; #133494).
16645 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16647 * tools/Makefile.am:
16648 * tools/gst-md5sum.1.in:
16649 * tools/gst-md5sum.c:
16650 Remove gst-md5sum and man page (the md5sink element
16651 required was removed ages ago)
16653 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16655 * gst/gststructure.c: (gst_structure_id_set_value):
16656 Make sure that string fields in structures/taglists
16657 contain valid UTF-8 - we don't want to pass rubbish to
16658 applications because of a buggy plugin (cp. #334167).
16660 2006-03-21 Edward Hervey <edward@fluendo.com>
16662 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16663 (gst_bin_handle_message_func):
16664 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16665 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16666 (gst_element_set_bus_func):
16667 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16668 * gst/gstminiobject.c: (gst_value_set_mini_object),
16669 (gst_value_take_mini_object):
16670 * gst/gstpad.c: (gst_pad_set_pad_template):
16671 * gst/gstpipeline.c: (gst_pipeline_dispose),
16672 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16673 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16674 (gst_collect_pads_chain):
16675 * libs/gst/net/gstnettimeprovider.c:
16676 (gst_net_time_provider_set_property):
16677 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16678 It's in fact all issues with gst_*object_replace().
16680 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16682 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16684 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16685 * pkgconfig/gstreamer-check.pc.in:
16686 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16688 2006-03-21 Edward Hervey <edward@fluendo.com>
16692 * gst/gstmessage.h:
16693 gst_[buffer|event|message]_ref() macros are replaced by a static
16694 inline functions because gcc-4.1 will about if the return value
16696 * tests/check/gst/gstevent.c: (event_probe):
16697 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16699 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16702 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16703 the type' case. (Closes: #335195 for now). In the future, when we
16704 depend on GLib 2.10, we could also intern the type name using
16705 g_intern_static_string()
16707 2006-03-20 Wim Taymans <wim@fluendo.com>
16709 * gst/gstbin.c: (gst_bin_handle_message_func),
16710 (bin_query_max_init), (bin_query_position_fold),
16711 (bin_query_position_done), (gst_bin_query):
16712 Position query should also take max of all streams.
16714 2006-03-20 Wim Taymans <wim@fluendo.com>
16716 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16717 (gst_fake_src_finalize):
16718 Fix leaks in fakesrc.
16720 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16721 Fix leaks in the testcase.
16723 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16725 * gst/gst_private.h:
16726 add win32 specific import decoration(__declspec(dllimport))
16727 for all extern GstDebugCategory * variables
16728 * win32/common/libgstbase.def:
16729 * win32/common/libgstcontroller.def:
16730 * win32/common/libgstreamer.def:
16731 Add some exports, remove empty lines
16732 * win32/common/libgstdataprotocol.def:
16733 * win32/common/libgstdataprotocol.dsp:
16734 * win32/common/libgstnet.def:
16735 * win32/common/libgstnet.dsp:
16736 new project files and exportation files added
16738 2006-03-19 Wim Taymans <wim@fluendo.com>
16740 * tests/check/libs/basesrc.c: (eos_event_counter):
16741 Use proper return value for probe.
16743 2006-03-17 Wim Taymans <wim@fluendo.com>
16745 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16747 Don't leak buffers, caps and pads on negotiation errors.
16749 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16751 * docs/faq/cvs.xml:
16752 * docs/faq/dependencies.xml:
16753 * docs/faq/developing.xml:
16754 * docs/faq/faq.xml:
16755 * docs/faq/general.xml:
16756 * docs/faq/getting.xml:
16757 * docs/faq/legal.xml:
16758 * docs/faq/troubleshooting.xml:
16759 * docs/faq/using.xml:
16760 Faq review and update.
16762 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16764 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16766 Don't pound the cpu to pieces by checking get_caps when accept_caps
16767 is called with the same caps as the pad already has.
16768 Use GST_DEBUG_OBJECT when outputting caps change information.
16770 2006-03-15 Wim Taymans <wim@fluendo.com>
16772 * gst/gstclock.c: (gst_clock_class_init):
16775 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16780 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16781 (gst_pad_accept_caps), (gst_pad_configure_sink),
16782 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16783 Make the default acceptcaps behaviour be to check the requested
16784 caps against the gst_pad_get_caps output.
16786 Ensure that gst_pad_accept_caps is used to check caps when a pad
16787 doesn't have a setcaps function, so that pads automatically refuse
16788 caps that they don't allow in their pad template. (Fixes #332986)
16790 When a buffer with attached caps is pushed, ensure that the source
16791 pad receives those caps even if the element didn't call
16792 gst_pad_set_caps first.
16794 2006-03-15 Wim Taymans <wim@fluendo.com>
16796 * libs/gst/base/gstadapter.c:
16799 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16801 * win32/common/libgstbase.def:
16802 * win32/common/libgstcontroller.def:
16803 * win32/common/libgstreamer.def:
16804 Add a whole bunch of missing functions (#334434).
16806 2006-03-14 Wim Taymans <wim@fluendo.com>
16808 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16809 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16810 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16811 Better debug info when we receive a segment event.
16812 Reorganize a bit so we can pass the get_times() results around.
16813 Use the segment format when calculating the running time.
16814 Don't do QoS is sync is disabled or we have no clock or the
16815 element does not want us to sync to the clock.
16816 Don't drop buffers if QoS is disabled for now.
16818 2006-03-14 Wim Taymans <wim@fluendo.com>
16820 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16821 Marked the stats property as unimplemented so people don't get
16823 Add debug message when regression goes wrong.
16824 Added some more docs.
16826 2006-03-14 Wim Taymans <wim@fluendo.com>
16828 * gst/gstsegment.c: (gst_segment_to_stream_time):
16829 Return correct return type in case of errors.
16831 2006-03-14 Wim Taymans <wim@fluendo.com>
16833 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16834 Don't segfault on invalid formats.
16836 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16838 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16839 Can't use gst_segment_to_running_time() when the segment
16840 is not in GST_TIME_FORMAT (like with filesink, for example).
16841 Stops flac encoding pipelines from spewing critical warnings
16844 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16846 * gst/gstpipeline.c: (gst_pipeline_class_init):
16847 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16849 * plugins/elements/gsttypefindelement.c:
16850 (gst_type_find_element_handle_event):
16851 Don't try to typefind empty streams.
16853 2006-03-14 Wim Taymans <wim@fluendo.com>
16855 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16856 (gst_base_sink_do_qos):
16857 Separate QoS calculation.
16858 Only drop buffers when lateness is bigger than the
16859 duration of the buffer.
16861 2006-03-13 Wim Taymans <wim@fluendo.com>
16863 * gst/gstpipeline.c: (gst_pipeline_set_property),
16864 (gst_pipeline_get_property), (do_pipeline_seek),
16865 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16866 (gst_pipeline_get_delay):
16867 Don't deadlock when reading properties.
16869 2006-03-13 Wim Taymans <wim@fluendo.com>
16871 * libs/gst/base/gstbasetransform.c:
16872 (gst_base_transform_class_init), (gst_base_transform_init),
16873 (gst_base_transform_sink_event),
16874 (gst_base_transform_sink_eventfunc),
16875 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16876 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16877 (gst_base_transform_set_property),
16878 (gst_base_transform_get_property),
16879 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16880 (gst_base_transform_set_qos_enabled),
16881 (gst_base_transform_is_qos_enabled):
16882 * libs/gst/base/gstbasetransform.h:
16883 Make basetransform virtual method for src events too.
16884 Handle QOS in basetransform.
16885 API: gst_base_transform_update_qos()
16886 API: gst_base_transform_set_qos_enabled()
16887 API: gst_base_transform_is_qos_enabled()
16889 2006-03-13 Wim Taymans <wim@fluendo.com>
16891 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16892 (gst_base_sink_do_sync):
16894 Use QOS debug category.
16896 2006-03-13 Wim Taymans <wim@fluendo.com>
16898 * plugins/elements/gstqueue.c:
16899 Very small doc update.
16901 2006-03-13 Wim Taymans <wim@fluendo.com>
16903 * gst/gst_private.h:
16904 * gst/gstinfo.c: (_gst_debug_init):
16905 Added QOS debug category
16907 2006-03-13 Wim Taymans <wim@fluendo.com>
16909 * docs/gst/gstreamer-sections.txt:
16910 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16912 * gst/gstbus.c: (gst_bus_class_init):
16915 * gst/gstelement.c: (gst_element_set_locked_state):
16916 * gst/gstsegment.c:
16917 Documentation updates.
16919 * gst/gstpipeline.c: (gst_pipeline_get_type),
16920 (gst_pipeline_class_init), (gst_pipeline_init),
16921 (gst_pipeline_dispose), (gst_pipeline_set_property),
16922 (gst_pipeline_get_property), (do_pipeline_seek),
16923 (gst_pipeline_send_event), (gst_pipeline_change_state),
16924 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16925 (gst_pipeline_get_delay):
16926 * gst/gstpipeline.h:
16927 Added methods for setting the delay.
16928 API: gst_pipeline_set_delay()
16929 API: gst_pipeline_get_delay()
16930 Add pipeline debug category
16933 Don't reset stream time when seek failed.
16935 2006-03-13 Wim Taymans <wim@fluendo.com>
16937 * docs/design/draft-klass.txt:
16938 * docs/design/part-clocks.txt:
16939 * docs/design/part-events.txt:
16940 * docs/design/part-gstbin.txt:
16941 * docs/design/part-gstpipeline.txt:
16942 * docs/design/part-messages.txt:
16943 * docs/design/part-negotiation.txt:
16944 * docs/design/part-overview.txt:
16945 * docs/design/part-preroll.txt:
16946 * docs/design/part-seeking.txt:
16947 * docs/design/part-states.txt:
16948 * docs/design/part-streams.txt:
16949 Documentation updates.
16951 2006-03-12 Julien MOUTTE <julien@moutte.net>
16953 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16954 us to leak strings...
16956 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16958 * libs/gst/net/gstnettimeprovider.c:
16960 * win32/common/config.h:
16963 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16965 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16968 Don't check for libgnomeui (leftover from old examples
16969 that aren't built or disted any longer) (#334303).
16971 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16973 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16974 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16975 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16976 there's no space left on the device.
16978 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16981 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16982 to cast the input to GstClockTime before comparing with
16983 another GstClockTime value.
16985 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16990 === release 0.10.4 ===
16992 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16995 releasing 0.10.4, "Light"
16997 2006-03-10 Michael Smith <msmith@fluendo.com>
16999 * libs/gst/dataprotocol/dataprotocol.c:
17000 Fix docs for dataprocotol to not get the return types completely
17001 wrong for a few functions.
17003 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17005 * docs/gst/gstreamer-sections.txt:
17006 * gst/gstpipeline.c: (gst_pipeline_class_init),
17007 (gst_pipeline_init), (gst_pipeline_set_property),
17008 (gst_pipeline_get_property), (gst_pipeline_change_state),
17009 (gst_pipeline_set_auto_flush_bus),
17010 (gst_pipeline_get_auto_flush_bus):
17011 * gst/gstpipeline.h:
17012 Add new API: gst_pipeline_set_auto_flush_bus() and
17013 gst_pipeline_get_auto_flush_bus() to disable automatic
17014 flushing of the pipeline's GstBus when going from READY
17015 to NULL state (#332045).
17017 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17019 * docs/gst/gstreamer-sections.txt:
17020 * gst/gsturi.c: (gst_uri_has_protocol):
17022 Add new API: gst_uri_has_protocol() (#333779).
17024 2006-03-09 Wim Taymans <wim@fluendo.com>
17026 * gst/gstclock.c: (gst_clock_entry_new),
17027 (gst_clock_id_compare_func), (gst_clock_id_wait),
17028 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
17029 (gst_clock_init), (gst_clock_get_internal_time),
17030 (gst_clock_set_master), (do_linear_regression),
17031 (gst_clock_add_observation), (gst_clock_set_property):
17035 Fix a possible segfault when the window-size is made smaller.
17036 Calculate jitter before performing the clock wait. Ideally
17037 the clock implementation should calculate jitter but we need
17038 API breakage for that.
17040 * gst/gstsystemclock.c: (gst_system_clock_init):
17043 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17044 Remove leftover else
17046 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17047 (gst_systemclock_suite):
17048 Added check to test GST_CLOCK_DIFF.
17050 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
17052 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17053 (gst_type_find_helper_get_range):
17054 If we are provided with the size, we should implement
17055 GstTypeFind::get_length, so that typefind functions who
17056 want to can actually peek at the middle of a file.
17058 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
17060 * docs/manual/advanced-dataaccess.xml:
17061 Add some very very basic error checking.
17063 * docs/pwg/appendix-checklist.xml:
17064 Some updates to the list of things to check when writing an element.
17066 2006-03-08 Wim Taymans <wim@fluendo.com>
17068 * docs/design/part-element-transform.txt:
17069 Added some docs about the design of tranform elements.
17071 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17072 (gst_base_src_loop), (gst_base_src_change_state):
17073 Mark buffers with the DISCONT flag.
17075 2006-03-08 Michael Smith <msmith@fluendo.com>
17077 * gst/gstregistry.h:
17078 * gst/gstregistryxml.c: (gst_registry_save),
17079 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17080 (gst_registry_xml_save_pad_template),
17081 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17082 (gst_registry_xml_write_cache):
17083 Rewrite registry-saving to avoid race conditions and check for
17086 2006-03-08 Wim Taymans <wim@fluendo.com>
17088 * libs/gst/base/gstbasetransform.c:
17089 (gst_base_transform_transform_caps),
17090 (gst_base_transform_transform_size),
17091 (gst_base_transform_prepare_output_buffer),
17092 (gst_base_transform_get_unit_size),
17093 (gst_base_transform_buffer_alloc),
17094 (gst_base_transform_handle_buffer),
17095 (gst_base_transform_change_state):
17096 Cleanups, separate normal flow from errors, add sensible
17098 Don't try to renegotiate when allocating an output buffer.
17099 Also copy DISCONT buffer flag when copying a buffer.
17100 Reset the transform after we finish streaming, not during.
17102 2006-03-08 Wim Taymans <wim@fluendo.com>
17104 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17105 Use last buffer timestamp in qos message.
17107 2006-03-07 Wim Taymans <wim@fluendo.com>
17109 Patch by: Christophe Fergeau
17111 * docs/pwg/advanced-tagging.xml:
17112 * docs/pwg/building-pads.xml:
17115 2006-03-07 Wim Taymans <wim@fluendo.com>
17117 * docs/libs/gstreamer-libs-sections.txt:
17118 Added basesink new methods.
17122 Docs updates. Flesh out the QoS docs.
17124 * libs/gst/base/gstadapter.c:
17125 Small doc clarification about ownership and flushing.
17127 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17128 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17129 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17130 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17131 * libs/gst/base/gstbasesink.h:
17133 Added new methods to allow subclass to control max-lateness
17135 Generate very basic QoS events based on last sync observation.
17136 Updated docs, fix typo, added some QoS blurb.
17138 * libs/gst/base/gstbasesrc.c:
17139 Remove obsolete _get_state() calls from docs.
17141 2006-03-07 Wim Taymans <wim@fluendo.com>
17143 * docs/libs/gstreamer-libs-sections.txt:
17144 * libs/gst/base/gstbasetransform.h:
17145 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17146 Fix docs for GstBaseSrc.
17148 2006-03-07 Wim Taymans <wim@fluendo.com>
17150 * docs/gst/gstreamer-sections.txt:
17153 * libs/gst/base/gstbasetransform.h:
17154 Small documentation fixes.
17156 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17159 Document thread-unsafety of gst_value_register_foo_func()
17160 when used at the same time as gst_value_foo() (#322628).
17162 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17164 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17165 (gst_push_src_check_get_range):
17166 Push sources don't support pull mode by default.
17168 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17170 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17171 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17172 (gst_base_src_default_check_get_range):
17173 * libs/gst/base/gstbasesrc.h:
17174 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17175 provide default implementation, and rename
17176 gst_base_src_check_get_range() to
17177 gst_base_src_pad_check_get_range() for clarity.
17179 2006-03-06 Wim Taymans <wim@fluendo.com>
17181 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17182 Make property overridable.
17184 2006-03-06 Wim Taymans <wim@fluendo.com>
17186 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17187 (gst_base_sink_init), (gst_base_sink_set_property),
17188 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17189 * libs/gst/base/gstbasesink.h:
17190 API addition: Make max-lateness a property.
17192 2006-03-06 Wim Taymans <wim@fluendo.com>
17194 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17195 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17196 Don't ever draw a frame that is >10ms late.
17198 2006-03-06 Michael Smith <msmith@fluendo.com>
17200 * gst/gstmessage.c: (_gst_message_copy):
17201 When copying a message, set the parent_refcount of the enclosed
17202 structure to point at the copy, not the original message.
17204 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17206 Patch by: Christophe Fergeau
17209 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17210 usable in c++ code (#333417)
17212 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17215 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17217 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17219 * libs/gst/base/gstbasetransform.c:
17220 (gst_base_transform_transform_caps):
17221 Make sure caps are writable before passing them to
17224 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17227 Fix some minor docs errors.
17229 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17231 Patch by: Ross Burton <ross at burtonini dot com>
17233 * gst/gsterror.c: (_gst_resource_errors_init):
17235 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17237 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17240 Add a check and output a g_warning when GStreamer is built
17241 against GLib 2.6 but running against 2.8 or higher, and vice
17242 versa. (Closes: #323542)
17244 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17246 * gst/parse/parse.l:
17247 Commit patch for parse_launch syntax from #331255. Removes
17248 support for quoted strings and mimetypes when writing filtered
17249 caps. See the bug report for more details - I'm pretty sure this
17250 obscure feature is not in use by _anyone_ anywhere.
17252 With this simple change, the size of the gstreamer.so here
17253 drops from 2193KB to 1565KB.
17255 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17257 * plugins/elements/gsttypefindelement.h:
17258 * plugins/elements/gsttypefindelement.c:
17259 (gst_type_find_element_src_event), (start_typefinding),
17260 (stop_typefinding), (gst_type_find_element_handle_event),
17261 (gst_type_find_element_chain),
17262 (gst_type_find_element_chain_do_typefinding):
17263 Use gst_type_find_helper_for_buffer() for chain-based
17266 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17268 * plugins/elements/gsttypefindelement.c:
17269 (gst_type_find_element_class_init),
17270 (gst_type_find_element_set_property),
17271 (gst_type_find_element_get_property):
17272 Deprecate "maximum" property (not only was it only taken into
17273 account for typefinding in push-mode anyway, it also was never
17274 actually possible to set it in the first place because the
17275 property was registered with the numeric property ID for the
17276 "minimum" property). Register "maximum" property correctly,
17277 for the sake of future copy'n'pasters. Remove some cruft
17278 from property get/set functions.
17280 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17282 * plugins/elements/gsttypefindelement.c:
17283 (gst_type_find_element_activate):
17284 Use gst_type_find_helper_get_range() here, so we
17285 can honour the "minimum" property and also emit
17286 the signal with the correct probability of the found caps.
17288 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17290 * docs/libs/gstreamer-libs-sections.txt:
17291 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17292 (helper_find_suggest), (gst_type_find_helper_get_range),
17293 (gst_type_find_helper):
17294 * libs/gst/base/gsttypefindhelper.h:
17295 New API: gst_type_find_helper_get_range() (#333042).
17297 2006-03-02 Michael Smith <msmith@fluendo.com>
17299 * gst/gstregistryxml.c: (load_feature):
17300 Asserting on a failure to read part of the registry is Not Cool.
17301 Just log a warning and return NULL (which is already handled)
17303 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17305 * win32/common/libgstbase.def:
17306 added export of gst_type_find_helper_for_buffer
17307 * win32/common/libgstbase.def:
17308 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17309 gst_ghost_pad_get_target
17311 2006-02-28 Wim Taymans <wim@fluendo.com>
17313 * docs/design/draft-klass.txt:
17315 Added Connector to mark elements that are only used to
17316 allow pipeline connections.
17317 Moved Debug to extra feature since most of them are
17318 functionally something else.
17320 2006-02-28 Wim Taymans <wim@fluendo.com>
17322 * docs/design/draft-klass.txt:
17323 Some updates and clarifications.
17325 2006-02-28 Wim Taymans <wim@fluendo.com>
17327 * docs/design/draft-klass.txt:
17328 Proposal for klass field values.
17330 * docs/design/part-streams.txt:
17331 Start of a doc describing stream anatomy.
17333 2006-02-28 Wim Taymans <wim@fluendo.com>
17335 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17336 Help the compiler a bit with type registration.
17337 Use existing forward cod path instead of duplicating it when
17338 handling a message.
17340 * gst/gstbus.c: (gst_bus_get_type):
17341 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17342 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17343 * gst/gstclock.c: (gst_clock_get_type):
17344 * gst/gstelement.c: (gst_element_get_type),
17345 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17346 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17347 * gst/gstminiobject.c: (gst_mini_object_get_type):
17348 * gst/gstpad.c: (gst_pad_get_type):
17349 * gst/gstsegment.c: (gst_segment_get_type):
17350 * gst/gststructure.c: (gst_structure_get_type):
17351 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17352 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17354 Help compiler with type registration.
17356 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17359 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17361 * plugins/elements/gsttypefindelement.c:
17362 (gst_type_find_element_handle_event):
17363 When we get an EOS event and have not found a type yet
17364 (most likely because we had not yet accumulated
17365 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17366 type given the data we have so far. Fixes typefinding
17367 for very short streams again, most notably quicktime
17368 redirections as used on Apple's trailer site (#331701).
17370 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17372 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17373 (gst_type_find_helper):
17374 Try typefinding factories with the highest rank first.
17376 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17378 * docs/libs/gstreamer-libs-docs.sgml:
17379 * docs/libs/gstreamer-libs-sections.txt:
17380 * libs/gst/base/gsttypefindhelper.c:
17381 Add section for typefind helper and add documentation
17382 for the old and the new function.
17384 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17386 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17387 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17388 (gst_type_find_helper_for_buffer):
17389 * libs/gst/base/gsttypefindhelper.h:
17390 New API: gst_type_find_helper_for_buffer() (#332723).
17392 2006-02-27 Michael Smith <msmith@fluendo.com>
17394 Patch by: Loïc Minier
17397 * docs/Makefile.am:
17398 * docs/slides/Makefile.am:
17399 prevent CVS directories getting disted.
17401 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17403 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17404 Use the REFCOUNTING category for caps refcounting.
17406 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17408 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17409 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17411 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17413 * plugins/elements/gsttypefindelement.c:
17414 (gst_type_find_element_activate):
17415 Use gst_pad_check_pull_range() before _activate_pull()
17416 to avoid unnecessary open/close (see #331690).
17418 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17421 Docs enhancement: make it crystal clear what the
17422 gst_pad_add_*_probe() callbacks should look like.
17424 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17426 * libs/gst/base/gstbasesrc.c:
17427 Document how applications can stop recording from
17428 live sources (see #330996).
17430 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17432 * tests/check/Makefile.am:
17433 * tests/check/libs/basesrc.c: (eos_event_counter),
17434 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17435 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17436 (gst_basesrc_suite), (main):
17437 ... and add some tests for the base source EOS stuff.
17439 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17441 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17442 Test case originally showed the problem fixed below,
17443 but was then amended. Add checks back at the place
17444 where they used to be.
17446 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17448 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17449 (gst_base_src_init), (gst_base_src_loop),
17450 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17451 (gst_base_src_change_state):
17452 * libs/gst/base/gstbasesrc.h:
17453 Don't unconditionally send EOS when going from PAUSED to
17454 READY state, esp. make sure we don't send two EOS events
17455 in some cases (e.g. one when reaching EOS and one when
17456 going from PAUSED to READY). Also, we don't want to send
17457 EOS events when operating in pull mode. However, we do
17458 want to send an EOS event when shutting down a live
17459 source explicitly, for example (fixes #330996).
17461 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17463 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17464 Update src->read_position after a seek when not using mmap.
17465 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17467 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17473 Make things work with --disable-parse as they do with
17474 --disable-load-save - the symbols involved disappear, but the
17475 header is still installed and GST_DISABLE_PARSE is included via
17478 2006-02-20 Julien MOUTTE <julien@moutte.net>
17480 * libs/gst/base/gstbasetransform.c:
17481 (gst_base_transform_change_state): Fix a stupid bug. I was
17482 sure I compiled that.
17484 2006-02-20 Julien MOUTTE <julien@moutte.net>
17486 * gst/gstpad.c: (gst_pad_set_blocked_async):
17487 * gst/gstutils.c: (gst_pad_add_data_probe),
17488 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17489 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17490 (gst_pad_remove_buffer_probe): Make those function act on the
17491 ghostpad target when it's a ghostpad. (Closes #331727)
17493 2006-02-20 Julien MOUTTE <julien@moutte.net>
17495 * libs/gst/base/gstbasetransform.c:
17496 (gst_base_transform_change_state): Make basetransform reusable.
17499 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17501 * docs/random/release:
17502 Move the current documentation of how to do a release to the top
17505 * gst/gstbin.c: (gst_bin_class_init),
17506 (gst_bin_handle_message_func):
17507 Allow multiple state-recalculation threads. (Closes #328873)
17509 2006-02-19 Julien MOUTTE <julien@moutte.net>
17511 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17512 * gst/gstpad.c: (gst_pad_set_event_function),
17513 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17514 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17515 2 strings. You can't use the STR_NULL macro on that.
17517 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17519 * gst/gstpad.c: (gst_pad_set_event_function),
17520 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17521 (gst_pad_set_getcaps_function)
17522 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17523 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17524 So now, we can use --gst-debug-level=5 on Windows
17525 * win32/common/libgstcontroller.def:
17526 Added export of gst_controller_init
17527 * win32/vs6/libgstcontroller.dsp:
17528 Fixed Release post build configuration
17530 2006-02-17 Wim Taymans <wim@fluendo.com>
17532 * tests/check/gst/gstquery.c: (GST_START_TEST):
17533 Added another check.
17535 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17537 * plugins/elements/gsttypefindelement.c: (find_peek):
17538 We can do peeks at non-zero offsets, as long as they
17539 fall within the buffer we have.
17541 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17543 * tests/check/Makefile.am:
17544 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17545 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17546 (parse_suite), (main):
17547 Add testsuite for parse launch syntax
17549 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17551 * plugins/elements/gsttypefindelement.c:
17552 (gst_type_find_element_chain):
17553 When typefinding is unsuccessful in the chain function, don't
17554 error out immediately. Only error out with NO_CAPS_FOUND if
17555 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17556 otherwise simply wait for more data so we can try typefinding
17557 again with more data later. Also, don't attempt to typefind
17558 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17559 this should improve typefinding from network sources where the
17560 size of the first buffer can be somewhat random.
17562 2006-02-14 Wim Taymans <wim@fluendo.com>
17564 * docs/gst/gstreamer-sections.txt:
17565 * gst/gstpadtemplate.c:
17566 * gst/gstpadtemplate.h:
17567 Fix padtemplate docs, fixes #328805.
17569 2006-02-14 Wim Taymans <wim@fluendo.com>
17571 * tools/gst-launch.c: (main):
17572 NO_PREROLL is not an ERROR so don't send confusing messages
17575 2006-02-14 Wim Taymans <wim@fluendo.com>
17577 Patch by: Torsten Schoenfeld
17579 * gst/gstregistry.c: (gst_registry_get_default),
17580 (_gst_registry_cleanup):
17581 Protect default registry with lock and ref/sink it.
17584 2006-02-14 Wim Taymans <wim@fluendo.com>
17587 * gst/gstquery.c: (gst_query_list_add_format),
17588 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17589 (gst_query_parse_formats_nth):
17590 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17593 2006-02-14 Wim Taymans <wim@fluendo.com>
17595 * docs/gst/gstreamer-sections.txt:
17596 Reworked query docs.
17598 * gst/gstquery.c: (gst_query_new_formats),
17599 (gst_query_list_add_format), (gst_query_set_formats),
17600 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17601 (gst_query_parse_formats_nth):
17603 Flesh out formats query, added some new methods.
17604 Fix part of #324398.
17606 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17607 Added query creation tests.
17609 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17611 * gst/gstpad.c: (fixate_value):
17612 Add a default fixation for fraction lists.
17614 2006-02-13 Wim Taymans <wim@fluendo.com>
17616 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17617 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17620 Detect and warn for obvious deadlocks. fixes #320340
17621 Fix error case where lock was not released.
17623 * tests/check/Makefile.am:
17624 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17625 (task_func), (gst_element_suite), (main):
17628 2006-02-13 Wim Taymans <wim@fluendo.com>
17630 * docs/gst/gstreamer-sections.txt:
17632 Add new functions to docs.
17634 2006-02-13 Wim Taymans <wim@fluendo.com>
17636 * docs/design/part-TODO.txt:
17637 Updated TODO list, basesrc supports seeking to non-bytes
17640 * docs/design/part-element-sink.txt:
17643 * gst/gstbin.c: (bin_replace_message),
17644 (gst_bin_handle_message_func):
17645 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17646 * gst/gstevent.c: (gst_event_finalize):
17647 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17648 (gst_pad_send_event):
17649 Use shiny new _TYPE_NAME macros.
17651 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17652 Move debug statement up.
17654 * gst/gstelement.c: (gst_element_set_locked_state):
17655 Add some debugging.
17657 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17659 * docs/gst/gstreamer-sections.txt:
17660 * gst/gstmessage.h:
17662 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17663 macros (#330906). Also, document the already existing
17664 GST_QUERY_TYPE macro.
17666 2006-02-13 Wim Taymans <wim@fluendo.com>
17668 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17669 (event_probe), (GST_START_TEST):
17670 Only events up to the pipeline EOS are counted, there are
17671 some more when going to NULL currently which we don't care
17674 2006-02-13 Wim Taymans <wim@fluendo.com>
17676 * gst/gstpad.c: (gst_pad_send_event):
17677 Correctly check flushing and emit probes. fixes #330125
17679 2006-02-10 Andy Wingo <wingo@pobox.com>
17681 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17683 (gst_bus_init): Cache the location of the private data in the
17684 instance structure.
17685 (gst_bus_enable_sync_message_emission)
17686 (gst_bus_disable_sync_message_emission): Implement new public
17688 (gst_bus_post): Emit the sync-message signal if the user asked for
17691 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17692 location of the bus-private structure.
17693 (gst_bus_enable_sync_message_emission)
17694 (gst_bus_disable_sync_message_emission): API addition
17696 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17698 Patch by: Vincent Torri
17700 * docs/pwg/building-boiler.xml:
17701 PWG patch from #326800
17703 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17706 * docs/Makefile.am:
17707 * docs/design/Makefile.am:
17710 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17715 === release 0.10.3 ===
17717 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17720 releasing 0.10.3, "Like a virgin"
17722 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17725 2nd prerelease of 0.10.3
17726 Bump libtool versioning.
17728 2006-02-07 Andy Wingo <wingo@pobox.com>
17730 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17731 update last_stop if we're in TIME format and the timestamp is
17734 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17735 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17736 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17737 If we get a new newsegment with a different format, adapt
17740 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17741 of 0. Not a problem, really.
17743 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17746 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17751 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17754 project files updated to the default vs7 configuration
17755 * win32/common/libgstbase.def:
17756 * win32/common/libgstreamer.def:
17758 removed empty lines,
17759 sorted all exported symbols alphabetically
17760 * win32/common/dirent.c:
17761 * win32/common/dirent.h:
17762 * win32/common/gchar.h:
17763 use windows line end.
17765 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17767 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17768 Send EOS event when stopping.
17770 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17773 Tell folks what to do if the plugin-foobar.xml file
17774 hasn't been generated for a newly-added plugin.
17776 2006-02-05 Julien MOUTTE <julien@moutte.net>
17778 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17779 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17780 (gst_collect_pads_start), (gst_collect_pads_stop),
17781 (gst_collect_pads_event): Collectpads now holds a reference
17782 to the GstPad that was added. Indeed we don't want to look
17783 at pads that might just go away with no warning...
17785 2006-02-05 Julien MOUTTE <julien@moutte.net>
17787 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17788 (gst_collect_pads_start), (gst_collect_pads_stop),
17789 (gst_collect_pads_event), (gst_collect_pads_chain):
17790 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17791 Mark Nauwelaerts's patch on bug #328491.
17793 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17795 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17797 Add some simple tests for gst_parse_bin_from_description() and
17798 gst_bin_find_unconnected_pad() (#329069).
17800 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17802 * tools/gst-launch.c: (event_loop), (main):
17803 Catch errors during preroll (#320084).
17805 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17807 * plugins/elements/gsttypefindelement.c:
17808 (gst_type_find_element_activate):
17809 Post TYPE_NOT_FOUND error message when typefinding
17810 is unsuccessful in the activate function as well.
17812 2006-02-02 Wim Taymans <wim@fluendo.com>
17814 * docs/design/part-element-sink.txt:
17817 2006-02-02 Wim Taymans <wim@fluendo.com>
17819 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17820 (gst_base_sink_render_object),
17821 (gst_base_sink_queue_object_unlocked):
17822 Only keep track of prerollable items when we are
17824 Before rendering after preroll, always check if we
17826 Added some more debugging.
17828 2006-02-02 Wim Taymans <wim@fluendo.com>
17830 * gst/gstelement.c: (gst_element_continue_state),
17831 (gst_element_set_state_func), (gst_element_change_state):
17832 Fixed #326576, been running this for quite some time with
17833 no regressions at all.
17835 2006-02-02 Wim Taymans <wim@fluendo.com>
17838 Added more suppressions
17840 2006-02-02 Wim Taymans <wim@fluendo.com>
17842 * docs/design/part-element-sink.txt:
17845 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17846 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17847 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17848 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17849 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17850 (gst_base_sink_preroll_object),
17851 (gst_base_sink_queue_object_unlocked),
17852 (gst_base_sink_queue_object), (gst_base_sink_event),
17853 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17854 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17855 (gst_base_sink_get_position), (gst_base_sink_change_state):
17856 * libs/gst/base/gstbasesink.h:
17857 Totally refactored matching the design doc.
17858 Use two segments, one to clip incomming buffers and another to
17860 Handle queueing correctly, bypass the queue when playing.
17861 Make EOS cancelable.
17862 Handle errors correctly when operating in pull based mode.
17864 * tests/check/elements/fakesink.c: (GST_START_TEST),
17866 Added new check for sinks.
17868 2006-02-02 Wim Taymans <wim@fluendo.com>
17870 * gst/gstsegment.c: (gst_segment_clip):
17871 No reason to refuse to clip when start == -1
17873 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17876 * docs/manual/intro-basics.xml:
17877 * docs/manual/intro-preface.xml:
17878 * docs/manual/manual.xml:
17879 * docs/pwg/advanced-dparams.xml:
17880 * docs/pwg/intro-basics.xml:
17881 * docs/pwg/intro-preface.xml:
17882 * docs/pwg/pwg.xml:
17883 describe dparams (controller) for plugins
17884 unify docs a little more
17886 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17888 * docs/gst/gstreamer-sections.txt:
17889 * gst/gstutils.c: (element_find_unconnected_pad),
17890 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17892 Add new API: gst_parse_bin_from_description() and
17893 gst_bin_find_unconnected_pad() (#329069).
17895 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17897 * docs/manual/README:
17898 uncover a nasty detail of the docs build
17900 2006-01-31 Wim Taymans <wim@fluendo.com>
17902 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17903 Don't cache duration messages if we're not going to use or
17906 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17908 * docs/manual/advanced-dparams.xml:
17909 * docs/pwg/advanced-dparams.xml:
17913 * libs/gst/controller/lib.c: (gst_controller_init):
17916 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17918 * gst/gstelement.c: (gst_element_message_full):
17919 also show file/line/func if no additional debug was given
17921 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17923 * win32/vs7/grammar.vcproj:
17924 activate copy of autogenerated files for Release mode
17926 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17928 * win32/common/libgstreamer.def:
17929 export gst_value_compare
17931 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17933 * plugins/elements/Makefile.am:
17934 * plugins/elements/gstelements.c:
17935 * plugins/elements/gstfdsink.c: (_do_init),
17936 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17937 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17938 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17939 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17940 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17941 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17942 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17943 * plugins/elements/gstfdsink.h:
17944 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17946 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17948 * docs/manual/advanced-dparams.xml:
17949 describe controller
17950 * docs/manual/advanced-position.xml:
17951 * docs/manual/basics-init.xml:
17952 * docs/manual/manual.xml:
17953 * docs/manual/titlepage.xml:
17954 * docs/pwg/pwg.xml:
17955 * docs/pwg/titlepage.xml:
17956 cleanup xml (more to come)
17957 * libs/gst/controller/gstcontroller.c:
17960 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17962 * win32/vs6/grammar.dsp:
17963 add autogen of gstmarshal.c,h for Release mode
17965 2006-01-30 Wim Taymans <wim@fluendo.com>
17967 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17968 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17969 (gst_base_sink_handle_object), (gst_base_sink_event),
17970 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17971 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17972 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17973 (gst_base_sink_deactivate), (gst_base_sink_activate),
17974 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17975 (gst_base_sink_query), (gst_base_sink_change_state):
17976 Basesink cleanups, remove some old code.
17977 Handle the case where a subclass can preroll in the render
17978 method (mostly audiosinks).
17979 Handle more events.
17980 Remove some locks around variables that are now protected
17981 with the PREROLL_LOCK (clock_id, flushing, ..).
17982 Optimize position query some more, do correct locking.
17983 Remove old code to push queue in state change, this is not
17984 needed anymore since preroll blocks on all prerollable items
17986 Almost implemented as described in design doc.
17988 2006-01-30 Wim Taymans <wim@fluendo.com>
17990 * tests/check/gst/gstbin.c: (GST_START_TEST):
17991 Wait for refcount to settle down before checking.
17993 2006-01-30 Wim Taymans <wim@fluendo.com>
17995 * docs/design/part-element-sink.txt:
17996 Pseudo code overview of desired sink behaviour regarding
17999 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
18000 * win32/vs6/grammar.dsp:
18001 fix some bugs in Release mode for autogenerated files
18003 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
18004 * win32/common/libgstbase.def:
18005 * win32/common/libgstreamer.def:
18006 export some new symbols: gst_base_src_set_format,
18007 gst_iterator_next, gst_structure_set_valist
18009 2006-01-29 Julien MOUTTE <julien@moutte.net>
18011 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
18012 Set pad functions unconditionally. Fixes #329105.
18014 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
18016 add vs8 project files created by Sergey Scobich
18018 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
18020 * gst/gstutils.c: (gst_element_unlink_pads):
18021 Don't leak pad references.
18023 * tests/check/elements/fakesink.c: (GST_START_TEST):
18024 * tests/check/generic/sinks.c: (GST_START_TEST):
18025 * tests/check/generic/states.c: (GST_START_TEST):
18026 * tests/check/gst/gstbin.c: (GST_START_TEST):
18027 * tests/check/gst/gstcaps.c: (GST_START_TEST):
18028 * tests/check/gst/gstelement.c: (GST_START_TEST):
18029 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
18030 * tests/check/gst/gstiterator.c: (GST_START_TEST):
18031 * tests/check/gst/gstvalue.c: (GST_START_TEST):
18032 Fix a bunch of leaks. Make generic/sinks.c
18033 use a bit less cpu by slowing the buffer rate
18034 between fakesrc and fakesink.
18036 2006-01-27 Stefan Kost <ensonic@users.sf.net>
18038 * gst/gstelement.c: (gst_element_send_event):
18041 * gst/gstiterator.c:
18042 * gst/gstiterator.h:
18043 * gst/gstpad.c: (gst_pad_send_event):
18044 * gst/gststructure.c:
18048 * libs/gst/base/gstadapter.c:
18049 doc fixes, to link to function, just write gst_cool_function(), don't
18052 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18054 * plugins/elements/gsttee.c: (gst_tee_do_push),
18055 (gst_tee_handle_buffer):
18056 Always prefer an actual return value from a src
18057 pad in place of NOT_LINKED. This means we return
18058 WRONG_STATE when all src pads are WRONG_STATE
18059 instead of NOT_LINKED.
18061 Lock when replacing the last message to prevent
18062 racing with the get_property method.
18066 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18068 * tests/check/Makefile.am:
18069 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18071 Add a very simple check that should have caught the memleak I fixed
18072 last night (if not for the slice allocator hiding it)
18074 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
18076 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18077 (gst_bin_remove_func), (gst_bin_handle_message_func),
18078 (bin_query_duration_fold), (bin_query_generic_fold):
18079 Clean up references to the clock provider when disposed or when
18080 handling a clock-lost message from it.
18082 Unref sinks when performing a query via gst_iterator_fold, as the
18083 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18085 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18086 (gst_clock_set_master):
18087 Drop our reference to the master clock, if any, when we are disposed.
18089 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18090 Chain up in dispose.
18092 2006-01-26 Wim Taymans <wim@fluendo.com>
18094 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18095 Add some debugging.
18097 2006-01-26 Julien MOUTTE <julien@moutte.net>
18099 * plugins/elements/gsttee.c: (gst_tee_do_push),
18100 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18101 handles pad being NOT_LINKED or in WRONG_STATE.
18103 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18108 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18111 remove obsolete entry
18113 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18115 * docs/gst/gstreamer-sections.txt:
18116 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18117 (gst_bin_iterate_sources), (gst_bin_send_event):
18119 * gst/gstelement.c: (gst_element_send_event):
18121 * gst/gstpad.c: (gst_pad_send_event):
18122 added code for downstream events, reviewed docs in gstevent.c
18124 2006-01-25 Julien MOUTTE <julien@moutte.net>
18126 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18127 We only query position using the clock in the playing state.
18128 Query peer in the other cases.
18129 * win32/common/config.h: Updates.
18131 2006-01-24 Wim Taymans <wim@fluendo.com>
18133 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18134 A clock entry that is scheduled for the exact time of the
18135 clock is still in time.
18137 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18138 (gst_base_sink_do_sync):
18139 Add some more debug info.
18141 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18144 Add new vs7 project files and solution.
18146 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18149 all files removed as they were out-dated.
18151 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18153 * docs/random/release:
18155 * gst/gstbin.c: (gst_bin_init):
18156 * gst/gstbus.c: (gst_bus_new):
18158 * gst/gstpipeline.c: (gst_pipeline_init):
18159 use gst_bus_new(), improve logging, fix docs
18160 * win32/common/config.h:
18161 update for cvs build
18163 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18166 up required version of automake to 1.7
18168 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18170 * win32/common/libgstreamer.def:
18171 export gst_buffer_is_metadata_writable
18173 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18175 * docs/gst/gstreamer-sections.txt:
18177 Add gst_event_replace() (#327001)
18179 2006-01-20 Wim Taymans <wim@fluendo.com>
18181 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18182 Make it actually compile too..
18184 2006-01-20 Wim Taymans <wim@fluendo.com>
18187 Clarify behaviour of _is_equal() when passing NULL parameters.
18189 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18190 (gst_pad_set_caps):
18191 Cleanups. Don't unref NULL caps.
18192 When setting the same caps, protect caps of the pad with
18194 Use full functionality of _is_equal() when comparing caps.
18196 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18198 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18199 Don't loop infinitely if there are no buffers to present. Partially
18200 fixes #327197, but collectpads is just broken for reusing elements
18201 to do multiple encodes atm.
18203 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18205 * tools/gst-inspect.c: (print_element_features):
18206 * tools/gst-xmlinspect.c: (main):
18207 URL_HANDLER is not a plugin feature we can search for in
18210 2006-01-19 Edward Hervey <edward@fluendo.com>
18212 * gst/gstelement.c: (gst_element_pads_activate):
18213 When activating, do src pads first, then sink pads.
18214 When de-activating, do sink pads first, then src pads.
18216 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18218 * docs/gst/gstreamer-sections.txt:
18219 Add gst_index_add_associationv to the docs
18221 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18226 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18227 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18228 Do some refactoring. Doesn't actually change functionality,
18229 but makes landing the DRAIN event easier later.
18231 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18233 * docs/pwg/advanced-scheduling.xml:
18234 Update from 0.9.x to 0.10 API and make example a bit
18237 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18239 * docs/gst/gstreamer-sections.txt:
18240 Add gst_buffer_(is|make)_metadata_writable methods.
18242 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18244 * docs/design/part-sparsestreams.txt:
18245 Update sparse streams doc, hopefully for greater clarity
18247 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18249 * docs/design/part-events.txt:
18250 Remove mention of FILLER events.
18253 * docs/design/part-sparsestreams.txt:
18254 Write some things about using NEWSEGMENT to keep sparse streams
18257 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18259 * gst/gstbin.c: (gst_bin_dispose):
18260 Guard gst_object_unref call against a NULL object (dispose
18261 can theoretically be called multiple times).
18263 2006-01-18 Wim Taymans <wim@fluendo.com>
18265 * gst/gstbin.c: (gst_bin_element_set_state):
18266 * gst/gstclock.c: (gst_clock_id_wait):
18267 Added some more debug info.
18269 * libs/gst/base/gstadapter.c:
18272 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18273 (gst_base_sink_do_sync), (gst_base_sink_chain):
18274 Added some comments.
18276 2006-01-18 Wim Taymans <wim@fluendo.com>
18278 * tests/check/Makefile.am:
18279 * tests/check/elements/fakesink.c: (chain_async_buffer),
18280 (chain_async), (chain_async_return), (GST_START_TEST),
18281 (fakesink_suite), (main):
18282 Added fakesink test that checks prerolling and clipping
18285 * tests/check/gst/gstutils.c: (GST_START_TEST):
18286 Make check run faster so that buildbots don't timeout.
18288 2006-01-18 Wim Taymans <wim@fluendo.com>
18290 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18291 (gst_base_sink_do_sync):
18293 When the sink finishes blocking on the preroll buffer, it can
18294 immediatly render it instead of rendering when the next buffer
18297 2006-01-18 Wim Taymans <wim@fluendo.com>
18299 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18300 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18301 (gst_base_sink_chain):
18303 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18304 Don't store _last_stop if the buffer is dropped.
18306 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18308 * plugins/elements/gsttypefindelement.c:
18309 (gst_type_find_element_class_init):
18310 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18311 object method handler that sets the caps on the pad and we want
18312 that to happen before we emit the signal (fixes e.g. feeding a
18313 plain text file to decodebin).
18315 2006-01-18 Christian Schaller <Christian@fluendo.com>
18317 * gst/gstplugin.c: Add MPL and Proprietary as license options
18319 2006-01-18 Andy Wingo <wingo@pobox.com>
18321 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18322 symbol was exported before, it appears this was just an oversight.
18324 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18326 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18327 prototype to gint. OK since this prototype was not in the header.
18329 2006-01-17 Andy Wingo <wingo@pobox.com>
18331 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18332 registry while we remove plugins.
18334 * tools/gst-inspect.c (print_element_info): Don't unref the
18335 factory arg, that should be the responsibility of whatever code
18336 received the ref. Fixes a double-free when called from
18337 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18338 (main): Unref the factory if we have one.
18339 (print_element_list): No change -- relies on the
18340 plugin_feature_list_free to free the list of features.
18342 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18344 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18345 (gst_buffer_make_metadata_writable):
18347 * libs/gst/base/gstbasetransform.c:
18348 (gst_base_transform_prepare_output_buf):
18349 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18350 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18351 Replace gst_buffer_(make|is)_metadata_writable patch now
18352 that the release is out.
18354 2006-01-17 Andy Wingo <wingo@pobox.com>
18356 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18357 in the present tense without reference to versions.
18359 * gst/gstregistry.c (gst_registry_add_plugin)
18360 (gst_registry_remove_plugin, gst_registry_remove_feature)
18361 (gst_registry_find_feature, gst_registry_get_feature_list)
18362 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18363 (gst_registry_lookup, gst_registry_scan_path)
18364 (_gst_registry_remove_cache_plugins)
18365 (gst_registry_get_feature_list_by_plugin): Add argument
18368 === release 0.10.2 ===
18370 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18373 releasing 0.10.2, "If man is five"
18375 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18379 * libs/gst/base/gstbasetransform.c:
18380 (gst_base_transform_prepare_output_buf):
18381 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18382 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18383 Back out patch until after the release.
18385 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18387 * gst/gstminiobject.c:
18388 Spelling fix in docs.
18389 * ChangeLog - remove conflict indicator
18391 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18393 Reviewed By: Andy Wingo
18395 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18396 (gst_buffer_make_metadata_writable):
18398 Add gst_buffer_(is|make)_metadata_writable as analogues of
18399 gst_buffer_(is|make)_writable.
18401 * libs/gst/base/gstbasetransform.c:
18402 (gst_base_transform_prepare_output_buf):
18403 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18404 Use name gst_buffer_(is|make)_metadata_writable functions.
18406 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18407 Test gst_buffer_(is|make)_metadata_writable
18411 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18413 * docs/manual/Makefile.am:
18414 don't do parallel make
18417 * win32/common/config.h.in:
18418 add generations for HOST_CPU and GST_MAJORMINOR
18419 * win32/common/config.h:
18420 commit generated result
18422 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18424 * docs/manual/appendix-integration.xml:
18425 Update GNOME integration section to use gst_init_get_option_group()
18426 instead of the old popt stuff (#322911). Also, GNOME applications
18427 should now use gconf*sink and gconf*src instead of the old gconf
18430 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18433 * docs/gst/gstreamer-docs.sgml:
18434 * docs/gst/gstreamer-sections.txt:
18435 * docs/libs/gstreamer-libs-sections.txt:
18436 add new API entries to the docs
18437 * libs/gst/controller/Makefile.am:
18438 * libs/gst/controller/gstcontroller.c:
18439 * libs/gst/controller/gstcontroller.h:
18440 * libs/gst/controller/gstcontrollerprivate.h:
18441 * libs/gst/controller/gsthelper.c:
18442 * libs/gst/controller/gstinterpolation.c:
18443 move private structs to private header
18445 gstreamer-0.7 -> gstreamer-0.10
18446 * tests/check/libs/struct_i386.h:
18447 remove private structs
18449 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18451 * plugins/indexers/Makefile.am:
18452 Fixes as part of #317048
18454 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18456 * plugins/indexers/Makefile.am:
18457 fix #316086 - compilation when mmap is missing
18459 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18461 * libs/gst/base/gstbasesink.c:
18462 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18463 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18464 * win32/common/config.h:
18465 added some defines GST_MAJORMINOR and HOST_CPU
18466 * win32/common/libgstbase.def:
18467 * win32/common/libgstreamer.def:
18468 added some exported functions.
18470 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18472 * libs/gst/controller/gstcontroller.c:
18473 (gst_controlled_property_set_interpolation_mode),
18474 (gst_controlled_property_new):
18475 * libs/gst/controller/gstcontroller.h:
18476 * libs/gst/controller/gstinterpolation.c:
18477 (interpolate_none_get_string_value_array):
18478 make G_TYPE_STRING controlable
18480 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18483 * tools/gst-feedback.1.in:
18484 * tools/gst-inspect.1.in:
18485 * tools/gst-launch.1.in:
18486 * tools/gst-md5sum.1.in:
18487 * tools/gst-typefind.1.in:
18488 * tools/gst-xmlinspect.1.in:
18489 * tools/gst-xmllaunch.1.in:
18490 cleanup man-pages, remove reference to gst-register, document env-vars
18492 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18494 * gst/gstbuffer.c: (gst_buffer_span):
18495 gst_buffer_span should copy the timestamp of the first buffer
18496 if they were both originally overlapping subbuffers of the
18497 same parent, using the same logic as the 'slow copy' case.
18499 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18501 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18502 Need to awaken ALL the pads when we pop a buffer, otherwise
18503 collectpads only works when there is 2 input streams.
18505 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18507 * docs/random/ensonic/media-device-daemon.txt:
18510 fix doc example, add clarification
18511 * tools/gst-launch.1.in:
18512 add initial info about GST_PLUGIN_PATH, needs more work
18514 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18516 * docs/manual/basics-bins.xml:
18517 * docs/manual/basics-elements.xml:
18518 * docs/manual/intro-basics.xml:
18519 Some more minor docs additions and updates.
18521 2006-01-11 Wim Taymans <wim@fluendo.com>
18523 * docs/manual/basics-bins.xml:
18524 * docs/manual/basics-elements.xml:
18525 Some small fixes as pointed out by Ser-ver on IRC.
18527 2006-01-10 Edward Hervey <edward@fluendo.com>
18529 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18530 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18531 the single-segment mode.
18533 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18535 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18537 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18538 (gst_base_src_perform_seek), (gst_base_src_send_event),
18539 (gst_base_src_set_property), (gst_base_src_get_property),
18540 (gst_base_src_loop), (gst_base_src_start),
18541 (gst_base_src_activate_push):
18542 * libs/gst/base/gstbasesrc.h:
18543 Name (private) union; makes Sun's Forte compiler happy (#324900).
18545 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18548 gst-register is gone.
18550 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18552 * gst/gstvalue.c: (_gst_value_initialize):
18553 make the G_TYPE_DATE instantiation work if debug is disabled
18555 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18557 * gst/gstmessage.c: (gst_message_parse_tag),
18558 (gst_message_parse_error), (gst_message_parse_warning):
18559 Don't crash when return location for error/warning debug
18560 string is NULL; add fact that return locations can be
18561 NULL to docs where appropriate.
18563 2006-01-05 Wim Taymans <wim@fluendo.com>
18565 * gst/gstplugin.c: (gst_plugin_load_file):
18566 Replace strdup by g_strdup.
18568 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18570 * docs/pwg/advanced-types.xml:
18573 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18575 submitted by: Abel Cheung
18579 Added Chinese (traditional) translation
18581 2006-01-04 Wim Taymans <wim@fluendo.com>
18583 * docs/manual/basics-pads.xml:
18584 * docs/plugins/Makefile.am:
18585 * docs/plugins/gstreamer-plugins-docs.sgml:
18586 * docs/plugins/gstreamer-plugins-sections.txt:
18587 * docs/pwg/advanced-clock.xml:
18588 * docs/pwg/advanced-scheduling.xml:
18589 * docs/pwg/advanced-types.xml:
18590 * plugins/elements/gstfdsink.c:
18591 * plugins/elements/gstfdsrc.c:
18592 * plugins/elements/gstfdsrc.h:
18593 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18594 * plugins/elements/gstidentity.h:
18595 * plugins/elements/gstqueue.h:
18596 * plugins/elements/gsttee.c:
18597 * plugins/elements/gsttee.h:
18598 * plugins/elements/gsttypefindelement.c:
18599 (gst_type_find_element_class_init):
18600 * plugins/elements/gsttypefindelement.h:
18601 Small updates to various docs.
18602 Added core plugins to docs.
18604 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18607 add a suppression for liboil's uninitialized variable
18609 2006-01-02 James Livingston <jrl at ids dot org dot au>
18611 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18614 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18615 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18616 compiler switch is being used (#325429).
18618 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18620 * gst/gstbin.c: (gst_bin_query):
18621 Disable duration query caching in bins until it gets
18622 fixed (see #324807).
18624 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18626 * tools/gst-inspect.c: (print_element_properties_info):
18627 Handle properties of POINTER and BOXED type.
18629 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18631 * gst/gst.c: (init_post):
18632 Init tags stuff and some other things before loading
18633 any static plugins (there may be other static plugins
18634 than just the GStreamer ones, and they may want to
18635 register their own tags or formats or whatever, and
18636 preferably without segfaulting).
18638 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18639 Print at least a warning in the debug logs if we drop a
18640 query just because we don't know how to adjust the value
18641 in the particular format.
18643 2005-12-24 David Schleef <ds@schleef.org>
18645 * tools/gstreamer-completion:
18646 Replacement for gst-complete written in sh and sed. Only
18647 completes names of features, but that's 90% of what I want
18648 it for. Properties are not available in registry.xml. (Maybe
18651 === release 0.10.1 ===
18653 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18656 releasing 0.10.1, "Nollaig chridheil"
18658 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18660 * docs/faq/cvs.xml:
18661 Add missing quote, should be make ERROR_CFLAGS="".
18663 2005-12-20 Wim Taymans <wim@fluendo.com>
18665 * docs/design/part-trickmodes.txt:
18666 More documentation on trickmodes.
18668 2005-12-20 Edward Hervey <edward@fluendo.com>
18670 * gst/gstcaps.c: (gst_static_caps_get_type):
18672 API addition: GST_TYPE_STATIC_CAPS
18673 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18674 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18675 * gst/gstpadtemplate.h:
18676 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18677 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18680 2005-12-18 Wim Taymans <wim@fluendo.com>
18682 * libs/gst/base/gstadapter.c:
18683 * libs/gst/base/gstadapter.h:
18684 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18685 (gst_base_sink_get_position):
18686 * libs/gst/base/gstbasesink.h:
18687 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18688 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18689 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18690 (gst_base_src_send_event), (gst_base_src_update_length),
18691 (gst_base_src_get_range), (gst_base_src_loop),
18692 (gst_base_src_start):
18693 * libs/gst/base/gstbasesrc.h:
18694 * libs/gst/base/gstbasetransform.h:
18695 * libs/gst/base/gstcollectpads.h:
18696 * libs/gst/base/gstpushsrc.c:
18697 * libs/gst/base/gstpushsrc.h:
18698 * libs/gst/dataprotocol/dataprotocol.c:
18699 * libs/gst/dataprotocol/dataprotocol.h:
18700 * libs/gst/net/gstnetclientclock.h:
18701 * libs/gst/net/gstnettimeprovider.h:
18702 Documentation updates.
18704 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18706 * docs/manual/basics-helloworld.xml:
18707 Remove superfluous closing bracket in helloworld example.
18709 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18711 * tools/gst-launch.1.in:
18712 Update gst-launch man page; add a section with useful
18713 environment variables. Fixes #323882.
18715 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18718 * gst/gst_private.h:
18719 change some char* into char[]
18721 2005-12-16 Wim Taymans <wim@fluendo.com>
18723 * gst/gstregistryxml.c: (load_feature):
18725 Don't use g_object_unref on GstObjects so that we avoid
18726 leaks on unsafe glibs.
18728 2005-12-16 Wim Taymans <wim@fluendo.com>
18730 * gst/gstbin.c: (gst_bin_recalc_state):
18733 2005-12-16 Wim Taymans <wim@fluendo.com>
18735 * common/check.mak:
18736 Added make forever target for check.
18738 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18740 * gst/gst.c: (init_post):
18741 make the registry cache file HOST_CPU-dependent
18743 2005-12-16 Andy Wingo <wingo@pobox.com>
18745 * plugins/elements/gstbufferstore.c
18746 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18749 * tests/check/gst/gstobject.c
18750 (test_fake_object_name_threaded_unique): Pay attention to
18751 g_list_sort return value.
18753 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18755 * tools/gst-feedback-m.m:
18756 Update for 0.9/0.10 (fixes #323870).
18758 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18760 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18761 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18763 * tests/check/gst/gstminiobject.c: (my_foo_init),
18764 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18765 (test_value_collection), (gst_mini_object_suite):
18766 Add test to ensure refcounts end up as expected when passing
18767 GstMiniObjects through g_object_get() and g_object_set().
18769 2005-12-14 Julien MOUTTE <julien@moutte.net>
18771 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18772 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18773 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18774 of collectpads. This version removes a lot of races without
18775 touching API/ABI. Yay !
18777 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18779 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18780 Don't allow activation of a srcpad in pull_range if it has no
18782 Change some debug statements to be a little clearer
18784 * plugins/elements/gsttypefindelement.c:
18785 (gst_type_find_handle_src_query):
18786 Check that we have a peer before executing queries thereupon.
18788 * tests/examples/metadata/read-metadata.c: (message_loop):
18789 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18790 immediately return us any available message with 0 timeout.
18792 2005-12-12 Michael Smith <msmith@fluendo.com>
18794 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18795 Don't unref factories after calling them.
18796 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18797 * plugins/elements/gsttypefindelement.c:
18798 (gst_type_find_element_chain):
18799 Free lists of factories after using them. Fixing typefinding memory
18802 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18804 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18805 (gst_plugin_feature_load):
18806 more meaningful debug output
18808 * tests/Makefile.am:
18809 * tests/old/examples/Makefile.am:
18810 make make distcheck happy again
18812 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18814 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18815 Catch the special case where we are operating chain-based,
18816 but the downstream peer pad has no chain function. Emit a
18817 custom error message in this case instead of letting the
18818 core generate one implying that this is some sort of core
18819 bug. It's not, it just means that whatever got plugged
18820 into the pipeline downstream when we announced the type
18821 can only operate pull-based, while our source can only
18822 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18823 Error string has not been marked for translation yet, as
18824 it probably needs some more work first.
18826 (gst_type_find_element_get_best_possibility):
18827 Add helper function to find the best of all available
18828 found possibilities that qualify given the min. threshold.
18830 (gst_type_find_element_handle_event):
18831 Fix the case where we get an EOS while still in TYPEFIND
18832 mode (we want to chose the best of all possible types,
18833 not just the first type that happens to be in our unsorted
18834 list of possible types).
18836 (gst_type_find_element_chain):
18837 Make sure we return GST_FLOW_ERROR when we errored out
18838 in stop_typefinding(); also, don't just find the best of
18839 all found type entries and then use the last examined
18840 type entry, but actually use the best entry.
18842 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18844 * tests/examples/typefind/typefind.c: (type_found):
18845 * tests/examples/xml/runxml.c: (xml_loaded):
18846 More gcc4 fixes and a mem leak fix.
18848 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18850 * tests/examples/xml/createxml.c: (object_saved):
18853 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18855 * tests/Makefile.am:
18856 enable the examples even more
18858 2005-12-12 Andy Wingo <wingo@pobox.com>
18860 * libs/gst/net/gstnettimeprovider.c
18861 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18862 (gst_net_time_provider_set_property)
18863 (gst_net_time_provider_get_property):
18864 API addition: Export "active" as a GObject property.
18865 (gst_net_time_provider_thread): Only respond to time queries if
18866 the time provider is active.
18868 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18869 NetTimeProvider, preserving binary compat.
18871 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18873 * tests/examples/controller/audio-example.c: (main):
18874 * tests/examples/launch/Makefile.am:
18875 convert comments again
18877 2005-12-12 Wim Taymans <wim@fluendo.com>
18879 * libs/gst/base/gstpushsrc.c:
18882 2005-12-12 Wim Taymans <wim@fluendo.com>
18884 * docs/libs/gstreamer-libs-sections.txt:
18885 Added new symbol to docs.
18887 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18888 (gst_base_src_init), (gst_base_src_set_format),
18889 (gst_base_src_default_query), (gst_base_src_query),
18890 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18891 (gst_base_src_perform_seek), (gst_base_src_send_event),
18892 (gst_base_src_default_event), (gst_base_src_event_handler),
18893 (gst_base_src_set_property), (gst_base_src_get_property),
18894 (gst_base_src_wait), (gst_base_src_do_sync),
18895 (gst_base_src_update_length), (gst_base_src_get_range),
18896 (gst_base_src_check_get_range), (gst_base_src_loop),
18897 (gst_base_src_default_negotiate), (gst_base_src_start),
18898 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18899 (gst_base_src_change_state):
18900 * libs/gst/base/gstbasesrc.h:
18901 Implement seeking to other formats than _BYTES.
18902 Implement more seeking methods correctly.
18904 Added query vmethod.
18905 Added do_seek vmethod to make life easier for subclasses
18907 API addition: gst_base_src_set_format()
18909 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18911 * tests/examples/Makefile.am:
18914 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18917 * docs/random/ensonic/media-device-daemon.txt:
18918 * tests/examples/controller/.cvsignore:
18919 * tests/examples/controller/Makefile.am:
18920 * tests/examples/controller/audio-example.c: (main):
18921 * tests/examples/helloworld/.cvsignore:
18922 * tests/examples/helloworld/Makefile.am:
18923 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18924 * tests/examples/launch/.cvsignore:
18925 * tests/examples/launch/Makefile.am:
18926 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18927 * tests/examples/metadata/.cvsignore:
18928 * tests/examples/metadata/Makefile.am:
18929 * tests/examples/metadata/read-metadata.c: (message_loop),
18930 (make_pipeline), (print_tag), (main):
18931 * tests/examples/queue/.cvsignore:
18932 * tests/examples/queue/Makefile.am:
18933 * tests/examples/queue/queue.c: (event_loop), (main):
18934 * tests/examples/typefind/.cvsignore:
18935 * tests/examples/typefind/Makefile.am:
18936 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18938 * tests/examples/xml/.cvsignore:
18939 * tests/examples/xml/Makefile.am:
18940 * tests/examples/xml/createxml.c: (object_saved), (main):
18941 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18942 * tests/old/examples/Makefile.am:
18943 * tests/old/examples/TODO:
18944 * tests/old/examples/controller/.cvsignore:
18945 * tests/old/examples/controller/Makefile.am:
18946 * tests/old/examples/controller/audio-example.c:
18947 * tests/old/examples/helloworld/.cvsignore:
18948 * tests/old/examples/helloworld/Makefile.am:
18949 * tests/old/examples/helloworld/helloworld.c:
18950 * tests/old/examples/launch/.cvsignore:
18951 * tests/old/examples/launch/Makefile.am:
18952 * tests/old/examples/launch/mp3parselaunch.c:
18953 * tests/old/examples/launch/mp3play:
18954 * tests/old/examples/manual/Makefile.am:
18955 * tests/old/examples/metadata/Makefile.am:
18956 * tests/old/examples/metadata/read-metadata.c:
18957 * tests/old/examples/queue/.cvsignore:
18958 * tests/old/examples/queue/Makefile.am:
18959 * tests/old/examples/queue/queue.c:
18960 * tests/old/examples/typefind/.cvsignore:
18961 * tests/old/examples/typefind/Makefile.am:
18962 * tests/old/examples/typefind/typefind.c:
18963 * tests/old/examples/xml/.cvsignore:
18964 * tests/old/examples/xml/Makefile.am:
18965 * tests/old/examples/xml/createxml.c:
18966 * tests/old/examples/xml/runxml.c:
18967 applied some simple fixing to some examples
18968 re-enabled the working examples
18970 2005-12-12 Wim Taymans <wim@fluendo.com>
18972 * gst/gstsegment.c: (gst_segment_init),
18973 (gst_segment_set_last_stop), (gst_segment_set_seek),
18974 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18975 (gst_segment_to_running_time):
18976 Added more documentation.
18977 Make sure the last_pos value is updated properly.
18978 Make sure to_stream_time and to_running_time don't
18979 operate on wrong values.
18981 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18984 2005-12-12 Michael Smith <msmith@fluendo.com>
18986 * plugins/elements/gsttypefindelement.c: (free_entry),
18987 (gst_type_find_element_chain):
18988 Now that we're not leaking factories, make sure we keep references
18989 to them while we need them.
18991 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18993 * tests/check/gst/struct_i386.h:
18994 ifdef out the XML structs
18996 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18998 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18999 floor is not needed, F is always positive; this obviates the
19000 need for adding -lm when building without libxml
19002 2005-12-12 Wim Taymans <wim@fluendo.com>
19004 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19005 Take current playback rate into account when reporting
19008 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19010 * docs/manual/mime-world.fig:
19011 Let's try this again, this time with a file that is
19012 actually in XFig format.
19014 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19016 * docs/manual/mime-world.fig:
19017 Add audioconvert element to diagram so that it
19018 matches the text and the code (fixes #319526).
19020 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19022 * docs/pwg/building-chainfn.xml:
19023 * docs/pwg/building-pads.xml:
19024 * docs/pwg/building-state.xml:
19025 * docs/pwg/other-source.xml:
19026 Update state change stuff for 0.10 (fixes #322969).
19028 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19030 * docs/manual/advanced-dataaccess.xml:
19031 * docs/manual/appendix-checklist.xml:
19032 * docs/manual/appendix-programs.xml:
19033 * docs/manual/basics-pads.xml:
19034 * docs/manual/highlevel-components.xml:
19035 * docs/manual/manual.xml:
19036 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
19037 add converters in front of pipelines; remove curly
19038 brackets for threads stuff, they no longer exist; use
19039 GST_TYPE_FRACTION for framerates; update some pieces of
19040 code to 0.10, but there's plenty more to do.
19042 * docs/manual/appendix-porting.xml:
19043 Expand on asynchroneous state changes; s/0.9/0.10/;
19044 mention disappearance of gst_init_get_popt_table()
19047 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
19049 * docs/faq/using.xml:
19050 Spider no longer exists, and neither does gst-launch-ext.
19051 Update examples to use decodebin and playbin and put
19052 converters in front of sinks (fixes #323726).
19054 2005-12-09 Michael Smith <msmith@fluendo.com>
19056 * plugins/elements/gsttypefindelement.c: (find_peek),
19057 (gst_type_find_element_chain):
19058 Fix leaking element factories in typefinding.
19059 Fix problem where we forgot about a probable type on non-seekable
19060 files, and thus later mis-typefound it.
19062 2005-12-09 Michael Smith <msmith@fluendo.com>
19064 * common/m4/gst-makecontext.m4:
19065 * common/m4/gst-mcsc.m4:
19067 * win32/common/config.h:
19068 * win32/common/config.h.in:
19069 Remove makecontext stuff; not used in 0.10 and causes problems on
19070 HPUX according to bug #322441
19072 2005-12-07 Wim Taymans <wim@fluendo.com>
19074 * tests/check/Makefile.am:
19075 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19077 * tests/check/libs/struct_i386.h:
19078 Added ABI check for libs
19080 2005-12-07 Wim Taymans <wim@fluendo.com>
19082 * tests/check/Makefile.am:
19083 And add the struct_i386.h to dist.
19085 2005-12-07 Wim Taymans <wim@fluendo.com>
19087 * tests/check/Makefile.am:
19088 * tests/check/gst/.cvsignore:
19089 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19091 * tests/check/gst/struct_i386.h:
19092 Added check for ABI compatibility.
19094 2005-12-07 Wim Taymans <wim@fluendo.com>
19096 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19097 (gst_fake_src_get_times), (gst_fake_src_create):
19098 Fix broken sync option, fixes #323259
19100 2005-12-07 Wim Taymans <wim@fluendo.com>
19105 * gst/gstcaps.c: (gst_caps_is_equal):
19106 Don't assert on NULL <--> X. Fixes #323260
19108 * gst/gstminiobject.c: (gst_mini_object_replace):
19109 If we're doing atomic operations, we might just as well use
19110 the proper way to get an atomic pointer.
19112 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19113 Clean up debugging.
19115 2005-12-07 Michael Smith <msmith@fluendo.com>
19117 * gst/parse/grammar.y:
19118 Remove handling of { } for threads.
19120 2005-12-06 David Schleef <ds@schleef.org>
19122 * libs/gst/base/gstbasetransform.c: speling fix.
19124 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19126 * docs/libs/tmpl/gstdataprotocol.sgml:
19127 * docs/random/omega/testing/gstobject.c:
19130 * gst/gstelement.c:
19131 * gst/gstelementfactory.c:
19134 * gst/gstghostpad.c:
19136 * gst/gstpadtemplate.c:
19137 * gst/gstregistryxml.c:
19138 * gst/gsttaglist.c:
19139 * gst/gsttagsetter.c:
19140 * gst/gsttypefind.c:
19142 * libs/gst/base/gstbasesrc.c:
19143 * libs/gst/net/gstnetclientclock.c:
19144 * libs/gst/net/gstnettimeprovider.c:
19145 * plugins/elements/gstfakesrc.c:
19146 * plugins/elements/gstfdsrc.c:
19147 * plugins/elements/gstfilesrc.c:
19148 * plugins/elements/gstidentity.c:
19149 * plugins/elements/gstqueue.c:
19150 * plugins/elements/gsttypefindelement.c:
19151 * plugins/indexers/gstfileindex.c:
19152 * plugins/indexers/gstmemindex.c:
19153 * tests/check/gst/gsttag.c:
19154 * tests/old/examples/cutter/cutter.c:
19155 * tests/old/examples/mixer/mixer.c:
19156 * tests/old/examples/xml/runxml.c: (main):
19157 * tests/old/testsuite/caps/normalisation.c:
19158 * tests/old/testsuite/debug/global.c:
19159 * tests/old/testsuite/parse/parse1.c:
19160 * tools/gst-xmlinspect.c:
19161 * win32/common/dirent.c:
19164 === release 0.10.0 ===
19166 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19169 releasing 0.10.0, "Maroilles"
19171 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19173 submitted by: Funda Wang <fundawang@linux.net.cn>
19177 added Chinese (Traditional) translation
19179 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19181 * docs/gst/gstreamer-sections.txt:
19182 * docs/libs/tmpl/gstdataprotocol.sgml:
19183 * docs/random/thomasvs/TODO:
19188 2005-12-05 Andy Wingo <wingo@pobox.com>
19190 patch by: Wim Taymans <wim@fluendo.com>
19192 * libs/gst/base/gstbasetransform.c
19193 (gst_base_transform_prepare_output_buf)
19194 (gst_base_transform_buffer_alloc):
19195 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19196 alloc_buffer_and_set_caps.
19198 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19199 set_caps on the source pad.
19200 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19201 alloc_buffer used to do. Fixes #322874.
19203 * docs/gst/gstreamer-sections.txt:
19204 * docs/design/part-negotiation.txt:
19205 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19208 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19210 patch by: Sebastien Moutte
19213 * win32/common/config.h.in:
19214 * win32/vs6/libgstcontroller.dsp:
19217 2005-12-05 Wim Taymans <wim@fluendo.com>
19219 * gst/gstcaps.c: (gst_caps_is_equal):
19220 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19221 (gst_fake_src_create):
19222 Back out previous code changes, leave doc updates, file bugs
19225 2005-12-05 Wim Taymans <wim@fluendo.com>
19227 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19228 (gst_fake_src_get_times), (gst_fake_src_create):
19229 * plugins/elements/gstfakesrc.h:
19230 Fix broken sync code.
19232 2005-12-05 Wim Taymans <wim@fluendo.com>
19234 * gst/gstcaps.c: (gst_caps_is_equal):
19235 Comparing NULL against !NULL yields different caps, not a
19238 2005-12-05 Wim Taymans <wim@fluendo.com>
19240 * gst/gstpipeline.c:
19241 Fix small typo in docs.
19243 2005-12-05 Andy Wingo <wingo@pobox.com>
19245 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19247 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19248 registries/plugins with a MAJORMINOR one.
19249 (plugin_desc): Rename library from gstcoreleements to
19250 staticelements. Fixes #323222.
19252 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19254 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19255 Change debug category to 'collectpads' from 'collect_pads'
19258 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19260 patch by: Sebastien Moutte
19262 * libs/gst/controller/gstinterpolation.c:
19263 use convert function for uint64/double
19264 * win32/vs6/libgstcontroller.dsp:
19267 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19269 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19270 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19272 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19273 add tests that seem to show that the guint64/gdouble conversions
19276 2005-12-02 Wim Taymans <wim@fluendo.com>
19278 * gst/gstregistry.c: (gst_registry_add_path):
19279 * gst/gstregistry.h:
19280 * gst/gstregistryxml.c:
19283 2005-12-02 Wim Taymans <wim@fluendo.com>
19285 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19286 (gst_util_uint64_scale_int):
19289 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19290 Add debug log line.
19292 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19295 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19298 * win32/common/config.h:
19299 * win32/vs6/gstreamer.dsw:
19300 * win32/vs6/libgstcoreelements.dsp:
19301 * win32/vs6/libgstelements.dsp:
19302 renamed core elements plugin
19304 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19306 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19308 do piece-wise major/minor comparison so 0.9 < 0.10
19309 also allow .exe extensions for tools
19311 2005-12-02 Michael Smith <msmith@fluendo.com>
19314 Escape a % to make gtkdoc happier; bug 322958.
19316 === release 0.9.7 ===
19318 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19321 releasing 0.9.7, "My Dog Has No Nose"
19323 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19325 * common/gst-xmlinspect.py:
19327 * docs/libs/tmpl/gstdataprotocol.sgml:
19328 * docs/random/release:
19347 * win32/common/config.h:
19348 * win32/common/config.h.in:
19349 * win32/vs6/gst_inspect.dsp:
19350 * win32/vs6/gst_launch.dsp:
19351 * win32/vs6/libgstbase.dsp:
19352 * win32/vs6/libgstelements.dsp:
19353 * win32/vs6/libgstreamer.dsp:
19354 * win32/vs7/GStreamer.vcproj:
19355 * win32/vs7/gst-inspect.vcproj:
19356 * win32/vs7/gst-launch.vcproj:
19357 * win32/vs7/libgstbase.vcproj:
19358 bump GST_MAJORMINOR to 0.10
19359 reset libtool version
19361 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19365 Added Bulgarian translation by (Alexander Shopov)
19367 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19369 * tests/check/gst/gstplugin.c:
19372 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19374 * common/gst-xmlinspect.py:
19375 * common/gtk-doc-plugins.mak:
19377 * docs/Makefile.am:
19378 * docs/gst/Makefile.am:
19379 * docs/gst/gstreamer-docs.sgml:
19380 * docs/gst/gstreamer-sections.txt:
19381 * docs/gst/gstreamer.types:
19382 * docs/gst/gstreamer.types.in:
19383 * docs/plugins/Makefile.am:
19384 * docs/plugins/gstreamer-plugins-docs.sgml:
19385 * docs/plugins/gstreamer-plugins-sections.txt:
19386 * docs/plugins/gstreamer-plugins.types:
19387 * docs/plugins/inspect.stamp:
19388 * docs/plugins/inspect/plugin-coreelements.xml:
19389 * docs/plugins/inspect/plugin-coreindexers.xml:
19390 * docs/plugins/scanobj-build.stamp:
19391 * gstreamer.spec.in:
19392 * plugins/elements/Makefile.am:
19393 * plugins/elements/gstelements.c:
19394 * plugins/elements/gstfakesink.c:
19395 * plugins/elements/gstfakesrc.c:
19396 * plugins/elements/gstfilesink.c:
19397 * plugins/elements/gstfilesrc.c:
19398 * plugins/elements/gstqueue.c:
19399 * plugins/indexers/Makefile.am:
19400 * plugins/indexers/gstindexers.c:
19401 document core plugins in a separate document just like all the
19403 rename these plugins to something starting with core
19405 2005-12-01 Andy Wingo <wingo@pobox.com>
19407 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19408 padding here before, but it missed the commit.
19410 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19412 * libs/gst/controller/gstinterpolation.c:
19413 whitespace prices have crashed, we should feel free to use some now
19414 use gst_guint64_to_gdouble
19416 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19418 * libs/gst/controller/gstcontroller.c:
19419 * libs/gst/controller/gsthelper.c:
19420 * libs/gst/controller/gstinterpolation.c:
19421 * libs/gst/controller/lib.c:
19422 wrap config.h include
19424 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19426 * docs/gst/gstreamer-sections.txt:
19429 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19431 * plugins/elements/gstelements.c:
19432 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19433 (gst_fd_sink__class_init), (gst_fd_sink__init),
19434 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19435 (gst_fd_sink__get_property):
19436 * plugins/elements/gstfdsink.h:
19437 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19438 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19439 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19440 (gst_fd_src_unlock), (gst_fd_src_set_property),
19441 (gst_fd_src_get_property), (gst_fd_src_create),
19442 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19443 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19444 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19445 (gst_fd_src_uri_handler_init):
19446 * plugins/elements/gstfdsrc.h:
19447 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19450 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19452 * docs/gst/Makefile.am:
19453 * docs/gst/gstreamer.types.in:
19457 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19463 * gst/gstregistry.h:
19464 * tests/benchmarks/complexity.c:
19465 * tests/benchmarks/mass-elements.c:
19466 * tests/check/Makefile.am:
19467 * tools/Makefile.am:
19468 * tools/gst-inspect.c:
19469 * tools/gst-xmlinspect.c:
19470 various fixes to make
19471 --disable-nls --disable-registry --disable-loadsave
19472 --disable-parse --disable-gst-debug
19473 work and get the core .so down to 360444 bytes after stripping
19475 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19480 * docs/random/thomasvs/TODO:
19481 * tests/Makefile.am:
19485 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19487 * win32/GStreamer.vcproj:
19490 * win32/Makefile.inspect:
19491 * win32/Makefile.launch:
19492 * win32/Makefile.register:
19493 * win32/README.txt:
19494 * win32/gst-inspect.vcproj:
19495 * win32/gst-launch.vcproj:
19496 * win32/gst-register.vcproj:
19497 * win32/gstelements.vcproj:
19498 * win32/gstgetbits.def:
19499 * win32/gstgetbits.vcproj:
19500 * win32/gstreamer-dbg.def:
19501 * win32/gstreamer.def:
19502 * win32/libgstbase.def:
19503 * win32/libgstbase.vcproj:
19504 * win32/link_oldruntime.c:
19508 * win32/msvc71.sln:
19509 move even more stuff, win32/ is nice and clean now
19511 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19513 * libs/gst/control/.cvsignore:
19518 * win32/gstbytestream.def:
19519 * win32/gstbytestream.vcproj:
19520 * win32/gstconfig.h:
19521 * win32/gstenumtypes.c:
19522 * win32/gstenumtypes.h:
19523 * win32/gstoptimalscheduler.vcproj:
19524 * win32/gstversion.h:
19526 * win32/testsuite/bins.vcproj:
19527 * win32/testsuite/bytestream.vcproj:
19528 * win32/testsuite/caps.vcproj:
19529 * win32/testsuite/cleanup.vcproj:
19530 * win32/testsuite/clock.vcproj:
19531 * win32/testsuite/debug.vcproj:
19532 * win32/testsuite/dlopen.vcproj:
19533 * win32/testsuite/dynparams.vcproj:
19534 * win32/testsuite/elements.vcproj:
19535 * win32/testsuite/ghostpads.vcproj:
19536 * win32/testsuite/indexers.vcproj:
19537 * win32/testsuite/negotiation.vcproj:
19538 * win32/testsuite/parse.vcproj:
19539 * win32/testsuite/plugin.vcproj:
19540 * win32/testsuite/refcounting.vcproj:
19541 * win32/testsuite/schedulers.vcproj:
19542 * win32/testsuite/states.vcproj:
19543 * win32/testsuite/tags.vcproj:
19544 * win32/testsuite/threads.vcproj:
19545 remove old win32 stuff that isn't maintained and should be
19548 2005-11-30 Andy Wingo <wingo@pobox.com>
19550 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19551 loading the gst.interfaces python module bork.
19553 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19554 available since GLib 2.2. Fixes #318031.
19556 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19559 * check/.cvsignore:
19560 * check/Makefile.am:
19561 * check/elements/.cvsignore:
19562 * check/elements/fakesrc.c:
19563 * check/elements/fdsrc.c:
19564 * check/elements/identity.c:
19565 * check/generic/.cvsignore:
19566 * check/generic/states.c:
19567 * check/gst-libs/.cvsignore:
19568 * check/gst-libs/controller.c:
19569 * check/gst-libs/gdp.c:
19570 * check/gst/.cvsignore:
19571 * check/gst/capslist.h:
19573 * check/gst/gstbin.c:
19574 * check/gst/gstbuffer.c:
19575 * check/gst/gstbus.c:
19576 * check/gst/gstcaps.c:
19577 * check/gst/gstelement.c:
19578 * check/gst/gstevent.c:
19579 * check/gst/gstghostpad.c:
19580 * check/gst/gstiterator.c:
19581 * check/gst/gstmessage.c:
19582 * check/gst/gstminiobject.c:
19583 * check/gst/gstobject.c:
19584 * check/gst/gstpad.c:
19585 * check/gst/gstpipeline.c:
19586 * check/gst/gstplugin.c:
19587 * check/gst/gstsegment.c:
19588 * check/gst/gststructure.c:
19589 * check/gst/gstsystemclock.c:
19590 * check/gst/gsttag.c:
19591 * check/gst/gstutils.c:
19592 * check/gst/gstvalue.c:
19593 * check/net/.cvsignore:
19594 * check/net/gstnetclientclock.c:
19595 * check/net/gstnettimeprovider.c:
19596 * check/pipelines/.cvsignore:
19597 * check/pipelines/cleanup.c:
19598 * check/pipelines/simple_launch_lines.c:
19599 * check/pipelines/stress.c:
19600 * check/states/.cvsignore:
19601 * check/states/sinks.c:
19603 * examples/Makefile.am:
19604 * examples/appreader/.cvsignore:
19605 * examples/appreader/Makefile.am:
19606 * examples/appreader/appreader.c:
19607 * examples/controller/.cvsignore:
19608 * examples/controller/Makefile.am:
19609 * examples/controller/audio-example.c:
19610 * examples/cutter/.cvsignore:
19611 * examples/cutter/Makefile.am:
19612 * examples/cutter/cutter.c:
19613 * examples/cutter/cutter.h:
19614 * examples/events/Makefile.am:
19615 * examples/events/seek.c:
19616 * examples/helloworld/.cvsignore:
19617 * examples/helloworld/Makefile.am:
19618 * examples/helloworld/helloworld.c:
19619 * examples/helloworld2/.cvsignore:
19620 * examples/helloworld2/Makefile.am:
19621 * examples/helloworld2/helloworld2.c:
19622 * examples/launch/.cvsignore:
19623 * examples/launch/Makefile.am:
19624 * examples/launch/mp3parselaunch.c:
19625 * examples/launch/mp3play:
19626 * examples/manual/.cvsignore:
19627 * examples/manual/Makefile.am:
19628 * examples/manual/extract.pl:
19629 * examples/metadata/Makefile.am:
19630 * examples/metadata/read-metadata.c:
19631 * examples/mixer/.cvsignore:
19632 * examples/mixer/Makefile.am:
19633 * examples/mixer/mixer.c:
19634 * examples/mixer/mixer.h:
19635 * examples/pingpong/.cvsignore:
19636 * examples/pingpong/Makefile.am:
19637 * examples/pingpong/pingpong.c:
19638 * examples/plugins/.cvsignore:
19639 * examples/plugins/Makefile.am:
19640 * examples/plugins/example.c:
19641 * examples/plugins/example.h:
19642 * examples/pwg/.cvsignore:
19643 * examples/pwg/Makefile.am:
19644 * examples/pwg/extract.pl:
19645 * examples/queue/.cvsignore:
19646 * examples/queue/Makefile.am:
19647 * examples/queue/queue.c:
19648 * examples/queue2/.cvsignore:
19649 * examples/queue2/Makefile.am:
19650 * examples/queue2/queue2.c:
19651 * examples/queue3/.cvsignore:
19652 * examples/queue3/Makefile.am:
19653 * examples/queue3/queue3.c:
19654 * examples/queue4/.cvsignore:
19655 * examples/queue4/Makefile.am:
19656 * examples/queue4/queue4.c:
19657 * examples/retag/.cvsignore:
19658 * examples/retag/Makefile.am:
19659 * examples/retag/retag.c:
19660 * examples/retag/transcode.c:
19661 * examples/thread/.cvsignore:
19662 * examples/thread/Makefile.am:
19663 * examples/thread/thread.c:
19664 * examples/typefind/.cvsignore:
19665 * examples/typefind/Makefile.am:
19666 * examples/typefind/typefind.c:
19667 * examples/xml/.cvsignore:
19668 * examples/xml/Makefile.am:
19669 * examples/xml/createxml.c:
19670 * examples/xml/runxml.c:
19671 * tests/Makefile.am:
19672 * tests/check/Makefile.am:
19673 * testsuite/.cvsignore:
19674 * testsuite/Makefile.am:
19676 * testsuite/caps/.cvsignore:
19677 * testsuite/caps/Makefile.am:
19678 * testsuite/caps/app_fixate.c:
19679 * testsuite/caps/audioscale.c:
19680 * testsuite/caps/caps.c:
19681 * testsuite/caps/caps.h:
19682 * testsuite/caps/caps_strings:
19683 * testsuite/caps/compatibility.c:
19684 * testsuite/caps/deserialize.c:
19685 * testsuite/caps/enumcaps.c:
19686 * testsuite/caps/eratosthenes.c:
19687 * testsuite/caps/filtercaps.c:
19688 * testsuite/caps/fixed.c:
19689 * testsuite/caps/fraction-convert.c:
19690 * testsuite/caps/fraction-multiply-and-zero.c:
19691 * testsuite/caps/intersect2.c:
19692 * testsuite/caps/intersection.c:
19693 * testsuite/caps/normalisation.c:
19694 * testsuite/caps/random.c:
19695 * testsuite/caps/renegotiate.c:
19696 * testsuite/caps/sets.c:
19697 * testsuite/caps/simplify.c:
19698 * testsuite/caps/string-conversions.c:
19699 * testsuite/caps/structure.c:
19700 * testsuite/caps/subtract.c:
19701 * testsuite/caps/union.c:
19702 * testsuite/debug/.cvsignore:
19703 * testsuite/debug/Makefile.am:
19704 * testsuite/debug/category.c:
19705 * testsuite/debug/commandline.c:
19706 * testsuite/debug/global.c:
19707 * testsuite/debug/output.c:
19708 * testsuite/debug/printf_extension.c:
19709 * testsuite/dlopen/.cvsignore:
19710 * testsuite/dlopen/Makefile.am:
19711 * testsuite/dlopen/dlopen_gst.c:
19712 * testsuite/dlopen/loadgst.c:
19713 * testsuite/elements/.cvsignore:
19714 * testsuite/elements/Makefile.am:
19715 * testsuite/elements/gst-inspect-check.in:
19716 * testsuite/elements/struct_i386.h:
19717 * testsuite/elements/struct_size.c:
19718 * testsuite/indexers/.cvsignore:
19719 * testsuite/indexers/Makefile.am:
19720 * testsuite/indexers/cache1.c:
19721 * testsuite/indexers/indexdump.c:
19722 * testsuite/parse/.cvsignore:
19723 * testsuite/parse/Makefile.am:
19724 * testsuite/parse/parse1.c:
19725 * testsuite/parse/parse2.c:
19726 * testsuite/plugin/.cvsignore:
19727 * testsuite/plugin/Makefile.am:
19728 * testsuite/plugin/README:
19729 * testsuite/plugin/dynamic.c:
19730 * testsuite/plugin/linked.c:
19731 * testsuite/plugin/loading.c:
19732 * testsuite/plugin/registry.c:
19733 * testsuite/plugin/static.c:
19734 * testsuite/plugin/static2.c:
19735 * testsuite/plugin/testplugin.c:
19736 * testsuite/plugin/testplugin2.c:
19737 * testsuite/plugin/testplugin2_s.c:
19738 * testsuite/plugin/testplugin_s.c:
19739 * testsuite/refcounting/.cvsignore:
19740 * testsuite/refcounting/Makefile.am:
19741 * testsuite/refcounting/bin.c:
19742 * testsuite/refcounting/element.c:
19743 * testsuite/refcounting/element_pad.c:
19744 * testsuite/refcounting/mainloop.c:
19745 * testsuite/refcounting/mem.c:
19746 * testsuite/refcounting/mem.h:
19747 * testsuite/refcounting/object.c:
19748 * testsuite/refcounting/pad.c:
19749 * testsuite/refcounting/sched.c:
19750 * testsuite/refcounting/thread.c:
19751 * testsuite/states/.cvsignore:
19752 * testsuite/states/Makefile.am:
19753 * testsuite/states/bin.c:
19754 * testsuite/states/locked.c:
19755 * testsuite/states/parent.c:
19756 * testsuite/threads/.cvsignore:
19757 * testsuite/threads/159566.c:
19758 * testsuite/threads/159852.c:
19759 * testsuite/threads/Makefile.am:
19760 * testsuite/threads/queue.c:
19761 * testsuite/threads/signals.c:
19762 * testsuite/threads/staticrec.c:
19763 * testsuite/threads/thread.c:
19764 * testsuite/threads/threadb.c:
19765 * testsuite/threads/threadc.c:
19766 * testsuite/threads/threadd.c:
19767 * testsuite/threads/threade.c:
19768 * testsuite/threads/threadf.c:
19769 * testsuite/threads/threadg.c:
19770 * testsuite/threads/threadh.c:
19771 * testsuite/threads/threadi.c:
19772 move all of these under tests
19774 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19777 * tests/Makefile.am:
19780 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19782 * docs/gst/gstreamer-sections.txt:
19783 * tests/sched/.cvsignore:
19784 * tests/sched/Makefile.am:
19785 * tests/sched/cases/(fs-fs).xml:
19786 * tests/sched/cases/(fs-i-fs).xml:
19787 * tests/sched/cases/(fs-i-i-fs).xml:
19788 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19789 * tests/sched/dynamic-pipeline.c:
19790 * tests/sched/interrupt1.c:
19791 * tests/sched/interrupt2.c:
19792 * tests/sched/interrupt3.c:
19793 * tests/sched/runtestcases:
19794 * tests/sched/runxml.c:
19795 * tests/sched/sched-stress.c:
19796 * tests/sched/sort.c:
19797 * tests/sched/testcases:
19798 * tests/sched/testcases1.tc:
19799 * tests/seeking/.cvsignore:
19800 * tests/seeking/Makefile.am:
19801 * tests/seeking/seeking1.c:
19802 * tests/threadstate/.cvsignore:
19803 * tests/threadstate/Makefile.am:
19804 * tests/threadstate/test1.c:
19805 * tests/threadstate/test2.c:
19806 * tests/threadstate/threadstate1.c:
19807 * tests/threadstate/threadstate2.c:
19808 * tests/threadstate/threadstate3.c:
19809 * tests/threadstate/threadstate4.c:
19810 * tests/threadstate/threadstate5.c:
19811 remove obsolete tests
19813 * tests/bench-complexity.scm:
19814 * tests/bench-mass_elements.scm:
19815 * tests/complexity.c:
19816 * tests/complexity.gnuplot:
19817 * tests/instantiate/.cvsignore:
19818 * tests/instantiate/Makefile.am:
19819 * tests/instantiate/caps.c:
19820 * tests/mass_elements.c:
19821 * tests/network-clock-utils.scm:
19822 * tests/network-clock.scm:
19824 First pass at cleaning up tests/ dir before moving the rest
19825 Combined with CVS surgery
19827 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19830 queue has moved, update
19832 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19834 * docs/gst/gstreamer-sections.txt:
19835 remove double entries from the docs
19836 * gst/gst_private.h:
19837 * gst/gstinfo.c: (_gst_debug_init):
19838 remove the THREAD debug category
19842 * docs/gst/gstreamer.types:
19843 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19844 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19845 completely move queue and fix up debugging categories
19847 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19849 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19850 make initialization portable, using LL is not
19852 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19854 * win32/common/gstconfig.h:
19857 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19859 * win32/common/libgstreamer.def:
19860 rename symbols; sort base section
19862 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19864 * gst/gstclock.c: (do_linear_regression):
19865 remove crack non-portable handrolled DEBUG macro
19867 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19869 * docs/random/release:
19871 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19872 (gst_object_flags_get_type), (register_gst_bin_flags),
19873 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19874 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19875 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19876 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19877 (gst_caps_flags_get_type), (register_gst_clock_return),
19878 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19879 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19880 (gst_clock_flags_get_type), (register_gst_state),
19881 (gst_state_get_type), (register_gst_state_change_return),
19882 (gst_state_change_return_get_type), (register_gst_state_change),
19883 (gst_state_change_get_type), (register_gst_element_flags),
19884 (gst_element_flags_get_type), (register_gst_core_error),
19885 (gst_core_error_get_type), (register_gst_library_error),
19886 (gst_library_error_get_type), (register_gst_resource_error),
19887 (gst_resource_error_get_type), (register_gst_stream_error),
19888 (gst_stream_error_get_type), (register_gst_event_type_flags),
19889 (gst_event_type_flags_get_type), (register_gst_event_type),
19890 (gst_event_type_get_type), (register_gst_seek_type),
19891 (gst_seek_type_get_type), (register_gst_seek_flags),
19892 (gst_seek_flags_get_type), (register_gst_format),
19893 (gst_format_get_type), (register_gst_index_certainty),
19894 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19895 (gst_index_entry_type_get_type),
19896 (register_gst_index_lookup_method),
19897 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19898 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19899 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19900 (gst_index_flags_get_type), (register_gst_debug_level),
19901 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19902 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19903 (gst_iterator_result_get_type), (register_gst_iterator_item),
19904 (gst_iterator_item_get_type), (register_gst_message_type),
19905 (gst_message_type_get_type), (register_gst_mini_object_flags),
19906 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19907 (gst_pad_link_return_get_type), (register_gst_flow_return),
19908 (gst_flow_return_get_type), (register_gst_activate_mode),
19909 (gst_activate_mode_get_type), (register_gst_pad_direction),
19910 (gst_pad_direction_get_type), (register_gst_pad_flags),
19911 (gst_pad_flags_get_type), (register_gst_pad_presence),
19912 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19913 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19914 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19915 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19916 (gst_plugin_flags_get_type), (register_gst_rank),
19917 (gst_rank_get_type), (register_gst_query_type),
19918 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19919 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19920 (gst_tag_flag_get_type), (register_gst_task_state),
19921 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19922 (gst_alloc_trace_flags_get_type),
19923 (register_gst_type_find_probability),
19924 (gst_type_find_probability_get_type), (register_gst_uri_type),
19925 (gst_uri_type_get_type), (register_gst_parse_error),
19926 (gst_parse_error_get_type):
19927 * win32/common/gstenumtypes.h:
19928 * win32/common/gstversion.h:
19929 update visual studio generated files
19931 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19933 * win32/vs6/libgstbase.dsp:
19934 * win32/vs6/libgstelements.dsp:
19935 update project files for new locations
19937 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19942 reinstate and update
19947 * docs/random/LICENSE:
19950 2005-11-30 Edward Hervey <edward@fluendo.com>
19952 * gst/gsttypefind.c: (gst_type_find_register):
19953 * gst/gsttypefind.h:
19954 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19955 (gst_type_find_factory_dispose):
19956 * gst/gsttypefindfactory.h:
19957 Fix memory leak in GstTypeFindFactory.
19959 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19962 * plugins/elements/Makefile.am:
19963 * plugins/elements/gstelements.c:
19964 * plugins/elements/gstqueue.c:
19965 move queue from core to the elements plugin
19967 2005-11-29 Andy Wingo <wingo@pobox.com>
19969 * libs/gst/base/gstbasetransform.h:
19970 * libs/gst/base/gstbasesrc.h:
19971 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19973 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19974 of pointers by which to pad very extensible base classes (like the
19975 ones in libs/gst/base).
19977 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19979 * docs/gst/gstreamer-docs.sgml:
19980 * docs/gst/gstreamer-sections.txt:
19981 * docs/libs/gstreamer-libs-docs.sgml:
19982 * docs/libs/gstreamer-libs-sections.txt:
19983 moving documentation from core to lib
19985 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19987 * check/Makefile.am:
19989 * docs/gst/Makefile.am:
19991 * gst/base/.cvsignore:
19992 * gst/base/Makefile.am:
19994 * gst/base/gstadapter.c:
19995 * gst/base/gstadapter.h:
19996 * gst/base/gstbasesink.c:
19997 * gst/base/gstbasesink.h:
19998 * gst/base/gstbasesrc.c:
19999 * gst/base/gstbasesrc.h:
20000 * gst/base/gstbasetransform.c:
20001 * gst/base/gstbasetransform.h:
20002 * gst/base/gstcollectpads.c:
20003 * gst/base/gstcollectpads.h:
20004 * gst/base/gstpushsrc.c:
20005 * gst/base/gstpushsrc.h:
20006 * gst/base/gsttypefindhelper.c:
20007 * gst/base/gsttypefindhelper.h:
20008 * gst/check/Makefile.am:
20009 * gst/check/gstcheck.c:
20010 * gst/check/gstcheck.h:
20011 * gst/net/Makefile.am:
20012 * gst/net/gstnet.h:
20013 * gst/net/gstnetclientclock.c:
20014 * gst/net/gstnetclientclock.h:
20015 * gst/net/gstnettimepacket.c:
20016 * gst/net/gstnettimepacket.h:
20017 * gst/net/gstnettimeprovider.c:
20018 * gst/net/gstnettimeprovider.h:
20019 * libs/gst/Makefile.am:
20020 * libs/gst/base/Makefile.am:
20021 * libs/gst/base/gstbasetransform.c:
20022 * libs/gst/check/Makefile.am:
20023 * plugins/elements/Makefile.am:
20025 CVS surgery + support to move base, check, and net out of gst
20028 2005-11-29 Andy Wingo <wingo@pobox.com>
20030 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
20032 * gst/gststructure.h (struct _GstStructure): Only one pointer of
20035 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
20037 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
20039 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
20041 * gst/gstobject.h: (struct _GstObject): Only one pointer of
20042 padding; reduces object size by about 30%. We don't expect
20043 anything else to go into gstobject.
20045 * gst/gstminiobject.h (struct _GstMiniObject)
20046 (struct _GstMiniObjectClass): Only one pointer of padding; the
20047 payload is only a pointer and two ints anyway. For the class there
20048 are only two methods as well.
20050 * gst/gstelement.h (struct _GstElementClass): Removed
20051 the state_changed signal callback, it is not used.
20053 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20055 * docs/gst/gstreamer.types:
20056 fix includes, though they are a little dinky
20058 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20060 * check/Makefile.am:
20061 look in the right place for elements, a lot more chance of
20064 remove indexers and elements subdirs
20065 * plugins/Makefile.am:
20066 make indexers conditional
20068 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
20072 * plugins/elements/Makefile.am:
20073 * plugins/elements/gstcapsfilter.c:
20074 * plugins/elements/gstfilesink.c:
20075 * plugins/elements/gstfilesrc.c:
20076 * plugins/elements/gstidentity.c:
20077 * plugins/indexers/Makefile.am:
20078 do CVS surgery and related build fixery to move elements
20079 and indexers in a new gstreamer/plugins directory, out of the
20082 2005-11-29 Andy Wingo <wingo@pobox.com>
20084 * check/Makefile.am:
20085 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20086 * pkgconfig/gstreamer-net.pc.in:
20087 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20090 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20092 * tools/Makefile.am:
20093 * tools/gst-complete.1.in:
20094 * tools/gst-complete.c:
20095 * tools/gst-compprep.1.in:
20096 * tools/gst-compprep.c:
20097 removing -compprep and -complete
20099 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
20101 * gst/gstevent.c: (gst_event_new_new_segment),
20102 (gst_event_parse_new_segment):
20104 fix #320529 - clean up new_segment API and structure.
20105 Let's hope everyone was using the methods, and not the structure.
20107 2005-11-29 Edward Hervey <edward@fluendo.com>
20109 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20110 (gst_base_sink_event), (gst_base_sink_do_sync),
20111 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20112 Properly handle non GST_FORMAT_TIME segment
20113 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20114 Properly handle non GST_FORMAT_TIME segment
20115 * gst/gstsegment.c:
20116 This function is valid if the accumulator is 0 and the format
20117 is different from the requested format.
20119 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20121 * docs/gst/gstreamer-sections.txt:
20122 Add gst_query_new_seeking and gst_query_parse_seeking to the
20125 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20127 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20128 Treat a pad alloc with new caps the same as if we were not
20129 negotiated, in order to allow a changing upstream output
20130 to produce a new format of data.
20132 2005-11-29 Edward Hervey <edward@fluendo.com>
20134 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20135 (gst_base_transform_event), (gst_base_transform_eventfunc):
20136 The event virtual method is now properly implemented, with a default
20138 Sub classes should call the parent_class event method. They should
20139 return FALSE if they had a problem handling the given event, or don't
20140 want GstBaseTransform to send that even downstream
20141 * gst/elements/gstidentity.c: (gst_identity_class_init),
20142 (gst_identity_init), (gst_identity_event),
20143 (gst_identity_transform_ip), (gst_identity_set_property),
20144 (gst_identity_get_property):
20145 * gst/elements/gstidentity.h:
20146 Added the single-segment boolean property.
20147 If set to TRUE, it will output a single segment of data, starting from
20148 0, will eat up all incoming newsegment, and modify the timestamp of the
20149 buffers accordingly
20151 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20153 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20154 Don't ref NULL target pad (#322751). Improve docs.
20156 2005-11-29 Michael Smith <msmith@fluendo.com>
20158 * gst/gstregistryxml.c: (load_plugin):
20159 Don't crash if we failed to load a feature from a plugin.
20161 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20163 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20165 use more check API and less GLib API
20167 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20170 don't run checks if we don't have check
20171 * common/check.mak:
20172 remove the registry when running make torture
20173 * docs/gst/gstreamer-sections.txt:
20174 remove second multiply
20175 * gst/gstqueue.c: (gst_queue_loop):
20176 fix a compile warning when disabling debug
20178 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20181 Hey! Let's print the pad name if the pointer != NULL instead
20182 of when it == NULL :-)
20184 2005-11-28 Wim Taymans <wim@fluendo.com>
20186 * check/gst/gstutils.c: (GST_START_TEST):
20187 Updated check, add some scaling accuracy checking code.
20189 * gst/gstutils.c: (gst_util_div128_64),
20190 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20191 (gst_util_uint64_scale_int):
20192 Fix 6 times faster division code. Optimize for common
20193 1/1 and less common X/1 cases.
20195 2005-11-28 Wim Taymans <wim@fluendo.com>
20197 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20200 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20201 (do_linear_regression), (gst_clock_add_observation):
20203 Release lock when the clock cannot be slaved.
20204 Catch the case where the regression returned an invalid denominator.
20206 * gst/gstutils.c: (gst_util_div128_64_iterate),
20207 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20208 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20209 Add protentially more performant non-iterative 128/64 divide function
20210 that unfortunatly does not work yet.
20211 Shortcut the trivial 0/X = 0 case.
20212 Remove the warnings on overflow.
20214 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20216 * gst/gstplugin.c: (gst_plugin_register_func):
20217 everything causing a plugin not to load should be at least a WARNING
20219 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20221 * docs/random/ensonic/dparams.txt:
20222 some TODOs for the next dev cycle
20223 * libs/gst/controller/gstcontroller.c:
20224 (gst_controlled_property_set_interpolation_mode),
20225 (gst_controlled_property_new):
20226 * libs/gst/controller/gstcontroller.h:
20227 use base type to assign acccessor functions
20229 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20231 * check/Makefile.am:
20232 Oops, that should have been top_srcdir
20234 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20236 * check/Makefile.am:
20237 * check/elements/fdsrc.c: (GST_START_TEST):
20238 Use a cmdline define to specify the location of a file to use for
20239 testing, to avoid breaking distcheck.
20241 2005-11-28 Andy Wingo <wingo@pobox.com>
20243 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20245 2005-11-28 Edward Hervey <edward@fluendo.com>
20247 * tools/gst-launch.c: (main):
20248 Clarify the output strings, makes it easier to translate.
20251 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20254 don't try and build net if we don't even have <sys/socket.h>
20256 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20258 * check/Makefile.am:
20259 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20260 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20261 Add tests for fdsrc seekability
20263 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20264 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20265 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20266 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20267 * gst/elements/gstfdsrc.h:
20268 fdsrc should not be a 'live' source.
20269 Implement seeking on seekable fd's.
20271 * gst/gstquery.c: (gst_query_new_seeking),
20272 (gst_query_parse_seeking):
20274 Implement SEEKING query functions:
20275 *_new_seeking and *_parse_seeking
20277 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20279 * gst/gstelement.c: (gst_element_dispose):
20282 * gst/gstiterator.c:
20283 * gst/gststructure.c:
20286 * libs/gst/controller/gstcontroller.c:
20287 (gst_controlled_property_set_interpolation_mode):
20288 * libs/gst/controller/gstcontroller.h:
20289 * libs/gst/controller/gstinterpolation.c:
20290 (interpolate_none_get_enum_value_array):
20291 support controlling enums
20293 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20296 Improve documentation for gst_value_union().
20299 Change return value for union, intersect and subtract functions
20300 from gint to gboolean.
20302 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20304 * gst/gstvalue.c: (gst_value_serialize_any_list),
20305 (gst_value_transform_any_list_string),
20306 (gst_value_deserialize_list), (gst_value_deserialize_array),
20307 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20308 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20309 (gst_value_set_fraction_range_full),
20310 (gst_value_deserialize_fraction_range),
20311 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20312 (gst_value_deserialize_boolean),
20313 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20314 (gst_value_serialize_float), (gst_value_deserialize_float),
20315 (gst_string_wrap), (gst_value_deserialize_string),
20316 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20317 (gst_value_union_int_range_int_range),
20318 (gst_value_intersect_int_range_int_range),
20319 (gst_value_intersect_double_range_double_range),
20320 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20321 (gst_value_subtract_int_range_int_range),
20322 (gst_value_subtract_double_double_range),
20323 (gst_value_subtract_double_range_double_range),
20324 (gst_value_deserialize_fraction):
20326 Use gint, gdouble and gchar in our API instead of int, double and
20327 char (and make usage in gstvalue.c more consistent).
20329 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20331 * check/Makefile.am:
20332 * libs/gst/controller/Makefile.am:
20333 * libs/gst/dataprotocol/Makefile.am:
20334 fix up Makefile.am and remove GST_ENABLE_NEW
20336 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20340 * gst/base/Makefile.am:
20341 * gst/check/Makefile.am:
20342 * gst/elements/Makefile.am:
20343 * gst/net/Makefile.am:
20344 update LDFLAGS use some more
20346 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20348 * common/m4/gst-doc.m4:
20351 2005-11-26 Edward Hervey <edward@fluendo.com>
20353 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20354 This shouldn't issue a g_warning since it returns NULL if it
20355 couldn't find the plugin, and all functions using this behave
20356 properly on a NULL return. Switching to a GST_WARNING.
20358 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20360 * gst/gstbin.c: (gst_bin_handle_message_func):
20361 Don't leak clock messages.
20363 2005-11-25 Wim Taymans <wim@fluendo.com>
20365 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20366 (gst_util_uint64_scale_int):
20367 Optimisations, remove unneeded vars.
20369 2005-11-25 Wim Taymans <wim@fluendo.com>
20371 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20372 Added more checks for the high precision uint64 cases.
20374 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20375 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20376 Implement high precision (guint64 * guint64) / guint64.
20378 2005-11-24 Wim Taymans <wim@fluendo.com>
20380 * gst/base/gstbasesrc.c: (gst_base_src_query):
20381 Fix wrong percentage query.
20383 * gst/gstutils.c: (gst_util_uint64_scale),
20384 (gst_util_uint64_scale_int):
20385 Add some more common cases that can be handled
20386 efficiently to _scale.
20388 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20390 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20391 (gst_mini_object_suite):
20392 don't use check calls from threads; check probably isn't
20393 threadsafe and using a lock to make it threadsafe would
20394 defeat the purpose of this check
20395 * gst/check/gstcheck.c:
20396 * gst/check/gstcheck.h:
20397 use GST_DEBUG some more
20399 2005-11-24 Wim Taymans <wim@fluendo.com>
20401 * gst/gstutils.c: (gst_util_uint64_scale),
20402 (gst_util_uint64_scale_int):
20403 Chain trivial case to _scale_int.
20405 2005-11-24 Wim Taymans <wim@fluendo.com>
20407 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20408 Added test for scaling.
20413 * gst/gstutils.c: (gst_util_uint64_scale_int):
20414 Implemented high precision scaling code.
20416 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20419 do not crash on pad==NULL
20421 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20423 Patch by: Stefan Kost
20425 * common/gtk-doc.mak:
20426 * docs/gst/Makefile.am:
20427 * docs/libs/Makefile.am:
20428 Fix distcheck issues for the libraries docs build
20431 2005-11-24 Michael Smith <msmith@fluendo.com>
20433 * docs/manual/basics-helloworld.xml:
20434 Fix bug #315027: memory leak in example code in docs.
20436 2005-11-24 Michael Smith <msmith@fluendo.com>
20438 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20439 Unlock the PREROLL_LOCK in a failure case.
20441 2005-11-24 Wim Taymans <wim@fluendo.com>
20443 * docs/gst/gstreamer-sections.txt:
20444 * gst/base/gstadapter.h:
20445 * gst/base/gstbasesink.h:
20446 * gst/base/gstbasesrc.h:
20447 * gst/base/gstbasetransform.h:
20448 * gst/base/gstpushsrc.h:
20449 * gst/elements/gstfakesink.h:
20450 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20451 * gst/elements/gstfakesrc.h:
20452 * gst/elements/gstfilesink.h:
20453 * gst/elements/gstfilesrc.h:
20456 * gst/gstbuffer.c: (_gst_buffer_copy):
20459 * gst/gstchildproxy.c:
20461 * gst/gstelement.c:
20462 * gst/gstelementfactory.c:
20463 * gst/gstelementfactory.h:
20465 * gst/gstghostpad.h:
20467 * gst/gstinterface.h:
20468 * gst/gstminiobject.c:
20469 * gst/gstminiobject.h:
20472 * gst/gstpadtemplate.h:
20473 * gst/gstpipeline.h:
20474 * gst/gstpluginfeature.h:
20477 * gst/gsttaglist.c:
20478 * gst/gsttaglist.h:
20479 * gst/gsttagsetter.c:
20480 * gst/gsttagsetter.h:
20483 * gst/gsttypefind.h:
20486 * gst/net/gstnetclientclock.c:
20487 * gst/net/gstnetclientclock.h:
20488 * gst/net/gstnettimepacket.c:
20489 * gst/net/gstnettimeprovider.c:
20490 * gst/net/gstnettimeprovider.h:
20493 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20495 * configure.ac: back to HEAD
20497 === release 0.9.6 ===
20499 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20502 releasing 0.9.6, "Always On Time"
20504 2005-11-23 Wim Taymans <wim@fluendo.com>
20506 * docs/gst/gstreamer-sections.txt:
20507 * gst/glib-compat.c:
20508 * gst/gsttagsetter.c:
20510 * gst/net/gstnetclientclock.c:
20511 * gst/net/gstnettimepacket.h:
20514 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20516 * docs/faq/using.xml:
20517 * docs/libs/tmpl/gstcontrol.sgml:
20518 * docs/manual/advanced-dparams.xml:
20519 * docs/manual/appendix-checklist.xml:
20520 * docs/manual/basics-elements.xml:
20521 * docs/pwg/other-source.xml:
20522 * docs/random/moving-plugins:
20524 * tools/gst-launch.1.in:
20525 remove mentions of sinesrc
20527 2005-11-23 Michael Smith <msmith@fluendo.com>
20529 * docs/gst/gstreamer-sections.txt:
20530 Update for new API and API changes.
20532 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20534 Documentation typo fix.
20535 * gst/net/gstnettimepacket.c:
20536 Documentation fixes for arguments.
20538 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20540 * gst/gststructure.c: (gst_structure_get_fraction),
20541 (gst_structure_parse_value),
20542 (gst_structure_fixate_field_nearest_fraction):
20543 * gst/gststructure.h:
20544 * gst/gstutils.c: (gst_util_uint64_scale_int):
20546 * scripts/update-funcnames:
20548 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20549 Make gst_structure_fixate_field_nearest_fraction take a numerator
20550 and denominator argument instead of a GValue
20551 add gst_structure_get_fraction helper function.
20553 2005-11-23 Wim Taymans <wim@fluendo.com>
20555 * docs/design/part-TODO.txt:
20558 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20559 * gst/net/gstnetclientclock.h:
20560 Use parent fields for timeout and window_size.
20562 2005-11-23 Andy Wingo <wingo@pobox.com>
20564 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20565 rate_num/rate_denom change.
20567 * gst/net/gstnetclientclock.c
20568 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20569 OBJECT_LOCK. Don't call add_observation with the lock.
20571 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20573 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20575 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20576 deal with rate as a fraction whose numerator and denominator are
20577 GstClockTime values.
20578 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20579 master; the other fields are protected by the SLAVE_LOCK.
20580 (do_linear_regression): Note that this must be called with the
20582 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20583 OBJECT_LOCK. Call set_calibration instead of touching the
20584 variables directly.
20585 (gst_clock_set_property, gst_clock_get_property): Protect
20586 master/slave parameters with the SLAVE_LOCK.
20588 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20589 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20590 note that all of the instance variables that add_observation and
20591 the set_master functions use are protected by that lock and not
20593 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20595 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20596 the caller to take the object lock.
20598 2005-11-23 Wim Taymans <wim@fluendo.com>
20600 * gst/gsterror.c: (_gst_core_errors_init):
20602 Add error for clock stuff.
20604 * gst/gstpipeline.c: (gst_pipeline_change_state),
20605 (gst_pipeline_set_clock):
20606 Post clock error when clock cannot be used in a pipeline.
20608 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20610 * docs/gst/gstreamer-sections.txt:
20611 make two symbols from gstinfo private for the docs
20612 * gst/base/gstcollectpads.h:
20614 fix doc typos, update docs
20616 2005-11-22 Wim Taymans <wim@fluendo.com>
20618 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20619 (gst_base_sink_wait), (gst_base_sink_do_sync),
20620 (gst_base_sink_handle_event):
20621 * gst/base/gstbasesink.h:
20622 No need to store the clock, the parent element class already
20625 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20626 Updates for clock_set returning a gboolean
20628 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20629 (gst_clock_id_wait_async), (gst_clock_class_init),
20630 (gst_clock_init), (gst_clock_finalize),
20631 (gst_clock_get_internal_time), (gst_clock_get_time),
20632 (gst_clock_slave_callback), (gst_clock_set_master),
20633 (gst_clock_get_master), (do_linear_regression),
20634 (gst_clock_add_observation), (gst_clock_set_property),
20635 (gst_clock_get_property):
20637 Implement master/slave. When setting a clock as a slave, a
20638 periodic timeout is scheduled to sample master and slave times.
20639 Then the slave clock is recalibrated to match offset and rate
20640 of the master clock.
20641 Update logging a bit.
20642 Add flag so that a clock can state that is cannot be slaved to
20645 * gst/gstelement.c: (gst_element_set_clock):
20646 * gst/gstelement.h:
20647 The set clock returns a gboolean for when an element cannot
20648 deal with the selected clock in the pipeline.
20650 * gst/gstpipeline.c: (gst_pipeline_change_state),
20651 (gst_pipeline_set_clock):
20652 * gst/gstpipeline.h:
20653 Handle the case where the selected clock cannot be set on
20656 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20657 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20658 (gst_net_client_clock_set_property),
20659 (gst_net_client_clock_get_property),
20660 (gst_net_client_clock_observe_times):
20661 * gst/net/gstnetclientclock.h:
20662 Use regression code in GstClock parent, remove duplicated
20665 2005-11-22 Michael Smith <msmith@fluendo.com>
20667 * gst/gstutils.c: (gst_util_clock_time_scale):
20669 * docs/gst/gstreamer-sections.txt:
20670 Rename method to have extra underscore.
20672 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20674 * gst/elements/Makefile.am:
20675 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20676 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20677 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20678 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20679 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20680 * gst/elements/gstfakesrc.h:
20681 * gst/gstqueue.c: (queue_leaky_get_type):
20682 correctly fix GEnumValues so that nick is the short lowercase
20684 * tools/gst-inspect.c: (print_element_properties_info):
20685 also show the nick, since it's useful to use from parse_launch
20689 2005-11-22 Michael Smith <msmith@fluendo.com>
20691 * gst/gstutils.c: (gst_util_clocktime_scale):
20693 * docs/gst/gstreamer-sections.txt:
20694 Add util method for scaling a clocktime by a fraction. Useful
20695 implementation is left as an exercise for the reader.
20697 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20699 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20700 If needed, allocate storage in the destination value during
20703 2005-11-22 Edward Hervey <edward@fluendo.com>
20705 * docs/gst/gstreamer-sections.txt:
20708 * gst/gsturitype.c:
20709 * gst/gsturitype.h:
20710 * gst/gstutils.c: (gst_util_set_object_arg):
20711 * tools/gst-compprep.c: (main):
20712 * tools/gst-inspect.c: (print_element_properties_info):
20713 Removed GstURI, closes bug #321061
20715 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20717 * check/gst/gststructure.c: (GST_START_TEST):
20718 * gst/gststructure.c: (gst_structure_parse_value):
20719 Oops, broke automatic string type parsing.
20720 Add a test to catch it in future.
20722 2005-11-22 Andy Wingo <wingo@pobox.com>
20724 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20725 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20726 Actually rename the function implementations. Grr.
20728 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20730 * check/gst/capslist.h:
20732 * check/gst/gststructure.c: (GST_START_TEST),
20733 (gst_structure_suite):
20734 Test automatic value type detection in gst_structure_from_string.
20735 * gst/gststructure.c: (gst_structure_parse_value):
20736 Add fraction as a type we try and guess automatically in
20737 caps/structure strings.
20739 2005-11-22 Andy Wingo <wingo@pobox.com>
20741 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20743 * gst/gsttagsetter.h:
20744 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20745 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20746 (gst_tag_setter_add_tag_valist)
20747 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20748 _add_values, _add_valist, and _add_valist_values. Since this is an
20749 interface the function suffixes should be more explicit so
20750 language binding don't end up with element.add_valist ->
20751 gst_tag_setter_add_valist, for example. Fixes #322069.
20753 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20755 * check/gst/gstcaps.c: (GST_START_TEST):
20756 Extend caps string tests to check that a caps to string
20757 conversion is reversible and produces the same caps.
20759 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20760 Output "fraction" as the generic type fraction range, so caps
20761 serialisation and deserialisation works.
20762 * check/gst/capslist.h:
20763 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20764 Support 'MIN' and 'MAX' for deserialising fractions.
20766 2005-11-22 Andy Wingo <wingo@pobox.com>
20768 * gst/gstevent.h (gst_event_new_new_segment)
20769 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20770 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20771 Renamed from *_newsegment, *_buffersize, *_notarget.
20773 * scripts/update-funcnames: New script, performs the changes
20776 2005-11-22 Wim Taymans <wim@fluendo.com>
20778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20779 Make sure the GstFlowReturn is returned.
20781 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20782 (gst_bus_add_signal_watch):
20784 add gst_bus_add_signal_watch_full.
20786 * gst/gstplugin.c: (gst_plugin_load_file):
20787 Small style cleanup.
20789 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20791 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20792 Block the fakesrc srcpad when we send an event, to avoid
20793 contention on the stream_lock causing random test failures.
20795 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20797 * check/gst/gstvalue.c: (GST_START_TEST):
20798 * gst/gstvalue.c: (gst_value_fraction_subtract):
20801 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20804 include "gstchildproxy.h"
20805 * gst/gstchildproxy.h:
20806 * libs/gst/controller/gstcontroller.h:
20807 use G_GNUC_NULL_TERMINATED
20809 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20811 * check/gst/capslist.h:
20812 * check/gst/gstcaps.c: (GST_START_TEST):
20813 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20814 * gst/gststructure.c: (gst_structure_parse_range),
20815 (gst_structure_fixate_field_nearest_fraction):
20816 * gst/gststructure.h:
20817 * gst/gstvalue.c: (gst_value_init_fraction_range),
20818 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20819 (gst_value_collect_fraction_range),
20820 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20821 (gst_value_set_fraction_range_full),
20822 (gst_value_get_fraction_range_min),
20823 (gst_value_get_fraction_range_max),
20824 (gst_value_serialize_fraction_range),
20825 (gst_value_transform_fraction_range_string),
20826 (gst_value_compare_fraction_range),
20827 (gst_value_deserialize_fraction_range),
20828 (gst_value_intersect_fraction_fraction_range),
20829 (gst_value_intersect_fraction_range_fraction_range),
20830 (gst_value_subtract_fraction_fraction_range),
20831 (gst_value_subtract_fraction_range_fraction),
20832 (gst_value_subtract_fraction_range_fraction_range),
20833 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20834 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20835 (gst_value_transform_string_fraction), (_gst_value_initialize):
20837 Implement fraction ranges and extend GstFraction to support
20838 arithmetic subtraction, as well as deserialization from integer
20839 strings such as "100"
20840 Add a testsuite as for int and double range set operations
20842 2005-11-21 Andy Wingo <wingo@pobox.com>
20844 * gst/gsttaglist.h:
20846 * gst/gststructure.h: Add glib-compat.h.
20848 2005-11-21 Wim Taymans <wim@fluendo.com>
20850 * gst/gstbin.c: (gst_bin_change_state_func):
20853 2005-11-21 Wim Taymans <wim@fluendo.com>
20855 * gst/gstsegment.h:
20856 And add a nice define too.
20858 2005-11-21 Wim Taymans <wim@fluendo.com>
20860 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20861 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20862 (gst_segment_set_duration), (gst_segment_set_last_stop),
20863 (gst_segment_set_seek), (gst_segment_set_newsegment),
20864 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20865 (gst_segment_clip):
20866 * gst/gstsegment.h:
20867 Make binding friendly.
20869 2005-11-21 Andy Wingo <wingo@pobox.com>
20871 * gst/gsttagsetter.h:
20872 * gst/gsttaglist.h:
20873 * gst/gststructure.h:
20875 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20878 * gst/gsterror.c (_gst_core_errors_init):
20879 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20882 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20883 (noinst_HEADERS): noinst the -private.
20885 2005-11-21 Michael Smith <msmith@fluendo.com>
20888 * gst/gstregistry.h:
20889 Remove unimplemented declarations for which we can see no sensible
20892 2005-11-21 Andy Wingo <wingo@pobox.com>
20894 * gst/gst.h: Include glib-compat.h.
20896 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20898 * gst/glib-compat.c: Include the public and the private header.
20900 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20904 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20906 * check/gst/gstevent.c (create_custom_events): Check that
20907 FLUSH_STOP is serialized.
20909 * check/elements/identity.c (event_func):
20910 * check/elements/fakesrc.c (event_func): No stream lock, the core
20913 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20914 stream lock taking, yay.
20916 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20917 ensure that core takes the stream lock.
20919 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20922 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20923 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20924 it already. For the flush start we do take it though so we get the
20925 right preroll state change messages.
20927 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20928 the stream lock here, the core does it for us.
20930 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20931 GST_STREAM_GET_LOCK.
20932 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20933 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20934 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20935 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20936 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20937 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20939 * gst/gstpad.c: Update for stream lock name change.
20941 * gst/base/gstbasesink.c: Update for preroll lock name change.
20943 2005-11-21 Wim Taymans <wim@fluendo.com>
20945 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20946 (gst_clock_get_master):
20948 * gst/gstsystemclock.c: (gst_system_clock_init):
20949 Convert Clock flags to object flags.
20950 Added methods to manage master/slave clocks.
20952 2005-11-21 Wim Taymans <wim@fluendo.com>
20954 * check/gst/gstsegment.c: (GST_START_TEST):
20955 * docs/design/part-TODO.txt:
20956 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20957 (gst_base_sink_event), (gst_base_sink_do_sync),
20958 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20959 (gst_base_sink_query), (gst_base_sink_change_state):
20960 * gst/base/gstbasesink.h:
20961 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20962 (gst_base_src_default_newsegment),
20963 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20964 (gst_base_src_get_range), (gst_base_src_loop),
20965 (gst_base_src_change_state):
20966 * gst/base/gstbasesrc.h:
20967 * gst/base/gstbasetransform.c:
20968 (gst_base_transform_prepare_output_buf),
20969 (gst_base_transform_event), (gst_base_transform_change_state):
20970 * gst/base/gstbasetransform.h:
20971 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20972 (gst_collect_pads_event):
20973 * gst/base/gstcollectpads.h:
20974 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20975 (gst_fake_src_create):
20976 * gst/elements/gstfakesrc.h:
20977 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20978 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20979 (gst_segment_set_last_stop), (gst_segment_set_seek),
20980 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20981 (gst_segment_to_running_time), (gst_segment_clip):
20982 * gst/gstsegment.h:
20983 More segment updates, replace code in plugins with segment
20986 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20988 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20989 Don't ignore sscanf results
20991 2005-11-21 Andy Wingo <wingo@pobox.com>
20993 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20996 * *.c: Ran scripts/update-macros. Oh yes.
20998 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20999 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
21002 * scripts/update-macros: New script. Run it on your files to
21003 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
21006 2005-11-21 Stefan Kost <ensonic@users.sf.net>
21008 * docs/gst/Makefile.am:
21009 * docs/gst/gstreamer-docs.sgml:
21010 * docs/gst/gstreamer-sections.txt:
21011 * docs/gst/gstreamer.types:
21013 more docs fixes, add new api to the docs
21015 2005-11-21 Andy Wingo <wingo@pobox.com>
21017 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
21018 state_broadcast call.
21020 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
21022 2005-11-21 Julien MOUTTE <julien@moutte.net>
21024 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
21025 function calls for arrays.
21027 2005-11-21 Stefan Kost <ensonic@users.sf.net>
21029 * docs/random/ensonic/media-device-daemon.txt:
21030 wild idea, can this be done?
21031 * docs/gst/gstreamer-sections.txt:
21036 * gst/gstpluginfeature.c:
21040 doc fixes and additions
21042 2005-11-21 Andy Wingo <wingo@pobox.com>
21044 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
21045 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
21046 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
21047 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21048 private to the basesrc implementation.
21050 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21051 behalf of event function if necessary. It should no longer be
21052 necessary to take the stream lock in pad's event functions. Fixes
21055 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21056 * docs/gst/gstreamer-sections.txt:
21057 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21058 (gst_structure_fixate_field_nearest_double),
21059 (gst_structure_fixate_field_boolean):
21060 * gst/gststructure.h:
21061 * win32/common/libgstreamer.def:
21062 * win32/gstreamer.def:
21064 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21067 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
21069 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21070 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21071 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21072 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21073 (gst_fdsrc_uri_handler_init):
21074 * gst/elements/gstfdsrc.h:
21075 Port fd:// URI handler from 0.8 to fdsrc
21077 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21079 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21080 (gst_value_serialize_fourcc):
21082 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21083 consistent with our other format defines (#320324).
21085 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21087 * gst/gstvalue.c: (gst_value_is_fixed):
21088 Revert previous commit. Value lists are by definition
21089 not fixed, as they are a list of possible values.
21091 2005-11-21 Andy Wingo <wingo@pobox.com>
21093 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21094 during the stable series if we need it. Fixes #319178.
21096 * gst/gstevent.c (gst_event_new_filler): Removed.
21098 * check/gst/gstevent.c: Update comment about filler events.
21100 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21102 * gst/gstvalue.c: (gst_value_is_fixed):
21103 Should handle both value arrays and value lists.
21105 2005-11-21 Andy Wingo <wingo@pobox.com>
21107 patch by: Alessandro Dessina <alessandro nnva org>
21109 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21110 functions to access arrays. Fixes #321962.
21112 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21114 * docs/gst/gstreamer.types:
21115 gst_collectpads_get_type => gst_collect_pads_get_type.
21117 * gst/base/gstbasetransform.c:
21118 Remove unused SIGNAL_HANDOFF enum.
21120 2005-11-21 Andy Wingo <wingo@pobox.com>
21122 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21123 the event type (upstream, downstream, serialized). Renamed
21124 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21125 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21126 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21128 * gst/gstevent.c: Update for new CUSTOM event names.
21130 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21133 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21136 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21138 * docs/gst/gstreamer-sections.txt:
21139 * win32/common/libgstbase.def:
21140 * win32/libgstbase.def:
21141 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21142 (gst_collect_pads_class_init), (gst_collect_pads_init),
21143 (gst_collect_pads_finalize), (gst_collect_pads_new),
21144 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21145 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21146 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21147 (gst_collect_pads_start), (gst_collect_pads_stop),
21148 (gst_collect_pads_peek), (gst_collect_pads_pop),
21149 (gst_collect_pads_available), (gst_collect_pads_read),
21150 (gst_collect_pads_flush), (gst_collect_pads_event),
21151 (gst_collect_pads_chain):
21152 * gst/base/gstcollectpads.h:
21153 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21154 unimplemented functions as unimplemented. Add padding to
21155 GstCollectData. (#320766, #320423)
21157 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21159 * gst/gstmessage.c:
21160 Improve docs for DURATION message (usage of duration parameter)
21163 2005-11-20 Wim Taymans <wim@fluendo.com>
21165 * check/Makefile.am:
21166 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21170 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21171 (gst_segment_set_seek), (gst_segment_set_newsegment),
21172 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21173 (gst_segment_clip):
21174 * gst/gstsegment.h:
21175 Added segment helper structure and methods. Not fully implemented
21177 Added segment check.
21179 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21181 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21182 Add a deserialisation test for fractions
21183 * examples/metadata/read-metadata.c: (message_loop),
21184 (make_pipeline), (main):
21185 Fix up metadata reading sample.
21186 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21188 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21189 Don't try and fixate empty caps
21190 * gst/gst_private.h:
21191 Wrap in G_BEGIN_DECLS/G_END_DECLS
21192 * gst/gstvalue.c: (gst_value_collect_fraction),
21193 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21194 (gst_value_transform_string_fraction),
21195 (gst_value_compare_fraction):
21196 Add some extra guards to ensure that we don't end up
21197 with an invalid denominator of 0 in a gstfraction and
21198 that fractions always get reduced.
21200 2005-11-20 Wim Taymans <wim@fluendo.com>
21202 * docs/gst/gstreamer-sections.txt:
21204 * gst/gstelement.c:
21213 2005-11-20 Wim Taymans <wim@fluendo.com>
21215 * docs/design/part-TODO.txt:
21217 Make a proper enum of the flag.
21219 2005-11-19 Wim Taymans <wim@fluendo.com>
21221 * docs/design/part-TODO.txt:
21222 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21223 (gst_format_to_quark), (gst_format_register):
21225 * gst/gstquery.c: (_gst_query_initialize),
21226 (gst_query_type_get_name), (gst_query_type_to_quark),
21227 (gst_query_type_register):
21229 Add type to quark and type to string conversions.
21231 2005-11-19 Andy Wingo <wingo@pobox.com>
21233 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21236 2005-11-19 Wim Taymans <wim@fluendo.com>
21238 * docs/design/part-TODO.txt:
21239 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21240 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21241 (gst_bin_handle_message_func):
21243 Make message handling overridable.
21245 2005-11-19 Andy Wingo <wingo@pobox.com>
21247 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21250 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21252 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21253 is a GstClockTime. Fixes #321710.
21255 * gst/gstclock.h (GstClock): Remove offset property. Add
21256 internal_calibration and external_calibration. Fix padding. Pad
21257 also by GstClockTime so we don't run into problems.
21259 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21260 (gst_clock_get_rate_offset): Remove.
21261 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21264 * gst/gstutils.c (g_static_rec_cond_wait)
21265 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21267 * gst/gstbin.c: Remove terrible continue_state prototype.
21269 * gst/gstelement.h (gst_element_continue_state): Make public.
21271 * gst/gstelement.h:
21272 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21273 by continue_state. Fixes #319389.
21275 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21276 Really fixes #168438. However I don't see anywhere where the
21277 filter function is called... stupid GStreamer...
21279 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21280 don't have a dispose function, so it won't get called when the
21281 object is unreffed, but oh well!
21283 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21284 allows a destroy function to be set so user_data can be freed.
21286 (gst_index_set_filter): Call gst_index_set_filter_full.
21288 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21290 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21291 string should produce an error, given the lack of a way to
21292 represent NULL strings. Fixes #165650.
21295 * gst/gstvalue.c (gst_value_array_append_value)
21296 (gst_value_array_prepend_value, gst_value_array_get_size)
21297 (gst_value_array_get_value): New API, copied from
21298 gst_value_list_*, only operates on arrays.
21299 (gst_value_list_append_value, gst_value_list_prepend_value)
21300 (gst_value_list_concat, gst_value_list_get_size)
21301 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21303 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21304 init_list, because it works on both.
21305 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21306 (gst_value_copy_list_or_array): Renamed from copy_list.
21307 (gst_value_free_list_or_array): Renamed from free_list.
21308 (gst_value_collect_list_or_array): Renamed from collect_list.
21309 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21310 (gst_value_list_or_array_peek_pointer): Renamed from
21312 (_gst_value_array_value_table, _gst_value_list_value_table):
21313 Update value table functions.
21314 (gst_value_compare_list_or_array): Renamed from compare_list.
21316 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21319 * gst/gsttaglist.c:
21320 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21321 GstTagList*. Fixes #143472.
21323 * gst/gststructure.h: Clarify what the foreach/map functions can
21324 or can't do to their arguments.
21326 2005-11-18 Wim Taymans <wim@fluendo.com>
21328 * gst/gstclock.c: (gst_clock_set_calibration),
21329 (gst_clock_get_calibration):
21331 Calibration can be set with internal time equal to current
21334 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21340 2005-11-18 Andy Wingo <wingo@pobox.com>
21343 * pkgconfig/gstreamer-net.pc.in:
21344 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21345 * pkgconfig/Makefile.am: Add net pkgconfig files.
21347 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21350 * gst/gstghostpad.c:
21356 2005-11-18 Andy Wingo <wingo@pobox.com>
21358 * gst/net/gstnetclientclock.c: Turn off debugging.
21360 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21361 times connverge somewhat. Can't make a real test.
21363 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21364 integer arithmetic. Return the minimum of the domain, which can be
21365 set as "internal" for gst_clock_set_calibration.
21366 (gst_net_client_clock_observe_times): Call _set_calibration.
21367 (gst_net_client_clock_new): Call _set_calibration instead of
21370 * check/net/gstnetclientclock.c (test_functioning): Use the right
21374 * gst/gstclock.c (gst_clock_get_calibration)
21375 (gst_clock_set_calibration): New functions, obsolete the ones I
21376 added yesterday. Doh. Precision issues mean we have to extrapolate
21377 from a point in the more recent past than 1970.
21378 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21380 (gst_clock_adjust_unlocked): Use the right calibration data.
21382 2005-11-18 Edward Hervey <edward@fluendo.com>
21384 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21385 Also reset the ->current_* values in READY->PAUSED
21387 2005-11-18 Andy Wingo <wingo@pobox.com>
21389 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21390 Whoops, check the right fd. Also add some debugging.
21391 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21392 (do_linear_regression): Add a crapload of debugging. Subtract off
21393 the minimum values from the input series to discard unneeded bits.
21394 Use only int arithmetic. There is still double arithmetic when
21395 calculating the intercept that needs fixing. Return boolean to
21396 indicate success; FALSE would mean the domain or range is too
21397 great. Still needs fixes.
21399 2005-11-18 Wim Taymans <wim@fluendo.com>
21401 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21402 For the current position in stream time, we need to subtract
21405 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21406 Release lock before calling the callback function of async
21409 2005-11-18 Andy Wingo <wingo@pobox.com>
21411 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21412 Port goes all the way to MAXUINT16.
21414 * gst/net/gstnettimeprovider.c: Make the port range the same as
21415 for the kernel: 0 assigns, otherwise ports are less than
21418 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21421 * check/net/gstnetclientclock.c (test_functioning): Add the start
21424 2005-11-18 Wim Taymans <wim@fluendo.com>
21426 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21427 (gst_bin_remove_func), (bin_bus_handler):
21429 Removing a clock provider from a bin, triggers a clock lost message
21430 so that a new clock will be selected.
21431 Adding a clock to a bin triggers a clock provider message.
21432 Make sure we reselect a clock when we received a clock lost message.
21433 Keep a reference to the element that provided the clock.
21435 2005-11-18 Andy Wingo <wingo@pobox.com>
21437 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21438 the clock initially so it produces values around the base time.
21439 (gst_net_client_clock_class_init): Typo fix.
21440 (gst_net_client_clock_thread): Add note on when the socket gets
21443 2005-11-17 Wim Taymans <wim@fluendo.com>
21445 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21446 Free remote and local time arrays.
21448 2005-11-17 Wim Taymans <wim@fluendo.com>
21450 * gst/net/gstnetclientclock.c: (do_linear_regression),
21451 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21452 Fix compilation, uninitialized vars and a forgotten continue.
21454 2005-11-17 Andy Wingo <wingo@pobox.com>
21456 * check/Makefile.am (check_PROGRAMS):
21457 * check/net/gstnetclientclock.c: Add a most minimal test for the
21458 net client clock. More to come later.
21460 * gst/net/gstnet.h:
21461 * gst/net/Makefile.am: Add netclientclock.
21463 * gst/net/gstnetclientclock.h:
21464 * gst/net/gstnetclientclock.c: New files, implement an untested
21465 GstClock that takes its time from a network time provider.
21466 Implements the algorithm in network-clock.scm.
21468 * tests/network-clock.scm (*window-size*): Rename from
21470 * tests/network-clock.scm (network-time):
21471 * tests/network-clock-utils.scm (q-push): Update callers.
21473 2005-11-17 Wim Taymans <wim@fluendo.com>
21475 * gst/gstbin.c: (gst_bin_provide_clock_func),
21476 (gst_bin_sort_iterator_new):
21477 And unref the child too..
21479 2005-11-17 Wim Taymans <wim@fluendo.com>
21481 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21482 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21483 Refactor the sort iterator so it can be used while holding the
21485 Make clock selection select a clock closest to the source.
21487 2005-11-17 Michael Smith <msmith@fluendo.com>
21489 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21490 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21492 Anonymous structs are a gcc (and some other compilers) extension, so
21493 don't use them. Since this is only for ABI-compatibility, and our
21494 API/ABI freeze is over in a few days, this whole thing will only
21495 last a few days, so don't bother trying to think up a meaningful
21496 name for the struct.
21498 2005-11-17 Andy Wingo <wingo@pobox.com>
21500 * gst/gstclock.h (GstClock): Add rate and offset properties,
21501 preserving ABI stability. Add rate/offset accessors. Will file bug
21502 for the freeze break.
21504 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21505 and offset, trying to keep precision and avoiding
21506 underflow/overflow.
21507 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21508 functions. Make gst_clock_set_time_adjust obsolete.
21509 (gst_clock_set_time_adjust): Note that this function is obsolete.
21510 Will file bug soon.
21512 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21513 greppable by using GST_PADDING-1+1.
21515 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21517 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21519 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21520 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21522 * gst/gstpadtemplate.h:
21523 * gst/gstpluginfeature.h:
21524 Don't use c++ style comments in headers (#321638).
21526 2005-11-16 Andy Wingo <wingo@pobox.com>
21528 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21531 * check/net/gstnettimeprovider.c: Check to see that the time
21532 provider actually provides times. Works, yo!
21534 2005-11-16 Wim Taymans <wim@fluendo.com>
21536 * check/Makefile.am:
21539 * check/elements/fakesrc.c: (GST_START_TEST):
21540 Set element to NULL before disposing it.
21542 2005-11-16 Andy Wingo <wingo@pobox.com>
21544 * gst/net/Makefile.am:
21545 * gst/net/gstnet.h:
21546 * gst/net/gstnettimeprovider.c:
21547 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21548 provider, include it from gstnet.h, and add it to the build.
21550 * gst/net/gstnettimepacket.h:
21551 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21552 sending and receiving.
21554 2005-11-16 Wim Taymans <wim@fluendo.com>
21556 * check/Makefile.am:
21557 Enable valgrind check.
21559 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21560 (gst_fake_src_alloc_buffer):
21563 2005-11-16 Wim Taymans <wim@fluendo.com>
21565 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21566 Call parent finalize too.
21568 2005-11-16 Wim Taymans <wim@fluendo.com>
21570 * check/Makefile.am:
21571 Enable valgrind check that should work fine now.
21573 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21574 * gst/gstqueue.c: (gst_queue_init):
21575 Fix memleaks in pad allocation.
21577 2005-11-16 Andy Wingo <wingo@pobox.com>
21579 * gst/net/Makefile.am:
21580 * gst/net/gstnet.h: New part of core to hold network elements and
21581 objects. Put in core because it exposes API that applications want
21582 to use. The library is named libgstnet-tempname right now because
21583 of the existing libgstnet in gst-plugins-base. Solution is
21584 probably to rename the one in plugins-base; will file a bug for
21587 * gst/net/gstnettimeprovider.c:
21588 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21589 get_time call over the network.
21592 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21594 * check/Makefile.am:
21595 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21596 get additions shortly.
21598 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21600 * gst/gstpad.c: (gst_pad_new_from_static_template):
21602 add gst_pad_new_from_static_template functions
21603 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21604 (gst_check_setup_sink_pad):
21605 * gst/elements/gsttee.c: (gst_tee_init):
21608 2005-11-16 Wim Taymans <wim@fluendo.com>
21610 * gst/gstpad.c: (gst_pad_pause_task):
21611 Removed warning, it's not really an error either.
21613 2005-11-16 Wim Taymans <wim@fluendo.com>
21615 * gst/base/gstbasetransform.c:
21616 (gst_base_transform_prepare_output_buf),
21617 (gst_base_transform_event):
21618 Check if the caps are NULL, this can happen if the element
21619 is shutting down and the pad caps are set to NULL.
21621 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21623 * gst/elements/gsttee.c: (gst_tee_init):
21624 fix pad template leak in tee
21626 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21628 * gst/glib-compat.c: (g_value_dup_gst_object):
21629 * gst/glib-compat.h:
21630 * gst/gstpad.c: (gst_pad_set_property):
21631 use gst_object_ref when setting the pad template; this will
21632 trigger the pad template leaks on GLib 2.6 and the slaves
21634 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21636 * gst/glib-compat.c: (gst_flags_get_first_value):
21637 * gst/glib-compat.h:
21638 * gst/gstregistryxml.c:
21639 remove functions copied from GLib 2.6
21641 2005-11-16 Michael Smith <msmith@fluendo.com>
21644 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21645 do, but only breaks with newer valgrind versions. We're not a
21646 valgrind tool, we have no link-time dependencies on libcoregrind.
21648 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21650 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21652 * gst/gstmessage.h:
21655 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21657 * gst/base/gstbasesrc.c: (gst_base_src_init):
21658 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21659 * gst/gstqueue.c: (gst_queue_init):
21660 * gst/gstregistryxml.c: (load_feature):
21661 Revert all these unrefs, they don't even pass make check !
21663 2005-11-15 Johan Dahlin <johan@gnome.org>
21665 * gst/base/gstbasesrc.c: (gst_base_src_init):
21666 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21667 * gst/gstqueue.c: (gst_queue_init):
21668 Free pad templates, fixes a couple of leaks.
21670 2005-11-15 Daniel Fischer <dan at f3c dot com>
21672 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21674 * gst/gstpad.c: (gst_pad_get_property):
21675 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21676 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21679 2005-11-15 Wim Taymans <wim@fluendo.com>
21684 2005-11-15 Andy Wingo <wingo@pobox.com>
21686 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21688 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21689 using GST_CLOCK_TIME_NONE to disable base time management.
21690 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21691 time if it was NONE before.
21692 (gst_pipeline_change_state): Only munge the base time if
21693 stream_time != GST_CLOCK_TIME_NONE.
21695 * check/gst/gstpipeline.c (test_base_time): Punt around the
21696 problem of the probe not being called, because that's not the
21697 issue I'm looking at. Add a check that setting stream_time to NONE
21698 disables base time management.
21700 2005-11-15 Wim Taymans <wim@fluendo.com>
21702 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21703 segment_stop == -1 at startup.
21705 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21706 (gst_base_transform_change_state):
21707 Init segment values at start.
21709 2005-11-15 Wim Taymans <wim@fluendo.com>
21711 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21712 0 segment values are 0 in any format.
21714 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21715 * gst/base/gstbasetransform.h:
21716 Parse newsegment correctly in basetransform
21718 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21719 Sync to clock using updated segment values.
21721 2005-11-15 Andy Wingo <wingo@pobox.com>
21723 * check/gst/gstpipeline.c (test_base_time): Add check that the
21724 base time and stream time are reset correctly.
21726 2005-11-15 Wim Taymans <wim@fluendo.com>
21728 * docs/design/part-TODO.txt:
21729 Some more TODO items.
21731 2005-11-15 Andy Wingo <wingo@pobox.com>
21733 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21734 error if the user selected "no clock" as the clocking method.
21736 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21737 timestamps with live capture.
21739 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21740 is 0 but we are a live source, timestamp the buffers using the
21743 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21745 * docs/gst/gstreamer-sections.txt:
21747 * gst/gstghostpad.c:
21752 2005-11-14 Wim Taymans <wim@fluendo.com>
21755 add suppressions from Wim's Debian machine
21757 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21760 add suppressions from Andy's AMD64 Ubuntu machine
21762 2005-11-14 Andy Wingo <wingo@pobox.com>
21764 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21765 STATE_LOCK not necessary. Fixes #311489.
21767 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21770 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21771 this function is not implemented.
21773 2005-11-14 Julien MOUTTE <julien@moutte.net>
21775 * gst/base/gstbasetransform.c:
21776 (gst_base_transform_prepare_output_buf):
21777 Ref the source pad caps while we need them.
21780 2005-11-11 Wim Taymans <wim@fluendo.com>
21782 * docs/gst/gstreamer-sections.txt:
21783 Added some docs for GstCollectData.
21785 * gst/base/gstadapter.c:
21786 Some small code example fix.
21788 * gst/base/gstcollectpads.c:
21789 * gst/base/gstcollectpads.h:
21790 Document some more.
21792 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21794 * configure.ac: back to HEAD
21796 === release 0.9.5 ===
21798 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21801 releasing 0.9.5, "Bike Lunch Day"
21803 2005-11-11 Wim Taymans <wim@fluendo.com>
21805 * gst/gstbuffer.c: (_gst_buffer_copy):
21808 * gst/gstcaps.c: (gst_caps_is_equal):
21810 Make _is_equal fast in the trivial cases.
21812 * gst/gstminiobject.c:
21813 * gst/gstminiobject.h:
21814 More docs. Spifify .h file.
21819 2005-11-11 Wim Taymans <wim@fluendo.com>
21821 * gst/base/gstbasetransform.c:
21822 (gst_base_transform_prepare_output_buf),
21823 (gst_base_transform_handle_buffer):
21825 If we're processing a buffer and need to allocate an output
21826 buffer, we cannot accept a format change. If we did get a
21827 format change, we have to alloc a buffer ourselves of the
21830 2005-11-11 Wim Taymans <wim@fluendo.com>
21832 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21833 While checking the flag for reentrancy in the gstcaps function
21834 is nice to detect recursive invocations, it also makes it
21835 impossible to call getcaps from multiple threads, which must be
21836 possible. So, checking for recursive calls has to go.
21838 2005-11-11 Michael Smith <msmith@fluendo.com>
21840 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21841 Don't sync on buffers that fall partially outside our current
21842 segment. Prevents an assertion failure/abort playing some files.
21844 2005-11-10 Andy Wingo <wingo@pobox.com>
21846 * check/gst/gstbin.c (test_message_state_changed_children): Style
21849 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21850 gst_bus_poll with the signal watch. Ensures that poll and a signal
21851 watch see the same messages.
21853 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21854 a poll and a watch at the same time get the same messages.
21856 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21858 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21859 * gst/gstcaps.c: (gst_caps_intersect):
21860 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21861 and it's not needed.
21863 2005-11-10 Wim Taymans <wim@fluendo.com>
21865 * docs/design/part-TODO.txt:
21868 2005-11-10 Wim Taymans <wim@fluendo.com>
21870 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21871 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21872 (gst_base_src_do_sync), (gst_base_src_get_range):
21873 Implement clock sync in base class.
21875 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21877 patch by: Tim-Philipp Müller <tim at centricular dot net>
21879 * gst/gststructure.c: (gst_structure_parse_field),
21880 (gst_structure_from_string):
21881 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21882 so that gst_parse_launch() can deal with spaces in filtered link
21883 caps (fixes #164479)
21884 * check/gst/capslist.h:
21885 * check/gst/gststructure.c: (GST_START_TEST):
21886 add unit tests for this change
21888 2005-11-10 Wim Taymans <wim@fluendo.com>
21890 * docs/gst/gstreamer-sections.txt:
21891 * gst/gstelement.c:
21892 * gst/gstelement.h:
21893 Fix docs, move some STATE macros to private.
21895 2005-11-10 Wim Taymans <wim@fluendo.com>
21897 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21898 Added check for bug #317341
21902 Some more spiffifying.
21904 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21905 Call peer linkfunction if we are a source pad. Totally fixes
21909 Update docs, source pads should call the peer linkfunction
21910 so they can atomically perform the pad link.
21912 2005-11-09 Wim Taymans <wim@fluendo.com>
21916 Uber-spiffy-spiffify some more.
21918 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21920 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21921 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21922 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21923 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21924 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21925 * gst/gstpad.c: (gst_pad_init):
21926 Use GST_DEBUG_FUNCPTR() more extensively.
21928 2005-11-09 Wim Taymans <wim@fluendo.com>
21930 * gst/gstobject.c: (gst_object_class_init):
21932 Documentation fixes.
21934 2005-11-09 Edward Hervey <edward@fluendo.com>
21936 * gst/gsttypefindfactory.c:
21939 2005-11-09 Edward Hervey <edward@fluendo.com>
21941 * gst/base/gsttypefindhelper.c:
21942 * gst/gsttypefind.c:
21943 * gst/gsttypefind.h:
21946 2005-11-09 Wim Taymans <wim@fluendo.com>
21948 * gst/gstiterator.c:
21955 2005-11-09 Wim Taymans <wim@fluendo.com>
21961 2005-11-09 Wim Taymans <wim@fluendo.com>
21963 * docs/gst/gstreamer-sections.txt:
21964 Moved the message async delivery private lock and cond
21965 to the private section.
21967 * gst/gstmessage.c:
21968 * gst/gstmessage.h:
21971 2005-11-09 Edward Hervey <edward@fluendo.com>
21973 * docs/gst/gstreamer-sections.txt:
21976 Document GstURIHandler
21978 2005-11-09 Wim Taymans <wim@fluendo.com>
21980 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21981 (gst_iterator_find_custom):
21982 * gst/gstiterator.h:
21985 2005-11-09 Wim Taymans <wim@fluendo.com>
21988 Document another field.
21990 * gst/gststructure.c:
21991 * gst/gststructure.h:
21994 2005-11-09 Wim Taymans <wim@fluendo.com>
21997 Documented structs.
21999 2005-11-09 Wim Taymans <wim@fluendo.com>
22001 * docs/gst/gstreamer-sections.txt:
22002 Added some new macros.
22009 2005-11-09 Wim Taymans <wim@fluendo.com>
22011 * docs/design/part-TODO.txt:
22012 Some more items for the TODO
22018 2005-11-09 Andy Wingo <wingo@pobox.com>
22020 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
22021 to work on something else now tho...
22023 * gst/base/gstadapter.c: More adapter docs.
22025 * gst/elements/gstfilesink.c (gst_file_sink_start)
22026 (gst_file_sink_stop): New functions, replace the state change
22028 (gst_file_sink_class_init): Hook up the start and stop functions.
22029 (gst_file_sink_base_init): Don't set the state change handler any
22030 more. It was a bit ugly too, being set from here...
22031 (gst_file_sink_get_property, gst_file_sink_set_property):
22033 (gst_file_sink_set_location): More robust check that doesn't call
22034 GST_STATE. Ugggggg.
22036 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
22038 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22039 Hold STREAM_LOCK while pushing newsegment or tag events as well.
22041 2005-11-08 Wim Taymans <wim@fluendo.com>
22043 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22044 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22045 (gst_base_sink_chain), (gst_base_sink_change_state):
22046 * gst/base/gstbasesink.h:
22047 * gst/base/gstbasesrc.h:
22048 * gst/gstelement.h:
22050 Avoid excessive typechecking in macros.
22052 * gst/gstminiobject.c: (gst_mini_object_get_type),
22053 (gst_mini_object_init), (gst_mini_object_new),
22054 (gst_mini_object_free):
22055 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22056 (gst_object_finalize):
22057 Remove cruft code, optimize alloc_trace.
22059 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
22061 * docs/faq/gst-uninstalled:
22062 fix up PS1 for systems that try to reset it
22064 2005-11-07 Wim Taymans <wim@fluendo.com>
22066 * gst/base/gstbasesrc.c: (gst_base_src_init),
22067 (gst_base_src_get_range):
22068 Set the segment_end to -1 initially. Fixed typefind.
22070 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
22072 * gst/base/gstadapter.c:
22073 Debug category should be 'adapter', not 'GstAdapter'.
22075 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22076 (gst_collectpads_class_init), (gst_collectpads_init),
22077 (gst_collectpads_peek), (gst_collectpads_pop),
22078 (gst_collectpads_event), (gst_collectpads_chain):
22079 Add debug category and some debugging output. Use boilerplate
22080 macros. Remove some extraneous words from docs.
22082 2005-11-05 Andy Wingo <wingo@pobox.com>
22084 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22087 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22089 * docs/gst/gstreamer-sections.txt:
22092 * gst/gstminiobject.h:
22097 2005-11-04 Wim Taymans <wim@fluendo.com>
22099 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22100 Small update to stop at the configured segment_end
22103 2005-11-04 Stefan Kost <ensonic@users.sf.net>
22105 * gst/gstregistry.c:
22106 * gst/gstregistry.h:
22109 2005-11-04 Edward Hervey <edward@fluendo.com>
22111 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22112 Check if we are doing a segment seek and have arrived at the
22113 end of that segment.
22115 2005-11-04 Wim Taymans <wim@fluendo.com>
22117 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22118 Don't leak a mutex unlock in case of an error.
22123 2005-11-04 Wim Taymans <wim@fluendo.com>
22125 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22127 Get the context to wake up only once.
22129 2005-11-03 Wim Taymans <wim@fluendo.com>
22131 * check/states/sinks.c: (GST_START_TEST):
22132 Uncomment fixed check.
22134 * docs/design/part-TODO.txt:
22137 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22138 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22139 (gst_base_sink_get_position):
22140 If we are going to PLAYING, post the right pending state
22141 when we post the intermediate paused message.
22143 * gst/gstelement.c: (gst_element_continue_state),
22144 (gst_element_set_state_func), (gst_element_change_state):
22145 Don't post state changes that were between the same state
22146 and were not ASYNC.
22148 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22150 * docs/gst/gstreamer-sections.txt:
22153 * gst/gstminiobject.h:
22156 more docs and doc style fixes
22158 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22160 * docs/gst/gstreamer-sections.txt:
22161 * gst/gstelement.c:
22162 * gst/gstminiobject.c:
22165 2005-11-03 Andy Wingo <wingo@pobox.com>
22167 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22168 state-changed messages actually have the right order and the right
22171 2005-11-03 Wim Taymans <wim@fluendo.com>
22173 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22174 Added some more checks. Specifically the case where NO_PREROLL
22175 elements are in the pipeline.
22177 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22178 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22179 (gst_base_sink_get_position):
22180 Post READY->PAUSED state change messages too.
22181 Fix bug where VOID was posted as pending state...
22183 * gst/gstbin.c: (gst_bin_recalc_state):
22184 use _element_continue_state() to continue the state change.
22186 * gst/gstelement.c: (gst_element_continue_state),
22187 (gst_element_commit_state), (gst_element_set_state_func),
22188 (gst_element_change_state), (gst_element_change_state_func):
22189 Lots of state change cleanups, assign the STATE_RETURN in
22190 a new continue_state() function that also propagates the
22191 last return value from a state change to the app.
22192 Update some debug statements with proper category.
22194 2005-11-03 Wim Taymans <wim@fluendo.com>
22196 * docs/design/part-events.txt:
22197 * docs/design/part-gstpipeline.txt:
22198 * docs/design/part-messages.txt:
22199 * docs/design/part-overview.txt:
22200 * docs/design/part-seeking.txt:
22201 * docs/design/part-states.txt:
22202 * docs/design/part-trickmodes.txt:
22203 * docs/manual/advanced-position.xml:
22204 Small docs updates.
22207 People think !! is ugly, this looks better.
22209 * gst/gstpad.c: (gst_pad_set_blocked_async):
22210 Remove !! since it's fixed elsewhere now.
22212 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22214 * gst/gstminiobject.h:
22216 Add !! to _FLAG_IS_SET macros to make the result boolean.
22218 2005-11-03 Edward Hervey <edward@fluendo.com>
22220 * gst/gstpad.c: (gst_pad_set_blocked_async):
22221 comparing a flag and a gboolean rarely returns coherent results...
22222 Added two characters (!!) to make that work correctly.
22224 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22226 * gst/gstbus.c: (gst_bus_class_init):
22229 * gst/gstqueue.c: (gst_queue_loop):
22230 Don't assume a miniobject that isn't a buffer is an
22231 event (it could be that there is a refcounting
22232 problem somewhere and the pointer is stale and
22233 refers to an already destroyed miniobject).
22235 2005-11-03 Julien MOUTTE <julien@moutte.net>
22237 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22239 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22241 * docs/manual/advanced-position.xml:
22242 Update seek example and explanations to current 0.9 API.
22244 * gst/elements/gsttypefindelement.c:
22245 (gst_type_find_element_activate):
22246 Remove FIXME comment now that the found caps
22249 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22251 * gst/gstregistryxml.c: (load_feature):
22252 Add another GST_STR_NULL instance
22254 2005-11-02 Edward Hervey <edward@fluendo.com>
22256 * gst/gstpad.c: (handle_pad_block):
22257 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22259 2005-11-02 Wim Taymans <wim@fluendo.com>
22264 * gst/gstelement.c: (gst_element_commit_state):
22265 Remove unused value.
22267 * gst/gstiterator.c:
22268 Mention that the returned element is reffed in the docs.
22270 2005-11-02 Wim Taymans <wim@fluendo.com>
22272 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22273 (gst_pad_push), (gst_pad_push_event):
22274 Unlock blocked pads when they are flushed.
22276 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22279 * docs/gst/gstreamer-sections.txt:
22282 * gst/gstregistry.c: (gst_registry_scan_path_level):
22283 fix for a nasty little missed situation where an installed plug-in
22284 which was in the cache did not get overridden by an uninstalled one
22285 which was earlier in the plugin path because the newly created plugin
22286 for the uninstalled one (not in the registry) didn't get its
22287 ->registered set to TRUE
22289 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22291 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22292 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22293 (gst_collectpads_is_active), (gst_collectpads_collect),
22294 (gst_collectpads_collect_range), (gst_collectpads_start),
22295 (gst_collectpads_stop), (gst_collectpads_peek),
22296 (gst_collectpads_pop), (gst_collectpads_available),
22297 (gst_collectpads_read), (gst_collectpads_flush):
22298 Guard public API with assertions.
22301 Fix docs for gst_pad_set_link_function().
22303 2005-11-02 Johan Dahlin <johan@gnome.org>
22305 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22306 Unref found_caps after we used it.
22308 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22310 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22311 Don't try to ref NULL.
22313 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22315 * win32/common/config.h.in:
22316 provide a GST_FUNCTION that just gives a string for now
22318 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22320 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22321 (gst_object_flags_get_type), (register_gst_bin_flags),
22322 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22323 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22324 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22325 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22326 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22327 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22328 (gst_clock_flags_get_type), (register_gst_state),
22329 (gst_state_get_type), (register_gst_state_change_return),
22330 (gst_state_change_return_get_type), (register_gst_state_change),
22331 (gst_state_change_get_type), (register_gst_element_flags),
22332 (gst_element_flags_get_type), (register_gst_core_error),
22333 (gst_core_error_get_type), (register_gst_library_error),
22334 (gst_library_error_get_type), (register_gst_resource_error),
22335 (gst_resource_error_get_type), (register_gst_stream_error),
22336 (gst_stream_error_get_type), (register_gst_event_type),
22337 (gst_event_type_get_type), (register_gst_seek_type),
22338 (gst_seek_type_get_type), (register_gst_seek_flags),
22339 (gst_seek_flags_get_type), (register_gst_format),
22340 (gst_format_get_type), (register_gst_index_certainty),
22341 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22342 (gst_index_entry_type_get_type),
22343 (register_gst_index_lookup_method),
22344 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22345 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22346 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22347 (gst_index_flags_get_type), (register_gst_debug_level),
22348 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22349 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22350 (gst_iterator_result_get_type), (register_gst_iterator_item),
22351 (gst_iterator_item_get_type), (register_gst_message_type),
22352 (gst_message_type_get_type), (register_gst_mini_object_flags),
22353 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22354 (gst_pad_link_return_get_type), (register_gst_flow_return),
22355 (gst_flow_return_get_type), (register_gst_activate_mode),
22356 (gst_activate_mode_get_type), (register_gst_pad_direction),
22357 (gst_pad_direction_get_type), (register_gst_pad_flags),
22358 (gst_pad_flags_get_type), (register_gst_pad_presence),
22359 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22360 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22361 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22362 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22363 (gst_plugin_flags_get_type), (register_gst_rank),
22364 (gst_rank_get_type), (register_gst_query_type),
22365 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22366 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22367 (gst_tag_flag_get_type), (register_gst_task_state),
22368 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22369 (gst_alloc_trace_flags_get_type),
22370 (register_gst_type_find_probability),
22371 (gst_type_find_probability_get_type), (register_gst_uri_type),
22372 (gst_uri_type_get_type), (register_gst_parse_error),
22373 (gst_parse_error_get_type):
22374 * win32/common/gstversion.h:
22375 update win32 copies
22377 2005-11-01 Luca Ognibene <luogni@tin.it>
22380 fix docs. popt is dead, long live GOption.
22382 2005-10-31 Wim Taymans <wim@fluendo.com>
22387 2005-10-31 Andy Wingo <wingo@pobox.com>
22391 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22393 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22394 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22395 the possibility of deadlocks here if code calling notify() or
22396 set() has a lock that can be taken in another notify handler (ABBA
22397 with class lock and e.g. python GIL state lock).
22399 2005-10-28 Julien MOUTTE <julien@moutte.net>
22401 * gst/gstbus.c: Doc updates.
22403 2005-10-28 Wim Taymans <wim@fluendo.com>
22405 * docs/design/part-TODO.txt:
22406 * gst/gstiterator.c:
22407 * gst/gstsystemclock.c:
22408 * gst/gstsystemclock.h:
22411 2005-10-28 Edward Hervey <edward@fluendo.com>
22413 * docs/gst/gstreamer-docs.sgml:
22414 * docs/gst/gstreamer-sections.txt:
22415 the GstURIType documentation page is private, it only defines GstURIType
22416 which should be defined in the GstURIHandler page
22418 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22420 * gst/gstbin.c: (gst_bin_class_init):
22423 Documentation updates.
22425 2005-10-28 Wim Taymans <wim@fluendo.com>
22427 * docs/gst/gstreamer-sections.txt:
22430 Documented the clocks.
22432 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22434 * docs/gst/gstreamer-sections.txt:
22435 move some macros to private sections
22436 * gst/gstminiobject.c:
22437 * gst/gstminiobject.h:
22438 add descriptions provided by ds and some more
22440 mark macro as to be removed
22442 2005-10-28 Wim Taymans <wim@fluendo.com>
22444 * docs/design/part-TODO.txt:
22445 Add an item to TODO.
22447 * gst/gstiterator.c: (gst_iterator_fold),
22448 (gst_iterator_find_custom):
22449 * gst/gstiterator.h:
22452 2005-10-28 Wim Taymans <wim@fluendo.com>
22454 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22455 (gst_base_transform_init):
22458 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22459 An EOS event marks the queue as completely filled.
22461 2005-10-27 Wim Taymans <wim@fluendo.com>
22463 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22464 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22465 Some more debugging.
22467 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22468 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22469 (gst_base_transform_event), (gst_base_transform_getrange),
22470 (gst_base_transform_chain):
22471 * gst/base/gstbasetransform.h:
22473 Protect transform and concurrent buffer alloc with a new lock.
22474 Try not to break ABI/API.
22476 2005-10-27 Wim Taymans <wim@fluendo.com>
22478 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22479 (gst_base_src_init), (gst_base_src_query),
22480 (gst_base_src_default_newsegment),
22481 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22482 (gst_base_src_send_event), (gst_base_src_event_handler),
22483 (gst_base_src_pad_get_range), (gst_base_src_loop),
22484 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22485 (gst_base_src_start), (gst_base_src_deactivate),
22486 (gst_base_src_activate_push), (gst_base_src_change_state):
22487 Move some stuff around and cleanup things.
22489 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22491 * gst/base/gstbasesrc.c: (gst_base_src_query):
22492 Add missing break statements.
22494 2005-10-27 Wim Taymans <wim@fluendo.com>
22496 * check/gst/gstbin.c: (GST_START_TEST):
22497 An extra refcount is taken in basesrc.
22499 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22500 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22501 (gst_base_src_loop):
22502 Small cleanups, check for flushing after being unlocked from the
22503 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22504 Don't send out EOS when going to READY.
22506 2005-10-27 Wim Taymans <wim@fluendo.com>
22508 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22509 (gst_base_sink_get_position):
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 * tools/gst-launch.c: (main):
22521 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22523 * examples/controller/audio-example.c: (main):
22524 * examples/queue/queue.c: (event_loop):
22525 * gst/base/gstbasetransform.h:
22526 * gst/gstelement.c: (gst_element_send_event):
22528 * gst/gstpad.c: (gst_pad_send_event):
22531 changing log priority in error situations
22533 2005-10-25 Wim Taymans <wim@fluendo.com>
22535 * gst/gstbin.c: (message_check), (bin_replace_message),
22536 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22537 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22538 (bin_query_duration_init), (bin_query_duration_fold),
22539 (bin_query_duration_done), (bin_query_generic_fold),
22541 Some doc and debug updates.
22542 Cache previously requested query DURATION for speed. invalidate
22543 cached duration if element posts a DURATION message.
22545 2005-10-25 Wim Taymans <wim@fluendo.com>
22547 * docs/design/part-TODO.txt:
22550 * gst/gstbin.c: (message_check), (bin_replace_message),
22551 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22552 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22553 (bin_query_duration_init), (bin_query_duration_fold),
22554 (bin_query_duration_done), (bin_query_generic_fold),
22556 Handle SEGMENT_START/DONE messages correctly.
22557 More evolved query algorithm that handles duration queries
22560 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22561 (gst_element_get_state_func), (gst_element_abort_state),
22562 (gst_element_commit_state), (gst_element_lost_state):
22563 Some more debugging.
22565 * gst/gstmessage.h:
22568 2005-10-25 Wim Taymans <wim@fluendo.com>
22570 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22571 Don't use invalid stream_time.
22573 * gst/gstevent.c: (gst_event_new_newsegment):
22574 stream_time in newsegment cannot be undefined.
22576 2005-10-24 Wim Taymans <wim@fluendo.com>
22581 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22583 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22585 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22587 * docs/libs/tmpl/gstdparam.sgml:
22588 * docs/libs/tmpl/gstdplinint.sgml:
22589 * docs/libs/tmpl/gstdpman.sgml:
22590 * docs/libs/tmpl/gstdpsmooth.sgml:
22591 * docs/libs/tmpl/gstunitconvert.sgml:
22594 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22599 === release 0.9.4 ===
22601 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22604 releasing 0.9.4, "Tyrannosaurus Rex"
22606 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22608 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22609 (gst_file_sink_get_current_offset):
22610 Use fseeko() and ftello() if available. When falling back on
22611 lseek() to get the current offset, fflush() first to make sure
22612 everything is up-to-date and we get the right offset.
22614 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22616 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22617 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22618 * gst/gsterror.c: (_gst_stream_errors_init):
22620 * gst/gstqueue.c: (gst_queue_loop):
22622 remove prematurely added error category and clean up the instances
22624 2005-10-21 Wim Taymans <wim@fluendo.com>
22626 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22627 (gst_base_sink_get_position), (gst_base_sink_query),
22628 (gst_base_sink_change_state):
22629 Simply set the right flag when going to playing, that's all
22630 we need to do instead of calling a function inside the object
22631 lock (that could take the lock as well and deadlock)
22633 2005-10-21 Wim Taymans <wim@fluendo.com>
22635 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22636 (gst_base_src_loop):
22637 Don't warn, the peer element knows what to do best when
22638 the seek failed, it might try something else.
22640 2005-10-21 Wim Taymans <wim@fluendo.com>
22642 * gst/base/gstbasesrc.c: (gst_base_src_init),
22643 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22646 2005-10-21 Wim Taymans <wim@fluendo.com>
22648 * docs/design/part-segments.txt:
22651 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22652 Correctly set caps, even on the subbufer.
22654 2005-10-21 Wim Taymans <wim@fluendo.com>
22656 * docs/gst/gstreamer-docs.sgml:
22657 * docs/gst/gstreamer-sections.txt:
22658 * gst/gstelement.h:
22661 * gst/gstmessage.h:
22664 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22668 And 2% more doc coverage.
22670 2005-10-21 Andy Wingo <wingo@pobox.com>
22672 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22673 position reporting.
22675 2005-10-20 Wim Taymans <wim@fluendo.com>
22677 * gst/gsterror.c: (gst_error_get_message):
22680 * gst/gststructure.c:
22685 2005-10-20 Wim Taymans <wim@fluendo.com>
22690 Another 1% more coverage.
22692 2005-10-20 Wim Taymans <wim@fluendo.com>
22694 * docs/gst/gstreamer-sections.txt:
22695 * gst/gstelement.c: (gst_element_get_state_func),
22696 (gst_element_abort_state), (gst_element_commit_state),
22697 (gst_element_lost_state):
22699 * gst/gstquery.c: (gst_query_set_position),
22700 (gst_query_parse_position), (gst_query_set_duration),
22701 (gst_query_parse_duration), (gst_query_new_convert):
22703 Yay! 1% more docs coverage.
22705 2005-10-20 Wim Taymans <wim@fluendo.com>
22708 * gst/gstquery.c: (gst_query_set_position),
22709 (gst_query_parse_position), (gst_query_set_duration),
22710 (gst_query_parse_duration), (gst_query_new_convert):
22712 * gst/gstutils.c: (gst_element_query_convert):
22714 Docs and consistency fixes.
22716 2005-10-20 Wim Taymans <wim@fluendo.com>
22722 2005-10-20 Wim Taymans <wim@fluendo.com>
22724 * gst/gstbin.c: (message_check), (bin_replace_message),
22725 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22726 (update_degree), (gst_bin_sort_iterator_next),
22727 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22728 Reworked the message handling a bit, cache the messages instead of
22729 only the senders. alows us to do more in the future.
22731 2005-10-20 Wim Taymans <wim@fluendo.com>
22733 * docs/design/part-TODO.txt:
22736 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22737 (gst_base_sink_query):
22738 Don't use clock time to report position when in EOS.
22740 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22742 * tools/gst-inspect.c: (print_interfaces),
22743 (print_element_properties_info), (print_element_info):
22744 Fix interface output with gst-inspect -a; don't print
22745 newlines after double/float properties.
22747 2005-10-20 Wim Taymans <wim@fluendo.com>
22749 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22750 (gst_base_sink_query):
22751 Speed up current position calculation.
22753 * gst/base/gstbasesrc.c: (gst_base_src_query),
22754 (gst_base_src_default_newsegment):
22755 Correctly set stream position in newsegment.
22757 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22758 (update_degree), (gst_bin_sort_iterator_next),
22759 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22760 * gst/gstmessage.c: (gst_message_new_custom):
22761 Clean up debugging info
22763 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22764 (gst_queue_loop), (gst_queue_handle_src_query):
22767 2005-10-19 Wim Taymans <wim@fluendo.com>
22769 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22770 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22771 Fix query handling again.
22773 2005-10-19 Wim Taymans <wim@fluendo.com>
22775 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22776 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22777 * gst/base/gstbasesrc.c: (gst_base_src_query):
22778 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22779 * gst/elements/gsttypefindelement.c:
22780 (gst_type_find_handle_src_query), (find_element_get_length),
22781 (gst_type_find_element_activate):
22784 * gst/gstquery.c: (gst_query_new_position),
22785 (gst_query_set_position), (gst_query_parse_position),
22786 (gst_query_new_duration), (gst_query_set_duration),
22787 (gst_query_parse_duration), (gst_query_set_segment),
22788 (gst_query_parse_segment):
22790 Bundling query position/duration is not a good idea since duration
22791 does not change much and we don't want to recalculate it for every
22792 position query, so they are separated again..
22793 Base value in segment query is not needed.
22795 * gst/gstqueue.c: (gst_queue_handle_src_query):
22796 * gst/gstutils.c: (gst_element_query_position),
22797 (gst_element_query_duration), (gst_pad_query_position),
22798 (gst_pad_query_duration):
22800 Updates for query API change.
22801 Added some docs here and there.
22803 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22805 * check/gst/gstbin.c: (GST_START_TEST):
22806 * check/gst/gstghostpad.c: (GST_START_TEST):
22807 * check/pipelines/cleanup.c: (GST_START_TEST):
22808 wait on thread to die so we can check refcount correctly
22810 2005-10-18 Wim Taymans <wim@fluendo.com>
22812 * check/pipelines/stress.c: (GST_START_TEST):
22813 Make check a little more time consuming.
22815 2005-10-18 Wim Taymans <wim@fluendo.com>
22817 * check/Makefile.am:
22818 * check/pipelines/stress.c: (GST_START_TEST),
22819 (simple_launch_lines_suite), (main):
22820 Small state change torture test.
22822 * docs/design/part-states.txt:
22823 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22824 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22825 (gst_base_sink_change_state):
22826 Never take state lock from streaming thread, clean up ugly
22827 hacks. Unfortunatly core does not yet support nice ways to
22828 async commit state.
22830 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22832 Start state recalc if a STATE_DIRTY message is posted, but only
22833 on the toplevel bin.
22835 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22836 (gst_element_get_state_func), (gst_element_abort_state),
22837 (gst_element_commit_state), (gst_element_lost_state),
22838 (gst_element_set_state_func), (gst_element_change_state):
22839 * gst/gstelement.h:
22840 State variables are now protected with the LOCK, the state
22841 lock is only used to serialize _set_state().
22843 2005-10-18 Wim Taymans <wim@fluendo.com>
22845 * check/gst/gstbin.c: (GST_START_TEST):
22846 * check/gst/gstmessage.c: (GST_START_TEST):
22847 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22848 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22850 * gst/gstelement.c: (gst_element_abort_state),
22851 (gst_element_commit_state), (gst_element_lost_state):
22852 * gst/gstmessage.c: (gst_message_new_state_changed),
22853 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22854 (gst_message_new_segment_done), (gst_message_new_duration),
22855 (gst_message_parse_state_changed),
22856 (gst_message_parse_segment_start),
22857 (gst_message_parse_segment_done), (gst_message_parse_duration):
22858 * gst/gstmessage.h:
22859 * tools/gst-launch.c: (event_loop):
22860 Seriously, this is better than a previous commit as we only need
22861 to notify the fact that an element changed state in a streaming
22862 thread, marking the state of the parents dirty, hence the
22863 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22866 2005-10-18 Wim Taymans <wim@fluendo.com>
22868 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22869 (gst_bin_recalc_func):
22870 * gst/gstelement.c: (gst_element_set_clock),
22871 (gst_element_abort_state), (gst_element_lost_state):
22872 Cleanups, prepare for state change fixes.
22874 2005-10-18 Wim Taymans <wim@fluendo.com>
22877 * gst/gstelement.c: (gst_element_class_init),
22878 (gst_element_set_state), (gst_element_set_state_func):
22879 * gst/gstelement.h:
22880 Pending ABI changes.
22881 GThreadPool in GstBinClass to monitor async state changes.
22882 state_cookie in GstElement to detect concurrent gst/set state.
22883 set_state is now virtual too in case a very complicated element
22884 has to be constructed.
22886 2005-10-18 Wim Taymans <wim@fluendo.com>
22888 * check/gst/gstbin.c: (GST_START_TEST):
22889 * check/gst/gstmessage.c: (GST_START_TEST):
22890 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22891 * gst/gstbin.c: (bin_bus_handler):
22892 * gst/gstelement.c: (gst_element_commit_state),
22893 (gst_element_lost_state):
22894 * gst/gstmessage.c: (gst_message_new_state_changed),
22895 (gst_message_new_segment_start), (gst_message_new_segment_done),
22896 (gst_message_new_duration), (gst_message_parse_state_changed),
22897 (gst_message_parse_segment_start),
22898 (gst_message_parse_segment_done), (gst_message_parse_duration):
22899 * gst/gstmessage.h:
22900 * tools/gst-launch.c: (event_loop):
22901 Make messages future proof.
22902 state-change gets a flag if it was a message comming from the
22904 segment-start/stop can also be specified in other formats.
22905 A message to notify an app that a pipeline changed playback
22907 Also fix a GstMessage leak in -launch
22909 2005-10-18 Andy Wingo <wingo@pobox.com>
22911 * gst/gstelement.c (gst_element_dispose): More helpful message.
22913 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22915 reviewed by: <delete if not using a buddy>
22917 * common/gtk-doc.mak:
22919 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22921 * gst/gstregistry.c: (gst_registry_scan_path_level):
22922 unref a plug-in we get that was already initialized
22924 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22926 * docs/gst/gstreamer-sections.txt:
22927 * docs/libs/gstreamer-libs-sections.txt:
22928 * gst/gstelement.h:
22929 add new api entries
22930 hide internal macro
22932 2005-10-17 Andy Wingo <wingo@pobox.com>
22934 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22937 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22939 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22941 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22942 (gst_element_get_state_func): Better debug message.
22943 (gst_element_commit_state): s/INFO/DEBUG/.
22944 (gst_element_lost_state, gst_element_change_state):
22946 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22947 (gst_message_new_custom): s/INFO/LOG/.
22949 2005-10-17 Michael Smith <msmith@fluendo.com>
22951 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22952 Check if end time is valid using end time, not start time.
22954 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22956 * check/gst-libs/controller.c: (GST_START_TEST),
22957 (gst_controller_suite):
22958 * libs/gst/controller/gstcontroller.c:
22959 (gst_controlled_property_set_interpolation_mode):
22960 * libs/gst/controller/gstcontroller.h:
22961 * libs/gst/controller/gstinterpolation.c:
22962 * testsuite/controller/.cvsignore:
22963 * testsuite/controller/Makefile.am:
22964 * testsuite/controller/interpolator.c:
22965 merge controller testsuites
22967 remove mem-chunk from docs
22969 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22971 * gst/gstmemchunk.c:
22972 * gst/gstmemchunk.h:
22973 * gst/gsttrashstack.c:
22974 * gst/gsttrashstack.h:
22975 out. get out. you're fired. to the Attic !
22977 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22979 * gst/gstcaps.c: (gst_caps_intersect):
22980 fix signedness issues in a (hopefully) correct way
22981 * gst/gstelement.c: (gst_element_pads_activate):
22983 * gst/gstobject.c: (gst_object_set_parent):
22986 2005-10-17 Julien MOUTTE <julien@moutte.net>
22988 * gst/gstvalue.h: Fix prototypes.
22990 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22992 * docs/gst/gstreamer-sections.txt:
22993 * gst/gst.c: (gst_version_string):
22995 * gst/gstversion.h.in:
22996 * win32/common/libgstreamer.def:
22997 add gst_version_string ()
22999 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23003 * gst/gst.c: (init_post):
23004 * win32/common/config.h.in:
23006 * gst/gstcaps.c: (gst_caps_intersect):
23007 use gint64, the range could be bigger than a guint
23009 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23012 document potential problem in 2038
23014 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23016 * gst/gstcaps.c: (gst_caps_intersect):
23017 Fix guint j diving under 0
23019 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23022 * win32/common/config.h:
23023 * win32/common/config.h.in:
23024 check for process.h, declares getpid() on Windows
23026 include process.h if we have it
23027 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
23028 * gst/gstmemchunk.h:
23029 fix signedness issues
23030 * win32/common/libgstreamer.def:
23033 2005-10-16 Julien MOUTTE <julien@moutte.net>
23035 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
23036 fix. Because of unsigned ints, caps intersection was going nuts and
23037 trying to access structures with G_MAXUINT index. That fixes
23038 videotestsrc ! ffmpegcolorspace ! fakesink
23039 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
23042 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23045 use the gettext macro
23046 * gst/elements/gstelements.c:
23048 * gst/indexers/gstindexers.c:
23049 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23050 * win32/common/config.h:
23052 * win32/common/config.h.in:
23053 add the template to generate config.h
23054 * win32/common/gstenumtypes.c:
23055 * win32/common/gstversion.h:
23058 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
23060 * gst/gst.c: (gst_version):
23061 * gst/gstversion.h.in:
23064 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23067 Oops, add missing closing bracket.
23069 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23072 use common m4's for argument checking
23074 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
23076 * docs/gst/gstreamer-sections.txt:
23078 Add GST_EVENT_TYPE_NAME() macro.
23080 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23083 * gst/gstpluginfeature.c:
23085 privatize more symbols
23087 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23090 add srcdir, builddir includes to GST_ALL_CFLAGS, since
23091 everything that uses GStreamer API should have the includes
23093 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23095 * docs/gst/gstreamer-sections.txt:
23096 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23098 give each value a _get_type, removes the DATA exports
23100 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23104 remove _gst_registry_auto_load, not used anymore
23105 * gst/gstbin.c: (gst_bin_get_type):
23107 * gst/gstelement.c: (gst_element_get_type):
23108 * gst/gstelement.h:
23109 * gst/gstobject.c: (gst_object_get_type):
23111 * gst/gstpad.c: (gst_pad_get_type):
23113 make _get_type functions similar, fixes data export from library
23115 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23118 correctly make conditionals
23119 * gst/elements/Makefile.am:
23120 * gst/elements/gstelements.c:
23121 fix typo causing fdsrc not to build
23123 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23125 * testsuite/Makefile.am:
23126 * testsuite/bytestream/.cvsignore:
23127 * testsuite/bytestream/Makefile.am:
23128 * testsuite/bytestream/filepadsink.c:
23129 * testsuite/bytestream/gstbstest.c:
23130 * testsuite/bytestream/test1.c:
23131 * testsuite/bytestream/testfile1:
23132 * testsuite/caps/normalisation.c:
23133 * testsuite/caps/random.c: (main):
23134 * testsuite/cleanup/.cvsignore:
23135 * testsuite/cleanup/Makefile.am:
23136 * testsuite/cleanup/cleanup1.c:
23137 * testsuite/cleanup/cleanup2.c:
23138 * testsuite/cleanup/cleanup3.c:
23139 * testsuite/cleanup/cleanup4.c:
23140 * testsuite/cleanup/cleanup5.c:
23141 * testsuite/controller/interpolator.c:
23142 * testsuite/debug/printf_extension.c: (main):
23143 * testsuite/elements/tee.c:
23144 * testsuite/negotiation/.cvsignore:
23145 * testsuite/negotiation/Makefile.am:
23146 * testsuite/negotiation/pad_link.c:
23147 * testsuite/pad/Makefile.am:
23148 * testsuite/pad/chainnopull.c:
23149 * testsuite/pad/getnopush.c:
23150 * testsuite/pad/link.c:
23151 * testsuite/refcounting/sched.c: (create_pipeline):
23152 * testsuite/registry/Makefile.am:
23153 * testsuite/registry/gst-print-formats.c:
23154 * testsuite/schedulers/.cvsignore:
23155 * testsuite/schedulers/142183-2.c:
23156 * testsuite/schedulers/142183.c:
23157 * testsuite/schedulers/143777-2.c:
23158 * testsuite/schedulers/143777.c:
23159 * testsuite/schedulers/147713.c:
23160 * testsuite/schedulers/147819.c:
23161 * testsuite/schedulers/147894-2.c:
23162 * testsuite/schedulers/147894.c:
23163 * testsuite/schedulers/Makefile.am:
23164 * testsuite/schedulers/group_link.c:
23165 * testsuite/schedulers/queue_link.c:
23166 * testsuite/schedulers/relink.c:
23167 * testsuite/schedulers/unlink.c:
23168 * testsuite/schedulers/unref.c:
23169 * testsuite/schedulers/useless_iteration.c:
23170 * testsuite/states/bin.c:
23171 clean out/remove some stuff from the testsuite directories
23173 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23176 check for some headers
23177 * gst/elements/Makefile.am:
23178 * gst/elements/gstelements.c:
23179 don't compile fdsrc without sys/socket.h
23180 * gst/indexers/Makefile.am:
23181 * gst/indexers/gstindexers.c: (plugin_init):
23182 don't compile fileindex without mmap
23184 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23191 * check/Makefile.am:
23192 * docs/gst/Makefile.am:
23193 * examples/helloworld/Makefile.am:
23195 * gst/base/Makefile.am:
23196 * gst/check/Makefile.am:
23197 * gst/elements/Makefile.am:
23198 * gst/indexers/Makefile.am:
23199 * gst/parse/Makefile.am:
23200 * libs/gst/controller/Makefile.am:
23201 * libs/gst/dataprotocol/Makefile.am:
23202 * examples/helloworld/helloworld.c: (event_loop):
23203 compile fixes, though it's not being compiled currently
23205 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23207 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23208 Add some simple tests for the new taglist date API.
23210 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23212 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23213 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23214 Beautify 'last-message' output: print 'none' for buffer timestamps
23215 and durations if none is set; improve alignment with next messages.
23217 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23219 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23220 * gst/gstpluginfeature.h:
23221 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23222 * gst/gstregistry.h:
23223 * docs/gst/gstreamer-sections.txt:
23224 Add new API to check plugin feature version requirements.
23226 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23227 Some basic tests for the above.
23229 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23231 * gst/gststructure.c: (gst_structure_to_string):
23232 guard against NULL printf - happens when for example
23233 a message structure with GstClock gets serialized
23235 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23237 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23238 Fix presumable copy'n'pasto.
23240 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23242 * gst/elements/gstfakesrc.h:
23243 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23244 * gst/elements/gsttypefindelement.c:
23245 fix some signedness
23246 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23247 I wonder if this could actually write +2GB files before
23249 2005-10-13 Andy Wingo <wingo@pobox.com>
23251 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23252 Fix Timmeke Waymans bug.
23253 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23254 string of the proper length to gst_caps_from_string. There's a
23255 potential for, before this fix, that this could cause someone
23256 connecting over the network to cause a segfault if the payload is
23257 not NUL-terminated.
23259 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23261 * docs/design/draft-push-pull.txt:
23262 * docs/design/part-overview.txt:
23263 * docs/random/TODO-pre-0.9:
23264 * docs/random/old/ChangeLog.gstreamer:
23265 * gst/base/gstpushsrc.c:
23269 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23271 * gst/glib-compat.c: (gst_flags_get_first_value):
23272 * gst/glib-compat.h:
23273 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23274 (gst_value_compare_double), (gst_value_serialize_flags):
23275 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23278 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23281 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23283 * tools/gst-launch.c: (event_loop):
23284 print out clock nicely
23286 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23288 * docs/gst/gstreamer-sections.txt:
23289 * gst/gsttaglist.h:
23290 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23291 (gst_tag_list_get_date_index):
23292 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23293 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23295 2005-10-13 Julien MOUTTE <julien@moutte.net>
23297 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23298 (gst_collectpads_chain):
23299 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23302 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23304 * docs/gst/gstreamer-sections.txt:
23307 * tools/gst-inspect.c: (main):
23308 * tools/gst-launch.c: (main):
23309 * tools/gst-run.c: (main):
23310 * tools/gst-xmlinspect.c: (main):
23311 fix GOption context leaks
23314 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23318 * win32/common/config.h:
23320 * win32/vs6/grammar.dsp:
23321 * win32/vs6/libgstelements.dsp:
23322 * win32/vs6/libgstreamer.dsp:
23325 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23328 * gst/base/gstbasesrc.c: (gst_base_src_query):
23329 fix more guint64<->gdouble conversions
23331 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23334 add win32-update target
23335 * win32/common/gstconfig.h:
23336 * win32/common/gstenumtypes.c:
23337 * win32/common/gstenumtypes.h:
23338 * win32/common/gstversion.h:
23339 add files that visual studio can't generate
23341 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23344 add a win32-update target
23347 2005-10-12 Wim Taymans <wim@fluendo.com>
23349 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23350 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23351 * gst/gstelement.c: (gst_element_commit_state),
23352 (gst_element_set_state):
23353 Protect flags with proper lock.
23354 unref provided cached clock in dispose.
23356 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23359 * gst/gstminiobject.h:
23361 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23362 removed unused flags from miniobject
23365 2005-10-12 Wim Taymans <wim@fluendo.com>
23367 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23368 (gst_file_sink_event), (gst_file_sink_render):
23369 Flush before seeking.
23371 2005-10-12 Andy Wingo <wingo@pobox.com>
23373 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23374 always been the case.
23376 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23378 * check/gst/gstbin.c: (GST_START_TEST):
23379 * docs/gst/gstreamer-sections.txt:
23380 * gst/base/gstbasesink.c: (gst_base_sink_init):
23381 * gst/base/gstbasesrc.c: (gst_base_src_init),
23382 (gst_base_src_get_range), (gst_base_src_check_get_range),
23383 (gst_base_src_start), (gst_base_src_stop):
23384 * gst/base/gstbasesrc.h:
23385 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23386 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23387 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23391 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23393 * gst/gstelement.c: (gst_element_is_locked_state),
23394 (gst_element_set_locked_state), (gst_element_commit_state),
23395 (gst_element_set_state):
23396 * gst/gstelement.h:
23397 * gst/gstindex.c: (gst_index_init):
23399 * gst/gstminiobject.h:
23400 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23401 (gst_object_set_parent):
23403 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23404 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23406 * gst/gstpadtemplate.h:
23407 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23408 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23409 * gst/gstpipeline.h:
23410 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23411 (gst_file_index_commit):
23412 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23413 * testsuite/pad/link.c: (gst_test_src_init),
23414 (gst_test_filter_init), (gst_test_sink_init):
23415 * testsuite/states/locked.c: (main):
23416 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23417 moved bitshift from macro to enum definition
23419 2005-10-12 Wim Taymans <wim@fluendo.com>
23421 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23422 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23423 (gst_file_sink_render):
23424 Some more debugging info.
23426 2005-10-12 Wim Taymans <wim@fluendo.com>
23428 * docs/design/part-states.txt:
23429 * tools/gst-launch.c: (main):
23431 Revert non-intentional change.
23433 2005-10-12 Wim Taymans <wim@fluendo.com>
23435 * check/gst/gstbin.c: (GST_START_TEST):
23436 * check/gst/gstelement.c: (GST_START_TEST):
23437 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23438 * check/gst/gstghostpad.c: (GST_START_TEST):
23439 * check/gst/gstpipeline.c: (GST_START_TEST):
23440 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23441 * check/states/sinks.c: (GST_START_TEST):
23442 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23443 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23444 (gst_bin_remove_func), (gst_bin_get_state_func),
23445 (gst_bin_recalc_state), (gst_bin_change_state_func),
23447 * gst/gstelement.c: (gst_element_get_state_func),
23448 (gst_element_get_state), (gst_element_abort_state),
23449 (gst_element_commit_state), (gst_element_set_state),
23450 (gst_element_change_state), (gst_element_change_state_func):
23451 * gst/gstelement.h:
23452 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23453 (gst_pipeline_provide_clock_func):
23454 * gst/gstutils.c: (gst_element_link_pads_filtered):
23455 * tools/gst-launch.c: (main):
23456 * tools/gst-typefind.c: (main):
23457 Use GstClockTime in _get_state() instead of GTimeVal.
23458 Remove old code in gstutils.c
23460 2005-10-12 Andy Wingo <wingo@pobox.com>
23462 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23465 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23466 there is no task. Shouldn't affect any code, as nothing in our
23467 plugins checks this return value.
23468 (gst_pad_stop_task): Also take the stream lock if the pad has no
23469 task. Docs updated.
23471 2005-10-12 Wim Taymans <wim@fluendo.com>
23473 * gst/gstpad.c: (pre_activate), (post_activate),
23474 (gst_pad_activate_pull), (gst_pad_activate_push):
23475 Cleanup activation code. Reset old state if
23478 2005-10-12 Wim Taymans <wim@fluendo.com>
23480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23481 (gst_base_sink_change_state):
23482 No need to prerol after receiving EOS.
23484 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23485 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23486 * gst/elements/gstidentity.c: (gst_identity_event):
23487 Print events more verbosely.
23489 2005-10-12 Wim Taymans <wim@fluendo.com>
23491 * check/Makefile.am:
23492 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23493 * check/states/sinks2.c:
23494 Moved sinks2 testcode in sinks check.
23496 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23497 (gst_bin_remove_func), (gst_bin_recalc_state),
23498 (gst_bin_change_state_func), (bin_bus_handler):
23499 Fix potential race condition when _get_state() iterated over an
23500 ASYNC element right before it posted a state completion.
23503 Do proper cast here.
23505 * gst/gstevent.c: (gst_event_new_newsegment),
23506 (gst_event_parse_newsegment):
23507 A playback rate of 0.0 is not allowed.
23509 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23511 * win32/common/config.h:
23512 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23513 (_trewinddir), (_ttelldir), (_tseekdir):
23514 * win32/common/dirent.h:
23515 * win32/common/gtchar.h:
23516 * win32/common/libgstbase.def:
23517 * win32/common/libgstreamer.def:
23518 * win32/vs6/grammar.dsp:
23519 * win32/vs6/gst_inspect.dsp:
23520 * win32/vs6/gst_launch.dsp:
23521 * win32/vs6/gstreamer.dsw:
23522 * win32/vs6/libgstbase.dsp:
23523 * win32/vs6/libgstelements.dsp:
23524 * win32/vs6/libgstreamer.dsp:
23525 Visual Studio 6 project files, and a new common directory.
23528 2005-10-11 Wim Taymans <wim@fluendo.com>
23530 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23531 (gst_base_sink_do_sync), (gst_base_sink_query),
23532 (gst_base_sink_change_state):
23533 * gst/base/gstbasesink.h:
23534 Correctly parse newsegment info.
23536 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23538 * gst/gst.c: (init_post):
23539 split plugin paths correctly
23541 2005-10-11 Wim Taymans <wim@fluendo.com>
23543 * check/gst/gstevent.c: (GST_START_TEST):
23544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23545 (gst_base_sink_change_state):
23546 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23547 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23548 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23549 * gst/gstevent.c: (gst_event_new_newsegment),
23550 (gst_event_parse_newsegment):
23552 Added extra flag to newsegment for future API freeze.
23553 Updated check and base elements.
23555 2005-10-11 Julien MOUTTE <julien@moutte.net>
23557 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23558 (gst_collectpads_add_pad), (gst_collectpads_pop),
23559 (gst_collectpads_event), (gst_collectpads_chain):
23560 * gst/base/gstcollectpads.h: Handle EOS correctly.
23562 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23564 * tools/gst-launch.c: (main):
23565 more null protecting
23567 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23569 * gst/gst-i18n-lib.h:
23570 check for ENABLE_NLS, not GETTEXT_PACKAGE
23571 * gst/gstregistry.c: (gst_registry_add_plugin),
23572 (gst_registry_scan_path_level),
23573 (_gst_registry_remove_cache_plugins):
23574 protect possibly NULL strings
23575 * gst/parse/types.h:
23576 config.h already included before
23577 * tools/gst-inspect.c: (main):
23578 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23579 check for ENABLE_NLS, not GETTEXT_PACKAGE
23580 * tools/gst-launch.c: (main):
23581 check for ENABLE_NLS, not GETTEXT_PACKAGE
23583 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23586 if we don't have glib, fail before testing 2.8
23587 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23588 fix a leak, should fix plugins-base testsuite
23590 2005-10-11 Andy Wingo <wingo@pobox.com>
23592 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23593 take the mode we're going to as an arg. Go head and set the mode
23594 and flushing flags now, so that if the activate function starts a
23595 thread all the flags will be in the right state.
23596 (post_activate): Renamed also. Just handle making sure streaming
23597 finishes for the deactivation case, and setting the deactivated
23599 (gst_pad_set_active): Complain loudly if deactivation fails.
23600 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23601 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23602 remove the terrible hack.
23604 2005-10-11 Wim Taymans <wim@fluendo.com>
23606 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23607 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23608 (gst_bin_recalc_state), (gst_bin_change_state_func),
23609 (gst_bin_dispose), (bin_bus_handler):
23611 Prepare to make current EOS message queue more generic.
23614 * gst/gstevent.c: (gst_event_new_newsegment),
23615 (gst_event_parse_newsegment):
23617 Rename base to stream_time.
23619 * gst/gstmessage.h:
23622 2005-10-11 Wim Taymans <wim@fluendo.com>
23624 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23625 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23626 (gst_bin_change_state_func), (bin_bus_handler):
23628 Work on proper clock selection.
23630 2005-10-11 Edward Hervey <edward@fluendo.com>
23632 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23633 * libs/gst/controller/gstcontroller.h:
23634 Added GList* version of _remove_properties() in order to be able to wrap
23637 2005-10-11 Wim Taymans <wim@fluendo.com>
23639 * docs/design/part-states.txt:
23642 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23643 (gst_bin_change_state_func), (bin_bus_handler):
23644 Doc updates. Don't distribute the same clock over and over again.
23650 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23651 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23652 (gst_pad_send_event):
23654 Make probe emission threadsafe again.
23655 Register quarks and move _get_name() from utils.
23658 * gst/gstpipeline.c: (gst_pipeline_class_init),
23659 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23660 Only redistribute the clock of it changed.
23662 * gst/gstsystemclock.h:
23667 Moved the _flow_get_name() to GstPad.
23669 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23671 * check/gst-libs/gdp.c: (GST_START_TEST):
23672 * check/gst/gstcaps.c: (GST_START_TEST):
23673 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23674 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23675 (gst_dp_packet_from_caps):
23676 fix more valgrind warnings before turning up the heat
23678 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23680 * gst/parse/grammar.y:
23681 some cleanup before the hacking
23683 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23685 * gst/base/gstbasesrc.c: (gst_base_src_query):
23687 * gst/gstutils.c: (gst_guint64_to_gdouble),
23688 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23690 externalize, basesrc uses it
23691 obviously the implementation needs testing
23693 2005-10-10 Wim Taymans <wim@fluendo.com>
23695 * tests/sched/Makefile.am:
23696 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23697 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23699 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23701 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23702 apparently converting from guint64 to double is not implemented
23705 2005-10-10 Wim Taymans <wim@fluendo.com>
23707 * check/Makefile.am:
23708 * check/generic/states.c: (GST_START_TEST):
23709 * check/gst/gstbin.c: (GST_START_TEST):
23710 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23711 * check/states/sinks.c: (GST_START_TEST):
23712 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23714 Check fixes, use API as stated in design docs, remove hacks.
23716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23717 (gst_base_sink_change_state):
23718 Catch stopping our task while we're shutting down.
23720 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23721 (gst_bin_remove_func), (gst_bin_get_state_func),
23722 (gst_bin_recalc_state), (gst_bin_change_state_func),
23725 * gst/gstelement.c: (gst_element_init),
23726 (gst_element_get_state_func), (gst_element_abort_state),
23727 (gst_element_commit_state), (gst_element_lost_state),
23728 (gst_element_set_state), (gst_element_change_state),
23729 (gst_element_change_state_func):
23730 * gst/gstelement.h:
23731 New state change algorithm (see #318116)
23733 * gst/gstpipeline.c: (gst_pipeline_class_init),
23734 (gst_pipeline_init), (gst_pipeline_set_property),
23735 (gst_pipeline_get_property), (do_pipeline_seek),
23736 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23737 * gst/gstpipeline.h:
23738 Remove crude state change hacks.
23741 Remove crude hacks.
23743 * tools/gst-launch.c: (main):
23744 Fixes for state change. Needs some more work to fully use the
23747 2005-10-10 Andy Wingo <wingo@pobox.com>
23749 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23751 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23752 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23755 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23757 * gst/gstiterator.c: (gst_iterator_new):
23758 Fix my previous commit: GTypes passed to gst_iterator_new()
23759 can be fundamental types.
23761 2005-10-10 Wim Taymans <wim@fluendo.com>
23763 * gst/gstelement.c: (gst_element_iterate_pad_list),
23764 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23765 (gst_element_iterate_sink_pads):
23766 Use src/sink pads lists for the respective iterators instead
23769 2005-10-10 Andy Wingo <wingo@pobox.com>
23771 Merged in popt removal + GOption addition patch from Ronald, bug
23774 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23775 GstElement macros around, remove popt-related symbols, add goption
23778 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23780 * docs/gst/Makefile.am:
23781 * docs/libs/Makefile.am: No POPT_CFLAGS.
23783 * examples/manual/Makefile.am:
23784 * docs/manual/basics-init.xml: Doc updates with an example.
23786 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23787 (gst_init), (parse_one_option), (parse_goption_arg):
23788 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23789 bit of hand merging and debugging to get the GOption stuff working
23792 * tests/Makefile.am:
23793 * tools/Makefile.am:
23794 * tools/gst-inspect.c: (main):
23795 * tools/gst-launch.c: (main):
23796 * tools/gst-run.c: (main):
23797 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23799 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23801 * gst/gstiterator.c: (gst_iterator_new):
23802 Add assertions to make sure passed GType is likely to really
23803 be a GType (as the compiler won't catch it if the size and
23804 GType arguments get mixed up, see #318447).
23806 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23808 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23810 * gst/gstbin.c: (gst_bin_iterate_sorted):
23811 Pass GType and size arguments to gst_iterator_new() in the right
23812 order (maybe we should make _new() take the GType as first argument
23813 just like _new_list()?) (#318447).
23816 2005-10-10 Wim Taymans <wim@fluendo.com>
23818 * gst/gstelement.c: (gst_element_finalize):
23819 And free the GStaticRecMutex too
23821 2005-10-10 Andy Wingo <wingo@pobox.com>
23823 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23824 Allocate and free the mutex properly.
23826 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23828 (GstElement): The state_lock is now recursive. Rebuild your
23829 plugins, suckers. Old macros adapted.
23831 * docs/gst/gstreamer-sections.txt: Doc updates.
23834 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23835 (g_static_rec_cond_wait): Ported from state changes patch, while
23836 we wait on bug #317802 to be solved in a well-distributed GLib.
23838 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23839 gst_element_change_state, variable name changes.
23840 (gst_element_change_state): Split out of gst_element_set_state in
23841 preparation for the state change merge. Doesn't pay attention to
23842 the 'transition' argument.
23843 (gst_element_set_state): Updates, hopefully purely cosmetic.
23844 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23845 state change patch.
23846 (gst_element_get_state_func): Renamed from get_state, cosmetic
23849 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23851 * gst/elements/gstelements.c:
23852 * win32/GStreamer.vcproj:
23854 * win32/dirent.c: (_tseekdir):
23855 * win32/gst-inspect.vcproj:
23856 * win32/gst-launch.vcproj:
23857 * win32/gstconfig.h:
23858 * win32/gstelements.vcproj:
23859 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23860 * win32/gstreamer.def:
23861 * win32/msvc71.sln:
23862 updates for the win32 build (patch from Sebastien Moutte)
23864 2005-10-10 Andy Wingo <wingo@pobox.com>
23866 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23867 gst_bin_get_state, cleaned up (but no logic changes).
23868 (bin_element_is_sink): Comment updates.
23869 (sink_iterator_filter): Remove needless cast.
23870 (gst_bin_iterate_sinks): Doc update.
23871 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23872 cleaned up (but no logic changes).
23874 * check/states/sinks.c (test_src_sink): Cleanups from the state
23876 (test_livesrc_sink): Sync on the state.
23878 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23879 the state change patch.
23881 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23884 * check/gst/gstbin.c: Merge in some style fixes and additional
23885 checks from Wim's state change patch.
23887 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23889 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23890 (gst_type_find_helper):
23891 Check whether we have the requested data already in our list of
23892 cached buffers before pulling a new buffer; also make the buffer
23893 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23895 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23900 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23901 don't use long long, it's not portable. Replacing with
23902 gint64 seems to work; let's hope no skeletons fall out of the closet.
23904 2005-10-10 Andy Wingo <wingo@pobox.com>
23906 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23908 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23910 * docs/gst/gstreamer-sections.txt:
23915 * gst/gstmessage.c: (gst_message_parse_state_changed):
23918 more docs, fix compilation
23920 2005-10-09 Philippe Khalaf <burger@speedy.org>
23921 * gst/gstmessage.c:
23922 Fixed a few forgotten variables on previous commit
23924 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23926 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23927 Fix evil typefind crasher: getrange() might return a short
23928 buffer at the end of a file, but gst_type_find_peek() must
23929 either return the full data as requested or NULL, but
23930 never a short buffer.
23932 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23934 * gst/gstmessage.c: (gst_message_new_state_changed),
23935 (gst_message_parse_state_changed):
23936 * gst/gstmessage.h:
23937 don't use "new", it's a C++ keyword
23939 2005-10-08 Wim Taymans <wim@fluendo.com>
23941 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23942 * gst/gstelement.c: (gst_element_post_message):
23943 * gst/gstpipeline.c: (gst_pipeline_change_state):
23944 Small docs and debug updates.
23946 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23948 * docs/gst/gstreamer-sections.txt:
23949 * gst/gstelementfactory.c:
23951 * gst/gsttaglist.c:
23954 2005-10-08 Wim Taymans <wim@fluendo.com>
23956 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23957 (gst_bin_dispose), (bin_bus_handler):
23958 Fix typos, add comments.
23959 Clear EOS list when going to PAUSED from any direction and do it
23960 in a threadsafe way.
23961 Get base time in a threadsafe way too.
23962 Fix confusing debug in the change_state function.
23963 Various other small cleanups.
23965 * gst/gstelement.c: (gst_element_post_message):
23966 Fix very verbose bus posting code.
23968 * gst/gstpipeline.c: (gst_pipeline_class_init),
23969 (gst_pipeline_set_property), (gst_pipeline_get_property),
23970 (gst_pipeline_change_state):
23971 Small ARG_ -> PROP_ cleanup
23973 2005-10-08 Wim Taymans <wim@fluendo.com>
23975 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23976 Do a less CPU demanding EOS check because we can.
23978 2005-10-08 Wim Taymans <wim@fluendo.com>
23980 * libs/gst/dataprotocol/dataprotocol.c:
23981 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23982 (gst_dp_packet_from_event):
23983 * libs/gst/dataprotocol/dataprotocol.h:
23984 * libs/gst/dataprotocol/dp-private.h:
23985 It's about time we bump the version number.
23986 Since event types don't fit in the guint8 anymore describing
23987 the payload type, make payload type 16 bits wide.
23989 2005-10-08 Wim Taymans <wim@fluendo.com>
23991 * docs/design/part-TODO.txt:
23992 * docs/design/part-clocks.txt:
23993 * docs/design/part-events.txt:
23994 * docs/design/part-gstbin.txt:
23995 * docs/design/part-gstelement.txt:
23996 * docs/design/part-gstpipeline.txt:
23997 * docs/design/part-live-source.txt:
23998 * docs/design/part-messages.txt:
23999 * docs/design/part-overview.txt:
24000 * docs/design/part-states.txt:
24003 2005-10-08 Wim Taymans <wim@fluendo.com>
24007 Fix event quark registration.
24008 Add some space between events so we can insert them in the
24011 2005-10-08 Wim Taymans <wim@fluendo.com>
24013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24014 (gst_base_sink_handle_buffer):
24015 Better log message.
24018 * gst/gstelement.h:
24021 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24022 (gst_queue_set_property), (gst_queue_get_property):
24024 Remove old unused properties.
24026 2005-10-08 Stefan Kost <ensonic@users.sf.net>
24027 * docs/gst/gstreamer-sections.txt:
24028 * gst/gstmessage.c:
24029 * gst/gstmessage.h:
24030 * gst/gstminiobject.c:
24031 * gst/gstminiobject.h:
24035 lots of new docs and doc fixes
24037 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24039 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
24041 * gst/gstregistry.c: (gst_registry_lookup_locked),
24042 (gst_registry_scan_path_level):
24043 * gst/gstregistryxml.c: (load_plugin):
24044 Only ever load one plugin for a given plugin basename.
24045 This ensures correct overriding of GST_PLUGIN_PATH over
24046 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24047 system installed plugins.
24049 2005-10-08 Wim Taymans <wim@fluendo.com>
24051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24052 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24053 Prepare for doing QOS.
24055 2005-10-08 Wim Taymans <wim@fluendo.com>
24057 * check/gst/gstbin.c: (GST_START_TEST):
24058 * check/pipelines/cleanup.c: (GST_START_TEST):
24059 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24060 Allow new clock message too.
24062 2005-10-08 Wim Taymans <wim@fluendo.com>
24064 * gst/gstmessage.c: (gst_message_new_error),
24065 (gst_message_new_warning), (gst_message_new_tag),
24066 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24067 (gst_message_new_clock_lost), (gst_message_new_new_clock),
24068 (gst_message_new_segment_start), (gst_message_new_segment_done),
24069 (gst_message_parse_state_changed),
24070 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24071 (gst_message_parse_new_clock):
24072 * gst/gstmessage.h:
24073 Also carry the clock in question.
24075 2005-10-08 Wim Taymans <wim@fluendo.com>
24077 * gst/gstmessage.c: (gst_message_new_custom),
24078 (gst_message_new_eos), (gst_message_new_error),
24079 (gst_message_new_warning), (gst_message_new_tag),
24080 (gst_message_new_state_changed), (gst_message_new_clock_provide),
24081 (gst_message_new_new_clock), (gst_message_new_segment_start),
24082 (gst_message_new_segment_done), (gst_message_parse_state_changed),
24083 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24084 * gst/gstmessage.h:
24086 Added clock related messages.
24088 * gst/gstpipeline.c: (gst_pipeline_change_state):
24089 Post message when the clock changed.
24091 * tools/gst-launch.c: (event_loop):
24094 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
24096 * tools/gst-inspect.c: (print_element_properties_info):
24097 Can't pass NULL strings to g_print() on windows.
24099 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24101 * docs/Makefile.am:
24102 * docs/gst/Makefile.am:
24103 * docs/gst/gstreamer-docs.sgml:
24104 * docs/gst/running.xml:
24105 * docs/version.entities.in:
24106 add a chapter on running GStreamer.
24107 document GST_DEBUG and GST_PLUGIN* env vars
24109 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24114 remove PLUGINS_BUILDDIR stuff
24115 * gst/gst.c: (init_post):
24116 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24118 remove, it was condescending and not needed
24120 2005-10-08 Wim Taymans <wim@fluendo.com>
24122 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24123 (gst_base_sink_handle_object), (gst_base_sink_event),
24124 (gst_base_sink_wait), (gst_base_sink_handle_event),
24125 (gst_base_sink_change_state):
24126 * gst/base/gstbasesink.h:
24127 Repost EOS message while going to PLAYING if still EOS.
24128 Make sure that when receiving a FLUSH_START we don't attempt
24129 to sync on the clock anymore.
24131 2005-10-08 Wim Taymans <wim@fluendo.com>
24133 * tools/gst-launch.c: (event_loop):
24134 Better message printout.
24136 2005-10-08 Wim Taymans <wim@fluendo.com>
24138 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24139 (gst_bin_child_proxy_get_children_count):
24140 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24141 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24142 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24143 (gst_child_proxy_set_valist):
24144 * gst/parse/grammar.y:
24145 Make ChildProxy threadsafe and fix mem leaks.
24147 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24149 * gst/gst.c: (init_post):
24150 debug the GST_PLUGIN_ env vars
24152 2005-10-08 Wim Taymans <wim@fluendo.com>
24154 * check/gst/gstbin.c: (GST_START_TEST):
24155 * check/gst/gstmessage.c: (GST_START_TEST):
24156 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24157 * gst/gstelement.c: (gst_element_commit_state),
24158 (gst_element_lost_state):
24159 * gst/gstmessage.c: (gst_message_new_state_changed),
24160 (gst_message_parse_state_changed):
24161 * gst/gstmessage.h:
24162 * tools/gst-launch.c: (event_loop):
24163 Added extra field to STATE_CHANGE message with the pending
24164 state, which will be different from the new state soon.
24166 2005-10-08 Wim Taymans <wim@fluendo.com>
24168 * gst/gstbus.c: (gst_bus_pop):
24170 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24171 Small cleanups and doc updates.
24173 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24175 * gst/gst.c: (init_pre):
24176 * gst/gstbin.c: (gst_bin_add_func):
24177 log distributing clocks and base time
24178 * gst/gstregistry.c: (gst_registry_add_plugin),
24179 (gst_registry_scan_path_level), (gst_registry_scan_path):
24180 clean up the debugging output a little
24181 * gst/gstutils.c: (gst_element_state_get_name):
24182 warn about a memleak (I've actually seen this be used, though
24183 it was probably a bug)
24185 2005-10-07 Wim Taymans <wim@fluendo.com>
24187 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24188 (gst_base_src_init), (gst_base_src_default_newsegment),
24189 (gst_base_src_newsegment), (gst_base_src_do_seek),
24190 (gst_base_src_loop), (gst_base_src_start):
24191 * gst/base/gstbasesrc.h:
24192 Make the newsegment event customizable by subclasses.
24194 2005-10-07 Wim Taymans <wim@fluendo.com>
24196 * gst/gstevent.c: (gst_event_new_buffersize),
24197 (gst_event_parse_buffersize):
24199 New event for future idea.
24201 2005-10-07 Andy Wingo <wingo@pobox.com>
24203 * gst/gstelement.c (gst_element_post_message): Doc update.
24205 * docs/gst/gstreamer-sections.txt: Update.
24207 * gst/gstmessage.c (gst_message_new_application): Made into a
24208 function like honest API calls.
24209 (gst_message_new_element): New message type.
24211 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24213 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24214 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24217 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24218 NO_PREROLL from gst_element_change_state to fall through.
24220 2005-10-07 Wim Taymans <wim@fluendo.com>
24222 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24223 (gst_ghost_pad_do_activate_push):
24224 Activating a ghostpad with no internal pad in push mode
24227 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24230 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24231 Fixes compilation on Windows.
24233 2005-10-07 Michael Smith <msmith@fluendo.com>
24235 * tools/gst-inspect.c:
24236 Print out feature and plugin count at the end when printing out
24239 2005-10-04 Michael Smith <msmith@fluendo.com>
24241 * gst/gsterror.c: (_gst_stream_errors_init):
24242 Add another error string used in a few existing plugins.
24245 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24246 * tools/gst-inspect.c: (print_element_info):
24247 When a feature disappears from a plugin (and the feature exists in
24248 the cached registry file), things went horribly wrong. This isn't a
24249 complete fix, we should actually be removing the 'missing' features
24250 from the features list when we load the actual plugin. That's not
24253 2005-10-04 Johan Dahlin <johan@gnome.org>
24255 * check/gst/gstiterator.c: (GST_START_TEST):
24256 * gst/gstbin.c: (gst_bin_iterate_elements),
24257 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24258 * gst/gstelement.c: (gst_element_iterate_pads):
24259 * gst/gstformat.c: (gst_format_iterate_definitions):
24260 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24261 (gst_iterator_new_list), (gst_iterator_filter):
24262 * gst/gstiterator.h:
24263 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24264 Add a GType to GstIterator, update callsites and tests.
24266 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24268 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24269 give events a chance to be handled by event probes when the pad
24272 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24274 * gst/gstevent.c: (gst_event_type_get_name),
24275 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24277 add string representations for event types
24279 2005-10-06 Wim Taymans <wim@fluendo.com>
24281 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24282 Don't use NULL pointers.
24284 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24286 * gst/gst_private.h:
24288 * gst/gstelement.c:
24290 * gst/gstpluginfeature.c:
24291 widen the debug category in output to fit the biggest one we have
24292 add a bus category and use it
24293 play with the colors
24294 fix up some categories
24296 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24298 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24299 add push activation of sink ghost pads.
24300 Andye, please verify
24302 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24304 * gst/gstutils.c: (gst_element_link_pads):
24305 fix a bug in the case where neither element has a pad
24306 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24307 add a test for that case
24309 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24311 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24312 emit have-data before checking for peers. This allows
24313 for probe handlers to connect elements. This helps autopluggers.
24314 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24316 add six checks, linked/unlinked with no/true/false probe
24318 2005-10-04 Wim Taymans <wim@fluendo.com>
24320 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24321 (gst_fake_sink_event), (gst_fake_sink_preroll),
24322 (gst_fake_sink_render), (gst_fake_sink_change_state):
24323 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24324 (gst_fake_src_get_property), (gst_fake_src_create),
24325 (gst_fake_src_stop):
24326 * gst/elements/gstidentity.c: (gst_identity_stop):
24327 Protect last_message with lock.
24329 2005-10-04 Edward Hervey <edward@fluendo.com>
24332 Added precision in the comments for GST_FORMAT_DEFAULT
24334 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24336 * tools/gst-launch.c: (main):
24337 Don't try to run erroneous pipelines.
24339 2005-10-04 Julien MOUTTE <julien@moutte.net>
24341 * gst/gstbus.c: We don't need this header.
24343 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24346 back to development
24348 === release 0.9.3 ===
24350 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24354 Releasing 0.9.3, "Unregistered"
24356 2005-10-03 Andy Wingo <wingo@pobox.com>
24358 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24359 whereby calling a pad's activatepush() function can start a thread
24360 that starts to push or pull before the pad gets the FLUSHING flag
24361 unset. Hack around it by holding the stream lock until the flag is
24362 set. Need to replace this with a proper solution. Together with
24363 the ghost pad fixes, this fixes mp3 playing/tagreading.
24365 * docs/design/part-gstghostpad.txt: Add a note about activation of
24366 proxy pads outside of ghost pads.
24368 * gst/gstghostpad.c: Implement the ghost pad activation design.
24370 2005-10-02 Andy Wingo <wingo@pobox.com>
24372 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24373 It is volatile, after all.
24375 * docs/design/part-gstghostpad.txt: Flesh out activation with
24378 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24381 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24384 Fix (unused) AM_CONDITIONAL tests.
24386 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24388 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24390 * gst/gstutils.c: (gst_pad_query_convert):
24391 Add assertion that makes sure src_val is >=0, just like
24392 gst_query_new_convert() has. (#315895)
24394 2005-09-30 Edward Hervey <edward@fluendo.com>
24396 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24397 Let's not iterate pads we're not interested in, it avoids getting
24398 sky-high refcounts on sinkpad.
24400 2005-09-30 Wim Taymans <wim@fluendo.com>
24402 * gst/gstelement.c: (gst_element_set_state),
24403 (gst_element_change_state):
24404 Small tweak, element in ASYNC remains ASYNC.
24406 2005-09-30 Wim Taymans <wim@fluendo.com>
24408 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24409 Only error is an error.
24411 * gst/gstbin.c: (gst_bin_change_state):
24414 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24415 Also call pad_block in pad alloc.
24417 * gst/gstutils.c: (gst_flow_get_name):
24420 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24422 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24423 (gst_base_src_get_range):
24424 Fix documentation typos. Add some more debug info.
24426 2005-09-29 David Schleef <ds@schleef.org>
24428 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24429 more end-user friendly.
24430 * tools/gst-inspect.c: (main): Check if command-line argument is
24431 a file and attempt to load that file as a plugin.
24433 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24435 * check/gst/gstbin.c:
24436 * check/states/sinks.c:
24437 fix tests for the new warning
24438 * check/gst/gstpipeline.c:
24439 add a test for pipeline and bus interaction
24440 * gst/gstelement.c:
24441 elements should be NULL if they get disposed; add a warning if not
24443 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24446 for 2.6 refcounting, make debug log more correct by printing
24447 the actual refcounts at the time of swap (Wim)
24449 2005-09-29 Andy Wingo <wingo@pobox.com>
24451 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24452 removes signal watches previously added via
24453 gst_bus_add_signal_watch.
24454 (gst_bus_add_signal_watch): Don't return the source id, just store
24455 it on the bus if there wasn't an id already.
24457 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24458 add_signal_watch and remove_signal_watch.
24460 2005-09-29 Edward Hervey <edward@fluendo.com>
24462 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24463 Better if we actually iterate the list :)
24465 2005-09-29 Wim Taymans <wim@fluendo.com>
24467 * check/gst/gstbin.c: (GST_START_TEST):
24468 Change for new bus API.
24470 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24471 (send_messages), (GST_START_TEST), (gstbus_suite):
24472 Change for new bus signal API.
24474 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24475 (gst_bus_source_prepare), (gst_bus_source_check),
24476 (gst_bus_create_watch), (gst_bus_add_watch_full),
24477 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24478 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24480 Remove support for multiple GSources operating on different
24481 message types as it is too complex and unneeded when using
24483 Added support for receiving signals from the bus.
24485 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24487 * docs/libs/tmpl/gstdataprotocol.sgml:
24488 * docs/manual/advanced-dataaccess.xml:
24489 * gst/elements/gstcapsfilter.c:
24491 rename filter-caps to caps property
24493 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24495 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24496 More robust fraction string parsing.
24498 * docs/pwg/appendix-porting.xml:
24499 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24501 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24503 * gst/gstcaps.c: (gst_caps_do_simplify):
24504 Thou shalt not free a structure and then continue using it
24505 in the next loop iteration.
24507 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24509 Add test case for caps simplification.
24511 2005-09-29 Wim Taymans <wim@fluendo.com>
24513 * check/gst/gstbin.c: (GST_START_TEST):
24516 2005-09-29 Wim Taymans <wim@fluendo.com>
24518 * check/gst/gstbin.c: (GST_START_TEST):
24521 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24522 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24523 (find_element), (gst_bin_sort_iterator_next),
24524 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24525 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24526 (gst_bin_change_state), (gst_bin_dispose):
24527 A bin does not have a bus, it gets the bus from the parent.
24529 * gst/gstelement.c: (gst_element_requires_clock),
24530 (gst_element_provides_clock), (gst_element_is_indexable),
24531 (gst_element_is_locked_state), (gst_element_change_state),
24532 (gst_element_set_bus_func):
24535 * gst/gstpipeline.c: (gst_pipeline_class_init),
24536 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24537 The pipeline provides a bus.
24539 2005-09-28 Johan Dahlin <johan@gnome.org>
24541 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24542 gst_structure_get_enum instead of gst_structure_get_int
24544 * gst/gststructure.c (gst_structure_get_enum): Impl.
24546 * gst/gststructure.h (gst_structure_get_enum): Add
24548 * docs/gst/gstreamer-sections.txt: Ditto
24550 * gst/gstmessage.c (gst_message_new_state_changed): Use
24551 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24552 which does introspection.
24553 Reviewed by Christian Schaller
24555 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24557 * gst/gstinfo.c: (gst_debug_log_default):
24558 don't do dummy g_strdup()s
24559 * libs/gst/controller/gstcontroller.c:
24560 (on_object_controlled_property_changed),
24561 (gst_controlled_property_new), (gst_controller_new_valist),
24562 (gst_controller_new_list),
24563 (gst_controller_remove_properties_valist), (gst_controller_set),
24564 (gst_controller_get), (gst_controller_sync_values),
24565 (gst_controller_get_value_array), (_gst_controller_class_init),
24566 (gst_controller_get_type):
24567 * libs/gst/controller/gstcontroller.h:
24568 * libs/gst/controller/gstinterpolation.c:
24569 (gst_controlled_property_find_timed_value_node):
24570 convert // to /**/ comments
24572 2005-09-28 Wim Taymans <wim@fluendo.com>
24574 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24575 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24576 (gst_bus_sync_signal_handler):
24578 Added async-message and sync-message signals to the bus.
24579 Added helper BusFunc to emit signals for all posted messages.
24581 * gst/gstmessage.c: (gst_message_type_get_name),
24582 (gst_message_type_to_quark), (gst_message_get_type):
24583 * gst/gstmessage.h:
24584 Register quarks for message names.
24586 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24588 * docs/libs/gstreamer-libs-sections.txt:
24589 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24590 (gst_controller_new_list):
24591 * libs/gst/controller/gstcontroller.h:
24592 added another constructor for language bindings
24594 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24596 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24600 * gst/gstinfo.c: (_gst_debug_init):
24601 slightly more readable color for refcount debugging
24603 2005-09-28 Wim Taymans <wim@fluendo.com>
24605 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24606 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24607 (find_element), (gst_bin_sort_iterator_next),
24608 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24609 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24610 (gst_bin_change_state), (gst_bin_dispose):
24611 Small doc fixes. get_clock -> provide_clock.
24613 * gst/gstelement.c: (gst_element_class_init),
24614 (gst_element_provides_clock), (gst_element_provide_clock),
24615 (gst_element_get_clock), (gst_element_commit_state),
24616 (gst_element_lost_state):
24617 * gst/gstelement.h:
24618 Make get/set_clock() symetric. Add provide_clock vmethod since
24619 that is actually what this function does.
24621 * gst/gstpipeline.c: (gst_pipeline_class_init),
24622 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24623 (gst_pipeline_get_clock):
24624 get_clock -> provide_clock.
24626 2005-09-28 Andy Wingo <wingo@pobox.com>
24628 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24629 lieu of real docs...
24631 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24633 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24635 * gst/elements/gstcapsfilter.c:
24636 * gst/elements/gstfakesink.c:
24637 * gst/elements/gstfakesrc.c:
24638 * gst/elements/gstfdsink.c:
24639 * gst/elements/gstfdsrc.c:
24640 * gst/elements/gstfilesink.c:
24641 * gst/elements/gstfilesrc.c:
24642 * gst/elements/gstidentity.c:
24643 * gst/elements/gsttee.c:
24644 * gst/elements/gsttypefindelement.c:
24645 Make element details static.
24647 2005-09-28 Wim Taymans <wim@fluendo.com>
24649 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24650 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24651 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24652 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24653 (gst_bin_change_state), (gst_bin_dispose):
24654 Some documentation updates.
24655 Clean up dispose handlers.
24657 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24658 * gst/gstpad.c: (gst_pad_dispose):
24659 Clean up dispose handler.
24661 * gst/gstpipeline.c: (gst_pipeline_change_state):
24662 Removed spurious UNLOCK.
24664 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24666 * docs/gst/gstreamer-sections.txt:
24667 * gst/base/gstbasesrc.h:
24668 * gst/gstelement.h:
24672 * gst/gstpipeline.c:
24673 * gst/gstpipeline.h:
24676 added two new functions to the docs
24677 documents all undocumented GstXXXFlags
24678 completed some incomplete docs
24680 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24682 * gst/gstbin.c: (gst_bin_dispose):
24683 * gst/gstelement.c: (gst_element_dispose):
24684 remove now useless and leaky resurrection code in dispose
24685 * gst/base/gstbasesrc.c: (gst_base_src_init):
24686 * gst/gstelementfactory.c: (gst_element_factory_create):
24687 * gst/gstobject.c: (gst_object_set_parent):
24690 2005-09-27 Wim Taymans <wim@fluendo.com>
24692 * docs/design/part-TODO.txt:
24695 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24696 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24697 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24698 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24699 (gst_bin_change_state):
24700 * gst/gstelement.h:
24701 Remove element variable, we keep element info in the iterator now.
24703 2005-09-27 Andy Wingo <wingo@pobox.com>
24705 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24708 2005-09-27 Wim Taymans <wim@fluendo.com>
24710 * check/gst/gstbin.c: (GST_START_TEST):
24711 Enable check that works now.
24713 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24714 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24715 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24716 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24717 (gst_bin_change_state):
24719 Redid the state change algorithm using a topological sort algo.
24720 Handles all cases correctly.
24721 Exposed iterator for state change order.
24723 * gst/gstelement.h:
24724 Temp storage for state changes. Need to get rid of this soon.
24726 2005-09-27 Wim Taymans <wim@fluendo.com>
24728 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24729 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24730 (link_fold_func), (gst_pad_proxy_setcaps):
24731 Leak fixes, the fold functions need to unref the passed object and
24732 _get_parent_*() returns ref to parent.
24734 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24736 * check/gst/gstbuffer.c: (test_make_writable):
24737 Plug leak in test case and fix 'make check-valgrind'
24739 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24741 * gst/gstbuffer.c: (gst_subbuffer_init):
24742 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24743 works correctly in all circumstances (we could have just copied
24744 the parent buffer's readonly flag, but conceptually it seems
24745 cleaner to mark all subbuffers as read-only). (based on patch
24746 by Alessandro Decina, #314710).
24748 * check/gst/gstbuffer.c: (create_read_only_buffer),
24749 (test_make_writable), (test_subbuffer_make_writable),
24751 Add some tests for gst_buffer_make_writable().
24753 2005-09-27 Wim Taymans <wim@fluendo.com>
24755 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24756 use gst_object_has_ancestor().
24758 * gst/gstobject.c: (gst_object_has_ancestor):
24760 gst_object_has_ancestor() copied from gstbin.c as it is a
24763 * tests/instantiate/create.c: (create_all_elements):
24764 * tests/lat.c: (handoff_src), (handoff_sink):
24765 * tests/sched/runxml.c: (main):
24766 * tests/seeking/seeking1.c: (main):
24767 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24769 Fix compilation of some tests.
24771 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24774 Remove comment. GST_TYPE_G_ERROR is here to stay,
24775 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24776 (#316961, #300610).
24778 2005-09-26 Wim Taymans <wim@fluendo.com>
24780 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24781 Added check that shows error in state change order.
24783 2005-09-26 Wim Taymans <wim@fluendo.com>
24785 * gst/gstbin.c: (gst_bin_change_state):
24786 Make state change function use 3 queues again, we were
24787 adding elements in the wrong order.
24789 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24792 * gst/gstpad.c: (gst_pad_dispose):
24793 Added some debug info first.
24795 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24797 * docs/design/draft-push-pull.txt:
24798 * docs/design/part-events.txt:
24799 * docs/design/part-overview.txt:
24800 * docs/design/part-scheduling.txt:
24801 Replace all _pull_region() with _pull_range()
24803 2005-09-26 Andy Wingo <wingo@pobox.com>
24805 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24807 * check/gst-libs/controller.c: Update for controller api change.
24810 * tests/Makefile.am:
24811 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24812 over by GLib bug 118439.
24814 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24815 routines to a function.
24817 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24819 * libs/gst/controller/gsthelper.c:
24820 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24821 (gst_object_sync_values): Renamed from sink_values. Ugh.
24823 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24825 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24826 Renamed from controller_key, as it is exported.
24828 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24830 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24835 * gst/gstpadtemplate.h:
24838 * gst/gstqueryutils.c:
24839 * gst/gstqueryutils.h:
24840 remove queryutils headers after moving the two used functions
24841 to gstquery. also fixes build problem for gstsiddec
24843 2005-09-26 Michael Smith <msmith@fluendo.com>
24845 * tools/gst-launch.1.in:
24846 Correct documentation in manpage of debug syntax
24848 2005-09-26 Wim Taymans <wim@fluendo.com>
24850 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24851 (gst_base_src_is_seekable), (gst_base_src_change_state):
24852 Some more debugging info.
24854 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24856 * docs/gst/gstreamer-sections.txt:
24857 * gst/base/gstbasetransform.h:
24861 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24863 * docs/gst/.cvsignore:
24864 * docs/gst/tmpl/.cvsignore:
24865 * docs/gst/tmpl/gstpipeline.sgml:
24866 * docs/gst/tmpl/gstplugin.sgml:
24867 * gst/gstpipeline.c:
24870 inlined the last two docs files
24871 removed the tmpl directory from cvs (no more conflicts here!)
24873 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24875 * docs/gst/gstreamer-sections.txt:
24876 * docs/gst/tmpl/.cvsignore:
24877 * docs/gst/tmpl/gstpad.sgml:
24878 * docs/gst/tmpl/gstpadtemplate.sgml:
24880 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24881 (gst_pad_finalize), (gst_pad_set_pad_template):
24883 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24884 (gst_pad_template_class_init), (gst_pad_template_init),
24885 (gst_pad_template_dispose), (name_is_valid),
24886 (gst_static_pad_template_get), (gst_pad_template_new),
24887 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24888 (gst_pad_template_pad_created):
24889 * gst/gstpadtemplate.h:
24890 inlined two more docs
24891 factored gstpadtemplate out of gstpad
24893 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24895 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24896 (test_children_state_change_order_semi_sink):
24897 Fix test case: we can't rely on a fixed state change order when
24898 going from READY => PAUSED because the sink might commit its
24899 new state first when the first buffer created by the source
24900 reaches the sink before the source has finished its change state.
24901 (Test case still fails at times, see #316856, comment 5 onwards)
24903 2005-09-24 Wim Taymans <wim@fluendo.com>
24905 * docs/design/part-events.txt:
24906 * docs/design/part-gstbus.txt:
24907 * docs/design/part-gstpipeline.txt:
24908 * docs/design/part-messages.txt:
24909 * docs/design/part-overview.txt:
24910 * docs/design/part-segments.txt:
24914 * gst/gstelement.c:
24917 * gst/gstiterator.c:
24918 Various documentation updates.
24920 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24923 Well, that's embarassing. Luckily we weren't using
24924 GST_CLOCK_DIFF anywhere.
24926 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24928 * common/gtk-doc.mak:
24929 don't fail on building XML, FC4 slave shows a bunch of doc
24930 missing bits that I don't get
24932 * gst/gstpipeline.c:
24933 * gst/gststructure.c:
24936 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24938 * docs/design/part-gstbin.txt:
24939 * docs/design/part-gstbus.txt:
24941 Add blurb about how the bus goes into flushing mode and
24942 drops all messages when its bin goes from READY into NULL
24945 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24947 * docs/gst/gstreamer-sections.txt:
24948 * gst/gststructure.c: (gst_structure_get_clock_time):
24949 * gst/gststructure.h:
24950 add a method to get a GstClockTime out of a structure
24952 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24954 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24955 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24956 Added test to check state change order in bins (can still be made
24957 to fail here under heavy disk load; bails out with 'Push on pad
24958 fakesink:sink0, but it was not activated in push mode').
24960 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24961 Fix state change order when there is only a semi sink (#316856)
24963 * gst/gstbus.c: (gst_bus_class_init):
24964 Use _class_peek_parent(), not _class_ref(); fix docs to say
24965 'default main context' instead of 'mainloop' where that is
24968 * gst/gstelement.c: (gst_element_commit_state),
24969 (gst_element_set_state):
24970 Fix typos in debug messages
24972 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24975 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24976 * gst/gstpluginfeature.c:
24978 various doc updates
24979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24980 change an assert into an error until it gets fixed properly
24982 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24984 * docs/gst/gstreamer-sections.txt:
24985 * docs/gst/tmpl/.cvsignore:
24986 * docs/gst/tmpl/gstelement.sgml:
24987 * docs/gst/tmpl/gstinfo.sgml:
24988 * docs/gst/tmpl/gstobject.sgml:
24989 * gst/gstelement.c:
24990 * gst/gstelement.h:
24993 * gst/gstobject.c: (gst_object_class_init):
24995 inlined 3 more biiiig doc files and added some missing docs on the fly
24997 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24999 * check/gst/.cvsignore:
25000 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
25001 * gst/gstregistryxml.c: (load_plugin),
25002 (gst_registry_xml_save_plugin):
25003 put back source in registry. add checks for find_plugin.
25004 * testsuite/states/bin.c: (assert_state), (empty_bin),
25005 (test_adding_one_element), (main):
25006 * testsuite/states/locked.c: (main):
25007 some compile/run fixes
25009 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
25011 * check/gst/gstvalue.c: (GST_START_TEST):
25012 fix leaks in the test itself
25014 2005-09-22 Wim Taymans <wim@fluendo.com>
25016 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25017 (gst_base_sink_send_event), (gst_base_sink_peer_query),
25018 (gst_base_sink_query):
25019 Prepare for more accurate position reporting and query
25022 * gst/gstelement.c: (gst_element_send_event),
25023 (gst_element_set_state):
25026 2005-09-22 Wim Taymans <wim@fluendo.com>
25028 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
25029 (gst_query_parse_segment):
25031 More documentation.
25032 Add segment query for future use.
25034 2005-09-22 Wim Taymans <wim@fluendo.com>
25036 * gst/gstbin.c: (gst_bin_add_func):
25037 Some more debug info.
25039 * gst/gstelement.c: (gst_element_send_event):
25040 Simplify send_event
25042 * gst/gstelement.h:
25043 Don't know how flags got broken.
25048 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25050 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25051 Add simplistic test suite for GST_TYPE_DATE serialisation and
25054 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
25056 * docs/gst/gstreamer-sections.txt:
25057 * gst/gststructure.c: (gst_structure_set_valist),
25058 (gst_structure_get_date):
25059 * gst/gststructure.h:
25060 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25061 (gst_date_copy), (gst_value_compare_date),
25062 (gst_value_serialize_date), (gst_value_deserialize_date),
25063 (gst_value_transform_date_string),
25064 (gst_value_transform_string_date), (_gst_value_initialize):
25066 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25067 bunch of utility functions along with a hack that checks that
25068 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25069 is required. Part of the grand scheme in #170777.
25071 2005-09-22 Andy Wingo <wingo@pobox.com>
25073 * gst/gstconfig.h.in: Psych out gtk-doc.
25075 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25077 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25079 * tools/gst-inspect.c (print_element_list): Plug some
25080 inconsequential leaks.
25082 * gst/gstregistry.c (gst_registry_get_default): Doc.
25084 * check/gst/gstplugin.c:
25085 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25086 * gst/gstelementfactory.c (gst_element_factory_create):
25087 * gst/gstindexfactory.c (gst_index_factory_create): Update for
25090 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25091 (gst_plugin_feature_load): Doc, don't eat refs.
25093 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25094 (gst_plugin_list_free): Doc.
25095 (gst_plugin_load_file): Doc updates.
25097 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25098 accessors returning refcounted objects, return a ref.
25100 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25101 accessor for caps. IDEMPOTENCE. Oh yes.
25103 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
25105 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
25107 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25108 (_gst_debug_register_funcptr):
25109 Add mutex to serialise access to the hash table with
25110 the function pointer => function name string mapping;
25111 make that hash table static scope (#316809).
25113 * gst/registries/.cvsignore:
25114 Remove left-over file.
25116 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25118 * docs/pwg/appendix-porting.xml:
25119 And something about newsegment events and caps-on-buffers to
25120 the porting guide (feel free to improve).
25122 2005-09-21 Andy Wingo <wingo@pobox.com>
25124 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25125 data and event probes on the same pad.
25126 (test_buffer_probe_once): Test that removing probes from within
25127 the probe functions works.
25129 2005-09-21 Andy Wingo <wingo@pobox.com>
25131 * check/gst/gstutils.c: New file.
25132 (test_buffer_probe_n_times): A simple buffer probe test. More to
25135 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25136 have-data::buffer, not have-data.
25137 (gst_pad_add_event_probe): Likewise for have-data::event.
25138 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25139 peer' isn't quite right yet though.
25140 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25141 (gst_pad_remove_data_probe): Change to take the guint handler_id
25142 as their arg, not the function+data, which is more glib-like.
25144 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25145 the signal emission to indicate if the data is a buffer or an
25147 (gst_pad_get_type): Initialize buffer and event quarks.
25148 (gst_pad_class_init): have-data is now a detailed signal, yes it
25151 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25153 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25154 * gst/gstutils.c: (gst_util_set_value_from_string),
25155 (gst_util_set_object_arg):
25156 Don't put functional code in g_return_if_fail() or
25157 g_return_val_if_fail() statements, otherwise things will
25158 break when G_DISABLE_CHECKS is defined during compilation.
25160 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25162 * docs/gst/tmpl/.cvsignore:
25163 * docs/gst/tmpl/gstvalue.sgml:
25166 inlied another one and added some obvious docs
25168 2005-09-21 Wim Taymans <wim@fluendo.com>
25170 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25171 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25172 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25173 (gst_fdsrc_get_property), (gst_fdsrc_create):
25174 * gst/elements/gstfdsrc.h:
25175 Properly implement fdsrc. Removed signal and timeout,
25176 better implemented somewhere else.
25178 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25180 * docs/gst/tmpl/.cvsignore:
25181 * docs/gst/tmpl/gstimplementsinterface.sgml:
25182 * gst/gstinterface.c:
25185 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25187 * docs/gst/gstreamer-sections.txt:
25188 * docs/gst/tmpl/.cvsignore:
25189 * docs/gst/tmpl/gstenumtypes.sgml:
25190 remove obsolete doc file
25192 2005-09-21 David Schleef <ds@schleef.org>
25194 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25195 little beer, fix a little leak.
25197 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25199 * docs/gst/gstreamer-docs.sgml:
25200 * docs/gst/gstreamer-sections.txt:
25201 * docs/gst/tmpl/.cvsignore:
25205 * gst/gstelement.h:
25206 * gst/gstindex.c: (gst_index_class_init):
25208 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25209 (gst_index_factory_class_init), (gst_index_factory_init),
25210 (gst_index_factory_finalize), (gst_index_factory_new),
25211 (gst_index_factory_destroy), (gst_index_factory_find),
25212 (gst_index_factory_create), (gst_index_factory_make):
25213 * gst/gstindexfactory.h:
25214 * gst/gstpluginfeature.c:
25215 * gst/gstpluginfeature.h:
25216 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25217 more docs inlined, splitted gstindex.{c,h}
25219 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25221 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25224 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25226 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25227 Set sync to FALSE by default.
25229 2005-09-20 Wim Taymans <wim@fluendo.com>
25231 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25232 (gst_base_sink_init):
25233 Make sync property settable from subclass.
25235 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25236 (gst_fake_sink_change_state):
25237 Set sync to FALSE by default.
25239 2005-09-20 Wim Taymans <wim@fluendo.com>
25241 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25242 * tools/gst-launch.c: (main):
25243 The timeout handler should have lower priority than the source
25244 so we don't timeout before popping a message with 0 timeout.
25245 Dump error messages after failed state change.
25247 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25249 * tools/gst-inspect.c: (print_element_properties_info):
25252 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25254 * check/gst/gstevent.c:
25255 * gst/elements/gstfakesink.c:
25256 * gst/elements/gstfakesink.h:
25257 remove the sync property from fakesink.
25258 has the side effect of setting sync TRUE
25259 for fakesink, which is a change. Anyone who knows how
25260 to fix this nicely in a GObject-y way, feel free.
25262 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25264 * docs/gst/gstreamer-docs.sgml:
25265 remove probe refsection
25267 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25269 * check/Makefile.am:
25270 disable valgrinding the controller test again
25271 * docs/gst/gstreamer-sections.txt:
25272 update for api-changes
25274 2005-09-20 Wim Taymans <wim@fluendo.com>
25276 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25277 (gst_base_sink_set_property), (gst_base_sink_get_property),
25278 (gst_base_sink_do_sync):
25279 * gst/base/gstbasesink.h:
25280 Added sync property to basesink to disable clock sync.
25282 2005-09-20 Andy Wingo <wingo@pobox.com>
25284 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25285 eating the caller's refcount.
25287 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25288 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25291 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25292 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25293 of GLib 2.8 public, so we can know which refcount to check in
25296 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25297 (gst_object_init): Only set the gst refcount if we're going ahead
25298 with the refcount hack.
25300 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25302 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25303 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25304 more leaks plumbed, added more debug-logging
25308 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25310 * gst/gstmessage.c:
25311 remove include of gstmemchunk.h
25313 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25315 * gst/gstclock.c: (_gst_clock_id_free):
25316 Commit from the Political Party For More Atomic CVS Commits,
25317 so that people don't waste too much of their day fishing
25318 out obvious leaks out of massive commits.
25319 Oh, and fix a pretty damn obvious leak in the memchunk
25322 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25324 * check/Makefile.am:
25325 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25326 plug mem-leak, re-add to valgrindable tests
25328 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25331 unbreak the build for those who have chronic arthritis
25332 and typing "make check" is just too taxing on the hands
25334 2005-09-20 Andy Wingo <wingo@pobox.com>
25336 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25337 really want it out, you should fix plugins at the same time.
25339 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25342 * docs/gst/gstreamer-sections.txt:
25344 added missing symbols to api docs
25345 disable ref-count hack if we have glib >= 2.8
25347 2005-09-19 David Schleef <ds@schleef.org>
25349 * docs/gst/Makefile.am: Ignore a few more internal headers
25350 * docs/gst/gstreamer-docs.sgml: Remove old sections
25351 * docs/gst/gstreamer-sections.txt: Remove old sections
25352 * docs/gst/tmpl/gstobject.sgml: update
25353 * docs/gst/tmpl/gstplugin.sgml: update
25354 * docs/gst/tmpl/gstpluginfeature.sgml: update
25355 * docs/random/ds/0.9-suggested-changes: update.
25356 * gst/Makefile.am: remove memchunk and trashstack, since they're
25358 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25359 * gst/gst.h: don't include some headers
25360 * gst/gstchildproxy.c: add gstmarshal.h
25361 * gst/gstclock.c: Don't use memchunks
25362 * gst/gstminiobject.c: Add some docs
25363 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25364 * gst/gstobject.h: same
25365 * gst/gstplugin.c: include gstmacros.h
25366 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25367 * gst/gstquery.c: don't use memchunks
25368 * gst/gstregistry.c: rename gst_registry_deinit()
25369 * gst/gstregistry.h: same
25371 2005-09-19 David Schleef <ds@schleef.org>
25373 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25374 * docs/libs/gstreamer-libs-sections.txt:
25375 * docs/libs/tmpl/gstgetbits.sgml:
25376 * docs/libs/tmpl/gstputbits.sgml:
25378 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25380 * win32/gstenumtypes.c:
25381 * win32/gstenumtypes.h:
25384 2005-09-19 Wim Taymans <wim@fluendo.com>
25386 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25387 Automatically PAUSE and RESUME a pipeline when a flushing seek
25390 2005-09-19 Andy Wingo <wingo@pobox.com>
25392 * gst/gstregistry.h: Spacing fixen.
25394 2005-09-19 Wim Taymans <wim@fluendo.com>
25396 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25397 Handle state change failure more correctly.
25399 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25401 * check/Makefile.am:
25402 * check/pipelines/cleanup.c: (run_pipeline):
25403 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25405 enable cleanup again after fixing the leak
25407 some more info on docs
25409 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25411 * check/Makefile.am:
25412 re-enable tests now that leaks are plugged
25414 * check/gst/gstbin.c:
25415 * check/gst/gstpipeline.c:
25416 add some more tests while fixing leaks
25417 * common/check.mak:
25418 make sure binaries are uptodate when valgrinding/gdbing
25420 * gst/gstelementfactory.c:
25421 remove a ref too many, and add a FIXME for when we get
25422 round to disposing of classes
25424 fix the refcounting when loading a plugin from a file and
25425 the code pretends that the pointer is the same even though
25426 of course it can change
25427 * gst/gstpluginfeature.c:
25428 unref plugins marked cached (a bit confusing as a name)
25429 as the docs state should be done
25430 various doc additions to explain refcounting
25431 * gst/gstregistry.c:
25432 * gst/gstregistryxml.c:
25435 2005-09-19 Wim Taymans <wim@fluendo.com>
25437 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25438 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25439 (send_messages), (GST_START_TEST), (gstbus_suite):
25440 * check/gst/gstpipeline.c: (GST_START_TEST):
25441 * check/pipelines/cleanup.c: (run_pipeline):
25442 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25444 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25445 (gst_bus_source_check), (gst_bus_source_dispatch),
25446 (gst_bus_create_watch), (gst_bus_add_watch_full),
25447 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25449 * tools/gst-launch.c: (event_loop):
25450 * tools/gst-md5sum.c: (event_loop):
25451 GstBusHandler -> GstBusFunc, return value has the same meaning as
25452 any other GSource (FALSE == remove source).
25453 _add_watch() and _add_watch_full() now take a MessageType mask to
25454 only handle specific types of messages.
25455 _poll() returns the GstMessage instead of the message type to avoid
25457 _have_pending() takes a MessageType mask now too.
25458 Added testsuite for multiple bus watches.
25459 Fix testsuites and applications for new bus API.
25461 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25463 * check/Makefile.am:
25464 mark a bunch of the tests as to fix until we fix them
25466 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25468 * common/check.mak:
25469 use GST_PLUGIN settings for valgrind tests as well, so we're
25470 valgrinding the correct thing
25471 * gst/gst.c: (init_post):
25474 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25476 * gst/gst.c: (init_post), (gst_deinit):
25477 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25478 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25479 * gst/gstindex.c: (gst_index_factory_class_init),
25480 (gst_index_factory_finalize):
25481 * gst/gstobject.c: (gst_object_dispose):
25482 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25483 (gst_plugin_load_file), (gst_plugin_desc_free):
25484 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25485 (gst_plugin_feature_finalize):
25486 * gst/gstregistry.c: (gst_registry_class_init),
25487 (gst_registry_init), (gst_registry_finalize),
25488 (gst_registry_get_default), (gst_registry_deinit):
25489 * gst/gstregistry.h:
25490 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25491 various cleanups and memleak plugging. make valgrind is happy now.
25493 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25495 * common/check.mak:
25496 add a check-valgrind target
25498 2005-09-18 David Schleef <ds@schleef.org>
25500 * tools/gst-inspect.c: Revert the GOption code.
25502 2005-09-17 David Schleef <ds@schleef.org>
25504 * check/Makefile.am: Fix environment variables.
25505 * check/gst/gstplugin.c: Fix for API changes.
25506 * tools/gst-inspect.c: Fix for API changes.
25507 * tools/gst-xmlinspect.c: Fix for API changes.
25508 * gst/gstelementfactory.c:
25511 * gst/gstpluginfeature.c:
25512 * gst/gstpluginfeature.h:
25513 * gst/gstregistry.c:
25514 * gst/gstregistry.h:
25515 * gst/gstregistryxml.c:
25516 * gst/gsttypefind.c:
25517 * gst/gsttypefindfactory.c:
25518 * gst/indexers/gstfileindex.c:
25519 * gst/indexers/gstmemindex.c:
25520 * gst/schedulers/Makefile.am:
25521 Change registry to keep track of both plugins and features,
25522 removing the feature tracking from plugins themselves.
25524 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25526 * check/Makefile.am:
25527 * tools/gst-register.1.in:
25528 remove gst-register
25530 2005-09-15 David Schleef <ds@schleef.org>
25532 * check/gst/gstplugin.c:
25533 * gst/gstelementfactory.c:
25535 * gst/gstpluginfeature.c:
25536 * gst/gstregistry.c:
25537 Getting tired of debugging. Disabled all the unreffing of
25538 plugins and features, which fixes the segfaults, but of
25539 course leaks like crazy. At least playbin works.
25541 2005-09-15 David Schleef <ds@schleef.org>
25543 * check/gst/gstplugin.c: (register_check_elements),
25544 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25546 * gst/elements/gsttypefindelement.c: Fix refcounting.
25547 * gst/gsttypefind.c:
25548 * gst/gsttypefindfactory.c:
25549 * gst/gsttypefindfactory.h:
25551 2005-09-15 David Schleef <ds@schleef.org>
25553 * gst/gstindex.c: get refcounting correct.
25554 * gst/gstregistry.c: Handle the case where a feature/plugin is
25557 2005-09-15 David Schleef <ds@schleef.org>
25559 * check/Makefile.am:
25560 * check/gst/gstplugin.c: Add test
25561 * gst/gstplugin.c: Fix problems noticed by testsuite
25563 * gst/gstregistry.c:
25564 * gst/gstregistry.h:
25566 2005-09-15 David Schleef <ds@schleef.org>
25568 * gst/gstplugin.c: Implement semi-decent recounting and locking
25569 in plugins and plugin features.
25571 * gst/gstpluginfeature.c:
25572 * gst/gstpluginfeature.h:
25573 * gst/gstregistry.c:
25575 2005-09-15 Michael Smith <msmith@fluendo.com>
25577 * gst/gstregistry.c: (gst_registry_get_feature_list):
25578 Implement this. Makes oggdemux work; decodebin still broken.
25580 2005-09-14 David Schleef <ds@schleef.org>
25582 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25584 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25585 * gst/check/Makefile.am:
25586 * libs/gst/controller/Makefile.am:
25587 * libs/gst/dataprotocol/Makefile.am:
25589 2005-09-14 David Schleef <ds@schleef.org>
25591 * configure.ac: Remove getbits library. Nothing uses it, and
25592 it should be in something like liboil if someone did want
25594 * libs/gst/Makefile.am:
25595 * libs/gst/getbits/Makefile.am:
25596 * libs/gst/getbits/gbtest.c:
25597 * libs/gst/getbits/getbits.c:
25598 * libs/gst/getbits/getbits.h:
25599 * libs/gst/getbits/gstgetbits_generic.c:
25600 * libs/gst/getbits/gstgetbits_i386.s:
25601 * libs/gst/getbits/gstgetbits_inl.h:
25603 2005-09-14 David Schleef <ds@schleef.org>
25605 * gst/Makefile.am: Dist glib-compat.h
25607 2005-09-14 David Schleef <ds@schleef.org>
25609 * configure.ac: Remove gst/registries, since it's no longer used.
25610 * gst/registries/Makefile.am:
25611 * gst/registries/gstlibxmlregistry.c:
25612 * gst/registries/gstlibxmlregistry.h:
25613 * gst/registries/gstxmlregistry.c:
25614 * gst/registries/gstxmlregistry.h:
25615 * gst/registries/registrytest.c:
25617 2005-09-14 David Schleef <ds@schleef.org>
25619 * gst/glib-compat.h:
25620 * gst/gstregistryxml.c:
25621 Convergence is near. Seriously.
25623 2005-09-14 David Schleef <ds@schleef.org>
25625 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25626 * gst/glib-compat.h:
25627 Attempt #4 to appease the buildbots.
25629 2005-09-14 David Schleef <ds@schleef.org>
25631 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25634 2005-09-14 David Schleef <ds@schleef.org>
25636 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25639 2005-09-14 David Schleef <ds@schleef.org>
25641 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25644 2005-09-14 David Schleef <ds@schleef.org>
25646 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25647 * gst/glib-compat.h: Add some functions that are in newer versions
25648 of glib than we care to require.
25649 * gst/gstregistryxml.c: Use them.
25651 2005-09-14 David Schleef <ds@schleef.org>
25653 * po/POTFILES.in: remove gst-register.c
25655 2005-09-14 David Schleef <ds@schleef.org>
25657 * docs/gst/gstreamer-docs.sgml:
25658 * docs/gst/gstreamer-sections.txt:
25659 * docs/gst/gstreamer.types:
25660 * docs/gst/tmpl/gstelement.sgml:
25661 * docs/gst/tmpl/gstplugin.sgml:
25662 * docs/gst/tmpl/gstpluginfeature.sgml:
25663 Documentation updates for registry changes.
25665 2005-09-14 David Schleef <ds@schleef.org>
25667 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25668 because we don't require glib-2.8.
25670 2005-09-14 David Schleef <ds@schleef.org>
25672 * gst/gstregistryxml.c: Added. Essentially moved out of the
25673 registries directory.
25675 2005-09-14 David Schleef <ds@schleef.org>
25677 * check/Makefile.am:
25678 * check/generic/states.c:
25682 * gst/gst_private.h:
25683 * gst/gstelementfactory.c:
25688 * gst/gstpluginfeature.c:
25689 * gst/gstpluginfeature.h:
25690 * gst/gstregistry.c:
25691 * gst/gstregistry.h:
25692 * gst/gstregistrypool.c: remove
25693 * gst/gstregistrypool.h: remove
25694 * gst/gsttypefind.c:
25695 * gst/gsttypefindfactory.c:
25697 * tools/Makefile.am:
25698 * tools/gst-compprep.c:
25699 * tools/gst-inspect.c:
25700 * tools/gst-register.c: remove
25701 * tools/gst-xmlinspect.c:
25702 Registry rewrite. Changes registry from being a file created
25703 by a tool into a simple cache file created automatically by
25704 libgstreamer. Removed gst-register (because it's no longer
25705 needed). Remove registry pools, because we only have one
25706 registry implementation (XML). Fix up other subsystems as
25709 2005-09-13 Michael Smith <msmith@fluendo.com>
25711 * gst/gstconfig.h.in:
25712 Don't Use windows linking attributes for MinGW. Fixes #316157
25714 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25716 * gst/gstutils.c: (set_state_async_thread_func),
25717 (gst_element_set_state_async):
25718 Apparently people think it's better if this function doesn't
25719 try to set the state to whatever state was asked for on the first
25720 call to this function for any object. Seriously.
25722 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25724 * check/gst/gstpipeline.c: (GST_START_TEST):
25725 * docs/gst/gstreamer-sections.txt:
25726 * gst/gstutils.c: (set_state_async_thread_func),
25727 (gst_element_set_state_async):
25729 add a "gst_element_set_state_async" method that
25730 sets the state and starts a thread to make sure the state
25731 change completes as best as it can
25733 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25735 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25736 codify design+behaviour in testsuite after discussion
25738 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25740 * docs/gst/tmpl/gstelement.sgml:
25741 * docs/manual/appendix-quotes.xml:
25743 * gst/gstelement.c: (gst_element_set_state):
25746 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25748 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25749 (gst_base_transform_prepare_output_buf),
25750 (gst_base_transform_handle_buffer):
25751 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25752 (gst_capsfilter_prepare_buf):
25753 Remove the requirement for sub-classes to call the parent
25754 implementation of prepare_output_buffer with a wrapper function.
25756 * gst/gsttaglist.h:
25757 * gst/gsttagsetter.h:
25758 Fix #define wrapper
25760 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25762 * docs/gst/gstreamer-sections.txt:
25765 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25767 * docs/gst/gstreamer-sections.txt:
25768 * docs/gst/tmpl/gstelement.sgml:
25769 * docs/gst/tmpl/gstplugin.sgml:
25770 * gst/gstminiobject.c:
25772 docs now stop throwing warnings
25774 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25776 * docs/gst/gstreamer-sections.txt:
25777 * docs/gst/gstreamer.types:
25778 * docs/gst/tmpl/gstpad.sgml:
25779 * docs/gst/tmpl/gsttypes.sgml:
25780 * gst/base/gstadapter.h:
25781 * gst/base/gstbasesink.h:
25782 * gst/base/gstbasesrc.h:
25788 * gst/gstelement.h:
25790 * gst/gstmessage.h:
25792 * gst/gststructure.c:
25793 * gst/registries/gstlibxmlregistry.h:
25794 various documentation fixes
25796 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25798 * docs/gst/gstreamer-sections.txt:
25799 * docs/gst/tmpl/gstvalue.sgml:
25800 rearrange gstvalue section
25801 * gst/gstutils.c: (gst_element_state_get_name):
25803 * gst/gstvalue.c: (_gst_value_initialize):
25807 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25809 * check/gst-libs/controller.c:
25810 Header include fix.
25811 * gst/base/gstbasetransform.c:
25812 (gst_base_transform_default_prepare_buf),
25813 (gst_base_transform_handle_buffer):
25814 * gst/base/gstbasetransform.h:
25815 Some more basetransform changes and fixes to enable sub-classes
25816 that modify buffer metadata only.
25817 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25818 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25819 (gst_capsfilter_prepare_buf):
25820 If the output pad has fixed allowed caps and input buffers
25821 don't have any, set the fixed caps on outgoing buffers.
25823 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25824 * check/elements/identity.c: (GST_START_TEST):
25825 Make the error a little clearer when the test fails because
25826 identity made a copy of the buffer.
25827 * docs/gst/gstreamer-sections.txt:
25828 New symbols in gstbasetransform.h
25829 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25830 (gst_base_transform_init), (gst_base_transform_transform_size),
25831 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25832 (gst_base_transform_default_prepare_buf),
25833 (gst_base_transform_get_unit_size),
25834 (gst_base_transform_buffer_alloc),
25835 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25836 (gst_base_transform_change_state),
25837 (gst_base_transform_set_passthrough),
25838 (gst_base_transform_set_in_place),
25839 (gst_base_transform_is_in_place):
25840 * gst/base/gstbasetransform.h:
25841 Change BaseTransform to separate in_place operate from same_caps
25842 output. in_place implies that the element can perform the transform
25843 on incoming buffers in-place, even if the caps on the output are
25845 Sub-class elements can now implement special buffer allocation
25846 methods for outgoing buffers if they wish to.
25847 Big documentation addition.
25848 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25849 * gst/elements/gstelements.c:
25850 Changes for basetransform modifications.
25851 * gst/elements/Makefile.am:
25852 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25853 Compile fix. Extra debug output.
25855 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25857 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25859 add tests for valid pad naming
25860 * gst/check/gstcheck.c: (gst_check_log_message_func),
25861 (gst_check_log_critical_func):
25863 remove printing of code, it is fragile when the code contains
25864 % and the line number is enough info
25865 * gst/check/gstcheck.h:
25866 * gst/gstpad.c: (gst_pad_template_new):
25869 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25872 say what CHECK flags we use
25873 * docs/libs/gstreamer-libs.types:
25874 * libs/gst/controller/Makefile.am:
25875 * libs/gst/controller/gst-controller.c:
25876 * libs/gst/controller/gst-controller.h:
25877 * libs/gst/controller/gst-helper.c:
25878 * libs/gst/controller/gst-interpolation.c:
25879 * libs/gst/controller/gstcontroller.c:
25880 * libs/gst/controller/gsthelper.c:
25881 * libs/gst/controller/gstinterpolation.c:
25882 * tools/gst-inspect.c: (print_plugin_info):
25883 we don't use dashes in header names
25885 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25887 * check/Makefile.am:
25888 * check/gst/.cvsignore:
25889 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25890 (gst_pipeline_suite), (main):
25891 adding a test for pipelines and state changes
25892 * gst/gstutils.c: (get_state_func):
25894 * gstreamer.spec.in:
25897 2005-09-08 Michael Smith <msmith@fluendo.com>
25899 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25900 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25901 (gst_file_src_is_seekable), (gst_file_src_get_size),
25902 (gst_file_src_start):
25903 * gst/elements/gstfilesrc.h:
25904 Various fixes for unseekable, unmmapable, and non-normal files, so
25905 that fallback to read() rather than mmap() works.
25906 * gst/gstevent.c: (gst_event_new_newsegment):
25907 Allow newsegment events with segment_start == segment_end, as will
25908 correctly happen if you use filesrc on a zero-size file, for
25911 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25913 * gst/gstplugin.c: (gst_plugin_load_file):
25914 Call g_module_close when we don't load the module
25916 * gst/registries/gstlibxmlregistry.c:
25917 (gst_xml_registry_get_property):
25918 Port leak fix from 0.8
25920 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25922 * docs/gst/gstreamer-docs.sgml:
25923 * docs/gst/tmpl/.cvsignore:
25924 * docs/gst/tmpl/gsttrace.sgml:
25925 * docs/gst/tmpl/gsttrashstack.sgml:
25928 * gst/gstelement.h:
25930 * gst/gstmessage.c:
25931 * gst/gstmessage.h:
25934 * gst/gsttaginterface.c:
25935 * gst/gsttaginterface.h:
25936 * gst/gsttaglist.c:
25937 * gst/gsttaglist.h:
25938 * gst/gsttagsetter.c:
25939 * gst/gsttagsetter.h:
25942 * gst/gsttrashstack.c:
25943 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25944 inlined docs for gsttrace, gsttrashstack
25946 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25949 * gst/elements/gstbufferstore.h:
25950 * gst/elements/gsttypefindelement.c:
25951 * gst/elements/gsttypefindelement.h:
25953 * gst/gsttypefind.c:
25954 * gst/gsttypefind.h:
25955 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25956 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25957 (gst_type_find_factory_dispose),
25958 (gst_type_find_factory_unload_thyself),
25959 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25960 (gst_type_find_factory_get_caps),
25961 (gst_type_find_factory_get_extensions),
25962 (gst_type_find_factory_call_function):
25963 * gst/gsttypefindfactory.h:
25964 * gst/registries/gstlibxmlregistry.c:
25965 * gst/registries/gstxmlregistry.c:
25966 splitted gsttypefind into gsttypefind, gsttypefindfactory
25968 2005-09-07 Andy Wingo <wingo@pobox.com>
25970 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25971 condition whereby the pad's task function is entered before the
25972 pad_mode variable was set.
25974 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25976 * gst/gstpad.c: (gst_pad_alloc_buffer):
25977 Catch misbehaving pad_alloc functions that don't
25978 set up caps and do it for them.
25980 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25982 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25983 test for pipe!=NULL
25984 * docs/gst/tmpl/.cvsignore:
25985 * docs/gst/tmpl/gstmemchunk.sgml:
25986 * docs/gst/tmpl/gstparse.sgml:
25987 * docs/gst/tmpl/gsttaglist.sgml:
25988 * docs/gst/tmpl/gsttagsetter.sgml:
25989 * docs/gst/tmpl/gsttypefind.sgml:
25990 * docs/gst/tmpl/gsttypefindfactory.sgml:
25991 * gst/gstmemchunk.c:
25994 * gst/gsttaginterface.c:
25995 * gst/gsttypefind.c:
25996 * gst/gsttypefind.h:
25999 === release 0.9.2 ===
26001 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
26006 releasing 0.9.2, "South"
26008 2005-09-05 Andy Wingo <wingo@pobox.com>
26010 * gst/registries/gstxmlregistry.h:
26011 * gst/registries/gstxmlregistry.c: Um... resurrect...
26013 * gst/registries/gstxmlregistry.h:
26014 * gst/registries/gstxmlregistry.c: and update to newer API.
26015 Incidentally they should be a bit faster now that they don't have
26018 2005-09-05 Andy Wingo <wingo@pobox.com>
26020 * gst/registries/gstxmlregistry.h:
26021 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
26022 replaced by the libxml registry a while back
26024 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
26026 * docs/gst/tmpl/gstplugin.sgml:
26027 * gst/elements/gstelements.c:
26029 * gst/gstplugin.c: (gst_plugin_register_func),
26030 (gst_plugin_desc_copy), (gst_plugin_desc_free),
26031 (gst_plugin_get_source):
26033 * gst/registries/gstlibxmlregistry.c: (load_plugin),
26034 (gst_xml_registry_save_plugin):
26035 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
26036 (gst_xml_registry_save_plugin):
26037 * tools/gst-inspect.c: (print_plugin_info):
26038 add a "source" plugin description field, to represent the source
26039 module this plugin is a part of. By default GST_PLUGIN_DEFINE
26040 will set it to PACKAGE, which is automake's idea of the name of
26041 the source project.
26043 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
26048 * docs/Makefile.am:
26049 * docs/faq/Makefile.am:
26050 * docs/gst/tmpl/gstelement.sgml:
26051 * docs/gst/tmpl/gsttypes.sgml:
26052 * docs/htmlinstall.mak:
26053 * docs/manual/Makefile.am:
26054 * docs/pwg/Makefile.am:
26055 reorganize doc build a little
26056 split out docbook and gtk-doc stuff
26057 have two separate --enable's and enable them through autogen
26058 but disable by default in configure (to be similar to other
26060 * gstreamer.spec.in:
26061 clean up docs install
26079 translation updates
26081 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
26083 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26086 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26087 (gst_fake_sink_change_state):
26088 Make state change function thread-safe.
26090 * gst/gstpad.c: (gst_pad_alloc_buffer):
26091 Set offset on generic buffer allocated by fallback.
26093 2005-09-03 Stefan Kost <ensonic@users.sf.net>
26095 * docs/gst/gstreamer-sections.txt:
26096 * docs/gst/tmpl/gstelement.sgml:
26098 * libs/gst/controller/gst-controller.c:
26099 (gst_controlled_property_set_interpolation_mode),
26100 (gst_controlled_property_new),
26101 (gst_controller_find_controlled_property):
26102 run the wingo-magic script against the docs
26104 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26106 * docs/gst/gstreamer-docs.sgml:
26107 * docs/gst/gstreamer-sections.txt:
26108 * docs/gst/tmpl/.cvsignore:
26109 * docs/gst/tmpl/gstelementdetails.sgml:
26110 * docs/gst/tmpl/gstelementfactory.sgml:
26113 * gst/gstelementfactory.c:
26114 * gst/gstelementfactory.h:
26115 merged elementdetails docs into elementfactory docs
26118 2005-09-02 Andy Wingo <wingo@pobox.com>
26120 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26121 consider this enum an enum and not a flags.
26123 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26125 * docs/gst/gstreamer-docs.sgml:
26126 * docs/gst/tmpl/.cvsignore:
26127 * docs/gst/tmpl/gstghostpad.sgml:
26128 * docs/gst/tmpl/gstiterator.sgml:
26129 * docs/gst/tmpl/gstmacros.sgml:
26130 * docs/gst/tmpl/gstrealpad.sgml:
26131 * docs/gst/tmpl/gstregistry.sgml:
26132 * docs/gst/tmpl/gstregistrypool.sgml:
26133 * docs/gst/tmpl/gststructure.sgml:
26134 * docs/gst/tmpl/gstsystemclock.sgml:
26135 * docs/gst/tmpl/gsttrace.sgml:
26136 * gst/gstghostpad.c:
26138 * gst/gstmemchunk.c:
26139 * gst/gstmemchunk.h:
26141 * gst/gstregistry.c:
26142 * gst/gstregistrypool.c:
26143 * gst/gststructure.c:
26144 * gst/gstsystemclock.c:
26147 2005-09-02 Andy Wingo <wingo@pobox.com>
26149 * gst/gstelement.h (GstState): Renamed from GstElementState,
26150 changed to be a normal enum instead of flags.
26151 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26152 munged to be GST_STATE_CHANGE_*.
26153 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26154 work with the new state representation.
26155 (GstStateChange): New enumeration of possible state transitions.
26156 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26157 (GstElementClass::change_state): Pass the GstStateChange along as
26158 an argument. Helps language bindings, so they don't have to use
26159 tricky lock-needing macros like GST_STATE_CHANGE ().
26161 * scripts/update-states (file): New script. Run it on a file to
26162 update it for state naming and API changes. Updates files in
26165 * All files updated for the new API.
26167 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26169 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26170 * gst/gstutils.c: (gst_util_set_value_from_string),
26171 (gst_util_set_object_arg):
26172 fix a bunch of unchecked return values
26173 * tools/gst-complete.c: (main):
26174 * gstreamer.spec.in:
26177 2005-09-01 Wim Taymans <wim@fluendo.com>
26179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26180 (gst_base_sink_event), (gst_base_sink_do_sync),
26181 (gst_base_sink_handle_event):
26182 * gst/base/gstbasesink.h:
26183 Handle newsegments more correctly.
26188 * gst/gstevent.c: (gst_event_new_newsegment):
26189 A newsegment cannot have a start_time of -1
26191 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26193 * win32/gstenumtypes.c:
26194 * win32/gstenumtypes.h:
26197 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26199 * libs/gst/controller/gst-controller.c:
26200 (gst_controlled_property_set_interpolation_mode),
26201 (gst_controlled_property_new):
26202 fixed boolean again
26204 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26206 * docs/faq/gst-uninstalled:
26211 * gst/gstutils.c: (gst_element_link_filtered):
26213 add gst_element_link_filtered
26215 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26217 * docs/gst/gstreamer-docs.sgml:
26218 * docs/gst/gstreamer-sections.txt:
26219 * docs/gst/tmpl/.cvsignore:
26220 * docs/gst/tmpl/gsterror.sgml:
26221 * docs/gst/tmpl/gstfilter.sgml:
26222 * docs/gst/tmpl/gsturihandler.sgml:
26223 * docs/gst/tmpl/gsturitype.sgml:
26224 * docs/gst/tmpl/gstutils.sgml:
26225 * docs/gst/tmpl/gstxml.sgml:
26230 * gst/gsturitype.c:
26233 inlined more docs, fixed double id-ref
26235 2005-08-31 Wim Taymans <wim@fluendo.com>
26237 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26238 (gst_base_transform_handle_buffer):
26239 Passthrough elements don't need the caps as they don't care.
26241 2005-08-31 Wim Taymans <wim@fluendo.com>
26243 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26244 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26245 Don't leak refcounts on buffers.
26247 2005-08-31 Wim Taymans <wim@fluendo.com>
26249 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26250 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26251 (gst_base_transform_chain), (gst_base_transform_change_state):
26252 * gst/base/gstbasetransform.h:
26253 Handle the case where we are not negotiated more gracefully.
26255 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26257 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26258 (gst_file_src_map_region):
26259 Set READONLY flag on mmap'ed buffers, otherwise
26260 gst_buffer_make_writable() won't work properly (#314708).
26262 2005-08-31 Wim Taymans <wim@fluendo.com>
26264 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26265 passthrough elements can even do inplace on non writable
26266 buffers (as they don't touch them).
26268 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26270 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26271 (gst_test_mono_source_set_property),
26272 (gst_test_mono_source_class_init), (GST_START_TEST),
26273 (gst_controller_suite):
26274 more tests (hehe I have the most)
26276 describe popping messages whenusing mulltiple sources
26277 * libs/gst/controller/gst-controller.c:
26278 (gst_controlled_property_set_interpolation_mode),
26279 (gst_controlled_property_new):
26280 * libs/gst/controller/gst-controller.h:
26281 * libs/gst/controller/gst-interpolation.c:
26282 implement boolean properties
26284 2005-08-31 Wim Taymans <wim@fluendo.com>
26286 * gst/gstminiobject.c: (gst_mini_object_ref):
26287 Cannot assert that the refcount has to be positive
26288 since a disposed object can be resurrected.
26290 2005-08-31 Wim Taymans <wim@fluendo.com>
26292 * gst/gstpad.c: (gst_pad_init):
26293 Revert change, need to first fix badly behaving
26296 2005-08-30 Wim Taymans <wim@fluendo.com>
26298 * check/elements/fakesrc.c: (setup_fakesrc):
26299 * check/elements/identity.c: (setup_identity):
26300 Activate pads before using them.
26302 2005-08-30 Wim Taymans <wim@fluendo.com>
26304 * gst/base/gstadapter.c: (gst_adapter_flush):
26305 Flushing out 0 bytes is ok for this function.
26307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26308 no newsegment gives a warning and sets the start/stop to
26311 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26312 (gst_base_transform_set_passthrough):
26315 * gst/gstminiobject.c: (gst_mini_object_ref):
26316 Check refcount here too.
26318 * gst/gstpad.c: (gst_pad_init):
26319 Pads are initially flushing and refusing data.
26321 * gst/gstutils.c: (gst_element_link_pads_filtered):
26322 When adding a capsfilter element make sure it has the
26323 same state as the parent bin.
26325 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26327 * docs/gst/tmpl/.cvsignore:
26328 * docs/gst/tmpl/gstformat.sgml:
26329 * docs/gst/tmpl/gstversion.sgml:
26333 * gst/gstversion.h.in:
26334 more docs and two more inlined
26336 2005-08-30 Wim Taymans <wim@fluendo.com>
26338 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26339 Don't sync to clock.
26341 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26343 * docs/gst/gstreamer-sections.txt:
26344 ultral33t func10ns deserve to appear in the docs actually
26345 * docs/gst/tmpl/.cvsignore:
26346 * docs/gst/tmpl/gstcompat.sgml:
26347 * docs/gst/tmpl/gstconfig.sgml:
26348 * gst/check/gstcheck.c:
26350 * gst/gstconfig.h.in:
26353 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26355 * docs/gst/tmpl/.cvsignore:
26356 * docs/gst/tmpl/gstquery.sgml:
26357 * docs/gst/tmpl/gstutils.sgml:
26360 inlined and extended docs
26362 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26364 * check/gst-libs/controller.c: (GST_START_TEST),
26365 (gst_controller_suite):
26367 * docs/gst/tmpl/gstutils.sgml:
26368 * docs/libs/gstreamer-libs-sections.txt:
26369 * docs/libs/tmpl/gstdataprotocol.sgml:
26371 * examples/controller/audio-example.c: (main):
26372 controller example works now
26375 * tools/gst-inspect.c: (print_element_properties_info):
26376 show param spec flags
26378 2005-08-29 Andy Wingo <wingo@pobox.com>
26380 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26382 2005-08-28 Andy Wingo <wingo@pobox.com>
26384 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26385 as having two arguments instead of just one. Allows superclasses
26386 to access information on subclasses -- see the terrible for() loop
26387 in gtype.c:g_type_create_instance for the reason why. All callers
26390 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26392 * docs/design/part-messages.txt:
26394 * docs/gst/tmpl/.cvsignore:
26395 * docs/gst/tmpl/gstcaps.sgml:
26396 * docs/gst/tmpl/gstclock.sgml:
26402 * gst/gstmessage.c:
26403 added descriptions for bus and message
26404 inline caps and clock docs
26406 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26408 * gst/gstmessage.c:
26409 * gst/gstmessage.h:
26412 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26414 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26417 2005-08-26 Andy Wingo <wingo@pobox.com>
26419 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26420 element_set_state's return val.
26421 (test_2_elements): Add test that's been disabled for months.
26423 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26424 can-activate-pull properties.
26426 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26427 can-activate-pull properties. Implement is_seekable so fakesrc can
26428 operate in pull mode.
26430 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26432 (gst_base_sink_activate, gst_base_sink_activate_pull)
26433 (gst_base_sink_activate_push): Make activation mode choosing work.
26435 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26436 is right. Make pull mode work. Post an eos before pausing in pull
26438 (gst_base_sink_change_state): Pay attention to the core's
26439 change_state() return val.
26441 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26442 has-getrange properties. Cleanups.
26444 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26445 has_getrange and replace with can_activate_pull and
26448 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26449 locking comments. Remove has_loop, has_chain and replace with
26450 can_activate_pull and can_activate_push.
26452 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26455 * examples/Makefile.am:
26456 * examples/metadata/Makefile.am:
26457 * examples/metadata/read-metadata.c: (message_loop),
26458 (have_pad_handler), (make_pipeline), (print_tag), (main):
26459 Add metadata reading example that loops over a list of filenames,
26460 dumping any tags found.
26462 * gst/gstbus.c: (gst_bus_dispose):
26463 * gst/gstelement.c: (gst_element_dispose):
26464 Release a few potentially-held references in dispose.
26466 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26468 * docs/gst/tmpl/gstminiobject.sgml:
26469 do *not* add tmpl/*.sgml files to CVS!
26471 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26473 * libs/gst/bytestream/.cvsignore:
26474 * libs/gst/bytestream/Makefile.am:
26475 * libs/gst/bytestream/adapter.c:
26476 * libs/gst/bytestream/adapter.h:
26477 * libs/gst/bytestream/bytestream.c:
26478 * libs/gst/bytestream/bytestream.h:
26479 * libs/gst/bytestream/filepad.c:
26480 * libs/gst/bytestream/filepad.h:
26481 removing obsolete files
26483 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26485 * docs/gst/gstreamer-docs.sgml:
26486 * docs/libs/gstreamer-libs-docs.sgml:
26487 disabed additional index entries again, as this makes docs-gen just
26488 slow and they aren't useful yet
26489 * docs/libs/gstreamer-libs-sections.txt:
26490 little -section.txt cleanup for libs
26492 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26494 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26495 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26496 fix up some debugging
26497 (gst_base_transform_get_unit_size),
26498 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26499 (gst_base_transform_handle_buffer):
26500 * gst/base/gstbasetransform.h:
26501 handle and store timed NEWSEGMENT events so that subclasses that
26502 calculate time by counting samples have a segment_start time they
26503 need to add to their timestamps - see audioresample
26505 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26508 removed ';' from the end of macro defs
26509 * docs/gst/gstreamer-docs.sgml:
26510 * docs/gst/gstreamer-sections.txt:
26511 * docs/gst/tmpl/.cvsignore:
26513 * gst/gstelement.c: (gst_element_class_init),
26514 (gst_element_set_state), (activate_pads),
26515 (gst_element_save_thyself):
26516 * gst/gstevent.c: (gst_event_new_newsegment):
26518 * gst/gstiterator.c:
26519 * gst/gstiterator.h:
26522 * gst/gstutils.c: (gst_pad_query_convert):
26524 fixed parameter name mismatches between source, header and docs
26525 added some more docs, resolved the last batch of unused elements in
26526 docs (now someone needs to doc them)
26528 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26530 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26531 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26532 don't walk through the plugins backwards. Where is all this
26533 reversed logic coming from ?
26535 2005-08-25 Wim Taymans <wim@fluendo.com>
26537 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26538 (gst_base_transform_transform_size),
26539 (gst_base_transform_configure_caps),
26540 (gst_base_transform_get_unit_size),
26541 (gst_base_transform_buffer_alloc),
26542 (gst_base_transform_change_state):
26543 * gst/base/gstbasetransform.h:
26544 Cache caps unit_size.
26545 Make sure we cannot negotiate up and downstream at the
26548 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26550 * gst/gst.c: (init_pre), (init_post):
26551 register the installed plugin path after the env var
26552 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26553 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26554 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26555 directories, so the tests can prefer uninstalled over installed
26557 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26559 * gst/base/gstbasetransform.h:
26564 2005-08-25 Wim Taymans <wim@fluendo.com>
26566 * gst/gstbin.c: (bin_bus_handler):
26567 Be a bit more conservative about the posted message.
26569 * gst/gstbus.c: (gst_bus_post):
26570 Some cleanups, warn wrong return values.
26572 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26574 * check/gst/gstbin.c: (GST_START_TEST):
26575 * gst/gstbin.c: (bin_bus_handler):
26576 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26577 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26578 (gst_message_new_warning), (gst_message_new_tag),
26579 (gst_message_new_state_changed), (gst_message_new_segment_start),
26580 (gst_message_new_segment_done), (gst_message_new_custom):
26581 * gst/gstmessage.h:
26582 * tools/gst-launch.c: (event_loop):
26583 * tools/gst-md5sum.c: (event_loop):
26584 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26586 2005-08-25 Wim Taymans <wim@fluendo.com>
26588 * check/generic/states.c: (GST_START_TEST):
26589 Cleanup can be done at the end.
26591 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26592 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26593 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26594 Oh boy.. Thanks for finding this, Thomas.
26596 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26598 * docs/gst/gstreamer.types:
26599 added missing types
26601 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26603 * docs/gst/gstreamer-docs.sgml:
26604 * docs/gst/gstreamer-sections.txt:
26605 * docs/gst/tmpl/.cvsignore:
26607 * gst/gstiterator.c:
26609 * gst/registries/gstxmlregistry.h:
26610 added missing classes and symbols (123 more to go)
26611 removed removed symbols from section file
26612 fixed many doc-comments
26614 2005-08-24 Wim Taymans <wim@fluendo.com>
26616 * check/generic/states.c: (GST_START_TEST):
26617 Make sure all tasks are stopped.
26619 * check/gst/gstbin.c: (GST_START_TEST):
26620 Unref after usage for proper valgrinding.
26622 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26623 Really wait for the task to stop before destroying the
26626 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26627 (gst_queue_src_activate_push):
26628 Small cleanups. Don't stop the task when we did not start
26631 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26632 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26633 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26636 Protect the stream lock with the object lock.
26637 Disallow setting the stream lock when running.
26638 Add cleanup_all to wait for the threadpool to finish.
26639 Remove code to autoallocate a mutex if none was provided.
26640 Add _join() to wait for a task to stop.
26641 Protect the thread pool with a global lock.
26643 2005-08-24 Wim Taymans <wim@fluendo.com>
26645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26646 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26647 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26648 * gst/base/gstbasesink.h:
26649 Handle newsegment events correctly.
26650 Drop buffers out of the segment range.
26652 2005-08-22 Andy Wingo <wingo@pobox.com>
26654 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26655 macro, implements an interface and gstimplementsinterface for a
26658 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26660 * check/Makefile.am:
26661 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26662 add a test that does a bunch of state changes on elements
26663 needs some fixing for valgrind
26664 * check/states/sinks.c: (gst_object_suite):
26667 add prototype for gst_caps_is_equal_fixed
26669 * gst/gstregistrypool.c:
26672 2005-08-24 Andy Wingo <wingo@pobox.com>
26674 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26675 convert a negative value. Doesn't make much sense. Mostly this is
26676 here to force callers to ensure -1 maps to -1.
26678 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26680 * docs/pwg/advanced-types.xml:
26681 Well done to Michael for catching my deliberate introduction
26682 of this spelling mistake.
26683 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26684 * gst/gstelement.h:
26685 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26686 unlink pads before removing the element from the bin.
26688 2005-08-24 Andy Wingo <wingo@pobox.com>
26690 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26691 the same thing as GST_DEBUG=*:4.
26692 (parse_debug_level, parse_debug_category): New helper parsers.
26694 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26696 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26697 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26698 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26699 (gst_base_transform_buffer_alloc),
26700 (gst_base_transform_handle_buffer):
26701 use gboolean return values and pointers to size so we can use the
26702 full GST_BUFFER_SIZE range (guint) for buffer sizes
26703 use GstPadDirection for transform_caps
26704 * gst/base/gstbasetransform.h:
26705 rename get_size to get_unit_size since that's what it is
26706 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26707 use GstPadDirection for transform_caps
26708 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26710 cleanup and debugging
26712 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26714 * gst/gstelement.c: (gst_element_class_init),
26715 (gst_element_set_state), (activate_pads),
26716 (gst_element_save_thyself):
26717 * tools/gst-compprep.c: (main):
26718 * tools/gst-inspect.c: (print_element_properties_info):
26719 * tools/gst-xmlinspect.c: (print_element_properties):
26720 Fixed long standing mem-leak
26722 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26724 * check/gst/gstbin.c: (GST_START_TEST):
26725 * gst/gstbin.c: (bin_bus_handler):
26726 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26727 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26728 (gst_message_new_warning), (gst_message_new_tag),
26729 (gst_message_new_state_changed), (gst_message_new_segment_start),
26730 (gst_message_new_segment_done), (gst_message_new_custom):
26731 * gst/gstmessage.h:
26732 * tools/gst-launch.c: (event_loop):
26733 * tools/gst-md5sum.c: (event_loop):
26734 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26735 that applications can sensibly post custom messages with references
26736 to their own objects.
26738 2005-08-24 Andy Wingo <wingo@pobox.com>
26740 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26743 2005-08-24 Wim Taymans <wim@fluendo.com>
26745 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26746 (gst_base_transform_transform_caps),
26747 (gst_base_transform_transform_size),
26748 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26749 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26750 (gst_base_transform_handle_buffer):
26751 * gst/base/gstbasetransform.h:
26752 Many fixes and new features added by Thomas. Can now also do
26753 transforms with variable sizes and a custom fixate_caps function.
26755 2005-08-24 Wim Taymans <wim@fluendo.com>
26757 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26761 Cast to ClockTime before formatting to time.
26766 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26768 * check/gst-libs/controller.c: (GST_START_TEST),
26769 (gst_controller_suite):
26770 * docs/gst/tmpl/gstcaps.sgml:
26771 * docs/gst/tmpl/gstghostpad.sgml:
26772 * docs/gst/tmpl/gstquery.sgml:
26773 * docs/gst/tmpl/gstutils.sgml:
26774 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26775 (gst_object_sink_values), (gst_object_get_value_arrays),
26776 (gst_object_get_value_array):
26777 gracefully handle helper method calls to objects that are not beeing
26778 controlled, added test case for that
26780 2005-08-23 Wim Taymans <wim@fluendo.com>
26782 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26783 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26784 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26785 (gst_event_parse_qos), (gst_event_new_seek),
26786 (gst_event_parse_seek):
26788 Some more debugging output and doc cleanups.
26790 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26791 Fix possible deadlock.
26793 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26795 * docs/gst/gstreamer-docs.sgml:
26796 * docs/gst/gstreamer-sections.txt:
26797 * docs/gst/gstreamer.types:
26798 * docs/gst/tmpl/.cvsignore:
26801 * gst/gstelement.c:
26803 added 100 symbols from gstreamer-unused.txt to the right sections
26804 fixed more broken comments
26805 added GstBus to docs
26807 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26809 * docs/gst/gstreamer-sections.txt:
26810 * docs/gst/tmpl/.cvsignore:
26811 * docs/gst/tmpl/gstbin.sgml:
26812 * docs/gst/tmpl/gstbuffer.sgml:
26813 * gst/base/gstbasesrc.c:
26814 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26817 * tools/gst-launch.1.in:
26818 inlined more doc comments, added missing comments and fixed comments
26821 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26823 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26827 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26829 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26830 * gst/gststructure.h:
26831 add a fixate function for booleans; add a FIXME that these func
26832 names should probably be gst_structure_fixate_*
26834 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26836 * docs/gst/gstreamer-docs.sgml:
26837 * docs/gst/gstreamer-sections.txt:
26839 * gst/gstbin.c: (gst_bin_get_type),
26840 (gst_bin_child_proxy_get_child_by_index),
26841 (gst_bin_child_proxy_get_children_count),
26842 (gst_bin_child_proxy_init):
26843 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26844 (gst_child_proxy_get_child_by_index),
26845 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26846 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26847 (gst_child_proxy_get), (gst_child_proxy_set_property),
26848 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26849 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26850 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26851 * gst/gstchildproxy.h:
26852 * gst/parse/grammar.y:
26853 * tools/gst-inspect.c: (print_interfaces),
26854 (print_element_properties_info), (print_element_info):
26855 ported gstchildproxy over from 0.8
26856 ported gst-inspect fixes and enhancements over from 0.8
26858 2005-08-22 Wim Taymans <wim@fluendo.com>
26860 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26861 (gst_base_transform_handle_buffer):
26862 Also call the transform function if we have ANY caps.
26864 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26867 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26869 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26870 Don't pretend to handle seek events if the source is not seekable
26872 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26874 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26875 Remove extra parameter to debug output
26877 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26878 (gst_base_src_do_seek), (gst_base_src_activate_push):
26879 Fix seek event handling.
26881 * gst/gstpipeline.c: (gst_pipeline_change_state):
26882 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26883 (gst_queue_src_activate_push):
26884 Don't start the src pad task on FLUSH_STOP if the pad
26888 2005-08-22 Wim Taymans <wim@fluendo.com>
26890 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26891 Added check for gst_static_caps_get() refcounting.
26893 2005-08-22 Wim Taymans <wim@fluendo.com>
26895 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26896 Make _static_caps_get() refcounting sane.
26898 * gst/gstelement.c: (gst_element_set_state):
26899 Add g_return_val_if_fail() to protect against segfaults.
26901 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26903 * docs/gst/tmpl/gstevent.sgml:
26906 inlined remaining docs, added missing doc comments
26908 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26910 * check/gst/gstbin.c: (GST_START_TEST):
26911 since we don't know when preroll is done, use refcount range
26913 * gst/check/gstcheck.h:
26914 add macro for checking refcount range
26916 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26918 * check/Makefile.am:
26919 clean up environment for when registry gets built versus
26920 when actual tests are run; valgrind seems to not report
26921 leaks if GST_PLUGIN_PATH is set to some specific values
26922 * check/gst/gstbin.c: (GST_START_TEST):
26923 add more refcounting checks; maybe this exposes a
26925 * common/check.mak:
26926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26927 * gst/check/gstcheck.h:
26928 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26929 (gst_bin_change_state):
26930 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26931 add/fix debugging/whitespace
26933 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26935 * check/gst/gstevent.c: (event_probe), (test_event),
26937 Er, don't call gst_bin_watch_for_state_change you idiot.
26939 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26941 * check/Makefile.am:
26942 Use CHECK_CFLAGS and CHECK_LIBS
26943 * check/gst/gstevent.c: (event_probe), (test_event),
26946 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26947 (gst_base_src_start), (gst_base_src_stop),
26948 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26949 (gst_base_src_change_state):
26950 Sprinkle gst_base_src_stop liberally around error paths to fix
26951 problems reusing a source after failed state changes.
26952 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26953 (helper_find_suggest), (gst_type_find_helper):
26954 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26956 * docs/gst/tmpl/gstevent.sgml:
26957 Migrate part of the docs from the SGML file. Wait for ensonic to
26958 tell me how I did it wrong ;)
26959 * tools/gst-typefind.c: (main):
26960 Extra robustness to state changes between files.
26962 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26964 * check/Makefile.am:
26965 don't valgrind the controller test - it's leaking - Stefan, HELP
26966 * gst/check/gstcheck.c: (gst_check_message_error),
26967 (gst_check_chain_func), (gst_check_setup_element),
26968 (gst_check_teardown_element), (gst_check_setup_src_pad),
26969 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26970 (gst_check_teardown_sink_pad):
26971 * gst/check/gstcheck.h:
26972 add a bunch of methods to set up elements, and src and sink pads
26973 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26974 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26977 * gst/gstmessage.c:
26979 whitespace/doc fixes
26981 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26983 * gst/gstelement.h:
26984 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26985 be handled by the application and not always printed as well
26987 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26989 * check/Makefile.am:
26991 * gst/check/gstcheck.c: (gst_check_message_error):
26992 * gst/check/gstcheck.h:
26993 add a fail_unless_equals_int
26994 add fail_unless for error messages
26996 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26998 * check/Makefile.am:
27000 * common/Makefile.am:
27001 * common/check.mak:
27003 factor out some of the common stuff so we can use it
27005 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
27007 * check/Makefile.am:
27008 * check/gst/gstiterator.c: (GST_START_TEST):
27009 * check/gst/gstsystemclock.c: (GST_START_TEST),
27010 (gst_systemclock_suite):
27011 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27013 valgrind more tests
27015 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
27017 * check/elements/.cvsignore:
27018 * check/elements/gstfakesrc.c:
27019 rename to name of element
27020 * check/elements/identity.c: (chain_func), (event_func),
27021 (setup_identity), (cleanup_identity), (GST_START_TEST),
27022 (identity_suite), (main):
27023 add a test for identity
27024 * check/Makefile.am:
27025 * pkgconfig/Makefile.am:
27026 * pkgconfig/gstreamer-check.pc.in:
27027 * pkgconfig/gstreamer-check-uninstalled.pc.in:
27031 move the check stuff to a library that gets installed
27032 * check/gst-libs/controller.c: (GST_START_TEST):
27033 * check/gst-libs/gdp.c:
27034 * check/gst/gst.c: (GST_START_TEST):
27035 * check/gst/gstbin.c:
27036 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27037 * check/gst/gstbus.c:
27038 * check/gst/gstcaps.c: (GST_START_TEST):
27039 * check/gst/gstelement.c:
27040 * check/gst/gstghostpad.c:
27041 * check/gst/gstiterator.c:
27042 * check/gst/gstmessage.c:
27043 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27044 * check/gst/gstobject.c:
27045 * check/gst/gstpad.c: (GST_START_TEST):
27046 * check/gst/gststructure.c: (GST_START_TEST):
27047 * check/gst/gstsystemclock.c: (GST_START_TEST),
27048 (gst_systemclock_suite):
27049 * check/gst/gsttag.c: (gst_tag_suite):
27050 * check/gst/gstvalue.c:
27051 * check/pipelines/cleanup.c:
27052 * check/pipelines/simple_launch_lines.c:
27053 * check/states/sinks.c:
27054 change include statement
27056 * docs/gst/gstreamer-sections.txt:
27057 * docs/gst/tmpl/gstpad.sgml:
27058 document more pad stuff
27059 * gst/gstminiobject.c: (gst_mini_object_ref),
27060 (gst_mini_object_unref):
27063 2005-08-19 Stefan Kost <ensonic@users.sf.net>
27065 * docs/gst/tmpl/gst.sgml:
27067 eliminate another tmpl file, fix spelling in the long-description
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 Should fix build on 64-bit arch's
27075 2005-08-18 Andy Wingo <wingo@pobox.com>
27077 Make sure that when a pipeline goes to PLAYING, that data has
27078 actually hit the sink.
27080 * check/states/sinks.c (test_sink): A sink that doesn't get any
27081 data shouldn't return SUCCESS for going to either PLAYING or
27082 PAUSED. Test also the return values on the way back down.
27084 * gst/gstelement.c (gst_element_set_state): When changing the
27085 state of an element currently changing state asynchronously, go to
27086 lost-state after commiting the pending state. Makes future calls
27087 to get_state continue to return ASYNC.
27089 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27090 ASYNC when going to PLAYING if we still don't have preroll, as can
27091 happen with live sources.
27093 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27095 * docs/pwg/advanced-types.xml:
27096 Hack long paragraph into 2 chunks as a workaround for buggy
27097 jadetex version in sid and breezy that loops infinitely and
27100 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27102 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27103 (test_event), (timediff), (gstevents_suite):
27104 Provide more error margin in clock measurements to allow for
27105 g_get_current_time inaccuracies.
27107 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27109 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27110 (test_event), (timediff), (gstevents_suite):
27111 Fix error message output so I might be able to tell why the
27112 test works here but fails on the build farm.
27114 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27116 * check/Makefile.am:
27117 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27118 (test_event), (timediff), (gstevents_suite), (main):
27121 * docs/design/part-seeking.txt:
27122 Spelling correction
27124 * docs/gst/tmpl/gstevent.sgml:
27125 * docs/gst/tmpl/gstfakesrc.sgml:
27128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27129 Treat a buffer-without-newsegment the same as a receiving
27130 a newsegment not in time format, and disable syncing to the clock
27133 * gst/gstbus.c: (gst_bus_set_sync_handler):
27134 Assert if anyone tries to replace the existing sync_handler for bus,
27135 as only the owner should be setting it.
27138 Have a fixed set of custom event enums with events identified by
27139 their structure name (as in 0.8), rather than a free-for-all
27140 allowing collisions between enum values from different plugins.
27142 * gst/gstpad.c: (gst_pad_class_init):
27145 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27146 Handle out-of-band downstream events from the sending thread.
27148 2005-08-17 Andy Wingo <wingo@pobox.com>
27150 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27151 play-timeout==0 to mean no timeout at all. In that case, don't
27152 bother with a get_state or a warning, just return directly, even
27155 * gst/base/gstbasetransform.c: Debug changes.
27158 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27159 ensure bins post state change messages. A bit of a hack but I can't
27160 think of a way to avoid it.
27162 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27164 2005-08-16 Andy Wingo <wingo@pobox.com>
27166 * gst/base/gstadapter.h:
27167 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27168 peek() but you own the data. Not terribly efficient atm.
27170 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27172 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27173 (gst_element_found_tags):
27175 Add two utility functions for tag handling.
27177 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27179 * docs/manual/advanced-dataaccess.xml:
27180 * docs/manual/basics-helloworld.xml:
27181 Fix docs to use _bin_add() before _link(), which fixes the examples
27182 with recent core versions (reported by Madhan Raj M
27183 <raj_madan@rediffmail.com>, #313199).
27185 2005-08-16 Wim Taymans <wim@fluendo.com>
27187 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27188 Added subtract checks.
27190 * docs/design/part-events.txt:
27191 Some more docs about newsegment
27193 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27196 * gst/gstcaps.c: (gst_caps_to_string):
27197 Add comments, cleanups.
27199 * gst/gstelement.c: (gst_element_save_thyself):
27202 * gst/gstvalue.c: (gst_value_collect_int_range),
27203 (gst_string_unwrap), (gst_value_union_int_int_range),
27204 (gst_value_union_int_range_int_range),
27205 (gst_value_intersect_int_int_range),
27206 (gst_value_intersect_int_range_int_range),
27207 (gst_value_intersect_double_double_range),
27208 (gst_value_intersect_double_range_double_range),
27209 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27210 (gst_value_subtract_int_range_int),
27211 (gst_value_subtract_double_range_double),
27212 (gst_value_subtract_double_range_double_range),
27213 (gst_value_subtract_from_list), (gst_value_subtract_list),
27214 (gst_value_can_compare), (gst_value_compare_fraction):
27215 Cleanups, add comments, remove unneeded asserts.
27217 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27219 * tools/gst-launch.c: (event_loop):
27220 don't convert NULL structures to strings
27222 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27224 * docs/gst/gstreamer-sections.txt:
27225 made some defines private
27226 * docs/gst/tmpl/gstconfig.sgml:
27227 * docs/gst/tmpl/gstqueue.sgml:
27228 * docs/gst/tmpl/gsttaglist.sgml:
27229 * docs/gst/tmpl/gsttypes.sgml:
27230 * docs/gst/tmpl/gstutils.sgml:
27231 * docs/pwg/appendix-porting.xml:
27232 * gst/base/gstbasesink.h:
27233 * gst/base/gstbasesrc.c:
27234 * gst/base/gstbasesrc.h:
27235 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27236 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27237 * gst/gstelement.c: (gst_element_class_init):
27238 * gst/gstpad.c: (gst_pad_class_init):
27239 * gst/gstqueue.c: (gst_queue_class_init):
27240 * gst/gstxml.c: (gst_xml_class_init):
27241 documented all undocumented signal inline
27242 * libs/gst/controller/gst-controller.h:
27245 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27247 * docs/pwg/appendix-porting.xml:
27248 Document _set_link_function -> _set_setcaps_function.
27250 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27252 * check/Makefile.am:
27253 add a .check target for running the check
27254 * check/gst-libs/controller.c: (GST_START_TEST):
27256 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27257 complete checks for gstbuffer; would be nice if I could get the
27258 gcov stuff to work so I can see if I actually completed gstbuffer.c
27259 * check/gstcheck.h:
27260 add ASSERT_BUFFER_REFCOUNT
27262 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27264 * docs/gst/gstreamer-sections.txt:
27265 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27267 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27268 spew out a warning if a tag that is already registered
27269 is re-registered, unless it is re-registered with a
27270 different type (#308438).
27272 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27274 * docs/pwg/appendix-porting.xml:
27275 * docs/pwg/building-state.xml:
27276 Add some paragraphs about state changes in 0.9 to the PWG
27277 and the porting guide, in particular about the new meaning
27278 of GST_STATE_PAUSED and how to write state change functions
27279 with concurrent access by multiple threads in mind.
27281 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27283 * docs/gst/gstreamer-docs.sgml:
27284 * docs/libs/gstreamer-libs-docs.sgml:
27285 added deprecation and since indexes
27286 * libs/gst/controller/gst-controller.c:
27287 * libs/gst/controller/gst-helper.c:
27291 2005-08-11 Wim Taymans <wim@fluendo.com>
27293 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27294 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27295 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27296 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27297 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27298 (gst_ghost_pad_set_target):
27299 Actually implement (re)setting the target on a ghostpad
27300 as described in the docs.
27302 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27304 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27305 Check whether GST_DEBUG_NO_COLOR environment variable is
27306 set and disable coloured debug output if that is the case.
27308 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27310 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27311 (gst_type_find_helper):
27312 The memory returned by gst_type_find_peek() needs to
27313 stay valid until the end of a typefind function, and
27314 typefind functions may keep results from different
27315 offsets around, so we can't just unref the buffer from
27316 the previous _peek(), but have to save all buffers
27317 returned by _peek() until typefinding is done and only
27320 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27322 * docs/gst/gstreamer-sections.txt:
27324 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27326 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27328 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27329 Fix a pretty good memleak.
27331 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27333 * gst/gstiterator.h:
27334 Fix wrong include and 'make distcheck'.
27336 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27338 * gst/gstbin.c: (bin_bus_handler):
27339 Use gst_element_post_message() instead.
27341 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27343 * gst/base/gstadapter.h:
27344 * gst/base/gstbasesink.h:
27345 * gst/base/gstbasesrc.h:
27346 * gst/base/gstbasetransform.h:
27347 * gst/base/gstcollectpads.h:
27348 * gst/base/gstpushsrc.h:
27349 * gst/gstiterator.h:
27350 Add padding to our base elements' class and instance structs and
27351 to GstIterator (you will need to rebuild all plugins and apps!)
27353 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27355 * gst/gstbin.c: (bin_bus_handler):
27356 Make default message forwarding from child->bus to bin->bus
27357 threadsafe and make it not emit warnings if the parent has no bus.
27359 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27361 * gst/gstelement.c: (activate_pads):
27362 On paused->ready, set pad->caps to NULL, as is the documented
27363 behaviour in this state change. Fixes playback of series of
27364 media files when visualization is enabled in Totem.
27366 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27368 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27369 Allow NULL as filter-caps (which means "any").
27371 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27373 * docs/libs/gstreamer-libs-sections.txt:
27374 * libs/gst/controller/gst-controller.c:
27375 * libs/gst/controller/gst-controller.h:
27376 * libs/gst/controller/gst-helper.c:
27377 adding more entries to the docs and fix small doc-bugs
27379 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27381 * docs/gst/gstreamer-docs.sgml:
27382 * docs/gst/gstreamer-sections.txt:
27383 * docs/gst/gstreamer.types:
27384 * docs/gst/tmpl/gstbasesink.sgml:
27385 * docs/gst/tmpl/gstbasesrc.sgml:
27386 * docs/gst/tmpl/gstbasetransform.sgml:
27387 * docs/gst/tmpl/gstfakesrc.sgml:
27388 * gst/base/gstcollectpads.c:
27389 * gst/base/gstcollectpads.h:
27390 * libs/gst/controller/gst-controller.c:
27391 * libs/gst/controller/gst-controller.h:
27392 * libs/gst/controller/gst-helper.c:
27393 * libs/gst/controller/gst-interpolation.c:
27394 * libs/gst/controller/lib.c:
27395 added long/short desc for controller docs
27396 added collectpads base class docs
27397 added correct includes to base-class docs
27399 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27401 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27402 (gst_test_mono_source_set_property),
27403 (gst_test_mono_source_class_init), (GST_START_TEST),
27404 (gst_controller_suite):
27405 * docs/gst/gstreamer-docs.sgml:
27406 * docs/gst/gstreamer-sections.txt:
27407 * docs/gst/gstreamer.types:
27408 * docs/libs/gstreamer-libs-docs.sgml:
27409 * docs/libs/gstreamer-libs-sections.txt:
27410 * gst/base/gstadapter.c:
27411 * libs/gst/controller/gst-controller.c:
27412 (gst_controlled_property_new), (gst_controlled_property_free),
27413 (gst_controller_new_valist),
27414 (gst_controller_remove_properties_valist),
27415 (gst_controller_sink_values), (_gst_controller_finalize):
27416 * libs/gst/controller/gst-controller.h:
27417 * libs/gst/controller/gst-helper.c:
27418 (gst_object_control_properties), (gst_object_uncontrol_properties),
27419 (gst_object_get_controller), (gst_object_set_controller),
27420 (gst_object_sink_values), (gst_object_get_value_arrays),
27421 (gst_object_get_value_array):
27422 more tests (and fixes) for the controller
27423 more docs for the controller
27424 integrated companies docs for the adapter
27426 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27428 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27429 (GST_START_TEST), (fakesrc_suite):
27430 add tests for sizetype
27432 2005-08-04 Andy Wingo <wingo@pobox.com>
27434 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27435 fixes buffer_alloc proxying among other things.
27437 * gst/base/gstbasetransform.c:
27438 * gst/base/gstbasetransform.h:
27439 Revert patch to gstbasetransform from 7-28 removing
27442 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27443 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27444 Semantics changed, should return not the size of the output buffer
27445 but the byte size of a buffer with a given caps.
27447 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27449 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27450 out) are not the pad caps until setcaps finishes.
27451 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27452 not-in-place case as well. Deal with changing from in-place to
27453 not-in-place within calling pad_alloc_buffer. Still a bit
27454 concerned about the overhead here...
27456 2005-08-03 Andy Wingo <wingo@pobox.com>
27458 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27459 fixating is an error.
27461 2005-08-04 Edward Hervey <edward@fluendo.com>
27463 * gst/base/gstadapter.h:
27464 Added gst_adapter_get_type() to the header
27466 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27468 * check/Makefile.am:
27469 * check/gst-libs/controller.c:
27470 * libs/gst/controller/gst-controller.c:
27471 (gst_controller_new_valist):
27472 added check test suite for the controller
27473 * gst/base/gstpushsrc.c:
27476 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27478 * docs/gst/Makefile.am:
27479 * docs/gst/gstreamer-docs.sgml:
27480 * docs/gst/gstreamer-sections.txt:
27481 * docs/gst/gstreamer.types:
27482 * docs/gst/tmpl/gstfakesrc.sgml:
27484 * gst/base/gstbasesink.c:
27485 * gst/base/gstbasesink.h:
27486 * gst/base/gstbasesrc.c:
27487 * gst/base/gstbasesrc.h:
27488 * gst/base/gstbasetransform.c:
27489 * gst/base/gstpushsrc.c:
27490 * gst/base/gstpushsrc.h:
27491 add short/long description docs to base classes
27492 add pushsrc to the docs
27493 remove consolidated doc fragments
27495 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27498 * docs/libs/Makefile.am:
27499 * docs/libs/gstreamer-libs-docs.sgml:
27500 * docs/libs/gstreamer-libs-sections.txt:
27501 * docs/libs/gstreamer-libs.types:
27502 * examples/Makefile.am:
27503 * examples/controller/.cvsignore:
27504 * examples/controller/Makefile.am:
27505 * examples/controller/audio-example.c: (main):
27506 * libs/gst/Makefile.am:
27507 * libs/gst/controller/.cvsignore:
27508 * libs/gst/controller/Makefile.am:
27509 * libs/gst/controller/gst-controller.c:
27510 (on_object_controlled_property_changed), (gst_timed_value_compare),
27511 (gst_timed_value_find),
27512 (gst_controlled_property_set_interpolation_mode),
27513 (gst_controlled_property_new), (gst_controlled_property_free),
27514 (gst_controller_find_controlled_property),
27515 (gst_controller_new_valist), (gst_controller_new),
27516 (gst_controller_remove_properties_valist),
27517 (gst_controller_remove_properties), (gst_controller_set),
27518 (gst_controller_set_from_list), (gst_controller_unset),
27519 (gst_controller_get), (gst_controller_get_all),
27520 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27521 (gst_controller_get_value_array),
27522 (gst_controller_set_interpolation_mode),
27523 (_gst_controller_finalize), (_gst_controller_init),
27524 (_gst_controller_class_init), (gst_controller_get_type):
27525 * libs/gst/controller/gst-controller.h:
27526 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27527 (g_object_uncontrol_properties), (g_object_get_controller),
27528 (g_object_set_controller), (g_object_sink_values),
27529 (g_object_get_value_arrays), (g_object_get_value_array):
27530 * libs/gst/controller/gst-interpolation.c:
27531 (gst_controlled_property_find_timed_value_node),
27532 (interpolate_none_get), (interpolate_trigger_get),
27533 (interpolate_trigger_get_value_array):
27534 * libs/gst/controller/lib.c: (gst_controller_init):
27535 * pkgconfig/Makefile.am:
27536 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27537 * pkgconfig/gstreamer-control.pc.in:
27538 * testsuite/Makefile.am:
27539 * testsuite/controller/.cvsignore:
27540 * testsuite/controller/Makefile.am:
27541 * testsuite/controller/interpolator.c: (main):
27542 added controller code
27543 removed dparam pc files
27545 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27546 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27547 (gst_collectpads_stop):
27548 Broadcast the condition when shutting down, to make sure we wake all
27549 threads up. Shut down pads on finalize, for safety.
27551 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27552 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27553 (gst_base_transform_handle_buffer),
27554 (gst_base_transform_change_state):
27555 Handle PAUSED->READY->PAUSED transition after negotiation
27557 * gst/gstmessage.c: (gst_message_init):
27558 Extra piece of debug for new messages.
27560 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27563 * docs/gst/tmpl/gstbasesrc.sgml:
27564 * docs/gst/tmpl/gstelement.sgml:
27565 * docs/gst/tmpl/gstevent.sgml:
27566 * docs/gst/tmpl/gstfakesrc.sgml:
27567 * docs/gst/tmpl/gstformat.sgml:
27568 * docs/gst/tmpl/gstghostpad.sgml:
27569 * docs/gst/tmpl/gstpad.sgml:
27570 * docs/gst/tmpl/gstquery.sgml:
27571 * docs/gst/tmpl/gststructure.sgml:
27572 * docs/gst/tmpl/gsttaglist.sgml:
27573 * docs/gst/tmpl/gstvalue.sgml:
27574 * docs/libs/gstreamer-libs-docs.sgml:
27575 * docs/libs/gstreamer-libs-sections.txt:
27576 * docs/libs/gstreamer-libs.types:
27577 * libs/gst/Makefile.am:
27578 * libs/gst/control/.cvsignore:
27579 * libs/gst/control/Makefile.am:
27580 * libs/gst/control/control.c:
27581 * libs/gst/control/control.h:
27582 * libs/gst/control/dparam.c:
27583 * libs/gst/control/dparam.h:
27584 * libs/gst/control/dparam_smooth.c:
27585 * libs/gst/control/dparam_smooth.h:
27586 * libs/gst/control/dparamcommon.h:
27587 * libs/gst/control/dparammanager.c:
27588 * libs/gst/control/dparammanager.h:
27589 * libs/gst/control/dplinearinterp.c:
27590 * libs/gst/control/dplinearinterp.h:
27591 * libs/gst/control/unitconvert.c:
27592 * libs/gst/control/unitconvert.h:
27593 * testsuite/Makefile.am:
27594 * testsuite/dynparams/.cvsignore:
27595 * testsuite/dynparams/Makefile.am:
27596 * testsuite/dynparams/dparamstest.c:
27597 * tools/Makefile.am:
27598 * tools/gst-inspect.c: (print_element_info), (main):
27599 * tools/gst-xmlinspect.c: (print_element_info), (main):
27600 deactivate and remove dparams (libgstcontrol)
27602 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27604 * gst/elements/gsttypefindelement.c:
27605 (gst_type_find_element_have_type), (gst_type_find_element_init),
27606 (stop_typefinding), (gst_type_find_element_handle_event),
27607 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27608 * gst/elements/gsttypefindelement.h:
27609 Set caps on all outgoing buffers, not just the first one.
27611 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27613 * gst/elements/gsttypefindelement.c:
27614 (gst_type_find_element_have_type),
27615 (gst_type_find_element_check_set_buffer_caps),
27616 (gst_type_find_element_init), (stop_typefinding),
27617 (gst_type_find_element_handle_event),
27618 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27619 * gst/elements/gsttypefindelement.h:
27620 Set caps on first outgoing buffer when we've found the type.
27622 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27624 * docs/gst/gstreamer-docs.sgml:
27625 * docs/gst/gstreamer-sections.txt:
27626 * docs/gst/tmpl/gstscheduler.sgml:
27627 * docs/gst/tmpl/gstschedulerfactory.sgml:
27628 Remove some old cruft from docs.
27630 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27633 Fix inline docs for GstPadLinkReturn.
27635 * gst/gststructure.c: (gst_structure_has_name):
27636 * gst/gststructure.h:
27637 * docs/gst/gstreamer-sections.txt:
27638 New API: gst_structure_has_name().
27640 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27643 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27644 and _LARGEFILE_SOURCE in config.h as required. Do not
27645 export those flags in our .pc files any longer (#142209).
27647 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27649 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27650 (gst_file_sink_do_seek), (gst_file_sink_event),
27651 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27652 Redo seek/tell calls with large file support in mind; add some
27653 debugging messages; add log message that tells us when large
27654 file support is unavailable or not enabled for some reason.
27656 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27657 Add log message that tells us when large file support
27658 is unavailable or not enabled for some reason.
27660 2005-07-29 Wim Taymans <wim@fluendo.com>
27662 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27663 Added test for removing an element with ghostpad from a bin.
27664 Fixed test as current implementation does the right thing.
27666 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27667 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27668 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27669 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27670 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27671 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27672 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27673 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27674 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27675 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27676 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27677 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27678 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27679 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27680 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27681 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27682 * gst/gstghostpad.h:
27683 Clean up ghostpads, remove properties for internal stuff.
27686 Prepare for switching targets, not all use cases work yet.
27688 2005-07-29 Wim Taymans <wim@fluendo.com>
27690 * docs/design/part-gstghostpad.txt:
27693 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27694 (gst_bin_remove_func):
27695 Unlinking pads while holding the bin LOCK is not a good
27698 * gst/gstpad.c: (gst_pad_class_init),
27699 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27700 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27701 No prob setting template after creating the pad.
27703 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27705 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27706 (gst_bus_peek), (gst_bus_source_dispatch),
27707 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27708 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27709 gst_bus_poll may be called from other threads. Handle
27710 this nicely by not making poll_data disappear off the
27711 stack once gst_bus_poll returns.
27712 gst_bus_peek now increments the refcount on the returned
27715 2005-07-29 Wim Taymans <wim@fluendo.com>
27717 * docs/design/part-gstghostpad.txt:
27718 Overview of current GhostPad datastructures and use
27719 cases for changing the target.
27721 2005-07-28 Wim Taymans <wim@fluendo.com>
27723 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27724 Added checks for hierarchy consistency whan adding linked
27727 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27728 Added check to test element scheduling without bin/pipeline.
27730 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27731 First add elements to bin, then link.
27733 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27734 (gst_bin_remove_func):
27735 Unlink pads from elements added/removed from bin to maintain
27736 hierarchy consistency.
27738 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27740 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27741 (gst_base_transform_handle_buffer):
27742 * gst/base/gstbasetransform.h:
27743 Remove broken delay_configure (fixes renegotiation of software
27744 scaling pipelines); remove some leftover printf()s.
27746 2005-07-28 Wim Taymans <wim@fluendo.com>
27748 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27749 Added some more tests for wrong hierarchy
27751 * docs/design/part-overview.txt:
27754 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27757 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27758 (gst_element_dispose):
27759 Some more cleanups.
27761 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27762 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27763 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27764 (gst_pad_set_caps), (gst_pad_send_event):
27765 Check for correct hierarchy when linking pads. Moving to
27766 strict requirement for ghostpads when linking elements in
27770 Clean ups. Added WRONG_HIERARCHY return value.
27772 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27774 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27775 Better debug if no transform is possible.
27777 2005-07-27 Wim Taymans <wim@fluendo.com>
27779 * docs/random/wtay/network-transp:
27780 Some old doc I had.
27782 2005-07-27 Wim Taymans <wim@fluendo.com>
27784 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27785 (gst_dp_event_from_packet):
27786 Fix serialization of seek events.
27788 2005-07-27 Wim Taymans <wim@fluendo.com>
27790 * check/gst-libs/gdp.c: (GST_START_TEST):
27791 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27792 Fix compilation and fix event serialization.
27794 2005-07-27 Wim Taymans <wim@fluendo.com>
27797 * docs/design/part-TODO.txt:
27798 * docs/design/part-events.txt:
27801 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27802 (gst_base_sink_event), (gst_base_sink_do_sync),
27803 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27804 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27805 (gst_base_src_do_seek), (gst_base_src_event_handler),
27806 (gst_base_src_loop):
27807 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27808 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27809 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27810 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27811 (gst_base_transform_set_passthrough),
27812 (gst_base_transform_is_passthrough):
27813 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27814 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27820 * gst/gstelement.c: (gst_element_seek):
27821 * gst/gstelement.h:
27822 Update gst_element_seek.
27824 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27825 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27826 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27827 (gst_event_new_eos), (gst_event_new_newsegment),
27828 (gst_event_parse_newsegment), (gst_event_new_tag),
27829 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27830 (gst_event_parse_qos), (gst_event_new_seek),
27831 (gst_event_parse_seek), (gst_event_new_navigation):
27833 Make GstEvent use GstStructure. Add parsing code, make sure the
27834 API is sufficiently generic.
27835 Mark possible directions of events and serialization.
27837 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27838 (_gst_message_copy), (gst_message_new_segment_start),
27839 (gst_message_new_segment_done), (gst_message_new_custom),
27840 (gst_message_parse_segment_start),
27841 (gst_message_parse_segment_done):
27844 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27845 (gst_pad_set_caps), (gst_pad_send_event):
27846 Update for new events.
27847 Catch events sent in wrong directions.
27849 * gst/gstqueue.c: (gst_queue_link_src),
27850 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27851 (gst_queue_handle_src_query):
27856 Remove event code from this file.
27858 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27859 (gst_dp_event_from_packet):
27862 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27864 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27865 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27866 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27867 Make debugging actually useful.
27869 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27871 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27872 (gst_pad_fixate_caps):
27873 Implement default fixation once again, so that gst_pad_fixate()
27874 actually does anything at all. This probably needs to be some
27875 sort of a last resort, and use profile-based fixation first, but
27876 since that doesn't exist yet, this is the best we have. Fixes
27877 visualization in Totem.
27879 2005-07-22 Wim Taymans <wim@fluendo.com>
27881 * docs/design/part-events.txt:
27884 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27885 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27886 (gst_base_sink_activate_pull):
27887 Some more comments.
27889 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27890 (gst_fake_src_create):
27891 Fix handoff marshall.
27893 * gst/elements/gstidentity.c: (gst_identity_class_init),
27894 (gst_identity_transform_ip):
27895 We're a real inplace element.
27897 * gst/gstbus.c: (gst_bus_post):
27898 Added some comments.
27900 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27901 * tests/muxing/case1.c: (main):
27902 * tests/sched/dynamic-pipeline.c: (main):
27903 * tests/sched/interrupt1.c: (main):
27904 * tests/sched/interrupt2.c: (main):
27905 * tests/sched/interrupt3.c: (main):
27906 * tests/sched/runxml.c: (main):
27907 * tests/sched/sched-stress.c: (main):
27908 * tests/seeking/seeking1.c: (event_received), (main):
27909 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27911 * tests/threadstate/threadstate3.c: (main):
27912 * tests/threadstate/threadstate4.c: (main):
27913 * tests/threadstate/threadstate5.c: (main):
27916 2005-07-21 Wim Taymans <wim@fluendo.com>
27918 * docs/design/part-seeking.txt:
27919 Some small additions.
27921 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27922 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27923 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27924 * gst/base/gstbasesink.h:
27925 discont values are gint64, handle the math correctly.
27927 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27928 Make the basesrc report error if the source pad is not linked.
27930 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27931 (gst_queue_loop), (gst_queue_handle_src_query),
27932 (gst_queue_src_activate_push):
27933 Make queue collect data even if the srcpad is not linked.
27934 Start pushing out data as soon as it is linked.
27936 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27938 Added gst_flow_get_name() to ease error reporting.
27940 2005-07-20 Wim Taymans <wim@fluendo.com>
27942 * gst/gstmessage.c: (gst_message_new_segment_start),
27943 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27944 (gst_message_parse_segment_done):
27945 * gst/gstmessage.h:
27946 Added a bunch of messages for advanced seeking.
27948 * gst/parse/grammar.y:
27949 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27950 (gst_dpman_state_changed):
27951 Fix some new-pad -> pad-added signals
27953 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27955 * docs/manual/appendix-porting.xml:
27956 * docs/pwg/appendix-porting.xml:
27957 Document new-pad/state-change signal renames and the FixedList
27960 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27962 * docs/manual/advanced-autoplugging.xml:
27963 * docs/manual/basics-helloworld.xml:
27964 * docs/manual/basics-pads.xml:
27965 * docs/random/ds/0.9-suggested-changes:
27966 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27967 * gst/gstelement.h:
27971 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27972 (gst_structure_parse_array), (gst_structure_parse_value):
27973 * gst/gstvalue.c: (gst_type_is_fixed),
27974 (gst_value_list_prepend_value), (gst_value_list_append_value),
27975 (gst_value_list_get_size), (gst_value_list_get_value),
27976 (gst_value_transform_array_string), (gst_value_serialize_array),
27977 (gst_value_deserialize_array), (gst_value_intersect_array),
27978 (gst_value_is_fixed), (_gst_value_initialize):
27980 GstElement::new-pad -> pad-added, GstElement::state-change ->
27981 state-changed, GstValueFixedList -> GstValueArray, add format and
27982 flags as their own arguments in gst_element_seek() (should improve
27983 "bindeability"), remove function generators since they don't work
27984 under a whole bunch of compilers (they were deprecated already
27987 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27989 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27990 (_gst_debug_register_funcptr):
27992 Fix illegal cast on some platforms (#309253).
27994 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27996 * gst/gstmessage.c: (gst_message_new_custom):
27997 * gst/gstmessage.h:
27998 Add _new_custom, make _new_application a macro to _new_custom.
28000 2005-07-20 Wim Taymans <wim@fluendo.com>
28002 * gst/base/gstbasesrc.c: (gst_base_src_init),
28003 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
28004 * gst/base/gstbasesrc.h:
28005 Add a gboolean to decide when to push out a discont.
28007 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28008 (gst_queue_loop), (gst_queue_handle_src_query),
28009 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
28010 (gst_queue_set_property), (gst_queue_get_property):
28013 * tests/threadstate/threadstate1.c: (main):
28014 Make a thread test compile and run... very silly..
28017 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28019 * docs/manual/appendix-porting.xml:
28020 Mention removal of libgstgconf-0.9.la and existence of gconf
28023 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28025 * docs/pwg/advanced-clock.xml:
28026 * docs/pwg/appendix-porting.xml:
28027 * docs/pwg/intro-preface.xml:
28028 * docs/pwg/other-base.xml:
28029 * docs/pwg/other-manager.xml:
28030 * docs/pwg/other-nton.xml:
28031 * docs/pwg/other-ntoone.xml:
28032 * docs/pwg/other-oneton.xml:
28033 * docs/pwg/pwg.xml:
28034 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
28035 demuxer), remove n-to-n (was never written), fix some code examples
28036 and links and update the porting section to include all this.
28038 2005-07-19 Wim Taymans <wim@fluendo.com>
28040 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
28041 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
28042 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
28043 (gst_queue_src_activate_push), (gst_queue_change_state),
28044 (gst_queue_get_property):
28046 Propagate GstFlowReturn more intelligently upstream and output
28047 an ERROR/EOS when streaming stopped due to fatal error.
28049 2005-07-19 Wim Taymans <wim@fluendo.com>
28051 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28052 Don't block forever for the state change to complete, the
28053 pipeline already did with a sensible timeout.
28055 2005-07-19 Wim Taymans <wim@fluendo.com>
28057 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28058 Make sure we never call the create function is we
28061 2005-07-19 Andy Wingo <wingo@pobox.com>
28063 * gst/parse/parse.l: Attempt to solve bug #172815.
28065 2005-07-19 Wim Taymans <wim@fluendo.com>
28067 * docs/design/part-clocks.txt:
28068 * docs/design/part-events.txt:
28069 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28070 Small docs updates.
28071 Only update the seeking values when we are not
28074 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28076 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28077 Oops, ignore the result of gst_pad_push_event here.
28079 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
28081 * gst/base/gstbasesrc.c: (gst_base_src_loop),
28082 (gst_base_src_activate_push):
28083 Send discont event from the loop function, as pads
28084 aren't activated yet in the activate_push handler.
28086 * gst/gstbin.c: (bin_bus_handler):
28087 Don't leak element name.
28089 2005-07-18 Andy Wingo <wingo@pobox.com>
28091 * configure.ac: Use AS_LIBTOOL_TAGS.
28093 2005-07-18 Wim Taymans <wim@fluendo.com>
28095 * docs/gst/gstreamer.types:
28096 Remove deleted types.
28098 2005-07-18 Wim Taymans <wim@fluendo.com>
28100 * check/elements/gstfakesrc.c: (GST_START_TEST):
28103 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28104 (init_popt_callback):
28106 * gst/gst_private.h:
28107 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28108 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28111 * gst/gstconfig.h.in:
28112 * gst/gstelement.c: (gst_element_class_init),
28113 (gst_element_set_base_time), (gst_element_get_base_time),
28114 (iterator_fold_with_resync), (gst_element_change_state),
28115 (gst_element_dispose), (gst_element_get_bus):
28116 * gst/gstelement.h:
28117 * gst/gstelementfactory.h:
28118 * gst/gsterror.c: (_gst_core_errors_init):
28121 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28123 * gst/gstinfo.c: (_gst_debug_init):
28124 * gst/gstmessage.c: (_gst_message_copy):
28125 * gst/gstmessage.h:
28126 * gst/gstminiobject.h:
28129 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28130 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28133 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28134 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28135 (gst_pipeline_get_last_stream_time):
28136 * gst/gstpipeline.h:
28137 * gst/gstpluginfeature.h:
28139 * gst/gstscheduler.c:
28140 * gst/gstscheduler.h:
28141 * gst/gststructure.h:
28142 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28143 (gst_task_finalize), (gst_task_func), (gst_task_create),
28144 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28145 (gst_task_stop), (gst_task_pause):
28147 * gst/gsttypefind.h:
28149 * gst/registries/gstlibxmlregistry.c: (load_feature),
28150 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28151 * gst/registries/gstxmlregistry.c:
28152 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28153 * gst/schedulers/threadscheduler.c:
28154 * libs/gst/control/dparammanager.h:
28155 * tools/gst-inspect.c: (print_element_list),
28156 (print_plugin_features), (print_element_features):
28157 * tools/gst-xmlinspect.c: (print_element_list),
28158 (print_plugin_info), (main):
28159 Removed plugable schedulers.
28160 Removed Scheduler/Manager from elements.
28161 Removed gsttypes.h, rearranged includes.
28162 Removed dependency pad<->element, element<>pipeline, and
28163 various others, fix includes.
28164 implement gst_pad_get_parent() with gst_object_get_parent()
28165 Make GstTask sefcontained.
28166 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28168 Fix endless loop in iterator_fold_with_resync.
28171 2005-07-18 Wim Taymans <wim@fluendo.com>
28177 2005-07-18 Wim Taymans <wim@fluendo.com>
28180 No more cothreads.h
28182 2005-07-18 Wim Taymans <wim@fluendo.com>
28186 Let's remove these.
28188 2005-07-18 Wim Taymans <wim@fluendo.com>
28190 * docs/design/part-dynamic.txt:
28191 * docs/design/part-events.txt:
28192 * docs/design/part-seeking.txt:
28193 Some more docs in the works.
28195 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28196 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28197 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28198 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28199 (gst_base_transform_handle_buffer),
28200 (gst_base_transform_sink_activate_push),
28201 (gst_base_transform_src_activate_pull),
28202 (gst_base_transform_set_passthrough),
28203 (gst_base_transform_is_passthrough):
28206 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28209 * gst/gstevent.c: (gst_event_finalize):
28212 * gst/gstutils.c: (gst_element_unlink),
28213 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28214 (gst_pad_proxy_setcaps):
28216 Add _get_parent_element() to get a pads parent as an element.
28218 2005-07-18 Wim Taymans <wim@fluendo.com>
28220 * check/gst/gstbin.c: (GST_START_TEST):
28223 2005-07-18 Wim Taymans <wim@fluendo.com>
28225 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28226 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28227 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28228 (gst_base_sink_event), (gst_base_sink_do_sync),
28229 (gst_base_sink_chain), (gst_base_sink_loop),
28230 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28231 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28233 Fix logic for returning ASYNC when not prerolled.
28235 2005-07-18 Wim Taymans <wim@fluendo.com>
28237 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28238 Fix nasty refcount bug.
28240 2005-07-16 Philippe Khalaf <burger@speedy.org>
28242 * gst/elements/gstfdsrc.c:
28243 * gst/elements/gstfdsrc.h:
28244 * gst/elements/gstelements.c:
28245 * gst/elements/Makefile.am:
28246 Ported fdsrc to 0.9.
28248 2005-07-16 Wim Taymans <wim@fluendo.com>
28250 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28251 (gst_base_sink_do_sync):
28254 2005-07-16 Wim Taymans <wim@fluendo.com>
28256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28257 (gst_base_sink_event), (gst_base_sink_get_times),
28258 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28259 * gst/base/gstbasesink.h:
28260 Store and use discont values when syncing buffers as described
28263 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28264 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28265 (gst_base_src_activate_push):
28266 Push discont event when starting.
28268 * gst/elements/gstidentity.c: (gst_identity_transform):
28271 * gst/gstbin.c: (gst_bin_change_state):
28272 Small cleanups in base_time distribution.
28274 * gst/gstelement.c: (gst_element_set_base_time),
28275 (gst_element_get_base_time), (gst_element_change_state):
28276 * gst/gstelement.h:
28277 Added methods for the base_time of the element.
28280 * gst/gstpipeline.c: (gst_pipeline_send_event),
28281 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28282 (gst_pipeline_get_last_stream_time):
28283 * gst/gstpipeline.h:
28285 Handle seeking as described in design doc, remove stream_time
28287 Cleanups clock and stream_time selection code. Added accessors
28288 for the stream_time.
28291 2005-07-16 Andy Wingo <wingo@pobox.com>
28293 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28296 2005-07-16 Wim Taymans <wim@fluendo.com>
28298 * check/gst/gstbin.c: (GST_START_TEST):
28299 Make elements silent as the deep_notify refs the
28300 parent, which might make the test fail.
28302 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28303 Don't hold the lock for too long.
28305 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28307 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28308 Don't unref the caps we passed to gst_caps_make_writable() after
28309 passing them. gst_caps_make_writable() will do that for us.
28311 2005-07-15 Andy Wingo <wingo@pobox.com>
28313 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28316 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28317 own marshalling function for the handoff signal. Properly type the
28318 buffer as a buffer. Fixes some warnings. Should do a more general
28320 (gst_identity_class_init): Plug into the right marshaller.
28322 2005-07-15 Wim Taymans <wim@fluendo.com>
28324 * docs/design/part-TODO.txt:
28325 * docs/design/part-clocks.txt:
28326 * docs/design/part-element-sink.txt:
28327 * docs/design/part-events.txt:
28328 * docs/design/part-gstpipeline.txt:
28329 Updated docs, mostly DISCONT related.
28331 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28333 * docs/pwg/building-pads.xml:
28334 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28336 2005-07-15 Andy Wingo <wingo@pobox.com>
28338 * tools/gst-typefind.c: Update, add copyright block.
28340 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28341 Normalize and truncate caps before fixation.
28344 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28345 discards all but the first structure from its argument.
28347 2005-07-15 Wim Taymans <wim@fluendo.com>
28349 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28350 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28351 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28352 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28353 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28354 (gst_base_transform_chain), (gst_base_transform_change_state),
28355 (gst_base_transform_set_passthrough),
28356 (gst_base_transform_is_passthrough):
28357 * gst/base/gstbasetransform.h:
28358 Make passthrough work using the bufferpools.
28359 Changed API a bit, subclasses have to write into a buffer
28360 provided by the base class.
28361 More debug info in nego functions.
28363 * gst/elements/gstidentity.c: (gst_identity_init),
28364 (gst_identity_transform):
28365 Port to new base class.
28367 2005-07-15 Wim Taymans <wim@fluendo.com>
28369 * gst/gstmessage.c: (gst_message_new_state_changed):
28370 * tools/gst-launch.c: (event_loop), (main):
28371 Totally dump messages in -launch with the -m option.
28372 Fix message name for State messages,
28374 2005-07-14 Wim Taymans <wim@fluendo.com>
28376 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28377 Post error messages on errors.
28379 2005-07-14 Wim Taymans <wim@fluendo.com>
28381 * gst/gstcaps.c: (gst_caps_do_simplify):
28385 Define error for stream stopped.
28387 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28388 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28389 Do proper return values.
28391 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28392 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28393 (gst_pad_get_range):
28394 Better return values.
28397 Reorganise return values, add macro to check for fatal errors.
28399 * gst/gstqueue.c: (gst_queue_chain):
28400 Return proper GstFlowReturn values,
28402 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28404 * docs/gst/gstreamer-sections.txt:
28405 * docs/gst/gstreamer.types:
28406 * docs/gst/tmpl/gst.sgml:
28407 * docs/gst/tmpl/gstbasesink.sgml:
28408 * docs/gst/tmpl/gstbasesrc.sgml:
28409 * docs/gst/tmpl/gstbasetransform.sgml:
28410 * docs/gst/tmpl/gstbin.sgml:
28411 * docs/gst/tmpl/gstbuffer.sgml:
28412 * docs/gst/tmpl/gstcaps.sgml:
28413 * docs/gst/tmpl/gstclock.sgml:
28414 * docs/gst/tmpl/gstcompat.sgml:
28415 * docs/gst/tmpl/gstconfig.sgml:
28416 * docs/gst/tmpl/gstelement.sgml:
28417 * docs/gst/tmpl/gstelementdetails.sgml:
28418 * docs/gst/tmpl/gstelementfactory.sgml:
28419 * docs/gst/tmpl/gstenumtypes.sgml:
28420 * docs/gst/tmpl/gsterror.sgml:
28421 * docs/gst/tmpl/gstevent.sgml:
28422 * docs/gst/tmpl/gstfakesink.sgml:
28423 * docs/gst/tmpl/gstfakesrc.sgml:
28424 * docs/gst/tmpl/gstfilesink.sgml:
28425 * docs/gst/tmpl/gstfilesrc.sgml:
28426 * docs/gst/tmpl/gstfilter.sgml:
28427 * docs/gst/tmpl/gstformat.sgml:
28428 * docs/gst/tmpl/gstghostpad.sgml:
28429 * docs/gst/tmpl/gstimplementsinterface.sgml:
28430 * docs/gst/tmpl/gstindex.sgml:
28431 * docs/gst/tmpl/gstindexfactory.sgml:
28432 * docs/gst/tmpl/gstinfo.sgml:
28433 * docs/gst/tmpl/gstiterator.sgml:
28434 * docs/gst/tmpl/gstmacros.sgml:
28435 * docs/gst/tmpl/gstmemchunk.sgml:
28436 * docs/gst/tmpl/gstminiobject.sgml:
28437 * docs/gst/tmpl/gstobject.sgml:
28438 * docs/gst/tmpl/gstpad.sgml:
28439 * docs/gst/tmpl/gstpadtemplate.sgml:
28440 * docs/gst/tmpl/gstparse.sgml:
28441 * docs/gst/tmpl/gstpipeline.sgml:
28442 * docs/gst/tmpl/gstplugin.sgml:
28443 * docs/gst/tmpl/gstpluginfeature.sgml:
28444 * docs/gst/tmpl/gstquery.sgml:
28445 * docs/gst/tmpl/gstqueue.sgml:
28446 * docs/gst/tmpl/gstregistry.sgml:
28447 * docs/gst/tmpl/gstregistrypool.sgml:
28448 * docs/gst/tmpl/gstscheduler.sgml:
28449 * docs/gst/tmpl/gstschedulerfactory.sgml:
28450 * docs/gst/tmpl/gststructure.sgml:
28451 * docs/gst/tmpl/gstsystemclock.sgml:
28452 * docs/gst/tmpl/gsttaglist.sgml:
28453 * docs/gst/tmpl/gsttagsetter.sgml:
28454 * docs/gst/tmpl/gsttrace.sgml:
28455 * docs/gst/tmpl/gsttrashstack.sgml:
28456 * docs/gst/tmpl/gsttypefind.sgml:
28457 * docs/gst/tmpl/gsttypefindfactory.sgml:
28458 * docs/gst/tmpl/gsttypes.sgml:
28459 * docs/gst/tmpl/gsturihandler.sgml:
28460 * docs/gst/tmpl/gsturitype.sgml:
28461 * docs/gst/tmpl/gstutils.sgml:
28462 * docs/gst/tmpl/gstvalue.sgml:
28463 * docs/gst/tmpl/gstversion.sgml:
28464 * docs/gst/tmpl/gstxml.sgml:
28465 * docs/libs/tmpl/gstcontrol.sgml:
28466 * docs/libs/tmpl/gstdataprotocol.sgml:
28467 * docs/libs/tmpl/gstdparam.sgml:
28468 * docs/libs/tmpl/gstdplinint.sgml:
28469 * docs/libs/tmpl/gstdpman.sgml:
28470 * docs/libs/tmpl/gstdpsmooth.sgml:
28471 * docs/libs/tmpl/gstgetbits.sgml:
28472 * docs/libs/tmpl/gstunitconvert.sgml:
28473 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28474 (gst_push_src_base_init), (gst_push_src_class_init),
28475 (gst_push_src_init), (gst_push_src_create):
28476 * gst/base/gstpushsrc.h:
28477 * gst/elements/gstelements.c:
28478 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28479 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28480 (gst_fake_sink_init), (gst_fake_sink_set_property),
28481 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28482 (gst_fake_sink_event), (gst_fake_sink_preroll),
28483 (gst_fake_sink_render), (gst_fake_sink_change_state):
28484 * gst/elements/gstfakesink.h:
28485 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28486 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28487 (gst_fake_src_base_init), (gst_fake_src_class_init),
28488 (gst_fake_src_init), (gst_fake_src_event_handler),
28489 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28490 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28491 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28492 (gst_fake_src_create_buffer), (gst_fake_src_create),
28493 (gst_fake_src_start), (gst_fake_src_stop):
28494 * gst/elements/gstfakesrc.h:
28495 * gst/elements/gstfilesink.c: (_do_init),
28496 (gst_file_sink_base_init), (gst_file_sink_class_init),
28497 (gst_file_sink_init), (gst_file_sink_dispose),
28498 (gst_file_sink_set_location), (gst_file_sink_set_property),
28499 (gst_file_sink_get_property), (gst_file_sink_open_file),
28500 (gst_file_sink_close_file), (gst_file_sink_query),
28501 (gst_file_sink_event), (gst_file_sink_render),
28502 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28503 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28504 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28505 * gst/elements/gstfilesink.h:
28506 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28507 (gst_file_src_class_init), (gst_file_src_init),
28508 (gst_file_src_finalize), (gst_file_src_set_location),
28509 (gst_file_src_set_property), (gst_file_src_get_property),
28510 (gst_file_src_map_region), (gst_file_src_map_small_region),
28511 (gst_file_src_create_mmap), (gst_file_src_create_read),
28512 (gst_file_src_create), (gst_file_src_is_seekable),
28513 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28514 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28515 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28516 (gst_file_src_uri_handler_init):
28517 * gst/elements/gstfilesrc.h:
28518 more autistic cleanliness in functions/names/defines
28520 2005-07-13 Andy Wingo <wingo@pobox.com>
28522 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28523 source couldn't negotiate.
28525 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28529 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28530 function. I am channeling Hades. Put your boots on suckers!!!
28532 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28534 * testsuite/caps/Makefile.am:
28535 * testsuite/caps/value_compare.c:
28536 * testsuite/caps/value_intersect.c:
28537 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28538 move two testsuite apps over to the check dir
28540 2005-07-12 Wim Taymans <wim@fluendo.com>
28542 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28543 Added more debug info in the negotiate process.
28545 * gst/gstmessage.h:
28546 Prepare for segment playback.
28548 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28554 * tools/gst-launch.c: (main):
28555 NULL pipeline on errors.
28557 2005-07-12 Andy Wingo <wingo@pobox.com>
28559 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28560 not it comes from a malloc region. Make sure our copy gets freed.
28562 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28564 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28565 * check/gst/gstmessage.c: (GST_START_TEST):
28566 * check/gst/gststructure.c: (GST_START_TEST),
28567 (gst_structure_suite), (main):
28569 * gst/gstelement.c: (gst_element_message_full):
28570 clean up GError and debug string now that they get copied
28571 * gst/gstmessage.c: (gst_message_new_error),
28572 (gst_message_new_warning), (gst_message_parse_error),
28573 (gst_message_parse_warning):
28574 use GST_TYPE_G_ERROR for structure_new, and take copies of
28575 arguments, so that we don't mess up refcounting
28577 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28579 * check/Makefile.am:
28580 add per-test valgrind targets
28581 * check/gst-libs/gdp.c: (GST_START_TEST),
28582 (gst_data_protocol_suite), (main):
28585 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28587 * check/Makefile.am:
28588 instate more valgrindable tests
28589 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28590 (GST_START_TEST), (fakesrc_suite):
28591 * check/gst/gstpad.c: (GST_START_TEST):
28592 * check/gst/gststructure.c: (GST_START_TEST):
28594 * docs/gst/tmpl/gstminiobject.sgml:
28595 * gst/gstpad.c: (gst_pad_finalize):
28596 fix the static mutex leak
28598 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28600 * check/Makefile.am:
28601 add two more tests for valgrinding
28602 * check/gst/gstvalue.c: (GST_START_TEST):
28603 test refcount of deserialized buffer, found a leak
28604 * docs/gst/gstreamer-docs.sgml:
28605 * docs/gst/gstreamer-sections.txt:
28606 * docs/gst/gstreamer.types:
28607 * docs/gst/tmpl/gstminiobject.sgml:
28608 add miniobject to docs
28609 * gst/gstminiobject.c:
28611 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28612 (gst_string_unwrap):
28613 fix a hard-to-find invalid write for one of the tests
28614 fix a leak for deserialized buffers
28616 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28618 * docs/pwg/advanced-events.xml:
28619 * docs/pwg/advanced-request.xml:
28620 * docs/pwg/advanced-scheduling.xml:
28621 * docs/pwg/appendix-porting.xml:
28622 * docs/pwg/building-boiler.xml:
28623 * docs/pwg/intro-preface.xml:
28624 * docs/pwg/other-ntoone.xml:
28625 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28626 of example code and explanation for pad activation, loop() and
28627 getrange() functions and a bit more. Remove old comments pointing
28629 * examples/pwg/Makefile.am:
28630 Add loop/getrange examples.
28632 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28635 check for valgrind binary + some fixes
28637 valgrind suppressions for the tests
28638 * check/Makefile.am:
28639 add a valgrind: target that valgrinds the unit tests
28640 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28641 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28642 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28643 * check/gst/gstghostpad.c:
28645 * check/gst/gstdata.c:
28647 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28648 (thread_unref), (gst_mini_object_suite), (main):
28650 * gst/gst.c: (gst_deinit):
28652 add a method to clean up.
28653 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28654 (gst_system_clock_obtain):
28655 allow for disposing the system clock.
28656 * tools/gst-launch.c: (main):
28659 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28661 * docs/gst/tmpl/gstbasesrc.sgml:
28662 * docs/gst/tmpl/gstfakesrc.sgml:
28663 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28664 (gst_base_src_init), (gst_base_src_set_property),
28665 (gst_base_src_get_property), (gst_base_src_get_range),
28666 (gst_base_src_start):
28667 * gst/base/gstbasesrc.h:
28668 add num-buffers property
28669 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28670 (gst_fakesrc_init), (gst_fakesrc_set_property),
28671 (gst_fakesrc_get_property), (gst_fakesrc_create),
28672 (gst_fakesrc_start):
28673 remove num-buffers property
28675 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28677 * docs/gst/gstreamer-sections.txt:
28678 * docs/gst/tmpl/gstbasesink.sgml:
28679 * docs/gst/tmpl/gstbasesrc.sgml:
28680 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28681 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28682 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28683 (gst_base_sink_set_property), (gst_base_sink_get_property),
28684 (gst_base_sink_handle_object), (gst_base_sink_event),
28685 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28686 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28687 (gst_base_sink_loop), (gst_base_sink_deactivate),
28688 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28689 (gst_base_sink_change_state):
28690 * gst/base/gstbasesink.h:
28691 * gst/base/gstbasesrc.h:
28692 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28693 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28694 (gst_filesink_init):
28695 more macro splitting
28697 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28699 * gst/gstelement.c: (gst_element_get_bus):
28701 * tools/gst-launch.c: (check_intr), (event_loop):
28704 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28706 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28709 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28711 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28712 (gst_base_src_finalize):
28713 add finalize method and clean up properly
28714 * gst/gstpipeline.c: (gst_pipeline_dispose):
28717 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28719 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28721 add more things to check
28722 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28723 * gst/gstelement.c:
28726 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28728 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28729 (GST_START_TEST), (fakesrc_suite):
28730 * check/gst-libs/gdp.c: (GST_START_TEST):
28731 * check/gst/gst.c: (GST_START_TEST):
28732 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28733 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28734 * check/gst/gstbus.c: (GST_START_TEST):
28735 * check/gst/gstcaps.c: (GST_START_TEST):
28736 * check/gst/gstdata.c: (GST_START_TEST):
28737 * check/gst/gstelement.c: (GST_START_TEST):
28738 * check/gst/gstghostpad.c: (GST_START_TEST):
28739 * check/gst/gstiterator.c: (GST_START_TEST):
28740 * check/gst/gstmessage.c: (GST_START_TEST):
28741 * check/gst/gstobject.c: (GST_START_TEST):
28742 * check/gst/gstpad.c: (GST_START_TEST):
28743 * check/gst/gststructure.c: (GST_START_TEST):
28744 * check/gst/gstsystemclock.c: (GST_START_TEST),
28745 (gst_systemclock_suite):
28746 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28747 * check/gst/gstvalue.c: (GST_START_TEST):
28748 * check/pipelines/cleanup.c: (GST_START_TEST):
28749 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28750 * check/states/sinks.c: (GST_START_TEST):
28751 * check/gstcheck.c: (gst_check_init):
28752 * check/gstcheck.h:
28753 add debugging category
28754 use GST_START_TEST now, so we add a debug line
28756 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28758 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28759 add test for state change message on a bin
28760 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28762 * gst/gstbin.c: (gst_bin_init):
28763 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28764 * gst/gstelement.c: (gst_element_post_message),
28765 (gst_element_set_state):
28766 * gst/gstelementfactory.c: (gst_element_factory_create):
28767 * gst/gstmessage.c: (gst_message_new):
28768 * gst/gstscheduler.c:
28769 various debugging additions and cleanups
28771 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28773 * check/Makefile.am:
28774 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28776 adding tests for elements
28777 * gst/gstelement.c: (gst_element_dispose):
28779 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28781 * gst/registries/gstlibxmlregistry.c: (load_feature):
28782 plug more leaks. A simple gst_init() now is leakfree, yay.
28784 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28786 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28787 (gst_xml_registry_load):
28788 plug another memleak
28790 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28793 use GST_SET_ERROR_CFLAGS
28794 * docs/faq/cvs.xml:
28795 change to ERROR_CFLAGS
28797 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28800 make GST_ERROR_CFLAGS overridable and re-enable Werror
28801 * docs/faq/cvs.xml:
28802 add a note about error CFLAGS
28803 * docs/gst/tmpl/gstfakesrc.sgml:
28804 * gst/elements/gstfakesrc.c:
28805 comment out some unused code
28806 * gst/gst.c: (split_and_iterate):
28807 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28811 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28813 * common/Makefile.am:
28814 * common/gtk-doc.mak:
28815 * docs/gst/Makefile.am:
28816 factor out gtk-doc.mak
28818 2005-07-07 Wim Taymans <wim@fluendo.com>
28820 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28821 (gst_thread_scheduler_dispose):
28822 Unlock the STREAM_LOCK completely.
28824 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28826 * check/Makefile.am:
28827 * check/elements/.cvsignore:
28828 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28829 (START_TEST), (fakesrc_suite), (main):
28830 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28831 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28832 (gst_fakesrc_create), (gst_fakesrc_start):
28833 * gst/elements/gstfakesrc.h:
28834 adding a first element test
28836 2005-07-07 Andy Wingo <wingo@pobox.com>
28838 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28841 2005-07-07 Wim Taymans <wim@fluendo.com>
28847 2005-07-07 Wim Taymans <wim@fluendo.com>
28849 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28850 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28851 Allow subclasses to implement their own negotiation.
28853 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28855 * docs/design/part-gstbin.txt:
28856 * docs/design/part-gstpipeline.txt:
28857 Update design notes to reflect the movement of
28858 responsibility for bus handling from GstPipeline to
28861 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28864 Remove unnecessary queue2/3/4 examples.
28866 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28868 * examples/Makefile.am:
28869 * examples/helloworld/helloworld.c: (event_loop), (main):
28870 * examples/queue/queue.c: (event_loop), (main):
28871 * examples/queue2/queue2.c: (main):
28872 Update a couple of the examples to work again.
28874 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28875 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28876 Spelling corrections and extra debug.
28878 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28879 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28880 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28882 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28883 (gst_pipeline_change_state):
28884 * gst/gstpipeline.h:
28885 Move the bus handler for children to the GstBin, and create a
28886 separate bus for receiving messages from children to the one the
28887 bus sends 'upwards' on.
28889 2005-07-06 Wim Taymans <wim@fluendo.com>
28892 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28893 (gst_base_sink_handle_object), (gst_base_sink_loop),
28894 (gst_base_sink_change_state):
28895 * gst/base/gstbasesink.h:
28896 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28897 (gst_base_src_init), (gst_base_src_setcaps),
28898 (gst_base_src_getcaps), (gst_base_src_loop),
28899 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28900 (gst_base_src_start), (gst_base_src_change_state):
28901 * gst/base/gstbasesrc.h:
28902 Make basesrc negotiate.
28903 Handle the case where preroll fails in basesink.
28906 2005-07-06 Wim Taymans <wim@fluendo.com>
28908 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28909 Implement the fixate function.
28910 Clean up acceptcaps.
28912 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28914 * docs/pwg/building-filterfactory.xml:
28915 * docs/pwg/pwg.xml:
28916 Remove never-written filter-factory chapter; I'll add the various
28917 base classes to part 4 ("other element types") later on.
28919 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28921 * docs/pwg/advanced-negotiation.xml:
28922 * docs/pwg/building-boiler.xml:
28923 * docs/pwg/building-pads.xml:
28924 * docs/pwg/pwg.xml:
28925 * examples/pwg/Makefile.am:
28926 Add a chapter on caps negotiation, simplify the original code
28927 samples a bit w.r.t. caps negotiation, add link to the advanced
28928 section. Add a bunch of examples showing different use cases of
28929 different types of caps negotiation. Upstream renegotiation isn't
28930 fully documented yet since nobody knows how that works.
28932 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28934 * check/gst/gstpad.c:
28935 * check/gstcheck.c:
28936 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28937 if pad has no parent, return NULL as list of internal links
28939 2005-07-05 Andy Wingo <wingo@pobox.com>
28941 * gst/elements/gstfilesrc.c:
28942 * gst/elements/gstfakesrc.c:
28943 * gst/base/gstpushsrc.c:
28944 * gst/base/gstbasesrc.h:
28945 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28947 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28950 better report generation target (lcov needs a patch)
28952 2005-07-05 Andy Wingo <wingo@pobox.com>
28954 * gst/elements, testsuite: Null if we got it...
28956 2005-07-05 Wim Taymans <wim@fluendo.com>
28959 * libs/gst/dataprotocol/Makefile.am:
28960 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28961 * libs/gst/dataprotocol/dataprotocol.h:
28962 * pkgconfig/Makefile.am:
28963 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28964 * pkgconfig/gstreamer-dataprotocol.pc.in:
28965 Ported dataprotol to 0.9.
28966 Added pkgconfig files.
28968 2005-07-05 Andy Wingo <wingo@pobox.com>
28970 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28971 Default to returning TRUE for the case when tranform_caps returns
28972 a fixed caps, like for identity or volume.
28974 * check/gst/gstbus.c (pound_bus_with_messages):
28975 * check/gst/gstmessage.c (START_TEST):
28976 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28977 message API change.
28979 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28980 logic weaks here: always run transform_caps, trying passthrough
28981 operation only if the original caps intersects with the transform.
28983 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28984 source and sink caps.
28986 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28987 Intersect the peer caps with the pad template before going into
28989 (gst_base_transform_transform_caps): More debugging.
28991 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28994 2005-07-04 Edward Hervey <edward@fluendo.com>
28998 (gst_pad_add_*_probe): now returns the signal id for better wrapping
29001 2005-07-04 Andy Wingo <wingo@pobox.com>
29003 * check/gst/gstpad.c: Only set explicit caps on pads.
29005 2005-07-01 Andy Wingo <wingo@pobox.com>
29007 * tests/network-clock.scm: Commentary update.
29009 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
29010 Didn't really make sense, not implementable with basetransform,
29012 (gst_identity_transform): Unref inbuf via make_writable. Feeble
29013 attempt at implementing the sync property, needs an unlock method.
29015 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
29016 New func, by default returns the same caps (the identity
29018 (gst_base_transform_getcaps): Uses transform_caps to return
29019 something sensible.
29020 (gst_base_transform_setcaps): Complicated logic to get caps on
29021 both pads, even if they are different, and to call set_caps once
29022 for every time both pads get their caps set.
29023 (gst_base_transform_handle_buffer): Give the ref to the transform
29024 function. Allows in-place modification of the buffer.
29026 * gst/base/gstbasetransform.h (transform_caps): New class method.
29027 Given caps on one side, what can I do on the other.
29028 (set_caps): Take two caps, one for each side of the element.
29031 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
29032 caps in place. This is safe because we can check the mutability of
29033 the caps, and a good idea because fixate functions are just called
29034 as a matter of last resort. (Not actually implemented.)
29035 (gst_pad_set_caps): If the caps we're setting is actually the same
29036 as the existing pad caps, just update the pointer without calling
29037 setcaps. Assert that caps is either NULL or fixed, as per the
29040 * gst/gstghostpad.c: Update for fixate changes.
29042 2005-07-02 Andy Wingo <wingo@pobox.com>
29045 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29046 two refcounts makes it immutable, which is enough. Doc more.
29048 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
29050 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29051 Put the mini_object into GValue as a mini_object,
29052 not a gpointer, since that's how we declared
29055 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29057 * examples/pwg/Makefile.am:
29058 Fix buildbot again.
29060 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29062 * docs/pwg/building-testapp.xml:
29064 * examples/pwg/Makefile.am:
29067 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29070 * examples/Makefile.am:
29071 * examples/pwg/Makefile.am:
29072 * examples/pwg/extract.pl:
29073 Enable building the PWG examples.
29074 * docs/pwg/advanced-interfaces.xml:
29075 Add URI interface stub.
29076 * docs/pwg/advanced-types.xml:
29077 * docs/pwg/other-autoplugger.xml:
29078 * docs/pwg/appendix-porting.xml:
29079 * docs/pwg/pwg.xml:
29080 Add porting guide (mostly stubs), remove autoplugging (see ADM).
29081 * docs/pwg/building-boiler.xml:
29082 * docs/pwg/building-chainfn.xml:
29083 * docs/pwg/building-pads.xml:
29084 * docs/pwg/building-props.xml:
29085 * docs/pwg/building-state.xml:
29086 * docs/pwg/building-testapp.xml:
29087 Update the building-*.xml parts for 0.9 changes. All examples
29088 code blocks compile in examples/pwg/*.
29090 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29092 * docs/manual/advanced-autoplugging.xml:
29093 * docs/manual/appendix-checklist.xml:
29094 * docs/manual/appendix-integration.xml:
29095 * docs/manual/highlevel-components.xml:
29096 Fix playbin/decodebin examples, update docs a bit, mention bus
29097 instead of signals in various places, mention kmplayer and
29098 kaffeine since they have a working GStreamer backend in the KDE
29101 2005-06-30 Wim Taymans <wim@fluendo.com>
29104 * docs/design/draft-ghostpads.txt:
29105 * docs/design/draft-push-pull.txt:
29106 * docs/design/draft-query.txt:
29107 * docs/design/part-TODO.txt:
29108 * docs/design/part-query.txt:
29109 Added CHANGES-0.9 doc, updated status of other docs.
29114 2005-06-30 Wim Taymans <wim@fluendo.com>
29116 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29117 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29118 (gst_base_sink_change_state):
29119 * gst/base/gstbasesink.h:
29120 Some tweaks, only EOS and a buffer complete a preroll.
29122 2005-06-30 Andy Wingo <wingo@pobox.com>
29124 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29125 activate_push down to the internal pad as well.
29127 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29129 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29131 * gst/gsttaginterface.c:
29132 Some documentation fixes (#307394 and #307397).
29134 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29136 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29138 * gst/gstvalue.c: (gst_value_intersect_list):
29139 Fix memleak (#309125).
29141 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29143 * docs/manual/advanced-dataaccess.xml:
29144 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29145 * docs/manual/basics-pads.xml:
29146 Add reference for filtered caps to above chapter.
29148 2005-06-30 Wim Taymans <wim@fluendo.com>
29150 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29151 (gst_bin_change_state):
29153 Lame attempt at making the state change function a bit
29156 2005-06-30 Wim Taymans <wim@fluendo.com>
29158 * docs/design/part-clocks.txt:
29159 * docs/design/part-element-sink.txt:
29160 * docs/design/part-events.txt:
29161 * docs/design/part-preroll.txt:
29162 * docs/design/part-states.txt:
29163 Some more tweeks and additions to the docs.
29165 2005-06-30 Wim Taymans <wim@fluendo.com>
29167 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29168 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29169 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29170 (gst_pad_check_pull_range), (gst_pad_get_range),
29171 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29173 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29174 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29175 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29176 (gst_pad_remove_buffer_probe):
29177 Removed atomic operations, use existing LOCK.
29178 Move exception handling out of main code path.
29180 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29182 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29183 (silly_return_true_function), (gst_pad_class_init),
29184 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29185 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29186 (gst_pad_send_event):
29187 Fix accumulator, add default value by using _emitv() instead
29188 of _emit() for signal emission.
29190 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29192 * docs/manual/advanced-dataaccess.xml:
29193 * examples/manual/Makefile.am:
29195 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29198 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29200 * gst/elements/gstfilesink.c: (gst_filesink_render):
29201 Simplify code so that we don't have to handle short
29202 writes and return GST_FLOW_ERROR if an error occured.
29204 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29206 * docs/gst/gstreamer-docs.sgml:
29207 Remove probes more.
29209 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29211 * docs/gst/gstreamer-sections.txt:
29212 * docs/gst/tmpl/gstpad.sgml:
29213 * docs/gst/tmpl/gstprobe.sgml:
29215 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29216 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29217 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29218 (gst_pad_push_event), (gst_pad_send_event):
29220 * gst/gstutils.c: (gst_pad_add_data_probe),
29221 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29222 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29223 (gst_pad_remove_buffer_probe):
29225 Remove old probes, add new g-signal-based probes and some utility
29228 2005-06-29 Edward Hervey <edward@fluendo.com>
29230 * gst/gstelementfactory.c:
29233 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29234 the definition to the header file.
29236 2005-06-29 Andy Wingo <wingo@pobox.com>
29238 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29239 plugins from the source directory.
29241 2005-06-29 Wim Taymans <wim@fluendo.com>
29243 * docs/gst/tmpl/gstbuffer.sgml:
29244 * docs/gst/tmpl/gstclock.sgml:
29245 Some fixings for blantently wrong text.
29247 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29249 * check/Makefile.am:
29250 * gst/gst.c: (add_path_func), (init_pre):
29251 * gst/gstregistry.c: (gst_registry_add_path):
29252 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29253 only scan the GST_PLUGIN_PATH locations, and not add
29256 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29258 * docs/gst/gstreamer-sections.txt:
29259 * docs/gst/tmpl/gstbasesrc.sgml:
29260 * gst/gstelement.c:
29261 * gst/gstelement.h:
29266 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29268 * docs/manual/advanced-autoplugging.xml:
29269 Fix autoplugging example.
29271 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29273 * docs/manual/advanced-autoplugging.xml:
29274 * docs/manual/mime-world.fig:
29275 Try to get autoplugging working, fix type detection. Fix text
29276 in hello-world image.
29278 2005-06-29 Wim Taymans <wim@fluendo.com>
29280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29281 (gst_base_sink_change_state):
29285 map SIGNAL and BROADCAST to the right function.
29288 Remove redundant braces.
29290 * gst/gstpad.c: (gst_pad_set_caps):
29291 Don't call setcaps function when reseting caps to NULL.
29293 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29294 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29295 (gst_system_clock_id_unschedule):
29296 Use BROADCAST as this is what we do.
29298 2005-06-29 Wim Taymans <wim@fluendo.com>
29300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29301 We are actually prerolling before commiting the state
29304 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29306 * docs/manual/advanced-clocks.xml:
29307 * docs/manual/advanced-interfaces.xml:
29308 * docs/manual/advanced-metadata.xml:
29309 * docs/manual/advanced-position.xml:
29310 * docs/manual/advanced-schedulers.xml:
29311 * docs/manual/advanced-threads.xml:
29312 * docs/manual/appendix-porting.xml:
29313 * docs/manual/basics-bins.xml:
29314 * docs/manual/basics-bus.xml:
29315 * docs/manual/basics-elements.xml:
29316 * docs/manual/basics-helloworld.xml:
29317 * docs/manual/basics-pads.xml:
29318 * docs/manual/highlevel-components.xml:
29319 * docs/manual/manual.xml:
29320 * docs/manual/thread.fig:
29321 Update (until threads/scheduling) Application Development Manual;
29322 remove GstThread, add GstBus, add simple porting checklist, add
29323 documentation for tag writing, clocks, make all examples until this
29324 part compile and run.
29325 * examples/manual/Makefile.am:
29326 Update from changes to Application Development Manual; add bus
29327 example, remove thread example.
29329 2005-06-28 Wim Taymans <wim@fluendo.com>
29331 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29332 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29333 (gst_bus_source_dispatch):
29334 Add debugging messages.
29335 Make internal methods static.
29336 Handle the case where the bus is flushed in the handler.
29338 * gst/gstelement.c: (gst_element_get_bus):
29339 Fix refcount in _get_bus();
29341 * gst/gstpipeline.c: (gst_pipeline_change_state),
29342 (gst_pipeline_get_clock_func):
29343 Clock refcounting fixes.
29344 Handle the case where preroll timed out more gracefully.
29346 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29347 Clean up the internal thread in dispose. This is needed
29348 for subclasses that actually get disposed.
29350 * gst/schedulers/threadscheduler.c:
29351 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29352 (gst_thread_scheduler_dispose):
29353 Free thread pool in dispose.
29355 2005-06-28 Andy Wingo <wingo@pobox.com>
29357 * tests/network-clock-utils.scm (debug, print-event): New utils.
29359 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29360 (*packet-loss*): Unified loss probability.
29361 (network-time): Report out-of-band events.
29363 * tests/plot-data: Add support for out-of-band events. Hack it
29364 into this script instead of passing it down the pipe; should fix
29367 2005-06-28 Wim Taymans <wim@fluendo.com>
29369 * docs/gst/gstreamer.types:
29370 * docs/gst/tmpl/gstbasesrc.sgml:
29371 * docs/gst/tmpl/gstpad.sgml:
29374 2005-06-28 Wim Taymans <wim@fluendo.com>
29376 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29377 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29378 (gst_proxy_pad_do_fixatecaps):
29379 Correctly proxy the check_pull_range function.
29381 2005-06-28 Andy Wingo <wingo@pobox.com>
29383 * tests/network-clock.scm: Removed need for slib.
29385 2005-06-28 Wim Taymans <wim@fluendo.com>
29387 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29388 (gst_basesink_preroll_queue_flush):
29389 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29390 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29391 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29392 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29393 (gst_proxy_pad_set_property):
29396 * gst/gstqueue.c: (gst_queue_init):
29397 The deprecated pad loop function is removed now.
29399 2005-06-28 Andy Wingo <wingo@pobox.com>
29401 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29402 New parameters, simulate network packet loss.
29404 * tests/network-clock-utils.scm: Initialize the RNG.
29406 2005-06-28 Wim Taymans <wim@fluendo.com>
29408 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29409 (gst_basesink_event), (gst_basesink_deactivate):
29410 Flushing the preroll queue always needs to unlock the waiters.
29412 2005-06-28 Edward Hervey <edward@fluendo.com>
29414 * gst/gstpipeline.c: (gst_pipeline_send_event):
29415 Wheen a seek was successful on a pipeline, set the stream_time to the
29416 seek offset in order to have a synchronized stream_time.
29418 2005-06-28 Wim Taymans <wim@fluendo.com>
29420 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29421 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29422 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29423 (gst_proxy_pad_do_fixatecaps):
29424 Call wrapper function instead of just calling the function
29425 pointers. This takes care of any locking and whatmore.
29427 2005-06-28 Wim Taymans <wim@fluendo.com>
29429 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29430 (gst_pad_pull_range):
29432 CONNECTED -> LINKED.
29434 2005-06-28 Andy Wingo <wingo@pobox.com>
29436 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29437 source-munging commit!!!
29439 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29440 (gst_object_sink): Take gpointer arguments, not GstObject --
29441 avoids casts. Like GLib.
29443 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29446 2005-06-27 Andy Wingo <wingo@pobox.com>
29448 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29451 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29452 returns a sorted copy of the trace list.
29453 (gst_alloc_trace_print_live): New API, only prints traces with
29454 live objects. Sort the list.
29455 (gst_alloc_trace_print_all): Sort the list.
29456 (gst_alloc_trace_print): Align columns.
29458 * gst/elements/gstttypefindelement.c:
29459 * gst/elements/gsttee.c:
29460 * gst/base/gstbasesrc.c:
29461 * gst/base/gstbasesink.c:
29462 * gst/base/gstbasetransform.c:
29463 * gst/gstqueue.c: Adapt for pad activation changes.
29465 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29467 (gst_pipeline_dispose): Drop ref on sched.
29469 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29470 (gst_pad_activate_default): Push mode by default.
29471 (pre_activate_switch, post_activate_switch): New stubs, things to
29472 do before and after switching activation modes on pads.
29473 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29474 the pad's activate function to choose which mode to activate.
29475 Shortcut on deactivation and call the right function directly.
29476 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29478 (gst_pad_activate_push): New API, same for push mode.
29479 (gst_pad_set_activate_function)
29480 (gst_pad_set_activatepull_function)
29481 (gst_pad_set_activatepush_function): Setters for new API.
29483 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29484 Trace all miniobjects.
29485 (gst_mini_object_make_writable): Unref the arg if we copy, like
29486 gst_caps_make_writable.
29488 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29490 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29491 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29492 Adapt for new pad API.
29494 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29496 * gst/gstelement.h:
29497 * gst/gstelement.c (gst_element_iterate_src_pads)
29498 (gst_element_iterate_sink_pads): New API functions.
29500 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29501 should fold into gstiterator.c in some form.
29502 (gst_element_pads_activate): Simplified via use of fold and
29503 delegation of decisions to gstpad->activate.
29505 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29508 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29509 class once in init, like gstmessage. Didn't run into this issue
29510 but it seems correct. Don't initialize a trace, gstminiobject does
29513 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29514 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29516 (assert_live_count): New util function, uses alloc traces to check
29519 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29520 To be modified when unlink drops the internal pad.
29522 2005-06-27 Wim Taymans <wim@fluendo.com>
29524 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29525 (gst_bin_change_state):
29526 Cleanup the get_state() function a little, make sure it
29527 iterates the same set of elements.
29528 Added stub iterate_state_order().
29530 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29532 * docs/gst/gstreamer-docs.sgml:
29533 * docs/gst/gstreamer-sections.txt:
29534 * docs/gst/gstreamer.types:
29535 * docs/gst/tmpl/gstbasesink.sgml:
29536 * docs/gst/tmpl/gstbasesrc.sgml:
29537 * docs/gst/tmpl/gstbasetransform.sgml:
29538 * docs/gst/tmpl/gstelement.sgml:
29539 * docs/gst/tmpl/gstiterator.sgml:
29540 * gst/base/gstbasesrc.c:
29541 * gst/base/gstbasesrc.h:
29542 * gst/base/gstbasetransform.h:
29543 * gst/gstelement.c:
29544 * gst/gstiterator.h:
29545 adding basetransform and iterator docs
29547 2005-06-27 Andy Wingo <wingo@pobox.com>
29549 * docs/design/part-activation.txt: Notes on how activation should
29550 work -- not quite implemented yet.
29552 2005-06-25 Wim Taymans <wim@fluendo.com>
29554 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29555 At least get the chain function correct, needs more
29558 2005-06-25 Wim Taymans <wim@fluendo.com>
29560 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29561 (gst_basesink_handle_object), (gst_basesink_event),
29562 (gst_basesink_do_sync), (gst_basesink_handle_event),
29563 (gst_basesink_change_state):
29565 Right, two problems here: ghostpads don't take locks and
29566 glib _rec_mutex_lock_full() with depth==0 still locks.
29567 Catch illegal locking and g_warn them.
29569 2005-06-25 Wim Taymans <wim@fluendo.com>
29571 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29572 Have to check for completion now...
29574 2005-06-25 Wim Taymans <wim@fluendo.com>
29576 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29577 (gst_basesink_handle_object), (gst_basesink_event),
29578 (gst_basesink_do_sync), (gst_basesink_handle_event),
29579 (gst_basesink_change_state):
29581 Unlock STREAM_LOCK whatever the recursion was.
29583 2005-06-25 Wim Taymans <wim@fluendo.com>
29585 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29586 (gst_basesink_preroll_queue_empty),
29587 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29588 (gst_basesink_event), (gst_basesink_do_sync),
29589 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29590 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29591 (gst_basesink_change_state):
29592 Reworked the base sink, handle event and buffer serialisation
29593 correctly and removed possible deadlock.
29594 Handle EOS correctly.
29596 2005-06-25 Wim Taymans <wim@fluendo.com>
29598 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29599 (gst_pipeline_change_state):
29600 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29601 Allow elements to post EOS in the state change function.
29602 Fix up -launch, make it exit the poll loop when the
29603 pipeline actually changed state.
29604 Fix up warning parsing in -launch.
29606 2005-06-25 Wim Taymans <wim@fluendo.com>
29608 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29609 (gst_tee_sink_activate):
29610 Core takes STREAM_LOCK for us now.
29612 2005-06-25 Wim Taymans <wim@fluendo.com>
29614 * gst/gstelement.c: (gst_element_get_state_func),
29615 (gst_element_set_state):
29616 * gst/gstelement.h:
29617 * gst/gstmessage.c: (gst_message_parse_error),
29618 (gst_message_parse_warning):
29619 Keep track of current target state while performing a state
29620 change so that subclasses can do something interesting.
29621 Fix parsing of warning/error messages when GError is NULL.
29623 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29625 * docs/gst/Makefile.am:
29626 * docs/gst/gstreamer-docs.sgml:
29627 * docs/gst/gstreamer-sections.txt:
29628 * docs/gst/gstreamer.types:
29629 * docs/gst/tmpl/gstbasesink.sgml:
29630 * docs/gst/tmpl/gstbasesrc.sgml:
29631 * docs/gst/tmpl/gstbin.sgml:
29632 * docs/gst/tmpl/gstcompat.sgml:
29633 * docs/gst/tmpl/gstfakesink.sgml:
29634 * docs/gst/tmpl/gstfakesrc.sgml:
29635 * docs/gst/tmpl/gstfilesink.sgml:
29636 * docs/gst/tmpl/gstfilesrc.sgml:
29637 * docs/gst/tmpl/gstindex.sgml:
29638 * docs/manual/appendix-quotes.xml:
29639 * gst/base/gstbasesrc.h:
29640 * gst/elements/gstfakesrc.h:
29641 * gst/gstmessage.h:
29642 start pulling in base classes and elements in our docs
29644 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29646 * docs/gst/Makefile.am:
29647 * docs/libs/Makefile.am:
29648 fixed make distcheck with gtk-doc 1.3
29650 2005-06-23 Wim Taymans <wim@fluendo.com>
29652 * gst/gstelement.c: (gst_element_get_state_func),
29653 (gst_element_set_state), (gst_element_change_state):
29654 When the state did not change, also report NO_PREROLL
29657 2005-06-23 Wim Taymans <wim@fluendo.com>
29659 * gst/gstpad.c: (gst_pad_event_default):
29660 * gst/gstqueue.c: (gst_queue_loop):
29661 No unsafe task pausing please.
29663 2005-06-23 Wim Taymans <wim@fluendo.com>
29665 * gst/schedulers/threadscheduler.c:
29666 (gst_thread_scheduler_task_start),
29667 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29668 Ref the task before pushing it on the threadpool. This
29669 makes sure that we have a ref when the threadfunction is
29672 2005-06-23 Andy Wingo <wingo@pobox.com>
29674 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29675 offset is greater than the file's size.
29677 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29678 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29679 * gst/gstobject.c (gst_object_class_init): Make the class lock
29680 recursive. Wim won't let me drop deep_notify. Decodebin works
29681 again, whoopdy doo.
29683 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29684 internal pad, and hacks accordingly. Doesn't do it on the target
29685 pad because we change its caps. Probably catches all cases of
29687 (gst_ghost_pad_set_property): Connect to notify::caps as
29690 * tests/network-clock.scm (plot-simulation): Pipe data to the
29691 elite python skript.
29693 * tests/network-clock-utils.scm (define-parameter): New macro,
29694 defines a parameter that can be set via the command line.
29695 (set-parameter!, parse-parameter-arguments): Command line args
29698 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29701 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29703 * gst/elements/gsttypefindelement.c:
29704 (gst_type_find_element_handle_event):
29705 Don't restart typefinding on a discont.
29706 * gst/gstelement.c: (gst_element_set_state):
29707 Debug spelling fix.
29708 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29709 Allow changing mode of an active pad.
29710 Debug output fixes.
29711 * gst/registries/gstlibxmlregistry.c: (load_feature):
29712 Don't cast a static pad template to a normal pad template.
29714 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29716 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29717 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29718 remove gst_strtoll completely, since it didn't actually do
29719 anything more than what g_ascii_strtoull already does.
29720 check for range errors when deserializing
29721 do a cast for the unsigned cases; but further fixing needs
29722 a decision on what the interpretation of "(int)" and
29723 deserialization should be for values that fall outside the
29724 type's boundaries (ie, refuse, or interpret as casting)
29726 2005-06-23 Wim Taymans <wim@fluendo.com>
29728 * check/Makefile.am:
29729 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29730 * docs/design/part-live-source.txt:
29731 * docs/design/part-states.txt:
29732 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29733 (gst_basesrc_set_live), (gst_basesrc_is_live),
29734 (gst_basesrc_get_range), (gst_basesrc_activate),
29735 (gst_basesrc_change_state):
29736 * gst/base/gstbasesrc.h:
29737 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29738 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29739 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29740 * gst/gstelement.c: (gst_element_get_state_func),
29741 (gst_element_set_state):
29742 * gst/gstelement.h:
29744 * tools/gst-launch.c: (event_loop), (main):
29745 Added support for live sources and other elements that
29747 Updated design docs, added live-source design doc.
29748 Implemented live source functionality in basesrc
29749 Fix error condition in _bin_get_state()
29750 Implement live source handling in -launch.
29751 Added check for live sources.
29752 Fixed case in GstBin where elements were changed state
29756 2005-06-23 Andy Wingo <wingo@pobox.com>
29758 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29759 borken refcounting.
29761 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29762 gst_caps_replace takes care of this for us.
29764 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29765 gst_pad_set_caps on the target, not just its setcaps() function.
29767 * tests/network-clock.scm:
29768 * tests/network-clock-utils.scm: A network clock simulator.
29769 Something of an algorithmic testbed before doing something in C.
29771 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29773 * check/Makefile.am:
29774 * check/gst/capslist.h:
29775 copy over from 0.8, and add two with bitmasks specified with
29777 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29778 add test to parse everything from capslist.h
29779 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29781 add test for structure deserialization
29782 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29783 add tests for deserialization of strings to int types
29784 * gst/gststructure.c: (gst_structure_nth_field_name):
29785 * gst/gststructure.h:
29786 add a way to get the name of a field referenced by index
29787 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29788 instead of checking if the resulting long long lies between
29789 min and max, we check if the long long would fit into
29790 a number of bytes for the final type.
29791 This fixes cases where a string represents 2^32 - 1, which
29792 when cast to int would be the (valid) -1, but is bigger than
29795 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29797 * gst/parse/grammar.y:
29798 add a log line for type deserialization
29800 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29802 * check/gst/gstvalue.c: (START_TEST):
29803 * gst/gstvalue.c: (gst_value_deserialize):
29804 return long long, not int, so gint64 deserialization actually
29805 works. Is there any flag that makes the compiler check this ?
29808 2005-06-22 Wim Taymans <wim@fluendo.com>
29811 Added convenience macros for setting buffers in GValue.
29813 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29815 * check/gst/.cvsignore:
29816 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29817 add a test deserializing int64, and comment part out because
29820 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29822 * check/Makefile.am:
29823 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29824 * testsuite/Makefile.am:
29825 * testsuite/caps/Makefile.am:
29826 * testsuite/caps/value_serialize.c:
29827 * testsuite/test_gst_init.c:
29828 move a value_serialize test over
29830 2005-06-20 Wim Taymans <wim@fluendo.com>
29835 * gst/gstvalue.c: (gst_value_compare_buffer),
29836 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29837 (gst_value_compare_flags), (gst_value_serialize_flags),
29838 (gst_value_deserialize_flags), (_gst_value_initialize):
29839 Fix serialisation of buffers, they are not boxed types anymore
29841 2005-06-20 Wim Taymans <wim@fluendo.com>
29843 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29844 Testcase to show error in buffer-on-caps serialisation.
29846 2005-06-20 Andy Wingo <wingo@pobox.com>
29848 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29849 will be adding to later.
29851 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29852 if its socks fill with rocks.
29853 (gst_system_clock_obtain): Set the name on object construction.
29854 Avoid double-checked locking.
29856 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29858 * gst/gsturi.c: (gst_element_make_from_uri):
29859 Fix potential endless loop.
29861 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29863 * check/Makefile.am:
29865 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29867 move over from testsuite dir and clean up
29870 * testsuite/Makefile.am:
29871 * testsuite/tags/.cvsignore:
29872 * testsuite/tags/Makefile.am:
29873 * testsuite/tags/merge.c:
29874 remove testsuite/tags
29876 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29878 * docs/gst/gstreamer-sections.txt:
29879 * docs/gst/tmpl/gstenumtypes.sgml:
29880 * win32/gstenumtypes.c:
29881 clean up documentation build a little
29883 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29885 * check/gstcheck.h:
29886 add macros for checking refcounts on objects and caps
29887 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29888 add some more unit tests
29889 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29890 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29891 fix leaked refcounts (I hope :)) so unittest works
29895 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29897 * configure.ac: back to HEAD
29899 === release 0.9.1 ===
29901 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29907 2005-06-17 Andy Wingo <wingo@pobox.com>
29909 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29910 assert; it's always possible that the pad gets deactivated in
29911 between the checks in gstpad.c and the implementation. Rely on
29912 finish_preroll() to return a FLUSHING or similar instead of on the
29915 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29916 clock and post an EOS message if we come out of finish_preroll in
29919 2005-06-16 David Schleef <ds@schleef.org>
29921 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29922 (gst_capsfilter_set_property): Allow NULL as possible value
29923 for filter_caps property, indicating GST_CAPS_ANY.
29925 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29927 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29929 * gst/schedulers/Makefile.am:
29931 * gstreamer.spec.in:
29934 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29936 * gstreamer.spec.in:
29939 2005-06-08 Andy Wingo <wingo@pobox.com>
29941 * gst/gstutils.c: RPAD fixes all around.
29942 (gst_element_link_pads): Refcounting fixes.
29944 * tools/gst-inspect.c:
29945 * tools/gst-xmlinspect.c:
29947 * gst/base/gsttypefindhelper.c:
29948 * gst/base/gstbasesink.c:
29949 * gst/gstqueue.c: RPAD fixes.
29951 * gst/gstghostpad.h:
29952 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29953 pads. The tricky thing is they provide both source and sink
29954 interfaces, since they proxy the internal pad for the external
29955 pad, and vice versa. Implement with lower-level ProxyPad objects,
29956 with the interior proxy pad as a child of the exterior ghost pad.
29957 Should write a doc on this.
29959 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29960 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29963 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29964 pads are real pads. No ghost pads in this file. Not documenting
29965 the myriad s/RPAD/PAD/ and REALIZE fixes.
29966 (gst_pad_class_init): Add properties for "direction" and
29967 "template". Both are construct-only, so they can't change during
29968 the life of the pad. Fixes properly deriving from GstPad.
29969 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29970 derived objects, just set properties when creating the objects via
29972 (gst_pad_get_parent): Implement as a function, return NULL if the
29973 parent is not an element.
29974 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29975 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29977 * gst/gstobject.c (gst_object_class_init): Make name a construct
29978 property. Don't set it in the object init.
29980 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29981 with UNKNOWN direction.
29982 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29983 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29984 (gst_element_remove_pad): Remove ghost-pad special cases.
29985 (gst_element_pads_activate): Remove rpad cruft.
29987 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29988 catch the pad's-parent-not-an-element case.
29990 * gst/gst.h: Include gstghostpad.h.
29992 * gst/gst.c (init_post): No more real, ghost pads.
29994 * gst/Makefile.am: Add gstghostpad.[ch].
29996 * check/Makefile.am:
29997 * check/gst/gstbin.c:
29998 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29999 into a bin creates ghost pads, and that the refcounts are right.
30000 Partly moved from gstbin.c.
30002 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
30004 * check/gst-libs/.cvsignore:
30005 * check/gst/.cvsignore:
30006 * check/pipelines/.cvsignore:
30008 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
30009 (START_TEST), (cleanup_suite), (main):
30010 add some tests related to cleanup after running pipelines
30012 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
30014 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
30015 add a testsuite for GstBuffer
30017 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
30019 * gst/gstminiobject.h:
30020 add defines for accessing the refcount
30022 2005-06-03 Stefan Kost <ensonic@users.sf.net>
30024 * Makefile.am: added support for html unit test coverage reports
30026 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
30028 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
30029 Free existing caps if the capsfilter changes. Add a FIXME about
30030 setting those caps on the pads.
30032 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
30033 Before adding a ghost pad to a parent bin, check that there isn't
30034 already one for the element on the bin. Prevents infinite recursion
30035 when using decodebin in parse pipelines. Andy says he'll rewrite the
30036 way this works anyway, so ignore the hack.
30038 2005-06-02 Andy Wingo <wingo@pobox.com>
30040 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
30041 file size, pass it on to the type find helper.
30043 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30044 segment_start and segment_end properly according to the seek
30045 method. Segment_end is still a bit flaky because offset can be
30046 negative for CUR and END cases, but it takes -1 as an "unset"
30049 2005-06-02 Wim Taymans <wim@fluendo.com>
30051 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30052 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30053 (gst_basesink_activate):
30054 * gst/base/gstbasesink.h:
30055 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30056 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30057 (gst_pad_query), (gst_pad_start_task):
30059 * gst/gstqueue.c: (gst_queue_bufferalloc),
30060 (gst_queue_handle_sink_event), (gst_queue_chain):
30061 Bufferalloc: return GstFlowReturn to more accuratly report
30062 why allocation failed.
30064 2005-06-02 Wim Taymans <wim@fluendo.com>
30066 * gst/gstpipeline.c: (gst_pipeline_send_event):
30067 Take snapshot of state without blocking.
30069 2005-06-02 Wim Taymans <wim@fluendo.com>
30071 * docs/design/part-TODO.txt:
30072 * docs/design/part-caps.txt:
30073 * docs/design/part-clocks.txt:
30074 * docs/design/part-negotiation.txt:
30075 * docs/design/part-preroll.txt:
30078 2005-05-30 Wim Taymans <wim@fluendo.com>
30080 * gst/elements/gstidentity.c: (gst_identity_event),
30081 (gst_identity_transform), (gst_identity_get_property):
30082 Protect last_message property as it is accessed from
30085 2005-05-30 Wim Taymans <wim@fluendo.com>
30087 * gst/gstelement.c: (gst_element_init),
30088 (gst_element_pads_activate), (gst_element_change_state):
30089 Slicker pad activation code.
30091 2005-05-30 Wim Taymans <wim@fluendo.com>
30094 * gst/gstelement.h:
30095 * gst/gstelementfactory.h:
30097 Move elementfactory methods to separate .h file.
30099 2005-05-30 Wim Taymans <wim@fluendo.com>
30101 * docs/design/part-overview.txt:
30102 * gst/gstsystemclock.h:
30103 Small typo fixes, doc updates.
30105 2005-05-30 Wim Taymans <wim@fluendo.com>
30107 * gst/gst.c: (gst_init_get_popt_table), (init_post),
30108 (init_popt_callback):
30109 Remove cpu-opt flag.
30111 2005-05-30 Wim Taymans <wim@fluendo.com>
30113 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30114 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30116 Avoid typechecking in places where not needed.
30117 Added accessor for malloc_data.
30119 2005-05-30 Wim Taymans <wim@fluendo.com>
30121 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30122 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30123 (gst_pad_configure_sink), (gst_pad_configure_src),
30124 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30125 (gst_pad_start_task):
30126 Propagate errors from _set_caps() in configure_src/sink
30127 functions instead of returning TRUE.
30128 FLUSH events can travel up and downstream
30131 2005-05-30 Wim Taymans <wim@fluendo.com>
30133 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30134 (gst_basesink_activate):
30135 Handle EOS in preroll.
30137 2005-05-30 Wim Taymans <wim@fluendo.com>
30139 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30140 (gst_queue_loop), (gst_queue_handle_src_event):
30141 Remove old pieces of code
30142 Flushing the queue in an upstream event is a very bad idea.
30144 2005-05-26 Andy Wingo <wingo@pobox.com>
30146 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30147 gst_value_set_mini_object so as to add a ref on the object (which
30148 will be removed when the value is unset).
30150 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30151 arg type in ::handoff.
30153 * gst/gstelement.c (gst_element_change_state): Also deactivate
30154 pads in READY->NULL, just in case the element didn't make it to
30155 PAUSED. Wingo tested, Wim approved.
30157 2005-05-26 Wim Taymans <wim@fluendo.com>
30159 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30160 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30161 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30162 A flushing pad cannot be used to alloc_buffer from.
30164 2005-05-26 Wim Taymans <wim@fluendo.com>
30166 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30167 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30168 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30169 (gst_bus_create_watch), (gst_bus_add_watch_full):
30171 Implement a real GSource and use g_main_context_wakeup() to
30172 signal new messages instead of the socketpair.
30174 2005-05-25 Wim Taymans <wim@fluendo.com>
30176 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30177 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30178 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30179 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30180 (gst_pad_send_event), (gst_pad_start_task):
30181 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30182 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30183 (gst_queue_sink_activate), (gst_queue_src_activate),
30184 (gst_queue_change_state):
30186 Fix state changes for non sinks. We now change sinks, then elements
30187 with unconnected srcpads, then the rest.
30188 More efficient queue unlocking in flush and state changes.
30189 Set the pad activate mode even if it does not have an activate
30192 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30194 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30195 Don't go in pull mode for non-seekable sources.
30196 * gst/elements/gsttypefindelement.h:
30197 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30198 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30199 (free_entry), (stop_typefinding),
30200 (gst_type_find_element_handle_event), (find_peek),
30201 (gst_type_find_element_chain), (do_pull_typefind),
30202 (gst_type_find_element_change_state):
30203 Allow typefinding (w/o seeking) in push-mode, simplified version
30204 of what was in 0.8.
30205 * gst/gstutils.c: (gst_buffer_join):
30207 gst_buffer_join() from 0.8.
30209 2005-05-25 Wim Taymans <wim@fluendo.com>
30211 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30212 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30213 (gst_pad_send_event), (gst_pad_start_task):
30214 Disable attempt at mode switching until it is figured out.
30216 2005-05-25 Wim Taymans <wim@fluendo.com>
30218 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30219 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30220 (gst_basesink_finish_preroll), (gst_basesink_chain),
30221 (gst_basesink_loop), (gst_basesink_activate),
30222 (gst_basesink_change_state):
30223 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30224 (gst_basesrc_get_range), (gst_basesrc_loop),
30225 (gst_basesrc_activate):
30226 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30227 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30228 (gst_real_pad_init), (gst_real_pad_set_property),
30229 (gst_real_pad_get_property), (gst_pad_set_active),
30230 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30231 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30232 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30233 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30234 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30235 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30236 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30237 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30238 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30239 (gst_pad_stop_task):
30241 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30242 (gst_queue_loop), (gst_queue_src_activate):
30243 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30244 (gst_task_get_state):
30246 * gst/schedulers/threadscheduler.c:
30247 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30248 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30250 Remove ACTIVE pad flag, use FLUSHING everywhere
30251 Added _pad_chain(), _pad_get_range() to call chain/getrange
30253 Add locks around IS_FLUSHING when reading.
30254 Take STREAM lock in chain(), get_range() functions so plugins
30255 don't need to take it anymore.
30259 2005-05-25 Wim Taymans <wim@fluendo.com>
30261 * tools/gst-launch.c: (event_loop):
30262 Unref message after using its contents instead of
30265 2005-05-24 Wim Taymans <wim@fluendo.com>
30267 * docs/design/draft-ghostpads.txt:
30268 * docs/design/draft-push-pull.txt:
30269 * docs/design/draft-query.txt:
30270 * docs/design/part-overview.txt:
30271 Docs updates, added general overview doc.
30273 2005-05-21 David Schleef <ds@schleef.org>
30275 * docs/gst/tmpl/old/GstBin.sgml:
30276 * docs/gst/tmpl/old/GstBuffer.sgml:
30277 * docs/gst/tmpl/old/GstCaps.sgml:
30278 * docs/gst/tmpl/old/GstClock.sgml:
30279 * docs/gst/tmpl/old/GstCompat.sgml:
30280 * docs/gst/tmpl/old/GstData.sgml:
30281 * docs/gst/tmpl/old/GstElement.sgml:
30282 * docs/gst/tmpl/old/GstEvent.sgml:
30283 * docs/gst/tmpl/old/GstIndex.sgml:
30284 * docs/gst/tmpl/old/GstStructure.sgml:
30285 * docs/gst/tmpl/old/GstTag.sgml:
30286 * docs/gst/tmpl/old/cothreads.sgml:
30287 * docs/gst/tmpl/old/cothreads_compat.sgml:
30288 * docs/gst/tmpl/old/gettext.sgml:
30289 * docs/gst/tmpl/old/gobject2gtk.sgml:
30290 * docs/gst/tmpl/old/grammar.tab.sgml:
30291 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30292 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30293 * docs/gst/tmpl/old/gst_private.sgml:
30294 * docs/gst/tmpl/old/gstaggregator.sgml:
30295 * docs/gst/tmpl/old/gstarch.sgml:
30296 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30297 * docs/gst/tmpl/old/gstbufferstore.sgml:
30298 * docs/gst/tmpl/old/gstdata_private.sgml:
30299 * docs/gst/tmpl/old/gstdisksink.sgml:
30300 * docs/gst/tmpl/old/gstdisksrc.sgml:
30301 * docs/gst/tmpl/old/gstelementfactory.sgml:
30302 * docs/gst/tmpl/old/gstextratypes.sgml:
30303 * docs/gst/tmpl/old/gstfakesink.sgml:
30304 * docs/gst/tmpl/old/gstfakesrc.sgml:
30305 * docs/gst/tmpl/old/gstfdsink.sgml:
30306 * docs/gst/tmpl/old/gstfdsrc.sgml:
30307 * docs/gst/tmpl/old/gstfilesink.sgml:
30308 * docs/gst/tmpl/old/gstfilesrc.sgml:
30309 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30310 * docs/gst/tmpl/old/gstidentity.sgml:
30311 * docs/gst/tmpl/old/gstindexfactory.sgml:
30312 * docs/gst/tmpl/old/gstmarshal.sgml:
30313 * docs/gst/tmpl/old/gstmd5sink.sgml:
30314 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30315 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30316 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30317 * docs/gst/tmpl/old/gstpipefilter.sgml:
30318 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30319 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30320 * docs/gst/tmpl/old/gstshaper.sgml:
30321 * docs/gst/tmpl/old/gstspider.sgml:
30322 * docs/gst/tmpl/old/gstspideridentity.sgml:
30323 * docs/gst/tmpl/old/gststatistics.sgml:
30324 * docs/gst/tmpl/old/gsttee.sgml:
30325 * docs/gst/tmpl/old/gsttimecache.sgml:
30326 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30327 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30328 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30329 * docs/gst/tmpl/old/types.sgml:
30330 I didn't intend to add these or check them in.
30332 2005-05-19 David Schleef <ds@schleef.org>
30334 * configure.ac: Use -no-common everywhere. In a sane world, it
30335 would be the default in libtool, because without it, you can't
30336 build DLLs on Windows.
30337 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30338 * docs/gst/gstreamer-sections.txt:
30339 * docs/gst/tmpl/gstcpu.sgml:
30340 * docs/gst/tmpl/gstdata.sgml:
30341 * docs/gst/tmpl/gstthread.sgml:
30343 2005-05-19 David Schleef <ds@schleef.org>
30345 * gst/gstminiobject.c: (gst_value_set_mini_object),
30346 (gst_value_take_mini_object), (gst_value_get_mini_object):
30347 * gst/gstminiobject.h: Add GValue set/get functions.
30349 2005-05-19 Wim Taymans <wim@fluendo.com>
30351 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30352 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30353 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30355 * gst/gstbus.c: (gst_bus_post):
30356 * gst/gstelement.c: (gst_element_get_random_pad):
30357 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30358 Make subbufer unref the parent in finalize.
30359 some more debugging info.
30362 2005-05-19 Wim Taymans <wim@fluendo.com>
30364 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30365 (gst_basesink_init), (gst_basesink_finalize),
30366 (gst_basesink_activate), (gst_basesink_change_state):
30367 Don't free preroll queue too early.
30369 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30373 Hi, I'm outdated. Please shoot me.
30375 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30377 * gst/gstpipeline.c: (gst_pipeline_send_event):
30378 Do not access variables after they have been deleted.
30380 2005-05-19 Wim Taymans <wim@fluendo.com>
30382 * tools/gst-inspect.c: (print_plugin_features):
30383 A plugin feature does unfortunatly not use the
30386 2005-05-18 Wim Taymans <wim@fluendo.com>
30388 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30389 Port _span() functions to new subbuffers.
30391 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30393 * gst/gstbin.c: (gst_bin_add_func):
30394 Fix clock settery in bins when adding kids after the clock has
30397 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30399 * gst/elements/gstidentity.c: (gst_identity_class_init):
30400 Workaround until signals support GstMiniObject.
30402 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30405 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30407 2005-05-18 Wim Taymans <wim@fluendo.com>
30409 * gst/base/Makefile.am:
30410 * gst/base/gstadapter.c: (gst_adapter_base_init),
30411 (gst_adapter_class_init), (gst_adapter_init),
30412 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30413 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30414 (gst_adapter_flush), (gst_adapter_available),
30415 (gst_adapter_available_fast):
30416 * gst/base/gstadapter.h:
30417 Ported and added adapter to the base classes.
30419 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30422 * gst/gstmessage.c:
30423 Make sure the class is reffed/unreffed once before threads can be
30424 used. Fixes #304551.
30426 2005-05-17 Wim Taymans <wim@fluendo.com>
30428 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30429 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30430 * gst/gstminiobject.c: (gst_mini_object_get_type),
30431 (gst_mini_object_free):
30432 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30433 (gst_pad_push), (gst_pad_push_event):
30434 * gst/gstqueue.c: (gst_queue_change_state):
30435 Don't queue buffers in basesink when we are flushing.
30436 Unref buffer when flushing in basesink.
30437 Flush queue when going to READY
30438 Unref buffer when _push() returns an error.
30439 Don't free MiniObject instance when refcount is incremented
30440 in _finalize() so that we can recover objects.
30442 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30444 * docs/manual/advanced-schedulers.xml:
30445 * docs/manual/appendix-checklist.xml:
30446 * docs/pwg/advanced-clock.xml:
30447 * docs/pwg/advanced-interfaces.xml:
30448 * docs/pwg/advanced-request.xml:
30449 * docs/pwg/advanced-types.xml:
30450 * docs/pwg/intro-preface.xml:
30451 * examples/plugins/example.c: (gst_example_get_type),
30452 (gst_example_class_init), (gst_example_chain),
30453 (gst_example_set_property), (gst_example_get_property),
30454 (gst_example_change_state), (plugin_init):
30455 * examples/plugins/example.h:
30458 2005-05-17 Wim Taymans <wim@fluendo.com>
30460 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30461 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30462 * gst/gstqueue.c: (gst_queue_change_state):
30463 Clear queue when going to READY.
30464 Remove IN_SETCAPS flag too.
30466 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30468 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30469 Remove implicit cast from gboolean to GstElementStateReturn;
30470 make sure we still return failure in paused => ready case if
30471 the parent class fails to change state and our own stop
30474 2005-05-17 Wim Taymans <wim@fluendo.com>
30476 * tools/gst-launch.c: (event_loop):
30477 Message was unreffed too soon.
30479 2005-05-16 Andy Wingo <wingo@pobox.com>
30481 * gst/gstbin.c (sink_iterator_filter): Err... um...
30483 * check/gst/gstbin.c (test_ghost_pads): New test for the
30484 ghosting-if-elements-not-in-same-bin behavior.
30486 2005-05-16 David Schleef <ds@schleef.org>
30488 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30489 accessing refcount directly.
30491 2005-05-15 David Schleef <ds@schleef.org>
30493 * check/Makefile.am: remove GstData checks
30494 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30495 * gst/Makefile.am: add miniobject, remove data
30496 * gst/gst.h: add miniobject, remove data
30497 * gst/gstdata.c: remove
30498 * gst/gstdata.h: remove
30499 * gst/gstdata_private.h: remove
30500 * gst/gsttypes.h: remove GstEvent and GstMessage
30501 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30502 * gst/gstmarshal.list: change BOXED -> OBJECT
30504 Implement GstMiniObject.
30505 * gst/gstminiobject.c:
30506 * gst/gstminiobject.h:
30508 Modify to be subclasses of GstMiniObject.
30509 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30510 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30511 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30512 (gst_subbuffer_get_type), (gst_subbuffer_init),
30513 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30516 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30517 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30518 (_gst_event_copy), (gst_event_new):
30520 * gst/gstmessage.c: (_gst_message_initialize),
30521 (gst_message_get_type), (gst_message_class_init),
30522 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30523 (gst_message_new), (gst_message_new_error),
30524 (gst_message_new_warning), (gst_message_new_tag),
30525 (gst_message_new_state_changed), (gst_message_new_application):
30526 * gst/gstmessage.h:
30527 * gst/gstprobe.c: (gst_probe_perform),
30528 (gst_probe_dispatcher_dispatch):
30530 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30531 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30532 (_gst_query_copy), (gst_query_new):
30534 Update elements for GstData -> GstMiniObject changes
30536 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30537 (gst_queue_chain), (gst_queue_loop):
30538 * gst/elements/gstbufferstore.c:
30539 (gst_buffer_store_add_buffer_func),
30540 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30541 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30542 (gst_fakesink_render):
30543 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30544 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30545 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30546 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30547 (gst_filesrc_create_read):
30548 * gst/elements/gstidentity.c: (gst_identity_class_init):
30549 * gst/elements/gsttypefindelement.c:
30550 (gst_type_find_element_src_event), (free_entry_buffers),
30551 (gst_type_find_element_handle_event):
30552 * libs/gst/dataprotocol/dataprotocol.c:
30553 (gst_dp_header_from_buffer):
30554 * libs/gst/dataprotocol/dataprotocol.h:
30555 * libs/gst/dataprotocol/dp-private.h:
30557 2005-05-15 David Schleef <ds@schleef.org>
30559 * gst/elements/gstelements.c: Don't include headers that were
30562 2005-05-15 David Schleef <ds@schleef.org>
30564 * gst/elements/Makefile.am: Remove some elements that don't
30565 need to be in the core (or even exist at all).
30566 * gst/elements/gstaggregator.c:
30567 * gst/elements/gstaggregator.h:
30568 * gst/elements/gstmd5sink.c:
30569 * gst/elements/gstmd5sink.h:
30570 * gst/elements/gstmultifilesrc.c:
30571 * gst/elements/gstmultifilesrc.h:
30572 * gst/elements/gstpipefilter.c:
30573 * gst/elements/gstpipefilter.h:
30574 * gst/elements/gstshaper.c:
30575 * gst/elements/gstshaper.h:
30576 * gst/elements/gststatistics.c:
30577 * gst/elements/gststatistics.h:
30578 * po/POTFILES.in: Remove above files.
30580 2005-05-14 Andy Wingo <wingo@pobox.com>
30582 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30583 so as to get the refs right.
30584 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30585 unreffing objects that don't pass the filter.
30587 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30588 gst_element_set_bus.
30589 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30590 normal cases, this will destroy the bus.
30592 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30595 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30598 2005-05-13 Andy Wingo <wingo@pobox.com>
30600 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30601 gst_pad_link, call pad_link_maybe_ghosting,
30602 (pad_link_maybe_ghosting): Links pads, making sure that the
30603 elements being linked are in the same bin.
30604 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30605 Helpers for pad_link_maybe_ghosting.
30607 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30610 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30612 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30614 * docs/design/part-element-source.txt:
30617 2005-05-12 Wim Taymans <wim@fluendo.com>
30619 * gst/base/gstbasesink.c: (gst_basesink_init),
30620 (gst_basesink_activate):
30621 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30622 (gst_basesrc_is_seekable):
30623 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30624 (bin_element_is_sink), (gst_bin_change_state):
30625 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30626 * gst/gstelement.h:
30627 Identify sinks by their flag to avoid overly complicated
30629 Do state changes even for elements not reachable from the
30631 BaseSink is a sink now :)
30632 Some more debugging info in the basesrc.
30635 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30637 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30638 Implement _query on a bin, similar to _send_event.
30640 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30642 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30643 Discont event offset format should be GST_FORMAT_BYTES,
30644 not GST_FORMAT_TIME.
30646 2005-05-12 Wim Taymans <wim@fluendo.com>
30648 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30649 Same fix as Ronald's but without the signal.
30651 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30653 * gst/gstutils.c: (gst_element_query_position):
30654 No, an element is not a pad.
30656 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30658 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30659 (gst_bin_get_state):
30660 If a child is removed from a bin while we remove the child from
30661 the bin and while we're retrieving its state, signal this to the
30662 get_state function so we abort the wait (instead of waiting for
30663 a timeout) and can immediately re-iterate over all other elements.
30665 2005-05-12 Wim Taymans <wim@fluendo.com>
30667 * gst/base/Makefile.am:
30668 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30669 (gst_basesrc_start):
30670 * gst/base/gstbasesrc.h:
30671 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30672 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30673 (gst_pushsrc_init), (gst_pushsrc_create):
30674 * gst/base/gstpushsrc.h:
30675 Added is_seekable to BaseSrc
30676 Added simple PushSrc.
30678 2005-05-11 Wim Taymans <wim@fluendo.com>
30680 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30681 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30682 (gst_element_link_pads), (gst_element_query_position),
30683 (gst_element_query_convert), (intersect_caps_func),
30684 (gst_pad_query_position), (gst_pad_query_convert):
30685 Fix refcounting in utils function.
30686 No point in trying to activate a pad when it's added, it could
30687 be added from the state change function and then we deadlock, the
30688 element has to decide what to do.
30690 2005-05-10 Andy Wingo <wingo@pobox.com>
30692 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30693 *all* the arguments.
30695 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30696 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30697 lock (according to the docs -- if this is wrong change the docs).
30699 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30700 flush messages in the NULL state.
30702 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30703 message immediately and return.
30704 (gst_bus_set_flushing): New function. If a bus is flushing, it
30705 flushes out any queued messages and immediately unrefs new
30706 messages. This is so when an element goes to NULL, all of the
30707 unhandled messages coming from it can be freed, and their
30708 references to the element dropped. In other words: message source
30709 ref considered harmful :P
30711 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30712 we're finished with it.
30714 * gst/gstmessage.c (gst_message_new_state_changed):
30716 2005-05-10 Wim Taymans <wim@fluendo.com>
30718 * gst/gstvalue.c: (gst_value_compare_flags),
30719 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30720 (_gst_value_initialize):
30721 Added flags serialize/deserialize/compare code.
30723 2005-05-09 Andy Wingo <wingo@pobox.com>
30725 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30726 Intersect the peer's caps with our caps.
30728 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30730 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30731 * gst/elements/gsttypefindelement.c: (find_peek):
30732 Handle negative offsets better. Fixes decodebin.
30734 2005-05-09 Wim Taymans <wim@fluendo.com>
30736 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30737 (gst_base_transform_event):
30738 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30739 Implement accept_caps.
30740 Fix silly lock/unlock mismatch in base class.
30742 2005-05-09 Wim Taymans <wim@fluendo.com>
30744 * docs/design/draft-push-pull.txt:
30745 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30746 * gst/elements/gstfilesink.c: (gst_filesink_init),
30747 (gst_filesink_query):
30748 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30749 (gst_type_find_handle_src_query), (find_element_get_length):
30750 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30751 * gst/gstelement.h:
30752 * gst/gstmessage.c:
30753 * gst/gstmessage.h:
30754 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30755 (gst_real_pad_get_caps_unlocked),
30756 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30757 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30758 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30759 (gst_real_pad_dispose), (gst_real_pad_finalize),
30760 (gst_pad_load_and_link), (gst_pad_save_thyself),
30761 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30762 (gst_pad_check_pull_range), (gst_pad_pull_range),
30763 (gst_pad_template_get_type), (gst_pad_template_class_init),
30764 (gst_pad_template_init), (gst_pad_template_dispose),
30765 (name_is_valid), (gst_static_pad_template_get),
30766 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30767 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30768 (gst_pad_get_element_private), (gst_pad_start_task),
30769 (gst_pad_pause_task), (gst_pad_stop_task),
30770 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30771 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30772 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30773 (gst_ghost_pad_new):
30775 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30776 (gst_query_new_position), (gst_query_set_position),
30777 (gst_query_parse_position), (gst_query_new_convert),
30778 (gst_query_set_convert), (gst_query_parse_convert):
30780 * gst/gstqueryutils.c:
30781 * gst/gstqueryutils.h:
30782 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30783 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30784 (gst_queue_handle_src_query):
30785 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30786 (gst_element_query_position), (gst_element_query_convert),
30787 (intersect_caps_func), (gst_pad_query_position),
30788 (gst_pad_query_convert):
30790 * tools/gst-inspect.c: (print_pad_info):
30791 * tools/gst-xmlinspect.c: (print_element_info):
30792 Remove old query functions. Ported old code.
30793 Added position/convert helper functions to gstutils.
30794 Reordered gstpad.c code, grouping relevant things.
30795 Remove gst_message_new(), always need to speficy a specific
30799 2005-05-09 Andy Wingo <wingo@pobox.com>
30801 * gst/gstiterator.h: Add some includes.
30803 * gst/gstqueryutils.h: Include more headers.
30806 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30807 some uses of gst_pad_query.
30809 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30810 NULL out parameters.
30811 (gst_query_new_position): New proc, allocates a new position
30814 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30815 gstqueryutils.c to the build.
30817 * gst/gststructure.c (gst_structure_set_valist): Implement with
30818 the generic G_VALUE_COLLECT.
30820 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30822 * gst/Makefile.am: (gst_headers):
30823 Added gstqueryutils.h to the list of headers to install, that was
30824 a 'nachty' move wingo :)
30826 2005-05-06 Andy Wingo <wingo@pobox.com>
30829 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30830 GstData, init a memchunk.
30831 (standard_definitions): Add a few query types, deprecate a few.
30832 (gst_query_get_type): New proc.
30833 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30835 (gst_query_new_application, gst_query_get_structure): New public
30838 * docs/design/draft-query.txt: Removed LINKS from the query types,
30839 because all the rest can be dispatched to other pads -- seemed
30840 ugly to have a query that couldn't be dispatched. internal_links
30841 is fine as a pad method.
30843 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30844 in gstpad.c, but maintain binary compatibility for the moment.
30845 Will fix before 0.9 is out.
30847 * gst/gstqueryutils.c:
30848 * gst/gstqueryutils.h: New files, implement 3 methods for each
30849 query type: parse_query, parse_response, and set. Probably need an
30852 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30854 * gst/elements/gstfilesink.c (gst_filesink_query2):
30855 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30856 query_types, and formats methods.
30858 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30859 (gst_pad_set_query2_function): New functions.
30860 (gst_real_pad_init): Set query2_default as the default query2
30861 function. Basically just dispatches to internally linked pads.
30865 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30866 without using the atomic operations. Only one thread can possibly
30867 be accessing the data at this point. Changed so as to avoid
30868 gst_atomic operations.
30870 2005-05-06 Wim Taymans <wim@fluendo.com>
30872 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30873 Also set caps if we use the fallback buffer alloc.
30875 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30877 * docs/gst/Makefile.am:
30878 * docs/gst/gstreamer-docs.sgml:
30879 * docs/gst/gstreamer-sections.txt:
30880 * docs/gst/tmpl/gstatomic.sgml:
30881 * docs/gst/tmpl/gstmemchunk.sgml:
30882 * testsuite/elements/struct_i386.h:
30883 * win32/GStreamer.vcproj:
30885 Purge GstAtomic stuff from docs and win32 makefiles as well
30887 2005-05-06 Wim Taymans <wim@fluendo.com>
30889 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30890 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30891 * gst/gstpad.c: (gst_pad_peer_get_caps):
30892 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30893 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30894 (gst_queue_src_activate), (gst_queue_change_state):
30896 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30897 (intersect_caps_func):
30898 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30899 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30900 Some fixes for the peer_get_caps() change.
30902 2005-05-06 Wim Taymans <wim@fluendo.com>
30904 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30905 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30906 (gst_basesink_activate):
30907 Actually do something with error codes returned from the push
30910 2005-05-06 Wim Taymans <wim@fluendo.com>
30912 * docs/design/part-element-sink.txt:
30913 * docs/design/part-element-source.txt:
30914 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30915 (gst_basesink_event), (gst_basesink_activate):
30916 * gst/base/gstbasesink.h:
30917 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30918 (gst_basesrc_activate):
30919 * gst/base/gstbasesrc.h:
30920 * gst/gstelement.c: (gst_element_pads_activate):
30921 Some more documentation.
30922 Fixed scheduling decision in _pads_activate().
30924 2005-05-05 Andy Wingo <wingo@pobox.com>
30926 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30929 2005-05-05 Wim Taymans <wim@fluendo.com>
30931 * gst/base/Makefile.am:
30932 * gst/base/gstbasesink.h:
30933 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30934 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30935 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30936 (gst_collectpads_class_init), (gst_collectpads_init),
30937 (gst_collectpads_finalize), (gst_collectpads_new),
30938 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30939 (find_pad), (gst_collectpads_remove_pad),
30940 (gst_collectpads_is_active), (gst_collectpads_collect),
30941 (gst_collectpads_collect_range), (gst_collectpads_start),
30942 (gst_collectpads_stop), (gst_collectpads_peek),
30943 (gst_collectpads_pop), (gst_collectpads_available),
30944 (gst_collectpads_read), (gst_collectpads_flush),
30945 (gst_collectpads_chain):
30946 * gst/base/gstcollectpads.h:
30947 * gst/elements/Makefile.am:
30948 * gst/elements/gstelements.c:
30949 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30950 (gst_fakesink_get_times), (gst_fakesink_event),
30951 (gst_fakesink_preroll), (gst_fakesink_render):
30952 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30953 (gst_filesink_init), (gst_filesink_set_location),
30954 (gst_filesink_open_file), (gst_filesink_close_file),
30955 (gst_filesink_pad_query), (gst_filesink_event),
30956 (gst_filesink_render), (gst_filesink_change_state):
30957 * gst/elements/gstfilesink.h:
30958 Added object to help in making collect pad based elements.
30960 Make event function in sink baseclass return gboolean.
30962 2005-05-05 Wim Taymans <wim@fluendo.com>
30964 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30965 (gst_bin_get_by_name):
30967 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30968 (gst_clock_finalize):
30969 * gst/gstdata.c: (gst_data_replace):
30971 * gst/gstelement.c: (gst_element_request_pad),
30972 (gst_element_pads_activate):
30973 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30974 (gst_object_unref):
30975 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30976 (gst_pad_set_checkgetrange_function),
30977 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30978 (gst_pad_check_pull_range), (gst_pad_pull_range),
30979 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30980 (gst_pad_pause_task), (gst_pad_stop_task):
30981 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30982 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30983 Fix name lookup in GstBin.
30984 Added _data_replace() function and _buffer_replace()
30985 Use finalize method to clean up clock.
30986 Fix refcounting on request pads.
30987 Fix pad schedule mode error.
30988 Some more object refcounting debug info,
30991 2005-05-04 Andy Wingo <wingo@pobox.com>
30993 * check/Makefile.am:
30994 * docs/gst/tmpl/gstatomic.sgml:
30995 * docs/gst/tmpl/gstplugin.sgml:
30996 * gst/base/gstbasesink.c: (gst_basesink_activate):
30997 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30998 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30999 (gst_basesrc_query), (gst_basesrc_set_property),
31000 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
31001 (gst_basesrc_activate):
31002 * gst/base/gstbasesrc.h:
31003 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
31004 (gst_base_transform_src_activate):
31005 * gst/elements/gstelements.c:
31006 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31007 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
31008 * gst/elements/gsttee.c: (gst_tee_sink_activate):
31009 * gst/elements/gsttypefindelement.c: (find_element_get_length),
31010 (gst_type_find_element_checkgetrange),
31011 (gst_type_find_element_activate):
31012 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
31013 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
31014 (gst_caps_load_thyself):
31015 * gst/gstelement.c: (gst_element_pads_activate),
31016 (gst_element_save_thyself), (gst_element_restore_thyself):
31017 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
31018 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
31020 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
31021 (gst_xml_parse_file), (gst_xml_parse_memory),
31022 (gst_xml_get_element), (gst_xml_make_element):
31023 * gst/indexers/gstfileindex.c: (gst_file_index_load),
31024 (_file_index_id_save_xml), (gst_file_index_commit):
31025 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
31026 (read_enum), (load_pad_template), (load_feature), (load_plugin),
31028 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
31029 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
31030 * tools/gst-complete.c: (main):
31031 * tools/gst-compprep.c: (main):
31032 * tools/gst-inspect.c: (print_element_properties_info):
31033 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
31034 * tools/gst-xmlinspect.c: (print_element_properties):
31037 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
31039 * gst/gstplugin.c: (gst_plugin_check_module),
31040 (gst_plugin_check_file), (gst_plugin_load_file):
31041 apply patch from #172526 to make register work on MacOSX
31043 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31045 * docs/gst/tmpl/gstconfig.sgml:
31046 * gst/gstconfig.h.in:
31047 move documentation for some symbols. Add doc for GST_PTR_FORMAT
31048 * testsuite/debug/printf_extension.c: (main):
31049 Do not use GST_PTR_FORMAT on pointers to types with
31050 sizeof < sizeof(gpointer). Fixes test on 64-bit
31051 * testsuite/elements/property.h:
31052 use correct printf format
31054 2005-05-02 Wim Taymans <wim@fluendo.com>
31056 * docs/design/draft-push-pull.txt:
31057 * docs/design/draft-query.txt:
31058 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31059 (gst_basesrc_start):
31060 Added draft for new query API.
31061 Added draft for better selecting scheduling methods.
31062 Make basesrc ignore length if the subclass does not support
31065 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31068 possible fixes for automake-1.5 - _LIBADD is reserved
31070 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
31072 * docs/faq/Makefile.am:
31073 * docs/manual/Makefile.am:
31074 * docs/manuals.mak:
31075 * docs/pwg/Makefile.am:
31077 possible fixes for automake-1.5
31079 2005-04-28 Wim Taymans <wim@fluendo.com>
31081 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31082 (gst_basesink_pad_getcaps), (gst_basesink_init),
31083 (gst_basesink_do_sync):
31084 * gst/gstclock.c: (gst_clock_entry_new):
31085 * gst/gstevent.c: (gst_event_discont_get_value):
31086 * gst/gstpipeline.c: (pipeline_bus_handler),
31087 (gst_pipeline_change_state):
31088 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31089 Better debugging of clocking info.
31090 Allow NULL values when getting discont values.
31092 2005-04-27 Wim Taymans <wim@fluendo.com>
31094 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31095 * check/gst/gstpad.c: (gst_pad_suite):
31096 Increase timeout for checks.
31098 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
31100 * check/Makefile.am:
31101 fix the broken rule for cleanup. Apparently this rule is
31102 only needed on FC2, so maybe this warrants further autotool
31105 2005-04-26 Wim Taymans <wim@fluendo.com>
31107 * gst/gsttrashstack.h:
31108 Ooohh. a nasty one! After having a failed pop() from the stack,
31109 it's possible that the stack is empty. In that case, don't
31110 follow the NULL pointer.
31112 2005-04-25 Wim Taymans <wim@fluendo.com>
31114 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31115 (gst_pad_set_checkgetrange_function),
31116 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31117 (gst_pad_check_pull_range), (gst_pad_pull_range),
31118 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31119 (gst_pad_pause_task), (gst_pad_stop_task):
31120 * gst/gstplugin.c: (gst_plugin_load):
31122 Remove gst_library_load as it does more harm than good with
31123 the new g_module flags.
31124 Revert bogus caps template check in pad linking, pad caps
31125 are important when linking not the template, which is more
31126 general than the current caps.
31128 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31130 * gst/autoplug/.cvsignore:
31131 * gst/autoplug/Makefile.am:
31132 * gst/autoplug/gstsearchfuncs.c:
31133 * gst/autoplug/gstsearchfuncs.h:
31134 * gst/autoplug/gstspider.c:
31135 * gst/autoplug/gstspider.h:
31136 * gst/autoplug/gstspideridentity.c:
31137 * gst/autoplug/gstspideridentity.h:
31138 * gst/autoplug/spidertest.c:
31141 2005-04-25 Wim Taymans <wim@fluendo.com>
31143 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31144 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31145 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31146 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31148 Added stubs for unimplemented functions.
31150 2005-04-24 David Schleef <ds@schleef.org>
31152 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31155 2005-04-24 David Schleef <ds@schleef.org>
31157 Convert everything from GstAtomicInt to g_atomic_int_*, and
31162 * gst/gstatomic_impl.h:
31170 * gst/gstdata_private.h:
31174 * gst/gstmessage.c:
31177 * gst/gststructure.c:
31178 * gst/gststructure.h:
31179 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31182 2005-04-24 David Schleef <ds@schleef.org>
31184 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31185 make the regressions tests work. Remove some code that is no
31187 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31188 Disable warning for pads without templates.
31190 2005-04-24 David Schleef <ds@schleef.org>
31192 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31193 functions that handle filtered links.
31194 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31196 * gst/gstutils.c: Fix/remove utility functions that handle
31199 * gst/gstvalue.c: Add serialization/deserialization of caps
31200 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31201 requires fixing so that the filter caps notation creates
31202 a capsfilter element and sets the filter_caps property. I
31203 think everyone probably wants to keep the shorthand notation.
31204 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31205 * docs/gst/tmpl/gstpad.sgml:
31207 * gst/elements/gstelements.c: Register capsfilter element.
31208 * gst/Makefile.am: fix spacing
31209 * docs/random/ds/0.9-suggested-changes: random
31211 2005-04-23 David Schleef <ds@schleef.org>
31213 * gst/elements/Makefile.am:
31214 * gst/elements/gstcapsfilter.c: New element that acts like an
31215 identity, but filters caps. Will eventually replace filtered
31216 caps in pad linking.
31217 * gst/gstutils.c: (gst_element_create_all_pads): New function
31218 to create all the ALWAYS pads that are registered with an
31219 element class. This functionality should eventually be
31220 merged in with GstElement initialization.
31222 * testsuite/trigger/README: part of trigger test code that should
31223 have been checked in a long time ago.
31225 2005-04-23 David Schleef <ds@schleef.org>
31227 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31228 needed with new versions of libtool (nobody will confirm this),
31229 and hard to carry around.
31230 * gst/autoplug/Makefile.am:
31231 * gst/base/Makefile.am:
31232 * gst/elements/Makefile.am:
31233 * gst/indexers/Makefile.am:
31234 * gst/schedulers/Makefile.am:
31235 * libs/gst/bytestream/Makefile.am:
31236 * libs/gst/control/Makefile.am:
31237 * libs/gst/dataprotocol/Makefile.am:
31238 * libs/gst/getbits/Makefile.am:
31240 2005-04-21 Wim Taymans <wim@fluendo.com>
31242 * docs/design/draft-push-pull.txt:
31243 * docs/design/part-MT-refcounting.txt:
31244 * docs/design/part-TODO.txt:
31245 * docs/design/part-caps.txt:
31246 * docs/design/part-events.txt:
31247 * docs/design/part-gstbus.txt:
31248 * docs/design/part-gstpipeline.txt:
31249 * docs/design/part-messages.txt:
31250 * docs/design/part-push-pull.txt:
31251 * docs/design/part-query.txt:
31254 2005-04-21 Wim Taymans <wim@fluendo.com>
31256 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31257 (gst_message_new), (gst_message_new_error),
31258 (gst_message_new_warning), (gst_message_new_tag),
31259 (gst_message_new_state_changed), (gst_message_new_application),
31260 (gst_message_get_structure):
31261 * gst/gstmessage.h:
31262 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31263 (gst_structure_copy_conditional):
31264 Use parent refcount in GstMessage to ensure GstStructure
31266 Cleaned up headers a bit.
31269 2005-04-20 Wim Taymans <wim@fluendo.com>
31271 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31272 (gst_basesink_pad_getcaps), (gst_basesink_init),
31273 (gst_basesink_chain_unlocked):
31274 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31275 (gst_type_find_helper):
31276 * gst/elements/gsttypefindelement.c:
31277 (gst_type_find_element_have_type), (gst_type_find_element_init),
31278 (stop_typefinding), (gst_type_find_element_handle_event),
31279 (find_suggest), (gst_type_find_element_chain),
31280 (gst_type_find_element_checkgetrange),
31281 (gst_type_find_element_getrange), (do_typefind),
31282 (gst_type_find_element_activate):
31283 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31284 (gst_buffer_default_free), (gst_buffer_default_copy),
31285 (gst_buffer_set_caps):
31286 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31287 (gst_caps_replace):
31288 * gst/gstmessage.c: (gst_message_new),
31289 (gst_message_new_state_changed):
31290 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31291 (gst_pad_set_checkgetrange_function),
31292 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31293 (gst_pad_set_caps), (gst_pad_check_pull_range),
31294 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31296 * gst/gsttypefind.c: (gst_type_find_register):
31297 Make gst_caps_replace() work like other _replace() functions.
31298 Use _caps_replace() where possible.
31299 Make sure _message_new() initialises its field.
31300 Add gst_static_pad_template_get_caps()
31303 2005-04-18 Andy Wingo <wingo@pobox.com>
31305 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31306 on the peer, not the pad. I think that was a typo. Pass an extra
31307 arg to see if random access is possible. Activate the pads as
31308 PULL_RANGE if possible.
31310 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31312 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31313 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31316 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31318 * docs/faq/using.xml:
31319 Add note on gstreamer-properties (#154996).
31321 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31323 * docs/random/bbb/optional-properties:
31324 Some analysis on optional properties.
31326 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31328 * docs/gst/tmpl/gstelementfactory.sgml:
31329 * gst/gstelement.h:
31330 * gst/gstelementfactory.c: (gst_element_factory_init),
31331 (gst_element_factory_cleanup), (gst_element_register),
31332 (__gst_element_factory_add_static_pad_template),
31333 (gst_element_factory_get_static_pad_templates),
31334 (gst_element_factory_can_src_caps),
31335 (gst_element_factory_can_sink_caps):
31336 * gst/registries/Makefile.am:
31337 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31338 (gst_xml_registry_class_init), (gst_xml_registry_init),
31339 (gst_xml_registry_new), (gst_xml_registry_set_property),
31340 (gst_xml_registry_get_property), (get_time), (make_dir),
31341 (gst_xml_registry_get_perms_func),
31342 (plugin_times_older_than_recurse), (plugin_times_older_than),
31343 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31344 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31345 (add_to_char_array), (read_string), (read_uint), (read_enum),
31346 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31347 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31348 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31349 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31350 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31351 (gst_xml_registry_rebuild):
31352 * gst/registries/gstlibxmlregistry.h:
31353 * tools/gst-compprep.c: (main):
31354 * tools/gst-inspect.c: (print_pad_templates_info):
31355 * tools/gst-xmlinspect.c: (print_element_info):
31356 Use libxml2 for registry parsing, use staticpadtemplates in
31357 elementfactories. Makes gst_init() +/- 10x faster.
31359 2005-04-12 Wim Taymans <wim@fluendo.com>
31361 * gst/base/Makefile.am:
31362 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31363 (gst_basesink_pad_getcaps), (gst_basesink_init),
31364 (gst_basesink_event), (gst_basesink_change_state):
31365 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31366 (gst_basesrc_init), (gst_basesrc_query),
31367 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31368 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31369 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31370 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31371 (gst_basesrc_stop), (gst_basesrc_activate),
31372 (gst_basesrc_change_state):
31373 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31374 (helper_find_suggest), (gst_type_find_helper):
31375 * gst/base/gsttypefindhelper.h:
31376 * gst/elements/Makefile.am:
31377 * gst/elements/gstelements.c:
31378 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31379 (gst_fakesink_get_times), (gst_fakesink_event),
31380 (gst_fakesink_preroll), (gst_fakesink_render):
31381 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31382 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31383 (gst_fakesrc_get_property), (gst_fakesrc_create),
31384 (gst_fakesrc_start), (gst_fakesrc_stop):
31385 * gst/elements/gstfakesrc.h:
31386 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31387 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31388 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31389 (gst_filesrc_create_read), (gst_filesrc_create),
31390 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31391 (gst_filesrc_start):
31392 * gst/elements/gsttypefindelement.c:
31393 (gst_type_find_element_have_type), (gst_type_find_element_init),
31394 (start_typefinding), (stop_typefinding), (push_buffer_store),
31395 (gst_type_find_element_handle_event),
31396 (gst_type_find_element_chain),
31397 (gst_type_find_element_checkgetrange),
31398 (gst_type_find_element_getrange), (do_typefind),
31399 (gst_type_find_element_activate),
31400 (gst_type_find_element_change_state):
31401 * gst/elements/gsttypefindelement.h:
31402 * gst/gstpipeline.c: (pipeline_bus_handler):
31403 Added typefind helper.
31404 Small preroll fix in the base sink.
31405 Disable typefind code in basesrc.
31406 Crude port of typefindelement.
31410 2005-04-11 Wim Taymans <wim@fluendo.com>
31412 * check/gst/gstbus.c: (gstbus_suite):
31413 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31414 * check/gstcheck.h:
31415 Fix up the timeout so that the test does not fail.
31417 2005-04-06 Wim Taymans <wim@fluendo.com>
31420 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31421 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31422 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31423 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31424 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31425 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31426 (gst_basesrc_stop), (gst_basesrc_activate),
31427 (gst_basesrc_change_state), (basesrc_find_peek),
31428 (basesrc_find_suggest), (gst_basesrc_type_find):
31429 * gst/base/gstbasesrc.h:
31430 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31431 (gst_filesrc_class_init), (gst_filesrc_init),
31432 (gst_filesrc_finalize), (gst_filesrc_set_location),
31433 (gst_filesrc_set_property), (gst_filesrc_get_property),
31434 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31435 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31436 (gst_filesrc_create_read), (gst_filesrc_create),
31437 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31438 * gst/elements/gstfilesrc.h:
31439 * gst/gstelement.c: (gst_element_get_state_func),
31440 (gst_element_lost_state), (gst_element_pads_activate):
31441 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31442 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31443 (gst_pad_pull_range):
31445 More work on the generic source base class, implement seeking,
31447 Make filesrc extend the base source class.
31448 Added gst_pad_set_checkgetrange_function to GstPad.
31450 2005-04-06 Andy Wingo <wingo@pobox.com>
31452 * pkgconfig/gstreamer-base.pc.in:
31453 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31455 * pkgconfig/Makefile.am:
31456 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31458 2005-04-04 Wim Taymans <wim@fluendo.com>
31460 * gst/base/Makefile.am:
31462 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31463 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31464 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31465 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31466 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31467 (gst_basesrc_base_init), (gst_basesrc_class_init),
31468 (gst_basesrc_init), (gst_basesrc_get_formats),
31469 (gst_basesrc_get_query_types), (gst_basesrc_query),
31470 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31471 (gst_basesrc_set_property), (gst_basesrc_get_property),
31472 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31473 (gst_basesrc_loop), (gst_basesrc_activate),
31474 (gst_basesrc_change_state):
31475 * gst/base/gstbasesrc.h:
31476 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31477 (gst_fakesrc_class_init), (gst_fakesrc_init),
31478 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31479 (gst_fakesrc_get_property), (gst_fakesrc_create):
31480 * gst/elements/gstfakesrc.h:
31481 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31482 (gst_filesrc_open_file), (gst_filesrc_loop),
31483 (gst_filesrc_activate), (filesrc_find_peek),
31484 (gst_filesrc_type_find):
31485 Made base source class, make fakesrc extend it.
31486 Add comments to basesink class.
31487 Some filesrc cleanup.
31489 2005-03-31 David Schleef <ds@schleef.org>
31491 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31492 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31493 expected to link against libgstreamer.
31494 * gst/base/Makefile.am: link against libgstreamer
31495 * gst/elements/Makefile.am: same
31497 2005-03-31 Andy Wingo <wingo@pobox.com>
31499 * tests/instantiate/Makefile.am:
31500 * tests/instantiate/caps.c: Add test to test speed of caps copy
31503 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31504 GMemChunk to be fair.
31506 * gst/gsttrashstack.h: Remove warning about using the fallback
31507 trash stack implementation, it's still faster than malloc.
31509 2005-03-30 Andy Wingo <wingo@pobox.com>
31511 * tests/complexity.c: Add a copyright.
31513 2005-03-31 Wim Taymans <wim@fluendo.com>
31515 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31516 (gst_base_transform_class_init), (gst_base_transform_init),
31517 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31518 (gst_base_transform_get_property),
31519 (gst_base_transform_sink_activate),
31520 (gst_base_transform_src_activate),
31521 (gst_base_transform_change_state):
31522 * gst/base/gstbasetransform.h:
31523 * gst/elements/gstidentity.c: (gst_identity_class_init),
31524 (gst_identity_event), (gst_identity_check_perfect),
31525 (gst_identity_transform), (gst_identity_start),
31526 (gst_identity_stop):
31527 Added start/stop methods to transform base class so subclasses
31528 don't need to deal with state changes even.
31530 2005-03-31 Wim Taymans <wim@fluendo.com>
31532 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31533 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31535 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31536 (gst_pad_pull_range):
31537 Added rate to the discont event to prepare for variable speed
31538 and reverse playback.
31540 2005-03-29 David Schleef <ds@schleef.org>
31543 * testsuite/trigger/Makefile.am:
31544 * testsuite/trigger/trigger.c: A little example program to show
31545 how trigger-based elements can work.
31547 2005-03-29 Wim Taymans <wim@fluendo.com>
31549 * gst/base/Makefile.am:
31551 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31552 (gst_basesink_base_init), (gst_basesink_class_init),
31553 (gst_basesink_pad_getcaps), (gst_basesink_init),
31554 (gst_basesink_activate), (gst_basesink_change_state):
31555 * gst/base/gstbasesink.h:
31556 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31557 (gst_base_transform_base_init), (gst_base_transform_finalize),
31558 (gst_base_transform_class_init), (gst_base_transform_init),
31559 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31560 (gst_base_transform_event), (gst_base_transform_getrange),
31561 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31562 (gst_base_transform_set_property),
31563 (gst_base_transform_get_property),
31564 (gst_base_transform_sink_activate),
31565 (gst_base_transform_src_activate),
31566 (gst_base_transform_change_state):
31567 * gst/base/gstbasetransform.h:
31568 * gst/elements/gstidentity.c: (gst_identity_finalize),
31569 (gst_identity_class_init), (gst_identity_init),
31570 (gst_identity_event), (gst_identity_check_perfect),
31571 (gst_identity_transform), (gst_identity_set_property),
31572 (gst_identity_get_property), (gst_identity_change_state):
31573 * gst/elements/gstidentity.h:
31574 * gst/gstelement.c: (gst_element_get_state_func),
31575 (gst_element_lost_state), (gst_element_pads_activate):
31576 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31577 (gst_pad_check_pull_range), (gst_pad_pull_range):
31579 Simplify pad activation.
31580 Added function to check if pull_range can be performed.
31581 Error out when pulling inactive or flushing pads.
31582 Removed const from refcounted types as it does not make sense.
31583 Simplify pad templates in basesink
31584 Added base class for simple 1-to-1 transforms.
31585 Make identity subclass the base transform.
31587 2005-03-29 Andy Wingo <wingo@pobox.com>
31589 * docs/libs/gstreamer-libs-overrides.txt:
31590 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31591 really don't understand what's going on, but like whatever. I want
31594 * docs/gst/Makefile.am:
31595 * docs/libs/Makefile.am: Dist the overrides files.
31597 * check/Makefile.am (clean-local): Remove .libs directories.
31599 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31600 elements to EXTRA_DIST, so po/ files are happy.
31602 * po/POTFILES.in: Er, remove it here.
31604 * po/POTFILES: Remove gstspider.c.
31606 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31608 * docs/libs/gstreamer-libs-docs.sgml:
31609 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31612 * tests/complexity.c (main): Set the length of the preroll queue
31613 on the sinks to prevent a lockup.
31615 * libs/gst/dataprotocol/Makefile.am:
31616 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31617 the same as the one in check/gst-libs/gdp.c.
31619 * po/, docs/gst/: Commit automatic changes to docs and po files.
31621 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31622 the versioned libgstbase.
31624 * check/Makefile.am: Depend on an unversioned gst-register, seems
31625 to make autoconf happier.
31627 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31629 2005-03-28 Wim Taymans <wim@fluendo.com>
31632 * docs/design/part-gstelement.txt:
31633 * docs/design/part-negotiation.txt:
31634 * docs/design/part-preroll.txt:
31635 * docs/design/part-scheduling.txt:
31636 * docs/design/part-states.txt:
31638 * gst/base/Makefile.am:
31640 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31641 (gst_basesink_base_init), (gst_basesink_class_init),
31642 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31643 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31644 (gst_basesink_set_pad_functions),
31645 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31646 (gst_basesink_set_property), (gst_basesink_get_property),
31647 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31648 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31649 (gst_basesink_preroll_queue_push),
31650 (gst_basesink_preroll_queue_empty),
31651 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31652 (gst_basesink_event), (gst_basesink_get_times),
31653 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31654 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31655 (gst_basesink_loop), (gst_basesink_activate),
31656 (gst_basesink_change_state):
31657 * gst/base/gstbasesink.h:
31658 * gst/elements/Makefile.am:
31659 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31660 (gst_fakesink_class_init), (gst_fakesink_init),
31661 (gst_fakesink_set_property), (gst_fakesink_get_property),
31662 (gst_fakesink_get_times), (gst_fakesink_event),
31663 (gst_fakesink_preroll), (gst_fakesink_render),
31664 (gst_fakesink_change_state):
31665 * gst/elements/gstfakesink.h:
31666 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31667 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31668 * gst/gstelement.c: (gst_element_add_pad),
31669 (gst_element_get_state_func), (gst_element_abort_state),
31670 (gst_element_commit_state), (gst_element_lost_state),
31671 (gst_element_set_state), (gst_element_pads_activate):
31672 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31673 * gst/gstpipeline.c: (gst_pipeline_send_event),
31674 (gst_pipeline_change_state):
31675 Added state change code.
31676 Added/updated docs.
31677 Added sink base class, make fakesink extend the base class.
31678 Small cleanups in GstPipeline.
31680 2005-03-26 David Schleef <ds@schleef.org>
31682 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31683 is broken and should be implemented in a different library.
31684 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31685 * gst/gst.h: remove gstcpu.h
31686 * gst/gstcpu.c: remove
31687 * gst/gstcpu.h: remove
31688 * gst/Makefile.am.future: Remove this file. It's ancient.
31690 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31692 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31693 (gst_bin_send_event):
31694 Add default event/set_manager handlers. The set_manager handler
31695 takes care that the manager is distributed over kids that were
31696 already in the bin before the manager was set. The event handler
31697 is a utility virtual function that sends the event over all sinks,
31698 so that gst_element_send_event (bin, event); has the expected
31700 * gst/gstpad.c: (gst_pad_event_default):
31701 Re-install default event handling for discontinuities, so that
31702 seeking works without requiring hacks in applications or extra
31704 * gst/gstpipeline.c: (gst_pipeline_class_init),
31705 (gst_pipeline_send_event):
31706 Half hack, half utility: set a pipeline to PAUSED for seek events,
31707 since that is the only way we can guarantee a/v sync. Means that
31708 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31709 and it "just works".
31711 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31713 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31714 Lock/unlock mismatch.
31716 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31718 * docs/faq/gst-uninstalled:
31719 add gst-plugins-base
31720 * docs/gst/Makefile.am:
31721 don't error out until docs are fixed
31722 * docs/gst/gstreamer.types:
31725 2005-03-22 Wim Taymans <wim@fluendo.com>
31727 * check/Makefile.am:
31728 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31729 * gst/gststructure.c: (gst_structure_set_valist),
31730 (gst_structure_copy_conditional):
31731 Activated more tests.
31732 Added message test.
31733 Added G_TYPE_POINTER to GstStructure.
31736 2005-03-22 Wim Taymans <wim@fluendo.com>
31738 * docs/design/part-TODO.txt:
31739 * docs/design/part-events.txt:
31740 * docs/design/part-gstbin.txt:
31741 * docs/design/part-gstbus.txt:
31742 * docs/design/part-gstpipeline.txt:
31743 * docs/design/part-messages.txt:
31745 * gst/gstmessage.c:
31748 2005-03-21 Wim Taymans <wim@fluendo.com>
31750 * gst/gstbus.c: (gst_bus_post):
31751 Fix copy-and-paste error.
31753 2005-03-21 Wim Taymans <wim@fluendo.com>
31755 * check/Makefile.am:
31757 * gst/elements/Makefile.am:
31758 * gst/elements/gstelements.c:
31759 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31760 (gst_fakesink_event), (gst_fakesink_chain):
31761 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31762 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31763 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31764 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31765 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31766 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31767 (gst_fakesrc_loop), (gst_fakesrc_activate),
31768 (gst_fakesrc_change_state):
31769 * gst/elements/gstfakesrc.h:
31770 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31771 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31772 (gst_filesrc_open_file), (gst_filesrc_loop),
31773 (gst_filesrc_activate), (gst_filesrc_change_state),
31774 (filesrc_find_peek), (filesrc_find_suggest),
31775 (gst_filesrc_type_find):
31776 * gst/elements/gstidentity.c: (gst_identity_finalize),
31777 (gst_identity_class_init), (gst_identity_init),
31778 (gst_identity_proxy_getcaps), (identity_queue_push),
31779 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31780 (gst_identity_getrange), (gst_identity_chain),
31781 (gst_identity_sink_loop), (gst_identity_src_loop),
31782 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31783 (gst_identity_set_property), (gst_identity_get_property),
31784 (gst_identity_change_state):
31785 * gst/elements/gstidentity.h:
31786 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31787 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31788 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31789 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31790 (gst_tee_sink_activate):
31791 * gst/elements/gsttee.h:
31792 * gst/gst.c: (gst_register_core_elements), (init_post):
31794 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31795 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31796 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31797 (gst_bin_change_state):
31799 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31800 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31801 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31802 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31803 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31804 (bus_watch_callback), (bus_watch_destroy),
31805 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31806 (poll_timeout), (gst_bus_poll):
31810 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31811 (gst_element_post_message), (gst_element_message_full),
31812 (gst_element_get_state_func), (gst_element_get_state),
31813 (gst_element_abort_state), (gst_element_commit_state),
31814 (gst_element_lost_state), (gst_element_set_state),
31815 (gst_element_pads_activate), (gst_element_change_state),
31816 (gst_element_dispose), (gst_element_set_manager_func),
31817 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31818 (gst_element_set_manager), (gst_element_get_manager),
31819 (gst_element_set_bus), (gst_element_get_bus),
31820 (gst_element_set_scheduler), (gst_element_get_scheduler):
31821 * gst/gstelement.h:
31822 * gst/gstevent.c: (gst_event_new_segment_seek),
31823 (gst_event_new_flush):
31825 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31826 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31827 (gst_message_new_eos), (gst_message_new_error),
31828 (gst_message_new_warning), (gst_message_new_tag),
31829 (gst_message_new_state_changed), (gst_message_new_application),
31830 (gst_message_get_structure), (gst_message_parse_tag),
31831 (gst_message_parse_state_changed), (gst_message_parse_error),
31832 (gst_message_parse_warning):
31833 * gst/gstmessage.h:
31834 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31835 (gst_real_pad_set_property), (gst_pad_set_active),
31836 (gst_pad_is_active), (gst_pad_set_blocked_async),
31837 (gst_pad_set_blocked), (gst_pad_is_blocked),
31838 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31839 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31840 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31841 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31842 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31843 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31844 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31845 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31846 (gst_pad_set_caps), (gst_pad_configure_sink),
31847 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31848 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31849 (gst_real_pad_dispose), (gst_real_pad_finalize),
31850 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31851 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31852 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31854 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31855 (pipeline_bus_handler), (gst_pipeline_change_state),
31856 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31857 * gst/gstpipeline.h:
31859 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31860 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31861 (gst_queue_link_src), (gst_queue_bufferalloc),
31862 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31863 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31864 (gst_queue_loop), (gst_queue_handle_src_event),
31865 (gst_queue_handle_src_query), (gst_queue_src_activate),
31866 (gst_queue_change_state):
31868 * gst/gstscheduler.c: (gst_scheduler_init),
31869 (gst_scheduler_dispose), (gst_scheduler_create_task),
31870 (gst_scheduler_factory_create):
31871 * gst/gstscheduler.h:
31872 * gst/gststructure.c: (gst_structure_get_type),
31873 (gst_structure_copy_conditional):
31874 * gst/gststructure.h:
31875 * gst/gsttaginterface.h:
31876 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31877 (gst_task_init), (gst_task_dispose), (gst_task_create),
31878 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31884 * gst/schedulers/Makefile.am:
31885 * gst/schedulers/cothreads_compat.h:
31886 * gst/schedulers/entryscheduler.c:
31887 * gst/schedulers/faircothreads.c:
31888 * gst/schedulers/faircothreads.h:
31889 * gst/schedulers/fairscheduler.c:
31890 * gst/schedulers/gstbasicscheduler.c:
31891 * gst/schedulers/gstoptimalscheduler.c:
31892 * gst/schedulers/gthread-cothreads.h:
31893 * gst/schedulers/threadscheduler.c:
31894 (gst_thread_scheduler_task_get_type),
31895 (gst_thread_scheduler_task_class_init),
31896 (gst_thread_scheduler_task_init),
31897 (gst_thread_scheduler_task_start),
31898 (gst_thread_scheduler_task_stop),
31899 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31900 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31901 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31902 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31904 * libs/gst/Makefile.am:
31905 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31906 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31907 (gst_file_pad_parent_set):
31908 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31909 (gst_dp_event_from_packet):
31910 * tests/complexity.c: (main):
31911 * tests/mass_elements.c: (main):
31912 * testsuite/states/locked.c: (message_received), (main):
31913 * testsuite/states/parent.c: (main):
31914 * tools/gst-inspect.c: (print_element_flag_info),
31915 (print_implementation_info), (print_pad_info):
31916 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31918 * tools/gst-md5sum.c: (event_loop), (main):
31919 * tools/gst-typefind.c: (main):
31920 * tools/gst-xmlinspect.c: (print_element_info):
31922 Added GstBus for mainloop integration.
31923 Added GstMessage for sending notifications on the bus.
31924 Added GstTask as an abstraction for pipeline entry points.
31926 Removed Schedulers.
31927 Simplified GstQueue for multithreaded core.
31928 Made _link threadsafe, removed old capsnego.
31929 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31930 Added pad blocking functions.
31931 Reworked scheduling functions in GstPad to prepare for
31932 scheduling updates soon.
31933 Moved events out of data stream.
31934 Simplified GstEvent types.
31935 Added return values to push/pull.
31936 Removed clocking from GstElement.
31937 Added prototypes for state change function for next merge.
31938 Removed iterate from bins and state change management.
31939 Fixed some elements, disabled others for now.
31940 Fixed -inspect and -launch.
31941 Added check for GstBus.
31943 2005-03-10 Wim Taymans <wim@fluendo.com>
31945 * docs/design/part-MT-refcounting.txt:
31946 * docs/design/part-clocks.txt:
31947 * docs/design/part-gstelement.txt:
31948 * docs/design/part-gstobject.txt:
31949 * docs/design/part-standards.txt:
31950 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31951 (gst_bin_remove_func), (gst_bin_remove):
31955 * testsuite/clock/clock1.c: (main):
31956 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31958 * testsuite/dlopen/loadgst.c: (do_test):
31959 * testsuite/refcounting/bin.c: (add_remove_test1),
31960 (add_remove_test2), (main):
31961 * testsuite/refcounting/element.c: (main):
31962 * testsuite/refcounting/element_pad.c: (main):
31963 * testsuite/refcounting/pad.c: (main):
31964 * tools/gst-launch.c: (sigint_handler_sighandler):
31965 * tools/gst-typefind.c: (main):
31967 Added doc about clock.
31968 removed gst_bin_iterate_recurse_up(), marked methods
31970 Fix more testsuites.
31972 2005-03-09 Wim Taymans <wim@fluendo.com>
31974 * gst/gstpad.c: (gst_pad_get_direction),
31975 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31976 (gst_pad_collect_valist):
31977 * testsuite/bins/interface.c: (main):
31978 * testsuite/caps/audioscale.c: (test_caps):
31979 * testsuite/caps/caps.c: (test1), (test2), (test3):
31980 * testsuite/caps/deserialize.c: (main):
31981 * testsuite/caps/enumcaps.c: (main):
31982 * testsuite/caps/filtercaps.c: (main):
31983 * testsuite/caps/intersect2.c: (main):
31984 * testsuite/caps/random.c: (main):
31985 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31986 * testsuite/caps/sets.c: (check_caps):
31987 * testsuite/caps/simplify.c: (check_caps), (main):
31988 * testsuite/caps/subtract.c: (check_caps):
31989 Fix _pad_get_direction wrt ghostpads.
31990 Fix caps testsuite.
31992 2005-03-09 Wim Taymans <wim@fluendo.com>
31994 * check/Makefile.am:
31995 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31996 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31997 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31998 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31999 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
32000 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
32001 (gst_bin_remove), (gst_bin_iterate_recurse_up),
32002 (bin_element_is_sink), (gst_bin_iterate_sinks),
32003 (gst_bin_iterate_all_by_interface):
32005 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
32006 (gst_element_change_state), (gst_element_dispose),
32007 (gst_element_finalize), (gst_element_set_loop_function):
32008 * gst/gstelement.h:
32009 * gst/gstiterator.c: (find_custom_fold_func):
32010 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32011 (gst_pad_collectv), (gst_pad_collect_valist),
32012 (gst_pad_template_new):
32013 * gst/gstpipeline.c: (gst_pipeline_class_init),
32014 (gst_pipeline_dispose), (gst_pipeline_set_property),
32015 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
32016 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
32017 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
32019 * gst/schedulers/entryscheduler.c:
32020 * gst/schedulers/gstbasicscheduler.c:
32021 (gst_basic_scheduler_cothreaded_chain),
32022 (gst_basic_scheduler_chain_add_element):
32023 * testsuite/bins/interface.c: (main):
32025 Added GstSystemClock test.
32026 Implemented clock distribution code in GstBin.
32027 Implemented iterate sinks method for future use.
32028 Rearranged gstelement.h
32029 Fix GstIterator comparison bug.
32030 Moved some code to GstPipeline, mostly clocking related.
32032 2005-03-09 Wim Taymans <wim@fluendo.com>
32035 * gst/gst_private.h:
32036 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32037 (gst_bin_remove_func), (gst_bin_remove),
32038 (gst_bin_get_by_name_recurse_up):
32039 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
32040 (gst_clock_id_compare_func), (gst_clock_id_wait),
32041 (gst_clock_id_wait_async), (gst_clock_init),
32042 (gst_clock_adjust_unlocked), (gst_clock_get_time):
32043 * gst/gstelement.h:
32044 * gst/gstinfo.c: (_gst_debug_init):
32046 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32047 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32049 Bump version number, we're now 0.9.0
32050 Add future debugging category.
32051 Fix NULL _unref() in _get_by_name_recurse_up
32052 Rearrange gstpad.h.
32055 2005-03-08 Wim Taymans <wim@fluendo.com>
32057 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32058 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32059 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32060 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32061 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32062 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32063 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32064 * gst/elements/gstidentity.c: (gst_identity_class_init):
32065 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32066 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32067 * gst/elements/gstshaper.c: (gst_shaper_class_init):
32068 * gst/elements/gststatistics.c: (gst_statistics_class_init):
32069 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32071 * gst/gstelement.c: (gst_element_class_init),
32072 (gst_element_base_class_init), (gst_element_init),
32073 (gst_element_get_random_pad), (gst_element_wait_state_change),
32074 (gst_element_change_state), (gst_element_dispose),
32075 (gst_element_finalize), (gst_element_set_loop_function):
32076 * gst/gstelement.h:
32077 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32078 * gst/gstthread.c: (gst_thread_class_init),
32079 (gst_thread_release_children_locks), (gst_thread_change_state):
32080 * gst/schedulers/gstbasicscheduler.c:
32081 (gst_basic_scheduler_loopfunc_wrapper),
32082 (gst_basic_scheduler_chain_wrapper),
32083 (gst_basic_scheduler_src_wrapper),
32084 (gst_basic_scheduler_remove_element):
32085 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32086 Remove threadsafe properties. Fix elements because GObject
32087 complains when installing a property before declaring a
32088 set/get_property handler.
32089 Rearrange gstelement.h file, use STATE macros for state locks.
32090 Free mutexes in the finalize method instead of dispose.
32092 2005-03-08 Wim Taymans <wim@fluendo.com>
32094 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32095 * gst/gstthread.c: (gst_thread_release_children_locks):
32096 Added parentage check.
32097 Fix build og GstThread again.
32099 2005-03-08 Wim Taymans <wim@fluendo.com>
32101 * docs/design/part-MT-refcounting.txt:
32102 * docs/design/part-conventions.txt:
32103 * docs/design/part-gstobject.txt:
32104 * docs/design/part-relations.txt:
32105 * docs/design/part-standards.txt:
32106 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32107 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32108 (gst_bin_get_by_name), (gst_bin_get_by_interface),
32109 (gst_bin_iterate_all_by_interface):
32112 * gst/gstelement.c: (gst_element_class_init),
32113 (gst_element_change_state), (gst_element_set_loop_function):
32114 * gst/gstelement.h:
32115 * gst/gstiterator.c:
32116 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32117 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32118 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32119 (gst_object_set_parent), (gst_object_unparent),
32120 (gst_object_check_uniqueness):
32122 Docs updates, clean up some headers.
32124 2005-03-07 Wim Taymans <wim@fluendo.com>
32126 * check/.cvsignore:
32127 * check/Makefile.am:
32128 * check/gst-libs/.cvsignore:
32129 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32130 * check/gst/.cvsignore:
32131 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32132 (START_TEST), (gstbus_suite), (main):
32133 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32134 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32135 (gst_data_suite), (main):
32136 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32137 (add_fold_func), (gstiterator_suite), (main):
32138 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32139 (thread_name_object), (thread_name_object_default),
32140 (gst_object_name_compare), (gst_object_suite), (main):
32141 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32142 (gst_pad_suite), (main):
32143 * check/gstcheck.c: (gst_check_log_message_func),
32144 (gst_check_log_critical_func), (gst_check_init):
32145 * check/gstcheck.h:
32146 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32147 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32150 2005-03-07 Wim Taymans <wim@fluendo.com>
32152 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32153 (gst_list_iterator_next), (gst_list_iterator_resync),
32154 (gst_list_iterator_free), (gst_iterator_new_list),
32155 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32156 (gst_iterator_free), (gst_iterator_push), (filter_next),
32157 (filter_resync), (filter_uninit), (filter_free),
32158 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32159 (gst_iterator_foreach), (find_custom_fold_func),
32160 (gst_iterator_find_custom):
32161 * gst/gstiterator.h:
32162 Added missing files.
32164 2005-03-07 Wim Taymans <wim@fluendo.com>
32168 * docs/design/part-MT-refcounting.txt:
32169 * docs/design/part-conventions.txt:
32170 * docs/design/part-gstobject.txt:
32171 * docs/design/part-relations.txt:
32172 * examples/mixer/mixer.c: (main):
32173 * examples/thread/thread.c: (eos), (main):
32175 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32176 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32177 (gst_spider_plug_from_srcpad):
32178 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32179 (gst_spider_identity_change_state),
32180 (gst_spider_identity_sink_loop_type_finding):
32181 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32182 * gst/elements/gstidentity.c: (gst_identity_init):
32183 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32184 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32185 * gst/elements/gsttypefindelement.c: (free_entry):
32188 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32189 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32190 (gst_bin_set_index), (gst_bin_set_element_sched),
32191 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32192 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32193 (gst_bin_iterate_elements), (iterate_child_recurse),
32194 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32195 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32196 (compare_interface), (gst_bin_get_by_interface),
32197 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32199 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32200 (gst_buffer_default_free), (gst_buffer_default_copy),
32201 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32202 (gst_buffer_create_sub):
32204 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32205 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32206 (gst_caps_unref), (gst_static_caps_get),
32207 (gst_caps_remove_and_get_structure), (gst_caps_append),
32208 (gst_caps_append_structure), (gst_caps_remove_structure),
32209 (gst_caps_copy_nth), (gst_caps_set_simple),
32210 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32211 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32212 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32213 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32214 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32215 (gst_caps_structure_figure_out_union),
32216 (gst_caps_switch_structures), (gst_caps_do_simplify),
32217 (gst_caps_replace), (gst_caps_from_string),
32218 (gst_caps_copy_conditional):
32220 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32221 (_gst_clock_id_free), (gst_clock_id_unref),
32222 (gst_clock_id_compare_func), (gst_clock_id_wait),
32223 (gst_clock_id_wait_async), (gst_clock_class_init),
32224 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32225 (gst_clock_get_time), (gst_clock_set_time_adjust),
32226 (gst_clock_set_property), (gst_clock_get_property):
32229 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32230 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32232 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32233 (gst_element_requires_clock), (gst_element_provides_clock),
32234 (gst_element_set_clock), (gst_element_clock_wait),
32235 (gst_element_wait), (gst_element_set_time_delay),
32236 (gst_element_is_indexable), (gst_element_add_pad),
32237 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32238 (pad_compare_name), (gst_element_get_static_pad),
32239 (gst_element_request_pad), (gst_element_get_request_pad),
32240 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32241 (gst_element_class_get_pad_template_list),
32242 (gst_element_class_get_pad_template), (gst_element_error_func),
32243 (gst_element_get_random_pad), (gst_element_get_event_masks),
32244 (gst_element_send_event), (gst_element_seek),
32245 (gst_element_get_query_types), (gst_element_query),
32246 (gst_element_get_formats), (gst_element_convert),
32247 (gst_element_is_locked_state), (gst_element_set_locked_state),
32248 (gst_element_sync_state_with_parent), (gst_element_change_state),
32249 (gst_element_finalize), (gst_element_yield),
32250 (gst_element_interrupt), (gst_element_set_scheduler),
32251 (gst_element_get_scheduler), (gst_element_set_loop_function):
32252 * gst/gstelement.h:
32254 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32255 (gst_format_get_by_nick), (gst_format_get_details),
32256 (gst_format_iterate_definitions):
32258 * gst/gstindex.c: (gst_index_gtype_resolver):
32261 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32262 (gst_mem_chunk_free):
32263 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32264 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32265 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32266 (gst_object_dispatch_properties_changed),
32267 (gst_object_set_name_default), (gst_object_set_name),
32268 (gst_object_get_name), (gst_object_set_name_prefix),
32269 (gst_object_get_name_prefix), (gst_object_set_parent),
32270 (gst_object_get_parent), (gst_object_unparent),
32271 (gst_object_check_uniqueness), (gst_object_save_thyself),
32272 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32273 (gst_object_set_property), (gst_object_get_property),
32274 (gst_object_get_path_string):
32276 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32277 (gst_real_pad_init), (gst_real_pad_get_property),
32278 (gst_pad_custom_new), (gst_pad_get_direction),
32279 (gst_pad_set_active), (gst_pad_is_active),
32280 (gst_pad_set_event_function), (gst_pad_is_linked),
32281 (gst_pad_link_free), (gst_pad_link_intersect),
32282 (gst_pad_link_fixate), (gst_pad_set_caps),
32283 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32284 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32285 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32286 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32287 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32288 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32289 (gst_pad_realize), (gst_pad_get_allowed_caps),
32290 (gst_real_pad_dispose), (gst_real_pad_finalize),
32291 (gst_pad_collectv), (gst_pad_collect_valist),
32292 (gst_pad_template_dispose), (gst_pad_template_new),
32293 (gst_pad_get_internal_links):
32295 * gst/gstpipeline.c: (gst_pipeline_dispose),
32296 (gst_pipeline_change_state):
32297 * gst/gstpipeline.h:
32299 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32300 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32301 * gst/gstpluginfeature.h:
32302 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32303 * gst/gstquery.c: (_gst_query_type_initialize),
32304 (gst_query_type_register), (gst_query_type_get_by_nick),
32305 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32307 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32308 * gst/gstscheduler.c: (gst_scheduler_add_element),
32309 (gst_scheduler_factory_create):
32310 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32311 (gst_structure_free), (gst_structure_set_name),
32312 (gst_structure_id_set_value), (gst_structure_set_value),
32313 (gst_structure_set_valist), (gst_structure_remove_field),
32314 (gst_structure_remove_fields),
32315 (gst_structure_remove_fields_valist),
32316 (gst_structure_remove_all_fields), (gst_structure_foreach),
32317 (gst_structure_map_in_place),
32318 (gst_caps_structure_fixate_field_nearest_int),
32319 (gst_caps_structure_fixate_field_nearest_double):
32320 * gst/gststructure.h:
32321 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32322 (gst_system_clock_init), (gst_system_clock_dispose),
32323 (gst_system_clock_async_thread),
32324 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32325 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32326 * gst/gstsystemclock.h:
32327 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32328 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32329 * gst/gsttaginterface.c:
32330 * gst/gstthread.c: (gst_thread_dispose),
32331 (gst_thread_release_children_locks), (gst_thread_change_state),
32332 (gst_thread_main_loop):
32333 * gst/gsttrashstack.h:
32334 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32336 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32337 (gst_element_request_pad), (gst_element_get_pad_from_template),
32338 (gst_element_request_compatible_pad),
32339 (gst_element_get_compatible_pad_filtered),
32340 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32341 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32342 (gst_element_link_many), (gst_element_link),
32343 (gst_element_link_pads), (gst_element_unlink_pads),
32344 (gst_element_unlink_many), (gst_element_unlink),
32345 (gst_pad_can_link_filtered), (gst_pad_can_link),
32346 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32347 (gst_object_default_error), (gst_bin_add_many),
32348 (gst_bin_remove_many), (gst_element_populate_std_props),
32349 (gst_element_class_install_std_props), (gst_buffer_merge),
32350 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32351 (link_fold_func), (gst_pad_proxy_setcaps):
32353 * gst/gstvalue.c: (gst_value_deserialize_string):
32354 * gst/parse/grammar.y:
32355 * gst/schedulers/gstbasicscheduler.c:
32356 (gst_basic_scheduler_cothreaded_chain),
32357 (gst_basic_scheduler_chain_recursive_add),
32358 (gst_basic_scheduler_pad_link):
32359 * gst/schedulers/gstoptimalscheduler.c:
32360 (get_group_schedule_function),
32361 (gst_opt_scheduler_state_transition),
32362 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32363 * libs/gst/bytestream/bytestream.c:
32364 * libs/gst/dataprotocol/dataprotocol.c:
32365 (gst_dp_header_from_buffer):
32368 * tests/threadstate/threadstate2.c: (eos):
32369 * tools/gst-compprep.c: (main):
32370 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32371 (print_pad_info), (print_children_info):
32372 * tools/gst-launch.c: (idle_func), (main):
32373 * tools/gst-md5sum.c: (idle_func), (main):
32374 * tools/gst-xmlinspect.c: (print_element_info):
32375 First THREADED backport attempt, focusing on adding locks and
32376 making sure the API is threadsafe. Needs more work. More docs
32379 2005-02-24 Andy Wingo <wingo@pobox.com>
32381 * tests/bench-complexity.scm:
32382 * tests/complexity.gnuplot: New files, good for running complexity
32385 * tests/Makefile.am:
32386 * tests/complexity.c: New test, sets up N elements, at each level
32387 teeing into M streams per element. Eeeenteresting.
32389 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32390 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32391 running bench-mass_elements.scm.
32393 * tests/bench-mass_elements.scm: New script, runs mass_elements
32394 for various numbers of identities, outputting the results to a
32395 file. Requires guile 1.6. Just for testing.
32397 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32399 * gst/schedulers/fairscheduler.c:
32400 compile with debug disabled
32402 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32405 hunting season on 0.9 is now OPEN