1 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
3 * gst/gstindex.c: (gst_index_get_type):
4 Add a debugging category for GstIndex, first little step in making
7 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
9 * gst/gstelement.c: (gst_element_message_full),
10 (gst_element_pads_activate):
11 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
12 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
13 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
14 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
15 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
16 Assign debug statements to relevant categories instead of the 'default'
17 category so they don't get lost in debugging.
19 2009-01-01 Stefan Kost <ensonic@users.sf.net>
21 * gst/gstdebugutils.c:
22 Add some ideas, how to make the graph smaller.
25 Add a comment from a debug session.
27 * libs/gst/base/gstbasetransform.c:
30 * libs/gst/controller/gstinterpolationcontrolsource.c:
33 * plugins/elements/gstcapsfilter.c:
36 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
38 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
39 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
40 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
41 (gst_bus_create_watch):
42 Make GstBusSource work with non-default main contexts (#562170).
44 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
45 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
46 Add test case for GstBusSource with a non-default main context.
48 * tests/check/libs/.cvsignore:
51 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
53 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
55 Wrap multi-line macros in G_STMT_{START|END}.
57 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
59 * docs/gst/gstreamer-sections.txt:
62 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
63 (gst_query_parse_uri):
65 API: Add URI query type. This is useful to query the URI
66 of a sink/source element and can be used by demuxers that
67 need to get data from other files.
68 This query should go upstream by default.
70 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
71 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
73 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
74 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
78 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
81 * tests/check/gst/gstghostpad.c:
82 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
83 That would cause the ghostpad to emit notify::caps two times (fist
84 from gst_pad_set_caps() and after from on_src_target_notify()).
86 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
88 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
90 Add some more unit-tests for the ghostpad notify signal, one of which
93 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
95 * win32/common/libgstreamer.def:
96 Add gst_tag_setter_reset_tags to the list of exported symbols.
98 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
101 * tests/check/gst/gstghostpad.c:
102 In a source ghostpad, when caps are changed in the target pad, the
103 change needs to be reflected in the ghostpad.
106 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
108 * gst/gstutils.c: (gst_element_found_tags_for_pad):
109 Add FIXME for 0.11 to set the pad as message source and not
110 the element. Otherwise it's impossible to detect for which
111 pad the tags were found without adding an event probe
112 or something similar to the pad.
114 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
116 * docs/faq/general.xml:
119 2008-12-16 Stefan Kost <ensonic@users.sf.net>
121 * docs/gst/gstreamer-sections.txt:
122 * gst/gsttagsetter.c:
123 * gst/gsttagsetter.h:
124 Rename api added in previous commit and add since tag to docs.
125 API: gst_tag_setter_reset_tags()
127 2008-12-16 Stefan Kost <ensonic@users.sf.net>
129 * docs/gst/gstreamer-sections.txt:
130 * gst/gsttagsetter.c:
131 * gst/gsttagsetter.h:
132 Add function to reset tagsetter for element reuse.
134 2008-12-16 Stefan Kost <ensonic@users.sf.net>
137 Avoid copy of empty taglist.
139 2008-12-16 Stefan Kost <ensonic@users.sf.net>
142 * tests/check/gst/gsttag.c:
143 More complete unit tests. Fix handling of empty taglists (they were
146 2008-12-15 Stefan Kost <ensonic@users.sf.net>
149 * gst/gsttagsetter.c:
150 Update GstTagSetter and GstTagMergeMode documentation. Mention
151 that tags can come from events and from application. Fix example.
153 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
155 * docs/design/part-TODO.txt:
156 Remove the seqnum entry that we implemented in 0.10 already.
157 Add entry about removing the format return value for queries.
159 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
161 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
162 (gst_base_sink_init), (gst_base_sink_set_property),
163 (gst_base_sink_get_property):
164 Expose the render-delay as a property so things like appsink can use it
165 to tweak the synchronisation.
167 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
169 * libs/gst/check/gstcheck.h: Allow check tests to use
170 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
171 CK_FORK=no to be used with multiple check test that use threads.
173 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
175 * gst/gstutils.c: (gst_element_get_compatible_pad):
176 Fix a caps memory leak introduced by the last change.
178 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
180 * gst/gstutils.c: (gst_element_get_compatible_pad):
181 Check if the caps of the pads are compatible before returning
182 a pad and claiming it is compatible. This, among other things,
183 fixes a bug with gst-launch where an incompatible pad is chosen
184 and linking fails. Fixes bug #544003.
186 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
188 * libs/gst/check/gstcheck.c: (gst_check_init):
189 Revert accidentially commited patch for bug #404631 which
190 tries to print a backtrace if a testcase is terminated by
191 a signal. This code was never activated as the corresponding
192 configure.ac change wasn't committed.
194 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
196 * tests/check/libs/controller.c: (GST_START_TEST):
197 This test should return TRUE now as syncing an uncontrolled
198 object will succeed now (there's nothing to sync).
200 2008-12-09 Stefan Kost <ensonic@users.sf.net>
202 * libs/gst/controller/gstcontroller.c:
203 Aggregate return value for gst_controller_sync_values(). More info in
204 logging. Always set values on first sync-call.
206 * libs/gst/controller/gstcontrolsource.c:
209 * libs/gst/controller/gsthelper.c:
210 Fix return code and comment.
212 2008-12-09 Stefan Kost <ensonic@users.sf.net>
214 * tools/gst-launch.1.in:
215 Fix description of how to specify a type in caps. Fixes #553873.
216 Also ranges and list contain values and not property-assignments.
218 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
220 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
221 Check for changed pads-list before checking the last returned
222 GstFlowReturn because the pad could have been removed and we
223 need to ignore the value in that case.
225 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
227 * libs/gst/base/gstbasetransform.c:
228 (gst_base_transform_prepare_output_buffer),
229 (gst_base_transform_getrange), (gst_base_transform_chain):
230 * libs/gst/base/gstbasetransform.h:
231 Add vmethod that is called before we start the transform and which can
232 be used to configure the transform, such as dynamic properties.
234 2008-12-05 David Schleef <ds@schleef.org>
237 Search for plugins on win32 based on the location of the
238 gstreamer DLL. Fixes #548786
240 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
243 Apparently AC_CONFIG_MACRO_DIR breaks when using more
244 than one macro directory, reverting last change.
246 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
249 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
252 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
254 Patch by: Cygwin Ports maintainer
255 <yselkowitz at users dot sourceforge dot net>
259 Require gettext 0.17 because older versions don't mix with libtool
260 2.2. At build time an older gettext version will still work.
263 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
265 Patch by: 이문형 <iwings at gmail dot com>
267 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
268 Adds support for FD_CONNECT event (win32). See #562258.
270 2008-11-24 Stefan Kost <ensonic@users.sf.net>
272 * libs/gst/base/gstbasesink.c:
273 Turn comment into gtk-doc comment.
275 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
277 * libs/gst/base/gstbasetransform.c:
278 (gst_base_transform_acceptcaps):
279 Revert quick accepcaps attempt, it's not fully equivalent to the old
280 behaviour and thus causes regressions.
282 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
284 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
287 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
289 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
291 * gst/gstregistry.c: (gst_registry_scan_path_level):
292 Reduce the number of stat() calls for every file from three times
293 to one time. Fixes bug #560360.
295 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
297 * libs/gst/base/gstbasetransform.c:
298 (gst_base_transform_acceptcaps):
299 Rename a variable to make the code clearer.
301 2008-11-21 Stefan Kost <ensonic@users.sf.net>
303 * plugins/elements/gstidentity.c:
304 Don't warning on offset==-1. Taken from _check_imperfect_offset().
306 2008-11-21 Michael Smith <msmith@songbirdnest.com>
308 * plugins/elements/gstfilesrc.c:
309 Check for localhost in URI was backwards, fix it. Fixes unit test.
311 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
313 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
314 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
315 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
316 Add beginnings of a more optimized acceptcaps function than the default
319 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
321 * gst/gstpad.c: (gst_pad_accept_caps):
322 Avoid getting the acceptcaps function too early.
324 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
326 * tools/gst-launch.c: (event_loop):
327 Make gst-launch handle LATENCY messages and make it recalculate the
330 2008-11-20 Michael Smith <msmith@songbirdnest.com>
332 * plugins/elements/gstfilesrc.c:
333 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
334 out own slightly incorrect version. Fixes use of some paths on
337 2008-11-20 Michael Smith <msmith@songbirdnest.com>
339 * gst/gstregistrybinary.c:
340 In win32 codepath, if we fail to write the registry, create the
341 directory for it and try again, matching the behaviour in non-win32
344 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
346 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
347 Changing the render delay changes the latency and so we must post a
350 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
354 Add GstQueryType for custom queries instead of having to use the
355 not-so-very-convenient registration infrastructure to register new
358 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
360 Patch by: Andrew Feren <acferen at yahoo dot com>
362 * gst/gstobject.c: (gst_object_default_deep_notify):
363 Unref the GEnumClass after usage again. Fixes bug #561501.
365 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
367 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
368 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
369 (gst_bin_change_state_func):
371 Add do-latency signal with the old default fallback implementation. This
372 allows for custom latency calculations for when the default is not
374 API: GstBin::do-latency signal.
376 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
378 * win32/common/libgstreamer.def:
379 Add new symbols to .def file.
381 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
383 * docs/gst/gstreamer-sections.txt:
384 * gst/gstbin.c: (gst_bin_recalculate_latency),
385 (gst_bin_change_state_func):
387 Add method to recalculate and redistribute the latency on a bin.
388 API: gst_bin_recalculate_latency().
390 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
393 Document the free_func.
395 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
397 * libs/gst/controller/gstinterpolation.c:
398 * libs/gst/controller/gstlfocontrolsource.c:
399 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
400 as it is mapped to a cast on non-win32 platforms.
402 2008-11-17 Stefan Kost <ensonic@users.sf.net>
404 * libs/gst/controller/gstcontroller.c:
405 * libs/gst/controller/gstcontrollerprivate.h:
406 Keep last-value and only call set_property if value has changed. This
407 supresses all the g_object_notifies we would trigger otherwise. It
408 also allows the user to chage the value while there is no controller
411 2008-11-17 Stefan Kost <ensonic@users.sf.net>
414 Don't crash if either of the string GValues is empty.
416 2008-11-17 Andy Wingo <wingo@pobox.com>
418 * tools/gst-inspect.c (print_all_uri_handlers): New function,
419 prints a summary of what URI schemes are supported by what
421 (main): Plumb in support for --uri-handlers or -u, and fix the
422 argc check for -a and -u.
424 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
427 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
428 conversion functions.
430 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
432 * gst/gstbuffer.c: (gst_buffer_finalize):
433 Avoid costly typechecking for trivially correct pointers.
435 * gst/gstpoll.c: (gst_poll_wait):
436 Add some G_LIKELY here and there.
438 * libs/gst/base/gstadapter.c: (gst_adapter_push):
441 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
443 * docs/random/wtay/poll-timeout:
446 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
448 * tests/old/testsuite/caps/intersection.c: (main):
449 * tests/old/testsuite/plugin/loading.c: (main):
450 Remove references to deprecated API g_mem_chunk*.
453 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
455 * tools/gst-inspect.c: (main):
456 Add --plugin option. Fixes #560301.
458 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
460 * docs/random/wtay/poll-timeout:
461 Quick braindump for a possible (not totally verified) atomic case.
463 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
465 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
466 (gst_registry_binary_initialize_magic),
467 (gst_registry_binary_write_cache),
468 (gst_registry_binary_check_magic):
469 * gst/gstregistrybinary.h:
470 Don't write and check a CRC for the binary registry file. It's
471 guaranteed that the registry is completely written (it's first written
472 to a temporary file and then moved) and if the registry was corrupted
473 by some hardware failure we would have bigger problems.
475 Bump binary registry version to 0.10.21.1 for this as it's an
476 incompatible change and to ensure that the registry gets rebuild
479 This saves some milliseconds for reading/writing the registry.
482 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
484 * docs/random/wtay/poll-timeout:
485 Some pseudo code for how we could implement clock timeouts with GstPoll.
487 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
489 * plugins/elements/gstfilesink.c:
490 Update Author string to match others.
492 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
494 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
495 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
496 being fixed and inline the trivial check.
498 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
500 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
501 (gst_caps_merge_structure), (gst_caps_get_structure),
502 (gst_caps_copy_nth), (gst_caps_set_simple),
503 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
504 (gst_caps_is_equal_fixed), (gst_caps_intersect),
505 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
506 (gst_caps_to_string):
507 Callgrind micro optimisations.
508 Avoid array bounds checks and force inline of trivial function.
510 * gst/gstobject.c: (gst_object_set_name_default):
511 -1 is equivalent to letting glib to the strlen but then there is more
512 room for optimisations and it's not our fault.
514 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
515 no need to clear the array, we're cool.
517 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
518 The most common _is_fixed() check is done on fundamental glib base
519 types so we check this first instead of doing a huge amount of
520 useless GST_TYPE_ARRAY calls.
522 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
525 Add a SKIP seek flag for use with advanced trickmodes.
526 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
528 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
530 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
531 No need to memset, we can clear the value ourselves.
533 * gst/gstvalue.c: (gst_type_is_fixed),
534 (gst_value_get_compare_func):
535 Some optimisations from a few callgrind sessions:
536 When checking if a type is fixed, check for trivial fundamental types
537 first before checking types for which we need to get the type followed
538 by the heavy duty type checks, this reduces the amount of
539 g_type_fundamental() calls a lot.
540 When getting the compare function, first check for our registered types.
541 If that fails, do the heavy duty g_type_is_a() checks, reduces the
542 amount of g_type_is_a() considerably.
544 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
546 * docs/design/part-TODO.txt:
547 Mumble something about removing GstXML.
549 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
551 * gst/gstbin.c: (gst_bin_handle_message_func):
552 Get the seqnum before we dispose the message.
554 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
556 * docs/design/part-TODO.txt:
557 Refer to the framestepping document.
559 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
561 * gst/gstbin.c: (bin_handle_async_start),
562 (gst_bin_handle_message_func), (gst_bin_query):
563 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
564 (gst_base_sink_event), (gst_base_sink_change_state):
565 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
566 (gst_base_src_loop), (gst_base_src_change_state):
567 Copy seqnums from events to messages so that they can all be related
570 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
572 * tools/gst-launch.c: (event_loop):
573 Print the message seqnums.
575 2008-11-04 Andy Wingo <wingo@pobox.com>
577 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
579 2008-11-04 Andy Wingo <wingo@pobox.com>
581 Add sequence numbers to events and messages. See #559250.
583 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
587 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
588 events with a new sequence number, and copy it when copying.
589 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
590 an event's sequence number.
593 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
594 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
597 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
599 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
601 * docs/manual/advanced-position.xml:
602 * docs/manual/basics-bins.xml:
603 * docs/manual/basics-bus.xml:
604 * docs/manual/basics-pads.xml:
605 * docs/manual/intro-gstreamer.xml:
606 * docs/manual/intro-preface.xml:
607 Some Application Development Manual fixes thanks to
608 Andrew Feren. Fixes #558459.
610 2008-11-03 Stefan Kost <ensonic@users.sf.net>
612 * gst/gstregistrybinary.c:
613 Don't bother with the GTimer if we don't output the results.
615 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
617 Patch by: David Schleef <ds@schleef.org>
619 * libs/gst/net/Makefile.am:
620 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
622 2008-10-31 Stefan Kost <ensonic@users.sf.net>
624 * gst/gstregistrybinary.c:
625 Oh my, studip, stupid me. Remove double stat() call.
627 2008-10-31 Stefan Kost <ensonic@users.sf.net>
630 Use g_unlink instead of unlink.
632 * gst/gststructure.c:
641 Formatting & whitespaces.
643 2008-10-31 Stefan Kost <ensonic@users.sf.net>
645 * plugins/elements/gstidentity.c:
646 Doc typo. Use return value of parent_class->event.
648 * plugins/elements/gsttypefindelement.c:
649 Chain up at the end for consistency.
651 2008-10-30 Stefan Kost <ensonic@users.sf.net>
654 * docs/gst/gstreamer-docs.sgml:
655 * docs/gst/gstreamer-sections.txt:
656 * docs/gst/running.xml:
657 * docs/libs/gstreamer-libs-docs.sgml:
658 Change to xinclude based build - its faster and easier to maintain.
660 2008-10-30 Stefan Kost <ensonic@users.sf.net>
662 * gst/gstregistrybinary.c:
663 * gst/gstregistryxml.c:
664 Use g_unlink() as none of these are directories.
666 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
668 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
671 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
673 * libs/gst/base/gstbasetransform.c:
674 (gst_base_transform_find_transform), (gst_base_transform_getrange):
675 If we have a fixate function, call it even if we already have fixed caps
676 because the subclass might add some caps. Makes audioconvert add a
677 default channel layout.
679 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
681 * libs/gst/base/gstbasetransform.c:
682 (gst_base_transform_prepare_output_buffer),
683 (gst_base_transform_getrange):
684 Clear the output buffer variable.
685 Cleanups to the error path in the getrange function.
688 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
690 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
691 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
692 Use gst_buffer_try_new_and_alloc() and handle errors instead of
693 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
696 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
698 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
699 Set the last_stop to a more meaningful position when configuring the
700 segment. ie. the start/stop of the segment or clipped against the
701 updated segment boundaries.
703 * tests/check/gst/gstsegment.c: (GST_START_TEST):
704 Add some unit tests for the last_stop.
706 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
708 * libs/gst/base/gstbytereader.c:
709 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
712 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
714 * docs/gst/gstreamer-sections.txt:
716 API: Move float endianness conversion macros from libgstfloatcast
717 to core as it's useful in general, even in core. Fixes bug #555196.
718 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
719 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
720 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
722 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
723 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
724 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
725 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
727 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
729 * docs/libs/gstreamer-libs-sections.txt:
730 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
731 (gst_byte_reader_peek_data):
732 * libs/gst/base/gstbytereader.h:
733 * win32/common/libgstbase.def:
734 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
735 to get a pointer to the data at the current position and have
738 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
741 Fix a bug in the output of the configure script summary
742 when --gst-disable-registry is supplied
744 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
746 * libs/gst/base/gstbitreader.c:
747 * libs/gst/base/gstbytereader.c:
748 Fix the names of 2 functions in the docs strings.
750 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
752 * libs/gst/base/gstbasetransform.c:
753 (gst_base_transform_prepare_output_buffer),
754 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
755 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
756 refcount problems as seen in banshee and maybe also in farsight2.
757 Remove atomic int now that we need to take the lock anyways.
759 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
761 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
762 (gst_base_sink_default_prepare_seek_segment),
763 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
764 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
765 (gst_base_sink_query):
766 Implement more seeking in pull mode.
767 Use pad convert functions to convert position to the requested format.
768 Fix position/duration reporting in pull mode.
769 Implement position and duration reporting in other formats than time.
771 * libs/gst/base/gstbasesink.h:
772 Add member to keep track of when the segment is playing.
774 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
776 * gst/gstpad.c: (gst_pad_configure_src):
777 When we use gst_pad_alloc_buffer() without wanting to set the caps we
778 also don't need to check if the caps are compatible because the caller
779 presumably is going to perform its own custom checks. Fixes some cases
780 where basetransform elements would error out when it was not needed.
782 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
784 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
787 * libs/gst/base/gstbasetransform.c:
788 (gst_base_transform_handle_buffer),
789 (gst_base_transform_reconfigure):
792 * win32/common/libgstbase.def:
795 2008-10-19 Stefan Kost <ensonic@users.sf.net>
797 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
798 Remove duplicated assignment and log a message in failure case.
800 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
802 Patch by: Dig Ge <dig.ge.cn at gmail com>
804 * tests/examples/helloworld/helloworld.c: (main):
805 Fix copy'n'paste bug in hello world example (#556900).
807 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
809 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
810 (gst_base_sink_query):
811 Query the total number of bytes when activating the pad in pull mode.
812 Implement duration query in pull mode by using the installed pad convert
813 function to convert from bytes to the requested format.
815 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
817 * docs/libs/gstreamer-libs-sections.txt:
818 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
819 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
820 (gst_base_sink_event), (gst_base_sink_perform_seek),
821 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
822 (gst_base_sink_send_event), (gst_base_sink_change_state):
823 * libs/gst/base/gstbasesink.h:
824 Add method to commit the state in subclasses.
825 Refactor the flush_start and flush_stop code because we need it for
826 flushing while seeking too.
827 Implement the beginnings of seeking in pull mode.
828 Use the segment last_stop field for the pulling offset.
829 Fix the pause method in pull mode.
830 Configure the segment to BYTES for pull mode.
831 API: GstBaseSink::gst_base_sink_do_preroll()
833 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
835 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
838 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
840 * gst/gstquark.c: (_priv_gst_quarks_initialize):
841 Fix printf format warning.
843 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
845 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
846 Fix flow aggregation of tee. Error out immediately for all flow returns
847 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
848 and return OK if at least one pad is linked.
850 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
851 and otherwise returned the flow return of the last pad, which is wrong.
853 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
854 (GST_START_TEST), (tee_suite):
855 Add unit tests for the flow aggregation.
857 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
859 * docs/design/part-TODO.txt:
860 Remove item from the todo list because it was fixed with the latency
861 state change rewrites.
863 * docs/design/part-seeking.txt:
864 * docs/design/part-segments.txt:
867 * gst/gstevent.c: (gst_event_new_new_segment_full),
868 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
869 (gst_event_parse_buffer_size), (gst_event_new_qos),
870 (gst_event_parse_qos), (gst_event_new_seek),
871 (gst_event_parse_seek), (gst_event_new_latency),
872 (gst_event_parse_latency):
873 Use quarks to construct and parse events.
875 * gst/gstquark.c: (_priv_gst_quarks_initialize):
877 Add some more quarks to the table.
878 Emit a warning when the quark tables are not in sync.
880 * tests/check/gst/gstbus.c: (GST_START_TEST):
883 2008-10-13 Stefan Kost <ensonic@users.sf.net>
885 * plugins/elements/Makefile.am:
886 * plugins/indexers/Makefile.am:
887 Don't install static libs for plugins. Fixes #550851 for core.
889 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
891 * gst/gstbus.c: (gst_bus_source_finalize),
892 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
893 (gst_bus_enable_sync_message_emission),
894 (gst_bus_disable_sync_message_emission),
895 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
896 Fix deadlock, g_source_get_id() cannot be called in finalize.
897 Keep track of the watch source by keeping a pointer to the source object
899 Use the bus lock to protect access to the pointer to the current
902 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
904 Base on Patch by: Olivier Crete <tester at tester dot ca>
906 * gst/gstbus.c: (gst_bus_source_finalize),
907 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
908 Only allow one bus watch to be set at a time. This is necessary
909 because the dispatcher pops the message from the bus and the second
910 watcher will then get NULL or the next message (and the first won't
911 get this next message then, etc). If more than one "watcher" is
912 required signal watches should be used. Fixes bug #526044.
914 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
916 * tools/gst-launch.c:
917 Change the printing of the 'buffering...' output to avoid putting
918 a \r in a translateable string (flagged by the TP).
920 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
923 Clarify that the save_thyself() and restore_thyself() virtual
924 functions of GstObject need to be overriden, not
925 gst_object_(save|restore)_thyself() which is impossible.
928 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
930 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
931 Revert a patch from 21 months ago that broke caps negotiation in pull
932 mode. Basically, having a buffer pass over a pad will trigger the
933 setcaps function when caps change, just like in push mode.
935 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
937 * docs/design/part-negotiation.txt:
938 Update the docs some more.
940 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
941 If we pull a buffer with non-trivial caps, suggest those caps with the
944 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
946 * docs/design/part-TODO.txt:
947 Add another limitation of pad-blocking with segment seeks not pushing
950 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
952 * win32/common/libgstbase.def:
953 * win32/common/libgstreamer.def:
954 Add new symbols to the win32 defs files
956 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
958 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
959 (gst_bin_handle_message_func):
960 The message src can be NULL, don't try to print the object names in that
963 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
964 Add some more debug info.
966 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
969 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
972 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
974 * docs/design/part-negotiation.txt:
977 * docs/libs/gstreamer-libs-sections.txt:
978 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
979 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
980 (gst_base_sink_init), (gst_base_sink_set_blocksize),
981 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
982 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
983 (gst_base_sink_loop), (gst_base_sink_pad_activate),
984 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
985 (gst_base_sink_change_state):
986 * libs/gst/base/gstbasesink.h:
987 Add blocksize property and methods to control the amount of data
989 Negotiate first before activating upstream in pull mode so that they can
990 negotiate themselves.
991 When we operate in pull mode, we only accept the caps that we
993 Make the sink go ASYNC to PAUSED, like all other sinks.
994 API: GstBaseSink::gst_base_sink_set_blocksize()
995 API: GstBaseSink::gst_base_sink_get_blocksize()
996 API: GstBaseSink::blocksize
998 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
999 (gst_base_src_set_live), (gst_base_src_is_live),
1000 (gst_base_src_set_format), (gst_base_src_query_latency),
1001 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1002 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1003 (gst_base_src_set_property), (gst_base_src_get_property):
1004 * libs/gst/base/gstbasesrc.h:
1005 Add typechecking in public API functions.
1006 Add methods to control the blocksize in subclasses.
1007 API: GstBaseSrc::gst_base_src_set_blocksize()
1008 API: GstBaseSrc::gst_base_src_get_blocksize()
1010 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1012 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1013 (buffer_probe), (event_probe), (GST_START_TEST):
1014 We now see 3 events go through our pad, since basesink now sends
1015 upstream latency events.
1017 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1019 * gst/gstpipeline.c: (gst_pipeline_change_state):
1020 Release the object lock before trying to flush the bus.
1022 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1024 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1025 Forward LATENCY events upstreams so that elements know about the total
1026 pipeline latency. Fixes #555307.
1028 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1030 * plugins/elements/gstqueue.c:
1031 Allow through queries when we don't know how
1032 to adjust them (not TIME or BYTES), as otherwise it's
1033 not possible to query the current position in order
1034 to seek in other formats at all.
1036 2008-10-08 Andy Wingo <wingo@pobox.com>
1038 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1040 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1042 * gst/gstghostpad.c:
1043 * gst/gstghostpad.h:
1044 Unbreak -good build, private is a reserved c++ keyword.
1046 2008-10-08 Andy Wingo <wingo@pobox.com>
1048 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1049 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1050 removal: re-add GST_GHOST_PAD_CAST to the header.
1052 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1053 (GstGhostPadClass): Publically expose these structures so as to
1054 allow easy subclassing from C. Hide the member data behind a
1055 private opaque data pointer.
1057 * gst/gstghostpad.c: Adapt to store instance data in the type
1058 instance's private data region, not in the public struct.
1060 2008-10-08 Andy Wingo <wingo@pobox.com>
1062 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1063 template via g_object_get(), be sure to unref it.
1065 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1067 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1069 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1070 If we can't get a cache file don't try to save something to it.
1071 Dereferencing NULL pointers usually isn't a good idea.
1073 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1075 * tests/check/Makefile.am:
1076 * tests/check/gst/gstabi.c:
1077 * tests/check/gst/struct_sparc.h:
1078 * tests/check/libs/libsabi.c:
1079 * tests/check/libs/struct_sparc.h:
1080 Add Sparc ABI checks
1082 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1083 Cast signed integer to unsigned to avoid a compiler warning.
1085 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1087 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1088 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1089 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1090 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1091 (gst_byte_reader_peek_int24_be):
1092 Use new GST_READ_UINT24_(LE|BE) macros.
1094 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1096 * docs/gst/gstreamer-sections.txt:
1098 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1099 as it's too easy to break the ISO C strict aliasing rules with simple
1100 casts to the corresponding type and this would introduce hard to debug
1101 bugs. Fixes bug #545714.
1103 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1105 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1107 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1108 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1109 Add 'Since' bits to gtk-doc chunks for new API.
1111 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1113 * docs/gst/gstreamer-sections.txt:
1116 2008-10-06 Andy Wingo <wingo@pobox.com>
1118 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1119 that will be called on the malloc_data to free it. Basically a way
1120 to avoid subclassing when all you need is a different free
1121 function, i.e. free() instead of g_free().
1123 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1124 calling the free function.
1125 (gst_buffer_init): Initialize the free function to g_free.
1127 2008-10-06 Andy Wingo <wingo@pobox.com>
1129 * gst/gstghostpad.h:
1130 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1131 finishes the initialization of ghost pad. Useful for language
1132 bindings and subclassers of GstGhostPad. Fixes #539108.
1133 (gst_ghost_pad_new_full): Use the new constructor.
1135 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1137 Base on Patch by: Olivier Crete <tester at tester dot ca>
1139 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1140 (gst_bin_remove_func), (update_degree),
1141 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1142 Keep track of pads that are being linked/unlinked and resync the state
1145 * gst/gstpad.c: (gst_pad_get_direction),
1146 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1147 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1148 (gst_pad_link_prepare), (gst_pad_link),
1149 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1150 (gst_pad_check_pull_range), (gst_pad_get_range),
1151 (gst_pad_pull_range):
1152 Some code cleanups, use macros to check pad direction.
1153 Don't need to take the lock on the pad direction.
1154 Post structure change when pads are linked/unlinked.
1155 Change some checks into _return_if_fail().
1157 * tests/check/gst/gstbin.c:
1158 (test_link_structure_change_state_changed_sync_cb),
1159 (GST_START_TEST), (gst_bin_suite):
1160 Add testcase for pad link/unlinke resync during a state change.
1163 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1165 * docs/gst/gstreamer-sections.txt:
1166 * gst/gstmessage.c: (gst_message_new_structure_change),
1167 (gst_message_parse_structure_change):
1169 Implement STRUCTURE_CHANGED messages. These messages will be used to
1170 signal the parent bin of link/unlink operations that could require a
1171 resync when doing a state change. See ##510354.
1172 API: gst_message_new_structure_change()
1173 API: gst_message_parse_structure_change()
1175 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1179 Add some more quarks for new message. See #510354.
1181 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1183 * docs/libs/gstreamer-libs-docs.sgml:
1184 * docs/libs/gstreamer-libs-sections.txt:
1185 * libs/gst/base/Makefile.am:
1186 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1187 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1188 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1189 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1190 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1191 (gst_bit_reader_skip_to_byte):
1192 * libs/gst/base/gstbitreader.h:
1193 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1194 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1195 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1196 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1197 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1198 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1199 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1200 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1201 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1202 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1203 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1204 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1205 * libs/gst/base/gstbytereader.h:
1206 * tests/check/Makefile.am:
1207 * tests/check/libs/bitreader.c: (GST_START_TEST),
1208 (gst_bit_reader_suite):
1209 * tests/check/libs/bytereader.c: (GST_START_TEST),
1210 (gst_byte_reader_suite):
1211 API: Add bit reader and byte reader classes, including documentation
1212 and an extensive unit test suite. Fixes bug #553554.
1214 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1216 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1217 (gst_base_sink_query):
1218 Improve position reporting while flushing and other intermediate state
1219 changes. Fixes #553874.
1221 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1223 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1225 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1226 Original patch by : Simon Descaries
1227 Fix small refount leak in caps compatibility check.
1230 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1232 * docs/pwg/advanced-request.xml:
1233 Fix 0.8 api usage in example. Fixes #554561
1235 * docs/pwg/appendix-porting.xml:
1236 Change 0.9 to 0.10 here.
1238 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1240 * docs/manual/basics-data.xml:
1241 Change "event-event interaction" to "element-element interaction".
1242 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1245 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1248 Back to development -> 0.10.21.1
1250 === release 0.10.21 ===
1252 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1255 releasing 0.10.21, "Take These Things From Me"
1257 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1260 0.10.20.4 pre-release
1262 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1264 * libs/gst/base/gstbasetransform.c:
1265 * plugins/elements/gstcapsfilter.c:
1266 * tests/check/Makefile.am:
1267 * tests/check/elements/.cvsignore:
1268 * tests/check/elements/capsfilter.c:
1269 Fix assertion in basetransform when the subclass chooses not to
1270 allocate a buffer in prepare_buffer(), and make capsfilter error out
1271 cleanly if requested to apply caps that don't completely specify the
1272 buffer. Fixes #551509
1274 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1276 * libs/gst/base/gstbasetransform.c:
1277 (gst_base_transform_prepare_output_buffer):
1278 Take new caps ref because our old one might have been gone when the
1279 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1281 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1284 Do not probe availability of check unit test library when cross
1285 compiling, as test would not work anyway. Also cleanup verbose output
1286 of the check test. Fixes #551952.
1288 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1290 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1292 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1293 Avoid leaking the parent ref when we fail changing the state of the
1294 element using gst_element_sync_state_with_parent(). Fixes #551978.
1296 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1298 * docs/manual/intro-motivation.xml::
1299 Remove some bits that no longer apply, update others (#551642).
1301 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1304 0.10.20.2 pre-release
1312 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1314 * win32/common/config.h.in:
1315 Add GST_DATADIR, hard-code cpu to x86.
1317 * win32/common/libgstreamer.def:
1320 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1323 Fix Since: markers for new geo tags.
1325 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1328 Fix actual tag name define after renaming from altitude to elevation.
1330 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1332 * gst/gstpad.c: (add_unref_pad_to_list),
1333 (gst_pad_get_internal_links_default):
1334 Add fallback when calling the deprecated function on an element that
1335 implements the new internal_link handler.
1337 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1339 * docs/gst/gstreamer-sections.txt:
1342 Add new tags for geo location and clarify purpose of existing location
1345 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1347 Patch by: Olivier Crete <tester at tester dot ca>
1349 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1350 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1351 Use thread-safe internal links iterator. Fixes #549504.
1353 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1355 Based on patch by: Olivier Crete <tester at tester dot ca>
1357 * docs/gst/gstreamer-sections.txt:
1358 * win32/common/libgstreamer.def:
1359 * gst/gstpad.c: (gst_pad_init),
1360 (gst_pad_set_iterate_internal_links_function),
1361 (int_link_iter_data_free), (iterate_pad),
1362 (gst_pad_iterate_internal_links_default),
1363 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1365 Add threadsafe replacement functions for getting internal links of an
1366 element. Deprecate the old internal links functions.
1367 API:GstPad::gst_pad_set_iterate_internal_links_function()
1368 API:GstPad::GstPadIterIntLinkFunction
1369 API:GstPad::gst_pad_iterate_internal_links()
1370 API:GstPad::gst_pad_iterate_internal_links_default()
1372 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1373 (gst_proxy_pad_init):
1374 Implement threadsafe internal links.
1376 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1377 Unit test for internal links on tee. See #549504.
1379 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1381 * tests/check/Makefile.am:
1382 libs/transform1 test requires libs/test_transform.c
1384 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1386 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1387 Die evil deadlock, die !
1389 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1391 * gst/gstutils.c: (gst_element_get_compatible_pad):
1392 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1393 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1394 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1395 not steal the refcount of the given caps as stated.
1397 REVERT THIS COMMIT ONCE FIXED !
1398 REVERT THIS COMMIT ONCE FIXED !
1399 REVERT THIS COMMIT ONCE FIXED !
1400 REVERT THIS COMMIT ONCE FIXED !
1401 REVERT THIS COMMIT ONCE FIXED !
1402 REVERT THIS COMMIT ONCE FIXED !
1404 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1406 * gst/gstiterator.c:
1407 * gst/gstiterator.h:
1408 After 3 years it's about time to revise the documentation of the
1411 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1413 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1414 Make the internal links function less thread-unsafe and add some
1415 comments, dunno why.
1417 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1419 * gst/gst_private.h:
1420 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1421 build with --disable-gst-debug.
1423 2008-08-28 David Schleef <ds@schleef.org>
1425 * gst/gstpadtemplate.c: Revert last change, since it breaks
1426 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1427 but shouldn't be enabled until we've released fixed versions
1428 of -good and -ffmpeg.
1430 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1433 Put the gst_object_get_name() back in.
1435 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1437 * gst/gstpadtemplate.c:
1438 The old behaviour was that gst_pad_template_new() takes ownership of
1439 the caps. As we now call g_object_new() which calls g_object_set() and
1440 which copies the caps, we have to unref them to not leak them. Fixes
1441 make valgrid for me.
1443 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1446 Don't segfault on input like "tel:+1-123-555-1234".
1448 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1451 Due to popular request also include ObjectType in
1452 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1454 2008-08-26 David Schleef <ds@schleef.org>
1456 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1457 src_val must be positive, because that's not a requirement.
1458 This causes problems with converting negative granulepos
1460 * gst/gstquery.c: Same, gst_query_new_convert().
1462 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1464 * gst/gstclock.c: (gst_clock_add_observation):
1465 Add some more debugging to the clock slaving code.
1467 * win32/common/libgstbase.def:
1468 Add new basetransform method.
1470 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1472 * gst/gstbin.c: (gst_bin_element_set_state):
1473 Take the (recursive) state lock between getting the locked state of an
1474 element and changing the element state. This allows the application to
1475 lock an element's state and then change its state without races.
1477 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1479 * gst/gstbin.c: (gst_bin_element_set_state):
1480 When an element is in the locked state we still want to update the
1481 base_time of the element.
1483 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1485 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1486 Use the result from gst_pad_set_caps() instead of assuming the element
1487 always accepted the caps computed by the default negotiate function.
1489 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1491 * docs/libs/gstreamer-libs-sections.txt:
1492 * libs/gst/base/gstbasetransform.c:
1493 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1494 (gst_base_transform_chain), (gst_base_transform_suggest),
1495 (gst_base_transform_reconfigure):
1496 * libs/gst/base/gstbasetransform.h:
1497 Implement method for reconfiguring basetransform.
1498 API: GstBaseTransform::gst_base_transform_reconfigure()
1500 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1502 patch by: Murray Cumming <murrayc@murrayc.com>
1505 Mention that this is just like gst_buffer_merge() but with extra
1506 unreffing for C coders. Advise language bindings not to wrap it.
1509 Also fix file comment.
1511 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1513 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1515 * plugins/elements/gstfakesink.c:
1516 * plugins/elements/gstfakesrc.c:
1517 Call super::event() when not handling it. Fixes #544855.
1519 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1521 Patch by: Alessandro Decina <alessandro@nnva.org>
1522 * plugins/elements/gstfilesrc.c:
1523 Use 64 bit variants of stat functions on win32, to enable support
1524 of large files there.
1527 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1529 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1530 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1531 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1532 (gst_base_sink_get_position), (gst_base_sink_change_state):
1533 Improve position reporting in the flushing state.
1534 Also report the position when we are not yet prerolled but we
1535 have a newsegment event. Fixes #543444.
1536 Improve the pull-based negotiation code.
1538 * tests/check/elements/fakesink.c: (GST_START_TEST),
1540 Add testcase for position reporting while flushing in PAUSED and
1543 * tests/check/generic/sinks.c: (GST_START_TEST):
1544 Update unit-test, we can now query the position as soon as we receive a
1547 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1549 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1551 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1552 When the subclass event handler releases the PREROLL_LOCK, we could be
1553 in the flushing state and we have to ignore the event. Fixes #548394.
1555 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1557 * tools/gst-launch.1.in:
1558 Document GST_REGISTRY_UPDATE environment variable.
1560 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1562 * libs/gst/base/gstbasetransform.c:
1563 (gst_base_transform_prepare_output_buffer):
1564 If the element is configured in passthrough mode but the
1565 prepare_output_buffer gave us a new output buffer, discard that buffer
1566 and reuse the input buffer.
1568 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1570 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1572 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1573 (gst_tee_request_new_pad), (gst_tee_release_pad),
1574 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1575 * plugins/elements/gsttee.h:
1576 Protect pad_alloc with a new lock so that we can be sure that nothing is
1577 performing a pad_alloc when removing the pad. Fixes #547835.
1579 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1580 (buffer_alloc_harness_teardown), (app_thread_func),
1581 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1582 Added testcase for shutdown race.
1584 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1589 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1591 * libs/gst/base/gstbasetransform.c:
1592 (gst_base_transform_prepare_output_buffer),
1593 (gst_base_transform_buffer_alloc):
1594 Go over the buffer_alloc function again and make sure we always end up
1595 allocating a buffer.
1597 Avoid doing pad alloc when we have a pending suggestion because we
1598 cannot yet deal with changing caps in that case. Fixes #547728
1600 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1602 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1604 * docs/manual/advanced-clocks.xml:
1605 * docs/manual/clocks.png:
1606 * docs/manual/diagrams-clocks.svg:
1607 Add one more image showing different times together with a describing
1608 paragraph. Fixes #547729.
1610 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1612 * win32/common/libgstbase.def:
1615 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1617 * libs/gst/base/gstbasetransform.c:
1618 (gst_base_transform_transform_caps),
1619 (gst_base_transform_prepare_output_buffer),
1620 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1621 Don't overwrite the outsize when calculating the expected size of a new
1622 buffer because we still need it in case we cannot process the new
1624 When converting the size of the new buffer to an upstream size, actually
1625 use the expected size of the buffer, not some other random value.
1626 Use an atomic int to signal that a new upstream caps suggestion is
1628 When we can convert the current buffer to a new format, check if the
1629 buffer size is of the expected size and allocate a new buffer of the
1630 expected size when this is not the case. Fixes #546883.
1632 * tests/check/libs/transform1.c: (GST_START_TEST):
1633 remove ifdeffed code from the unit test.
1635 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1637 * pkgconfig/gstreamer-uninstalled.pc.in:
1638 * pkgconfig/gstreamer.pc.in:
1639 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1640 called gstcontroller-0.10.
1642 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1644 * gst/gstchildproxy.h:
1646 Remove double interface from doc-string.
1648 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1650 * libs/gst/base/gstbasesrc.c:
1651 * libs/gst/base/gstbasetransform.c:
1652 Fix headings in docs and gtk-doc warnings.
1654 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1656 * gst/gstregistrybinary.c:
1657 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1661 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1663 * libs/gst/base/gstbasetransform.c:
1664 (gst_base_transform_buffer_alloc):
1665 Fix a "may be used unitialized" warning.
1667 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1669 * docs/gst/gstreamer-sections.txt:
1671 Document preset-iface vmethods.
1673 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1675 * docs/manual/advanced-interfaces.xml:
1676 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1677 only used to discover devices.
1679 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1681 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1683 * gst/gst.c: (init_pre):
1684 Make sure gettext returns translations in UTF-8 encoding rather
1685 than in the current locale encoding (#546822).
1687 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1689 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1692 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1693 Improve unit test subset tests and add a testcase for the subset failure
1696 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1697 Improve subtraction unit test.
1699 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1701 * plugins/elements/gsttee.c:
1702 Unlock, instead of locking again.
1704 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1707 Clarify the docs a bit more.
1709 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1711 * tests/examples/metadata/read-metadata.c:
1712 Don't leak old taglist.
1714 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1716 Patch by: Olivier Crete <tester at tester dot ca>
1718 * gst/gststructure.c:
1719 (gst_structure_fixate_field_nearest_fraction):
1720 Avoid overflows in fixation code when dealing with MAXINT values, which
1721 v4l2src seems to do.
1724 * tests/check/gst/gststructure.c: (GST_START_TEST):
1725 Make a unit test to check the fix.
1727 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1729 * plugins/elements/gstcapsfilter.c: (copy_func),
1730 (gst_capsfilter_set_property):
1731 Use new caps suggestion feature of basetransform to request a caps
1732 negotiation upstream.
1734 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1736 * docs/libs/gstreamer-libs-sections.txt:
1738 API: GstBaseTransform::gst_base_transform_suggest()
1740 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1741 (gst_base_transform_init), (gst_base_transform_transform_caps),
1742 (gst_base_transform_transform_size),
1743 (gst_base_transform_configure_caps),
1744 (gst_base_transform_can_transform),
1745 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1746 (gst_base_transform_prepare_output_buffer),
1747 (gst_base_transform_buffer_alloc),
1748 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1749 (gst_base_transform_chain), (gst_base_transform_activate),
1750 (gst_base_transform_set_passthrough),
1751 (gst_base_transform_is_passthrough),
1752 (gst_base_transform_set_in_place),
1753 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1754 (gst_base_transform_set_qos_enabled),
1755 (gst_base_transform_is_qos_enabled),
1756 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1757 (gst_base_transform_reconfigure):
1758 * libs/gst/base/gstbasetransform.h:
1759 Rewrite of basetransform to perform negotiation outside of the
1760 buffer_alloc functions. Fixes #545853.
1762 * tests/check/libs/transform1.c: (GST_START_TEST),
1766 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1768 * tests/check/gst/gstpreset.c:
1769 Only run preset tests when $HOME is writable. Preliminary fix for
1772 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1774 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1775 (gst_bin_change_state_func), (bin_handle_async_done),
1776 (gst_bin_handle_message_func):
1777 Fix race for bins that simulate ASYNC state changes by inserting
1778 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1779 pending ASYNC messages even when the bin does not have ASYNC children.
1780 We note detect this behaviour because we will receive an ASYNC message
1781 that is originating from the bin itself.
1782 Fixes races with decodebin2 state changes.
1784 * tests/check/gst/gstbin.c: (GST_START_TEST):
1785 Add some more debug.
1787 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1789 * gst/gsttaglist.c: (_gst_tag_initialize):
1792 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1795 Argh. actually save the text before committing. Now adds
1796 gst_tag_merge_strings_with_comma() to gst_tag_register().
1798 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1802 Do as tim pointed out and actually register the new tag. Also improve
1803 te docs and use gst_tag_merge_strings_with_comma() method to allow
1804 retriving all keywords merged in one list.
1806 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1809 * docs/gst/gstreamer.types:
1810 Revert 'accidential' change of the configure option removal. We still
1811 need to generate the types file in configure --disable-load-save.
1813 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1815 * docs/gst/gstreamer-sections.txt:
1817 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1819 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1821 * gst/gstpadtemplate.c:
1822 (gst_pad_template_class_init), (gst_static_pad_template_get),
1823 (gst_pad_template_new), (gst_pad_template_pad_created),
1824 (gst_pad_template_set_property), (gst_pad_template_get_property):
1825 Add "name-template", "direction", "presence" and "caps" properties,
1826 so that gst_pad_template_new() is just a thin wrapper around
1827 g_object_new(), which is better for bindings. (Fixes: #539772)
1829 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1832 Be more liberal in what URIs we accept.
1833 Do not unescape bits of the URI for no apparent reason before passing to
1834 the element. Fixes #545352.
1836 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1838 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1841 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1843 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1846 * docs/gst/gstreamer-sections.txt:
1847 * docs/gst/gstreamer.types:
1848 * docs/gst/gstreamer.types.in:
1851 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1852 * gst/gstconfig.h.in:
1853 * gst/gstelement.c: (gst_element_get_index):
1854 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1855 (gst_registry_binary_load_feature),
1856 (gst_registry_binary_read_cache):
1857 * gst/gstregistryxml.c: (load_feature),
1858 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1859 * plugins/Makefile.am:
1861 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1862 (print_plugin_features), (print_element_features):
1863 * tools/gst-xmlinspect.c: (print_event_masks),
1864 (print_element_info):
1865 * win32/common/gstconfig.h:
1866 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1868 Disabling the indexers and URI handler code will only reduce the
1869 required amount of memory by a very small amount but on the other hand
1870 requires much more maintaince work. Apart from that many places of
1871 code are broken when disabling them.
1873 Disabling the enum types doesn't reduce the required amount of memory
1874 by more than a few bytes and makes it hard to fix bugs like #539772,
1875 i.e. use the enums as GObject properties.
1877 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1879 * docs/design/part-TODO.txt:
1880 Add some thoughts and problems with upstream renegotiation.
1882 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1884 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1885 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1886 Remove silly redundant debug.
1887 Add some more debug info.
1888 Clarify the docs regarding new caps received from pad_alloc.
1890 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1892 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1893 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1894 Make setting the caps more threadsafe.
1896 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1898 * docs/design/part-element-transform.txt:
1901 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1903 * plugins/elements/gstqueue.c: (gst_queue_init),
1904 (gst_queue_acceptcaps):
1905 Add and use a custom acceptcaps function instead of falling back to the
1906 potentially less optimized default implementation.
1908 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1910 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1911 Only sanity-check the buffer size if requested_caps == buffer_caps
1912 (ie. don't take pad caps into account, they're not relevant here)
1914 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1916 * plugins/elements/gsttee.c:
1917 * plugins/elements/gsttee.h:
1918 Reverting as not everything is clear yet. Needs some general design
1921 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1924 ChangeLog surgery for tee commit.
1926 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1928 * docs/gst/gstreamer-sections.txt:
1929 Cleanup section-file.
1931 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1933 * plugins/elements/gsttee.c:
1934 * plugins/elements/gsttee.h:
1935 Relay tag events in tee. Fixes parts of #474016.
1936 Downgrades 3 reoccurring debugs to log.
1938 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1941 * libs/gst/Makefile.am:
1942 Build the net library if we have winsock2.
1944 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1946 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1948 * docs/manual/advanced-threads.xml:
1949 * docs/manual/diagrams-pipelines.svg:
1950 * docs/manual/hello-world.png:
1951 * docs/manual/linked-elements.png:
1952 * docs/manual/mime-world.png:
1953 * docs/manual/queue.png:
1954 * docs/manual/thread-buffering.png:
1955 * docs/manual/thread-synchronizing.png:
1956 Replace one diagram with two separate ones and updates others.
1959 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1962 Fix link in documentation.
1964 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1967 Fix confusing documentation.
1969 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1971 * libs/gst/base/gstbasesrc.h:
1972 revert the changes to the header file for the ABI.
1974 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1976 * libs/gst/base/gstbasesrc.c:
1977 * libs/gst/base/gstbasesrc.h:
1978 Don't cache the seekable status.
1981 2008-07-24 Rene Stadler <mail@renestadler.de>
1983 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1984 code to close the pipeline graph. This prevents the program from
1985 printing internal data flow errors.
1987 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1989 * docs/manual/basics-bus.xml:
1990 Correct typo. Fixes bug #544320.
1992 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1995 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1996 Add check (taken from -base) for winsock, adds WIN32_LIBS
1998 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2000 Define GST_EXPORTS when building libgstreamer (only used on win32)
2001 * gst/gst_private.h:
2003 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2004 for symbols that we need to export in both these files.
2006 Include gst_private.h higher up to avoid some compile problems on win32.
2008 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2013 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2016 Previous commit was wrong NULL caps does not exist
2017 and indicate an error, so also add a FIXME to
2018 gst_caps_is_equal where NULL caps are accepted.
2020 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2023 Allow passing of NULL to gst_caps_union
2025 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2027 * gst/gstghostpad.c:
2028 Add in doc that gst_ghost_pad_set_target can accept
2029 NULL to clear target
2031 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2034 * gst/gstregistry.c:
2035 GstRegistryPool doesn't exist; don't refer to it in docs.
2036 Don't refer to functions that don't exist in docs, it's
2039 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2042 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2044 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2046 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2048 * docs/pwg/building-testapp.xml:
2049 Don't use an undeclared variable in the example program.
2052 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2054 * gst/gstdebugutils.c:
2055 Squeeze ghost-pad links and remove <> from classname labels to save
2056 more horizontal space.
2058 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2060 * gst/gstdebugutils.c:
2061 Give request and sometimes pads a different shpe style. Condense the
2062 graphs a little more.
2064 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2067 Don't require flex and bison if the parser is disabled.
2069 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2071 * libs/gst/controller/gstinterpolationcontrolsource.c:
2072 (_list_find_sorted_custom):
2073 Don't use declarations after statements.
2075 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2077 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2078 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2079 of the the child-added / -removed signals as GstChildProxy
2080 only supports GstObjects.
2082 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2084 * gst/gstdebugutils.c:
2087 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2089 Patch by: Alessandro Decina <alessandro at nnva dot org>
2092 Fix "ignored return value" compiler warning with newer glibc.
2094 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2096 * gst/gstchildproxy.c:
2097 Fix copy&paste error in gst_child_proxy_removed() documentation.
2099 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2101 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2102 Print error debug message if plugin description fields that should
2105 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2106 Don't crash if the string to serialise is NULL (it really should
2107 not be, but apparently this used to work with the xml registry ...).
2109 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2111 * tools/gst-plot-timeline.py:
2112 Fix parsing of log messages
2114 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2116 * win32/common/libgstbase.def::
2117 Sort alphabetically so make check-exports doesn't barf.
2119 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2122 Use gst_format_get_name() to improve debug output.
2125 Remove #ifdef'ed code. Add TODO comment.
2128 Add debug output to ease spotting format != segment.format assertions.
2130 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2132 * tests/check/libs/gdp.c: (gst_dp_suite):
2133 Also enable the GDP unit test again on PPC now that the bug
2136 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2138 * libs/gst/dataprotocol/dataprotocol.c:
2139 Don't write to the same region of memory as a uint64 and uint16
2140 as this breaks strict aliasing rules and apparantly breaks on PPC
2141 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2143 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2145 * libs/gst/controller/gstinterpolationcontrolsource.c:
2146 Optimize list handling. Use own find function. Exploit that fact that
2147 the list is sorted. Also pass back the node before, so that we can
2148 insert quickly. Have a fast path for append.
2150 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2152 * docs/design/draft-framestep.txt:
2153 * docs/design/part-negotiation.txt:
2156 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2159 Show configuration sumary after configure run. Based on patch by
2160 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2162 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2164 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2166 * docs/manual/advanced-autoplugging.xml:
2167 * docs/manual/advanced-threads.xml:
2168 * docs/manual/basics-bins.xml:
2169 * docs/manual/basics-elements.xml:
2170 * docs/manual/basics-helloworld.xml:
2171 * docs/manual/basics-pads.xml:
2172 Add scale factor for pdf output.
2174 * docs/manual/intro-basics.xml:
2175 Switched sections "pads" and "bins" and added a pipeline diagram.
2177 * docs/manual/intro-gstreamer.xml:
2178 Added more info on gstreamer.
2180 * docs/manual/intro-motivation.xml:
2181 Commented out the whole section "current problem", which sounds
2182 historical and somehow osolete; it could be turned in a positive
2183 way and reused to improve the design principles.
2185 * docs/manual/intro-preface.xml:
2186 - Update URLs to library.gnome.org.
2187 - Do not mention GTK+ in preliminary reading (irrelevant).
2188 - Mention Plugin Writer's Manual and further reading only in the
2190 - Added a list of most relevant GObject/glib topics.
2192 * docs/manual/Makefile.am:
2193 * docs/manual/bin-element-ghost.fig:
2194 * docs/manual/bin-element-ghost.png:
2195 * docs/manual/bin-element-noghost.fig:
2196 * docs/manual/bin-element-noghost.png:
2197 * docs/manual/bin-element.fig:
2198 * docs/manual/bin-element.png:
2199 * docs/manual/filter-element-multi.fig:
2200 * docs/manual/filter-element-multi.png:
2201 * docs/manual/filter-element.fig:
2202 * docs/manual/filter-element.png:
2203 * docs/manual/gstreamer-overview.png:
2204 * docs/manual/hello-world.fig:
2205 * docs/manual/hello-world.png:
2206 * docs/manual/linked-elements.fig:
2207 * docs/manual/linked-elements.png:
2208 * docs/manual/mime-world.fig:
2209 * docs/manual/mime-world.png:
2210 * docs/manual/queue.fig:
2211 * docs/manual/queue.png:
2212 * docs/manual/simple-player.png:
2213 * docs/manual/sink-element.fig:
2214 * docs/manual/sink-element.png:
2215 * docs/manual/src-element.fig:
2216 * docs/manual/src-element.png:
2217 * docs/manual/diagrams-general.svg:
2218 * docs/manual/diagrams-pipelines.svg:
2219 Removed .fig, added .png counterpart.
2223 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2225 * plugins/elements/gstmultiqueue.c:
2226 * plugins/elements/gstmultiqueue.h:
2227 revert extra-size-buffers stuff, caused some race conditions
2228 and extra-size-buffers is not used anymore. Docs needs some updates
2230 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2232 * win32/common/config.h:
2233 * win32/common/gstenumtypes.c:
2234 * win32/common/gstenumtypes.h:
2235 * win32/common/gstversion.h:
2238 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2240 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2241 (GST_DEBUG_BIN_TO_DOT_FILE):
2242 Add missing Since' markers to gtk-doc blurbs.
2244 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2246 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2247 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2248 (set_caps_1), (set_caps_ct1), (transform_ct1),
2249 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2250 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2251 (transform_size_ct2), (buffer_alloc_ct2):
2252 Add some more tests with switching caps in buffer_alloc.
2254 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2256 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2257 (gst_test_trans_class_init), (result_sink_chain),
2258 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2259 (gst_test_trans_push), (gst_test_trans_pop):
2260 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2261 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2262 (set_caps_1), (set_caps_ct1), (transform_ct1),
2263 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2264 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2265 (transform_size_ct2), (buffer_alloc_ct2),
2266 (gst_basetransform_suite):
2267 More tests, prepare for tests with switching caps in buffer_alloc.
2269 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2271 * plugins/elements/gstmultiqueue.c:
2272 * plugins/elements/gstmultiqueue.h:
2273 Fix dead-lock in underrun_cb
2275 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2277 * docs/design/part-states.txt:
2278 Fix device open/close docs.
2280 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2283 Mention bugnumber for last commit.
2285 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2287 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2289 * docs/manual/manual.xml:
2290 - Reorganised the previous "introduction" bundle into Foreword,
2291 Introduction, and About GStreamer. The two first are <preface>
2292 docbook elements. The later is the first part of the book.
2293 - added intro-gstreamer.xml (content partially from
2295 - moved appendix-win32.xml into appendix-integration.xml
2297 * docs/manual/intro-preface.xml: gstreamer section moved...
2298 * docs/manual/intro-gstreamer.xml: ...here. new file.
2300 * docs/manual/appendix-win32.xml: removed file. Content moved...
2301 * docs/manual/appendix-integration.xml: ...here.
2303 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2304 * docs/manual/appendix-checklist.xml: ...here.
2308 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2310 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2312 * docs/manual/basics-helloworld.xml:
2313 * docs/manual/hello-world.fig:
2314 - Explicitely include glib.h.
2315 - Do not use global variables.
2316 - Use g_printerr() instead of g_print().
2317 - Minor formating/renaming to increase readibility.
2318 - Renamed new_pad() to on_pad_added()
2319 - Improved explenatory comments.
2320 - renamed ogg parser to ogg demuxer
2321 - Use "autoaudiosink" instead of "alsasink".
2324 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2327 Remove cvs conflict marker.
2329 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2332 Document that for plgin-docs we extraxt he short-desc from the element
2335 * docs/design/part-states.txt:
2336 Tell that devices should be closed in PAUSED -> READY.
2338 * docs/manual/README:
2339 Document how tests in the manual are handled.
2344 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2346 * gst/gstbin.c: (bin_query_latency_fold):
2347 Only care about latency min and max when the sink is actually a live
2350 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2352 * docs/design/part-block.txt:
2355 * docs/design/part-element-transform.txt:
2356 Add notes about why transform needs to know input/output sizes.
2357 Add some issues that need to be solved.
2358 Add some more use cases.
2360 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2361 (gst_test_trans_class_init), (result_sink_chain),
2362 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2363 (gst_test_trans_push), (gst_test_trans_pop):
2364 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2365 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2366 (set_caps_1), (set_caps_ct1), (transform_ct1),
2367 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2368 (gst_basetransform_suite):
2369 Add suport for different pad templates and buffer-alloc.
2370 Add more checks for caps and buffer-alloc.
2371 Add checks for proxy buffer alloc.
2372 Add unit test for copy transform.
2374 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2376 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2378 * docs/manual/appendix-integration.xml:
2379 * docs/manual/appendix-licensing.xml:
2380 * docs/manual/basics-elements.xml:
2381 * docs/manual/basics-helloworld.xml:
2382 * docs/manual/basics-pads.xml:
2383 * docs/manual/highlevel-components.xml:
2384 * docs/manual/highlevel-xml.xml:
2385 * docs/manual/intro-basics.xml:
2386 * docs/manual/intro-preface.xml:
2387 Typo and formatting fixes (#538594).
2389 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2391 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2392 Fix some memory leaks and uses of object instances that we don't
2395 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2397 * plugins/elements/gstmultiqueue.c:
2398 Add functionality to extra-size-buffers property.
2400 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2402 * plugins/elements/gstmultiqueue.c:
2403 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2404 activate the pads if they are added in STATE_NULL.
2406 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2408 * docs/libs/gstreamer-libs-sections.txt:
2410 * libs/gst/check/gstcheck.c:
2411 * libs/gst/check/gstcheck.h:
2412 API: gst_check_teardown_pad_by_name
2414 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2416 * libs/gst/check/gstcheck.c:
2417 * libs/gst/check/gstcheck.h:
2418 Also setup request pads and allow setup pads by name (#537812)
2419 API: gst_check_setup_src_pad_by_name
2420 API: gst_check_setup_sink_pad_by_name
2422 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2424 * tests/check/gst/gstbuffer.c:
2425 * tests/check/pipelines/parse-launch.c:
2426 Use HAVE_VALGRIND_H some more.
2428 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2430 * scripts/cvs-update.sh:
2431 Pass arguments to make.
2432 Run autoregen.sh if Makefile is not there.
2434 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2438 Don't assume that <valgrind/valgrind.h> exists just because
2439 the binary is there.
2441 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2443 * tests/check/Makefile.am:
2444 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2445 (gst_test_trans_class_init), (gst_test_trans_init),
2446 (gst_test_trans_set_data), (result_sink_chain),
2447 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2448 (gst_test_trans_pop):
2449 * tests/check/libs/transform1.c: (GST_START_TEST),
2450 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2451 Add some test basetransform element and the beginnings of various
2454 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2456 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2457 Increase code readability.
2458 Don't try to compare buffer offsets when ther are invalid.
2460 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2462 * docs/design/Makefile.am:
2463 Dist some more design docs.
2465 * docs/random/moving-plugins:
2466 Small addition: good plugins mustn't have functional code
2467 within assertion macros.
2469 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2471 * docs/design/draft-framestep.txt:
2472 Some ideas about a framestep API
2474 * docs/design/part-element-transform.txt:
2475 Start design and use cases for basetransform in order to get it
2478 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2481 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2482 be in UTF-8 encoding.
2484 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2487 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2489 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2491 * plugins/elements/gstcapsfilter.c:
2492 * plugins/elements/gstfakesink.c:
2493 * plugins/elements/gstfakesrc.c:
2494 * plugins/elements/gstfdsink.c:
2495 * plugins/elements/gstfdsrc.c:
2496 * plugins/elements/gstfilesink.c:
2497 * plugins/elements/gstfilesrc.c:
2498 * plugins/elements/gstidentity.c:
2499 * plugins/elements/gstmultiqueue.c:
2500 * plugins/elements/gstqueue.c:
2501 * plugins/elements/gsttee.c:
2502 * plugins/elements/gsttypefindelement.c:
2503 Remove short_description. Add basic docs for gsttypefindelement.
2504 Simplify markup for fakesrc/fdsrc.
2506 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2508 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2511 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2513 Patch by: Joel Larsson <tilljoel at gmail dot com>
2515 * docs/plugins/gstreamer-plugins.args:
2516 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2517 (gst_fd_src_init), (gst_fd_src_update_fd),
2518 (gst_fd_src_set_property), (gst_fd_src_get_property),
2519 (gst_fd_src_create):
2520 * plugins/elements/gstfdsrc.h:
2521 Add timeout property like udpsrc. Fixes #538628.
2522 Add some more docs and example pipelines.
2524 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2526 * docs/libs/gstreamer-libs-sections.txt:
2527 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2528 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2529 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2530 (gst_base_sink_do_sync):
2531 * libs/gst/base/gstbasesink.h:
2532 * win32/common/libgstbase.def:
2533 Add method to allow sinks to specify additional delay between the sync
2534 times and the actual rendering of the data.
2535 API: gst_base_sink_set_render_delay()
2536 API: gst_base_sink_get_render_delay()
2538 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2541 Bump version number back to dev -> 0.10.20.1
2543 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2545 * docs/gst/gstreamer-sections.txt:
2546 * gst/gsttaglist.c: (_gst_tag_initialize):
2548 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2551 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2553 * libs/gst/controller/gstcontroller.c:
2554 Revert one change, that make ret value possible uninitialized.
2556 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2558 * libs/gst/controller/gstcontroller.c:
2559 Use freeze/thaw notify to sync notify emission a bit (its also more
2560 efficient). Move debug output to LOG (is called a lot in a loop).
2561 Always unset g_values if the have been initialized.
2563 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2565 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2566 (gst_base_sink_wait_eos), (gst_base_sink_event):
2567 If we have not seen a buffer before EOS, use the segment values to
2568 report the current position instead of invalid positions.
2570 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2572 * docs/plugins/tmpl/.cvsignore:
2573 * tests/check/gst/.cvsignore:
2576 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2578 * libs/gst/controller/gstinterpolation.c:
2579 * libs/gst/controller/gstinterpolationcontrolsource.c:
2580 * tests/check/libs/controller.c:
2581 Rewrite handling of default values. Fix overflow with unsigned types
2582 in linear interpolation. Remove now obsolete _first_value() function.
2583 Add more tests. Fixes #538201.
2585 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2587 * libs/gst/base/gstbasetransform.c:
2588 (gst_base_transform_class_init), (gst_base_transform_init),
2589 (gst_base_transform_transform_caps),
2590 (gst_base_transform_prepare_output_buffer):
2592 When a buffer is writable, its metadata is also writable so we don't
2593 need to subbuffer (which then makes the buffer not-writable anymore).
2595 === release 0.10.20 ===
2597 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2600 releasing 0.10.20, "You Crazy Diamond"
2602 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2605 0.10.19.3 pre-release
2607 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2611 Rename DATADIR to GST_DATADIR to avoid build problems
2612 on win32. Patch By: David Schleef <ds@schleef.org>
2615 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2618 Explicitely link with -ldl if dladdr() is found there. Before it was
2619 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2620 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2622 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2624 * gst/gsterror.c: (_gst_stream_errors_init):
2625 Fix typo (spotted by Fabricio Godoy, #536723).
2627 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2630 0.10.19.2 pre-release
2632 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2634 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2635 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2637 Make sure we don't generate invalid QoS messages.
2639 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2641 * gst/gstevent.c: (gst_event_new_qos):
2642 Add some assert and docs for invalid input to the qos function.
2644 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2646 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2647 (gst_base_sink_get_position):
2648 The reported position must always be smaller than the last seen
2649 timestamps (or timestamp + duration for reverse).
2651 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2653 Patch by: Rob Bradford <rob at robster dot org dot uk>
2655 * gst/gstregistry.c: (gst_registry_scan_path_level):
2656 Don't recurse into .debug directories as some distros install
2657 the debugging symbols next to the plugins in .debug directories
2658 and dlopen() crashes on them sometimes. Fixes bug #508070.
2660 Add FIXME for 0.11 to not recurse into directories at all because
2661 it's very inconsistent to the behaviour of other PATH environment
2664 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2666 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2667 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2668 Fix position query range checks in reverse playback.
2670 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2674 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2675 clear of the reference to the resulting pad must be released later
2676 or not, resulting in possible leaks. Fixes bug #533865.
2678 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2680 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2682 * gst/gstelementfactory.c:
2683 Small doc fix. Fixes #535285.
2685 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2687 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2689 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2690 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2691 (gst_base_src_loop), (gst_base_src_set_flushing),
2692 (gst_base_src_change_state):
2693 Make sending an EOS event to the basesrc non-blocking even if the
2694 implementation does blocking waits in the create function. This is done
2695 by unlocking the create function when EOS is sent.
2698 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2700 * tools/gst-inspect.c: (print_element_properties_info):
2701 If possible print the element type of GValueArray properties.
2703 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2705 * gst/gstiterator.c:
2706 Remove an unused field from the private GstListIterator struct.
2708 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2710 * libs/gst/controller/gstcontroller.c:
2711 Add parameter guards.
2713 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2715 * tests/check/gst/gstpipeline.c:
2716 Revert test change and add comment why it should not work.
2718 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2720 * tests/check/gst/gstpipeline.c:
2721 Extending the test a little to verify that we also get the NULL state-
2724 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2726 * gst/gstpreset.c: (gst_preset_default_get_meta),
2727 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2728 (gst_preset_load_preset), (gst_preset_save_preset),
2729 (gst_preset_rename_preset), (gst_preset_delete_preset),
2730 (gst_preset_set_meta):
2731 Add Since: markers to docs blurbs.
2733 * win32/common/libgstreamer.def:
2734 Add recently-added API.
2736 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2738 Patch by: Stefan Kost <ensonic@users.sf.net>
2741 Add DATADIR for storing presets.
2743 * docs/gst/gstreamer-docs.sgml:
2744 * docs/gst/gstreamer-sections.txt:
2745 * docs/gst/gstreamer.types.in:
2746 Add GstPreset to docs.
2750 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2751 (preset_open_and_parse_header), (preset_parse_version),
2752 (preset_merge), (preset_get_keyfile),
2753 (gst_preset_default_get_preset_names),
2754 (gst_preset_default_get_property_names),
2755 (gst_preset_default_load_preset),
2756 (gst_preset_default_save_presets_file),
2757 (gst_preset_default_save_preset),
2758 (gst_preset_default_rename_preset),
2759 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2760 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2761 (gst_preset_default_reset), (gst_preset_get_preset_names),
2762 (gst_preset_get_property_names), (gst_preset_load_preset),
2763 (gst_preset_save_preset), (gst_preset_rename_preset),
2764 (gst_preset_delete_preset), (gst_preset_set_meta),
2765 (gst_preset_get_meta), (gst_preset_class_init),
2766 (gst_preset_base_init), (gst_preset_get_type):
2768 Add GstPreset to core. Fixes #396779
2770 * tests/check/Makefile.am:
2771 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2772 (gst_preset_test_set_property), (gst_preset_test_class_init),
2773 (gst_preset_test_base_init), (gst_preset_test_get_type),
2774 (gst_preset_test_plugin_init), (GST_START_TEST),
2775 (remove_preset_file), (test_setup), (test_teardown),
2777 Add GstPreset unit tests.
2779 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2781 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2782 The default event function on a sinkpad should return TRUE when
2783 there are no internal links but should collect the return values from
2784 the internal links otherwise.
2786 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2788 * plugins/elements/gsttypefindelement.c:
2789 (gst_type_find_element_src_event),
2790 (gst_type_find_element_handle_event):
2791 Use faster and safer _pad_push_event().
2793 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2795 * docs/gst/gstreamer-sections.txt:
2796 * gst/gstutils.c: (element_find_unlinked_pad),
2797 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2799 API: add gst_bin_find_unlinked_pad()
2800 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2802 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2808 Fixed a bunch of typos.
2810 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2813 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2814 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2815 (gst_parse_bin_from_description_full):
2817 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2819 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2821 * docs/pwg/advanced-tagging.xml:
2822 Small docs update, can't be bothered to rewrite the nonsensical
2825 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2828 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2830 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2832 * gst/parse/grammar.y:
2833 Remove unneeded casts.
2835 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2837 * gst/parse/grammar.y:
2838 * tests/check/pipelines/parse-launch.c:
2839 Get all missing elements from a parse launch string if possible
2840 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2842 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2844 * tests/check/Makefile.am:
2845 * tests/check/pipelines/parse-launch.c:
2846 Add some unit tests for the new gst_parse_launch*_full() API.
2847 (Exposes a previously-existing memory leak in the error code
2848 path, so adding to VALGRIND_TO_FIX for now).
2850 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2852 * docs/gst/gstreamer-sections.txt:
2853 * gst/gst.c: (init_post):
2854 * gst/gst_private.h: (_GstParseContext):
2855 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2856 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2857 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2858 (gst_parse_launch_full):
2859 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2860 (GstParseFlags), (GstParseContext):
2861 * gst/gstutils.c: (gst_parse_bin_from_description),
2862 (gst_parse_bin_from_description_full):
2864 * gst/parse/grammar.y:
2865 * gst/parse/types.h:
2866 * win32/common/libgstreamer.def:
2867 Add new gst_parse_*_full API (#528178):
2868 API: gst_parse_launch_full()
2869 API: gst_parse_launchv_full()
2870 API: gst_parse_bin_from_description_full()
2871 API: gst_parse_context_new()
2872 API: gst_parse_context_free()
2873 API: gst_parse_context_get_missing_elements()
2875 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2877 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2879 * docs/faq/gst-uninstalled:
2880 Also support ffmpeg in gst-uninstalled.
2882 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2885 After discussion on IRC use the binary registry as default
2886 but allow to disable it with --disable-binary-registry.
2888 * win32/common/libgstreamer.def:
2889 Add the two new symbols for the binary registry.
2891 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2893 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2894 * gst/gstutils.c: (gst_parse_bin_from_description):
2895 * gst/parse/grammar.y: (graph):
2896 More guards against bad input; typo fix; some minor clean-ups.
2898 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2900 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2902 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2903 If nothing else can be used, use the last buffer's start time as
2904 the segment's last stop. Fixes bug #534258.
2906 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2908 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2909 Move size sanity check to the right place: downstream may return
2910 a buffer with a smaller size if the buffer caps are different than
2911 the requested ones, as may happen when doing reverse negotiation.
2913 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2915 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2916 (gst_file_sink_render):
2917 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2918 (gst_file_src_start):
2919 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2922 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2924 * gst/gstpad.c: (gst_pad_load_and_link):
2925 * gst/gstutils.c: (gst_element_link_pads),
2926 (gst_element_unlink_pads):
2927 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2928 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2929 (gst_check_teardown_sink_pad),
2930 (gst_check_element_push_buffer_list):
2931 * tests/check/elements/fakesink.c: (GST_START_TEST):
2932 * tests/check/elements/filesink.c:
2933 * tests/check/elements/filesrc.c: (GST_START_TEST):
2934 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2935 (mq_sinkpad_to_srcpad):
2936 * tests/check/elements/tee.c: (GST_START_TEST):
2937 * tests/check/generic/sinks.c: (GST_START_TEST):
2938 * tests/check/gst/gstbin.c: (GST_START_TEST):
2939 * tests/check/gst/gstevent.c: (GST_START_TEST):
2940 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2941 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2942 * tests/check/gst/gstquery.c: (GST_START_TEST):
2943 * tests/check/gst/gstutils.c: (GST_START_TEST):
2944 * tests/check/libs/basesrc.c: (GST_START_TEST):
2945 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2946 (gst_parse_test_element_change_state):
2947 Don't use gst_element_get_pad().
2949 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2952 Fix installing plugin documentation when gtk-doc is disabled.
2954 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2956 * docs/manual/advanced-autoplugging.xml:
2957 * docs/manual/basics-helloworld.xml:
2958 * docs/manual/basics-pads.xml:
2959 * docs/manual/highlevel-components.xml:
2960 Avoid using a bad function in the example code.
2962 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2964 * gst/gstclock.c: (gst_clock_set_calibration):
2965 Fix debug of the new clock rate.
2967 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2969 * win32/common/libgstbase.def:
2970 Add gst_base_sink_wait_clock() to the exported symbols.
2972 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2974 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2976 * libs/gst/base/gstbasetransform.c:
2977 (gst_base_transform_sink_event):
2978 Unref events that the GstBaseTransform::event vfunc didn't want to
2979 have forwarded by the base class. Closes a leak in identity.
2982 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2984 * docs/libs/gstreamer-libs-sections.txt:
2985 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2986 * libs/gst/base/gstbasesink.h:
2987 Expose a method that was previously used internally to synchronize
2988 against the clock because it can be useful for subclasses too.
2989 API: GstBaseSink::gst_base_sink_wait_clock()
2991 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2993 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2994 Add sanity check to make sure we don't get smaller buffers
2995 than requested (and fallback to normal buffer alloc if we do).
2997 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2999 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3000 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3001 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3002 Refactor adjusting the running_time with latency and offset into a
3004 When doing clipping, we still want to use the subclass get_times method,
3005 just in case the DURATION or TIMESTAMP are not set.
3007 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3009 * docs/gst/gstreamer-sections.txt:
3010 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3011 * gst/gsttypefind.h:
3012 * win32/common/libgstreamer.def:
3013 API: add gst_type_find_suggest_simple(), #533740.
3015 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3017 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3018 Use right error code when typefinding fails, so we can use
3019 the default (translated) error messages.
3021 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3023 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3024 (gst_base_src_start):
3025 When the subclass did not set caps on outgoing buffers, configure the
3026 caps we negotiated on the source pad.
3027 When the typefind helper does not find caps, error out properly instead
3028 of doing things with NULL caps.
3030 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3032 * gst/gsttypefind.h:
3033 Tabs to spaces, oh yes!
3035 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3037 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3038 Add David's and Benjamin's tests for array intersection to the
3039 unit test suite (#147931).
3041 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3044 Document that gst_event_new_tag() and gst_event_new_navigation()
3045 take ownership of the taglist/structure passed to them. (#533635).
3047 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3050 Don't descend into the plugins dir if plugin docs building
3054 Add a note about the new type:GTypeName syntax for the plugin
3055 documentation .types file.
3057 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3059 * gst/gstmessage.c: (gst_message_new_error),
3060 (gst_message_new_warning), (gst_message_new_info):
3062 Mark the debug string parameters as const. Fixes bug #533490.
3064 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3066 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3067 Sort buffer cache list by end offsets. This makes sure that we don't
3068 stop to search for a cached buffer that contains the requested data
3070 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3071 more efficient. Fixes bug #459862.
3073 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3076 Explain why we copy the list.
3078 * gst/gstpipeline.c:
3082 Add one debug-log statement to help tracing probelms with linking pads.
3084 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3086 * tests/check/gst/gstinfo.c:
3087 Add a test for removing the default log handler. Seems to fail under
3090 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3092 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3093 Release pad lock before calling out to avoid a possible deadlock.
3095 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3097 * gst/parse/grammar.y:
3098 Remove unneeded value unset.
3100 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3101 Add unit test for de/serialization of caps.
3103 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3105 * plugins/elements/gstfakesink.c:
3106 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3107 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3108 (gst_fake_src_class_init):
3109 Use custom marshalers that take GstMiniObject as first parameter.
3110 Using OBJECT as parameter while a GstMiniObject is given will lead
3111 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3113 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3115 * plugins/elements/gsttypefindelement.c:
3116 (gst_type_find_element_handle_event),
3117 (gst_type_find_element_send_cached_events),
3118 (gst_type_find_element_change_state):
3119 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3122 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3124 * plugins/elements/gsttypefindelement.c:
3125 (gst_type_find_handle_src_query), (stop_typefinding),
3126 (gst_type_find_element_handle_event),
3127 (gst_type_find_element_send_cached_events),
3128 (gst_type_find_element_change_state):
3129 Forward FLUSH_START events immediately and clean up instead of
3132 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3134 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3136 * libs/gst/base/gstbasetransform.c:
3137 (gst_base_transform_buffer_alloc):
3138 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3139 fall back to default negotiation in the chain function if the caps
3140 are different from what was requested. Fixes bug #526768.
3142 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3145 * tests/check/gst/gstsegment.c:
3146 No, let's not use g_slice_{dup|copy} here, since they only exist
3147 since GLib 2.14 and we still depend only on >= 2.12. Also add
3148 unit test for gst_segment_copy().
3150 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3152 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3153 Try to fix 'dereferencing type-punned pointer will break strict
3154 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3155 changed the default GType typedef from gulong to gsize at some point,
3156 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3157 g_once_* functions all take a gsize * though, so work around the type
3158 mismatch for C++ by doing everything in gsize and casting to GType
3161 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3163 * plugins/elements/gstmultiqueue.c:
3164 Add documentation for the signals to push our core plugin docs
3165 coverage back up to 100%.
3167 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3169 * gst/gstinfo.h (GST_FUNCTION):
3170 Reverted GST_FUNCTION to the old version as we don't want the
3171 full signature in C++ code. Also added support for MSVC.
3173 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3176 Intern the type name string, similar to what G_DEFINE_TYPE does.
3178 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3181 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3183 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3185 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3187 * libs/gst/base/gstbasetransform.c:
3188 (gst_base_transform_buffer_alloc):
3189 Don't passthrough buffer allocation too easily if the caps change.
3190 This breaks when working in passthrough mode and upstream changes
3191 it's caps. Fixes bug #526768.
3193 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3195 * gst/gstinfo.c (gst_debug_log_valist):
3196 Improved the __FILE__ part of debug output for MSVC.
3198 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3200 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3201 Declaration after statement fix for compilers like MSVC.
3203 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3205 * win32/common/config.h.in:
3206 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3207 use the real thing than having "???" unconditionally.
3209 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3211 * gst/gstinfo.h (GST_FUNCTION):
3212 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3214 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3216 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3219 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3220 (gst_base_sink_set_flushing):
3221 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3224 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3226 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3227 (gst_fake_src_init), (gst_fake_src_set_property),
3228 (gst_fake_src_get_property), (gst_fake_src_start):
3229 * plugins/elements/gstfakesrc.h:
3230 Added format property to control the format of the newsegment events.
3231 API: GstFakeSrc:format
3233 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3235 * win32/common/libgstreamer.def:
3236 Add gst_pad_has_name() to the exported symbols.
3238 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3240 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3241 * libs/gst/base/gstbasetransform.c:
3242 (gst_base_transform_prepare_output_buffer):
3243 Don't allow negative sizes when allocating new buffers.
3246 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3248 Patch by: Sjoerd Simons <sjoerd at luon net>
3250 * gst/gstbus.c: (gst_bus_source_dispatch):
3251 Don't print a warning if the queue is empty when we try to pop
3252 here. That could happen if another thread or callback set the
3253 bus to flushing between the source's check/prepare and the
3254 dispatch being called (#531538).
3256 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3258 * plugins/elements/gstmultiqueue.c:
3261 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3263 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3264 Add unit test for deserializing uint64s and check some really large
3265 numbers in the int64 test.
3267 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3269 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3270 (print_interfaces), (print_element_properties_info),
3271 (print_signal_info):
3272 Use "%s" as format string instead of printing strings directly.
3274 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3276 * gst/gstclock.c: (gst_clock_set_calibration):
3277 Make some checks actually useful.
3279 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3280 Remove some unused code. Unsigned integers tend to be >= 0.
3282 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3284 * gst/gstminiobject.c: (gst_value_get_mini_object):
3285 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3286 function was not in the unscheduled 0.10.19 release.
3288 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3290 * gst/gstregistry.c: (gst_registry_scan_path_level):
3291 Only print one log message per non-plugin file.
3293 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3295 * gst/gstinfo.c: (gst_debug_log_default):
3296 Fix alignment of debug log columns on 64-bit.
3298 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3300 * docs/libs/Makefile.am:
3301 * docs/libs/gstreamer-libs-sections.txt:
3302 Ignore private controller headers for docs.
3304 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3306 * libs/gst/controller/gstcontrollerprivate.h:
3307 * libs/gst/controller/gsthelper.c:
3308 * libs/gst/controller/gstinterpolation.c:
3309 * libs/gst/controller/gstinterpolationcontrolsource.c:
3310 (gst_interpolation_control_source_set_interpolation_mode):
3311 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3312 * libs/gst/controller/lib.c:
3313 Move some private declarations into private headers.
3315 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3317 * gst/gstdebugutils.c: (debug_dump_element_pad):
3318 Remove some code that is unused after Stefan's refactoring and uses
3319 uninitialized variables now, resulting in a compiler warning.
3321 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3323 * gst/gstregistry.c: (gst_registry_scan_path_level):
3324 Run g_str_has_suffix() only on the file name, not the
3327 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3329 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3330 Since we're not called only from the chain function any longer,
3331 we can't assume that there's always data in the queue, so move
3332 the is_full check to the beginning of the loop (otherwise we'd
3333 hit the assert when changing the limit properties while the
3334 queue is empty or not running yet).
3335 Also, only set a discont if items were actually removed from
3338 * tests/check/elements/queue.c: (test_leaky_downstream):
3339 Test case for the above.
3341 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3343 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3345 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3346 (gst_queue_chain), (queue_capacity_change),
3347 (gst_queue_set_property):
3348 When changing thr max capacity of a leaky queue, immediatly drop buffers
3349 instead of waiting for a push on the sinkpad. Fixes #530637.
3351 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3353 * gst/gstdebugutils.c:
3354 Refactor code and fix handling of ghostpads and their proxypads.
3356 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3358 * docs/gst/gstreamer-sections.txt:
3359 * gst/gstevent.c: (gst_event_has_name):
3361 * tests/check/gst/gstevent.c: (GST_START_TEST):
3362 Add method to conveniently check the name of a custom event with
3363 gst_event_has_name().
3364 Reformat the event docs so that related methods are put together instead
3365 of the default alphabetical sort.
3366 Update unit test with new method.
3367 API: GstEvent::gst_event_has_name()
3369 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3371 * libs/gst/check/Makefile.am:
3372 Don't add an explicit link to libgstreamer-0.10.la; it's already
3373 included in GST_OBJ_LIBS.
3375 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3378 Register GstClock type from a type-safe context. Fixes bug #530317.
3380 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3382 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3384 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3386 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3390 Use the GLib stuff to create a private structure.
3391 Add some locking around some dispose methods to make them a little
3392 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3394 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3396 * libs/gst/base/gstbasesink.h:
3397 * libs/gst/base/gstbasesrc.h:
3398 * libs/gst/base/gstbasetransform.h:
3399 * libs/gst/base/gstcollectpads.h:
3400 Fix doc typos and unify caps a bit.
3402 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3404 * tools/gst-launch.1.in:
3405 Forgot to also add the envvar docs here.
3407 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3409 * gst/gst.c: (init_post), (gst_deinit):
3410 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3411 (test_concurrent_create), (gst_pipeline_suite):
3412 Ref some more classes in gst_init() to work around thread-safety
3413 issues in pre-2.16 GLibs, and add basic unit test.
3415 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3417 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3418 (gst_base_sink_send_event):
3419 Rearrange the latency query code. We always want to do the upstream
3420 query, even if we are not live so that the upstream elements can get the
3421 latency results too. If we fail doing the query and we are live, we
3422 return TRUE afterwards.
3424 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3426 patch by: Jason Zhao <e3423c@motorola.com>
3428 * docs/gst/running.xml:
3430 Enable/disable scan_and_update_registry() based on commandline switch
3431 or environment variable. Fixes #520468.
3434 Fix typo in my previous commit.
3436 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3438 * gst/gstregistrybinary.c:
3439 Add a warning if we hit unhandled factories when saving.
3440 More debug logging detail, but move to LOG category.
3442 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3444 * gst/gstregistry.c:
3445 Tell the *truth* when improving the documentation.
3447 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3449 * gst/gstelementfactory.c: (gst_element_factory_make):
3450 Unref the factory after it was used the last time, not before.
3452 * gst/gstindexfactory.c: (gst_index_factory_make):
3453 Improve debugging a bit and don't leak a ref to the index factory with
3456 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3458 * gst/gstregistry.c:
3459 Improve the documentation.
3461 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3464 The glib macro seems to be borked. Use g_slice_copy directly and cast
3465 in the hope that this fixes the warning on 64bit.
3467 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3470 Document the new function. Use g_slice_dup() (no need for
3471 gst_segment_init()).
3473 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3475 * docs/gst/gstreamer-sections.txt:
3476 Move GParamSepc macros to standart section.
3479 Dn't document _get_type - its in private section in docs anyway and
3480 this doc-blob was incomplete.
3483 Fix wrong symbol names in docs.
3486 Add once doc sentence.
3488 * tests/check/gst/.cvsignore:
3491 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3493 * docs/gst/Makefile.am:
3494 And remove those libs here.
3496 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3498 * docs/libs/Makefile.am:
3499 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3501 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3503 Patch by: Olivier Crete <tester at tester dot ca>
3505 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3506 Add the min-threshold to the min latency if possible. Fixes #529148.
3508 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3510 * docs/gst/gstreamer.types.in:
3511 Stupid editor, I removed that line as it should go in yet.
3513 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3515 * docs/gst/gstreamer.types.in:
3516 * docs/libs/gstreamer-libs.types:
3517 Remove library types fro core docs and have them in libs docs.
3518 Reformat and cleanup. Add comment for miniobject types.
3520 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3522 * gst/gsturi.c: (gst_uri_get_protocol):
3523 Fix leak: g_strdown operates on the string in place, while
3524 g_ascii_strdown() returns a newly-allocated string.
3526 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3528 * tools/gst-inspect.c: (print_uri_handler_info),
3529 (print_element_info):
3530 Print the URI protocols and the URI type supported by the element.
3532 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3534 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3535 Use g_value_take_string() instead of the deprecated
3536 g_value_set_string_take_ownership().
3538 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3540 * gst/gstregistrybinary.c: (_gst_crc32):
3541 Return the old CRC instead of 0 if we give a NULL buffer
3542 or a buffer with a length of 0.
3544 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3546 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3547 (gst_uri_get_protocol), (gst_uri_has_protocol),
3548 (gst_uri_construct), (gst_uri_handler_set_uri):
3549 A valid URI scheme can also include '+', '-' and '.' additional
3550 to alphanumeric characters as per RFC 3986 Section 3.1.
3552 Handle URI schemes case insensitive in all places and convert
3553 to lower-case when constructing an URI or setting an URI with
3554 the GstURIHandler interface. Fixes bug #528868.
3555 All elements can still assume (as before) that they will
3556 get passed URIs with a lower-case URI scheme by the GstURIHandler
3559 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3561 * gst/gstcaps.c: (gst_static_caps_get):
3562 * gst/gstclock.c: (gst_clock_entry_new):
3563 Don't use g_atomic_set_int where it's not needed.
3565 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3567 * gst/gstvalue.c: (gst_value_deserialize_caps):
3568 * gst/parse/grammar.y:
3571 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3573 * gst/gstutils.c: (gst_atomic_int_set):
3574 Use g_atomic_int_set() here too instead of assignment +
3577 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3581 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3582 now that we depend on new enough GLib.
3584 * gst/gstcaps.c: (gst_static_caps_get):
3585 * gst/gstclock.c: (gst_clock_entry_new):
3586 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3587 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3588 (gst_debug_category_set_threshold):
3589 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3590 (gst_base_sink_set_qos_enabled):
3591 * libs/gst/net/gstnettimeprovider.c:
3592 (gst_net_time_provider_set_property):
3593 Use g_atomic_int_set() instead of gst_atomic_int_set().
3595 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3598 Also use G_GINT64_CONSTANT for the queries.
3600 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3603 Use G_GINT64_CONSTANT in varargs function.
3605 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3607 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3608 Initialize the registry magic with zeroes.
3610 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3612 * gst/gstregistrybinary.c: (_gst_crc32),
3613 (gst_registry_binary_write),
3614 (gst_registry_binary_initialize_magic),
3615 (gst_registry_binary_write_cache),
3616 (gst_registry_binary_check_magic),
3617 (gst_registry_binary_read_cache):
3618 * gst/gstregistrybinary.h:
3619 Add crc32 checksum to the binary registry file and check this before
3620 accepting a registry file.
3622 Also free the data list when writing to the registry file fails.
3624 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3626 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3627 (gst_registry_binary_load_feature),
3628 (gst_registry_binary_load_plugin):
3629 If an element supports the Uri interface, returns a valid pointer
3630 to the supported URI protocols but this pointer contains nothing
3631 don't try to save that as it will corrupt the registry.
3633 Don't unref the plugin if we added it to the registry already but
3634 fail to load a feature as gst_registry_add_plugin() takes ownership
3637 Improve debugging a bit.
3639 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3642 Clarify some tag item docs after discussion on irc.
3644 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3646 * docs/gst/gstreamer-docs.sgml:
3647 Remove commented out plugins (they have their own docs). Update
3650 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3652 * docs/gst/gstreamer-docs.sgml:
3653 * docs/gst/gstreamer-sections.txt:
3654 * gst/gstparamspecs.c:
3655 * gst/gstparamspecs.h:
3656 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3657 docs to own section.
3660 This now only documents GValue.
3662 * docs/libs/gstreamer-libs-sections.txt:
3663 * libs/gst/controller/gstcontroller.h:
3664 Remove GST_PARAM_CONTROLLABLE.
3666 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3669 Correct file path. Tell about how to use -overrides.txt.
3670 * docs/design/draft-tagreading.txt:
3671 Small design update.
3673 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3675 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3676 (gst_registry_binary_load_plugin):
3677 Fix a typo in a debug message and revert change from yesterday as
3678 gst_registry_add_plugin() will only fail if something is really wrong
3679 already and we can't survive it anyway.
3681 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3683 * gst/gst.c: (init_post), (gst_deinit):
3684 Pre-register GstGError GType from a thread-safe context
3685 (fixes #527967); unref enum type classes in deinit.
3687 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3689 Patch by: Rene Stadler <mail at renestadler de>
3691 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3692 Merging an empty list with another list in KEEP_ALL mode should
3693 yield an empty list as result and not the second list (#512578).
3695 * tests/check/gst/gsttagsetter.c:
3696 Add unit test for tag merge modes and the aforementioned bug.
3698 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3700 Patch by: Rene Stadler <mail at renestadler de>
3703 Fix description to match the order in the table (#512577).
3705 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3707 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3709 * libs/gst/net/gstnettimepacket.h:
3710 * docs/libs/gstreamer-libs-sections.txt:
3711 Define socklen_t as int if it's not defined yet. Fixes compilation
3712 with MSVC6 and other versions where socklen_t is not defined in
3713 the windows headers (#518022).
3715 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3717 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3718 If gst_registry_add_plugin() fails our reference to the plugin is
3719 invalid so don't try to use it anymore and instead error out.
3721 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3723 * tools/gst-xmlinspect.c: (print_element_info), (main):
3724 De-cruft a bit. If no argument is specified, print all elements in
3725 XML syntax rather than a freestyle list of elements like gst-inspect.
3726 Also, don't print XML header chunk unless we actually have something
3727 to print (ie. don't print it before an error message); print error
3728 message to stderr not stdout. Remove support for printing plugin
3729 info (it would just output something freestyle along the lines of
3730 gst-inspect so far), which fixes #514507. Also add license header.
3732 2008-04-11 Julien Moutte <julien@fluendo.com>
3735 * configure.ac: Merge platform specific defines, introduce a new
3736 define on OS X to remember that forking when updating registry is
3738 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3740 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3742 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3743 condition that leads to absolutely no plugins being registered on
3746 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3748 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3750 * gst/gstutils.c: (gst_pad_add_data_probe),
3751 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3752 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3753 (gst_pad_add_buffer_probe_full):
3755 * docs/gst/gstreamer-sections.txt:
3756 * win32/common/libgstreamer.def:
3757 Add gst_pad_add_*_probe_full() functions with a notify callback that
3758 lets the caller free the data it passes to the probe functions. This
3759 is useful for bindings such as gst-python or gstreamermm (#526814).
3760 API: gst_pad_add_data_probe_full
3761 API: gst_pad_add_buffer_probe_full
3762 API: gst_pad_add_event_probe_full
3764 * tests/check/gst/gstutils.c:
3765 Add minimal unit test to make sure freeing the data actually works
3768 * tests/benchmarks/.cvsignore:
3769 Random cvsignore addendum.
3771 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3773 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3774 (GST_DEBUG_BIN_TO_DOT_FILE):
3775 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3776 to it in the docs (since these are macros the types of the arguments
3777 won't be shown in the docs otherwise).
3779 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3782 Do not abort on out of memory for pad_alloc_buffer.
3784 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3786 * libs/gst/check/gstcheck.c:
3787 Remove blank line between symbol name ad parameters to fix gtkdoc
3790 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3792 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3794 * docs/gst/gstreamer-sections.txt:
3797 * win32/common/libgstreamer.def:
3798 Expose gst_segment_copy() to make things easier for the c++ bindings.
3800 API: gst_segment_copy()
3802 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3804 * gst/gst.c: (gst_init_get_option_group), (init_post):
3805 Fix const position; ref GType classes for enum types to work
3806 around thread-safety issues in GLib versions < 2.16.
3808 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3810 * docs/design/part-buffering.txt:
3811 Fix some typos and set the estimated total for push mode to -1.
3813 * gst/gstquery.c: (gst_query_new_buffering):
3814 Set buffering-left to 0 as we're not buffering by default.
3816 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3817 Implement BUFFERING query.
3819 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3821 Based on patch by: Milosz Derezynski <internalerror gmail com>
3823 * gst/gsterror.c: (_gst_stream_errors_init):
3825 Add two new error codes for encrypted content. Fixes #524659.
3826 API: GST_STREAM_ERROR_DECRYPT
3827 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3829 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3834 * win32/common/libgstreamer.def:
3837 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3839 * plugins/elements/gstidentity.c: (gst_identity_event),
3840 (gst_identity_start):
3841 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3842 event after processing some data. Fixes bug #526042.
3844 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3846 * docs/gst/gstreamer-sections.txt:
3847 * gst/gstquery.c: (gst_query_parse_latency),
3848 (gst_query_set_buffering_percent),
3849 (gst_query_parse_buffering_percent),
3850 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3852 Rename _avail -> _range
3853 API: gst_query_set_buffering_range
3854 API: gst_query_parse_buffering_range
3856 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3858 * docs/design/part-buffering.txt:
3861 * gst/gstquery.c: (gst_query_parse_latency),
3862 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3863 (gst_query_parse_buffering_percent):
3865 Add busy field and quark for the buffering query so that the app can
3866 only use the query to see if buffering is in progress.
3868 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3870 * docs/gst/gstreamer-sections.txt:
3871 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3872 (gst_message_parse_buffering_stats):
3874 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3875 (gst_query_parse_latency), (gst_query_new_buffering),
3876 (gst_query_set_buffering_percent),
3877 (gst_query_parse_buffering_percent),
3878 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3879 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3881 Reorder the message docs and headers for clarity.
3882 Add aditional buffering stats API for messages.
3883 Add buffering query.
3884 Convert some leftover queries to use GstQuark.
3885 API: gst_message_set_buffering_stats
3886 API: gst_message_parse_buffering_stats
3887 API: GST_QUERY_BUFFERING
3888 API: GstBufferingMode
3889 API: gst_query_new_buffering
3890 API: gst_query_set_buffering_percent
3891 API: gst_query_parse_buffering_percent
3892 API: gst_query_set_buffering_stats
3893 API: gst_query_parse_buffering_stats
3895 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3897 * gst/gstmessage.c: (gst_message_new_error),
3898 (gst_message_new_warning), (gst_message_new_info),
3899 (gst_message_new_buffering), (gst_message_new_state_changed),
3900 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3901 (gst_message_new_new_clock), (gst_message_new_segment_start),
3902 (gst_message_new_segment_done), (gst_message_new_duration),
3903 (gst_message_new_async_start), (gst_message_parse_buffering),
3904 (gst_message_parse_state_changed),
3905 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3906 (gst_message_parse_new_clock), (gst_message_parse_error),
3907 (gst_message_parse_warning), (gst_message_parse_info),
3908 (gst_message_parse_segment_start),
3909 (gst_message_parse_segment_done), (gst_message_parse_duration),
3910 (gst_message_parse_async_start):
3911 Use GstQuark for messages.
3913 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3915 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3917 Add some more quarks needed for messages and queries.
3919 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3921 * docs/design/part-buffering.txt:
3922 Remove the "none" buffering mode, STREAM is a good default.
3923 Move estimated-time to the avail query, that's when it will be needed.
3924 Other small typo fixes and updates.
3926 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3928 * gst/gstindex.c: (gst_index_resolver_get_type):
3929 Don't put descriptions into the nick field of a GEnumValue: it's not
3930 meant for that and some language bindings rely on the nick field to
3931 construct constants and the like. Fixes #526705.
3933 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3938 Merge other changes from 0.10.19 release branch.
3940 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3942 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3945 Actually build dlls when cross-compiling with mingw32.
3948 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3950 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3953 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3955 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3957 * docs/design/draft-latency.txt:
3960 * docs/design/part-buffering.txt:
3961 Update design docs with more buffering ideas.
3963 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3966 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3968 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3971 Revert part that belongs to the preset patch.
3973 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3976 Add qoutes to the define. Fixes # 525961.
3978 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3980 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3981 (gst_file_index_load), (gst_file_index_add_id),
3982 (gst_file_index_get_assoc_entry):
3983 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3984 (gst_mem_index_free_id), (gst_mem_index_add_id),
3985 (gst_mem_index_index_format):
3986 Use GSlice when possible.
3988 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3990 * libs/gst/controller/gstinterpolationcontrolsource.c:
3991 (gst_control_point_free),
3992 (gst_interpolation_control_source_set_internal):
3993 Use GSlice for allocating the control points.
3995 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3997 * plugins/elements/gsttypefindelement.c:
3998 (gst_type_find_element_class_init),
3999 (gst_type_find_element_set_property),
4000 (gst_type_find_element_get_property),
4001 (gst_type_find_element_activate):
4002 * plugins/elements/gsttypefindelement.h:
4004 Fix pad leak when peer query fails.
4005 We can still typefind when the peer returns -1.
4006 Add property to force caps and bypass typefinding. This will be used in
4010 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4015 * gst/glib-compat-private.h:
4016 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4017 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4018 Unconditionally use GSlice for allocation.
4020 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4021 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4022 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4023 (gst_structure_free):
4024 Use GSlice for allocation.
4026 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4028 * gst/parse/Makefile.am:
4029 * gst/parse/grammar.tab.pre.c:
4030 * gst/parse/grammar.tab.pre.h:
4031 * gst/parse/lex._gst_parse_yy.pre.c:
4032 Require a new enough flex and bison and remove the parser hacks to use
4033 a pre-regenerated version.
4035 2008-04-01 Julien Moutte <julien@fluendo.com>
4037 patch by: Jason Zhao <E3423C@motorola.com>
4039 * configure.ac: Add a configure switch to disable option parsing
4043 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4046 * gst/gstregistry.c:
4047 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4048 and handle this case.
4051 Add a comment here describing, why we stat each plugin and not try to
4054 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4056 * libs/gst/base/gstbasetransform.c:
4057 (gst_base_transform_prepare_output_buffer):
4058 Also unset the GAP flag on buffers if we're working inplace but
4059 the element is not GAP-aware.
4061 Mark a comment as FIXME 0.11.
4063 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4066 Fix type in log message and add one to ease seeing how long registry
4067 cache verification takes.
4069 * gst/gstregistry.c:
4070 Only test plugin filenames against G_MODULE_SUFFIX.
4072 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4074 * gst/gstdebugutils.c:
4075 Improve handling ghost/proxy pads.
4077 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4079 * docs/gst/gstreamer-sections.txt:
4082 Expose macro to docs and fix link to it.
4084 2008-03-27 Michael Smith <msmith@fluendo.com>
4086 * libs/gst/dataprotocol/dataprotocol.c:
4087 (gst_dp_packet_from_event_1_0):
4088 When calculating GDP body CRC, use the correct pointer.
4089 Fixes part of #522401.
4091 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4093 Patch by: Mark Nauwelaerts <manauw at skynet be>
4095 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4096 (gst_identity_init), (gst_identity_prepare_output_buffer):
4097 Identity is not always a passthrough element, it can modify the buffer
4098 timestamps when it has a datarate and operates in single-segment mode.
4099 We therefore make it an in_place filter with a custom buffer prepare
4100 function that conditionally makes the input buffer metadata writable
4101 when needed. Fixes #523985.
4103 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4105 Patch by: Mark Nauwelaerts <manauw at skynet be>
4108 * libs/gst/base/gstbasesrc.h:
4109 * libs/gst/base/gstbasetransform.c:
4110 * libs/gst/check/gstcheck.c:
4111 Small documentation fixes. Fixes #523978.
4113 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4115 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4116 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4117 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4119 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4121 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4122 (single_queue_underrun_cb):
4123 When trying to make room in the queue, bump the max allowed buffers
4124 bigger than the current amount of buffers in the queue. this fixes some
4125 nasty deadlocks in multiqueue when dynamically changing the limits of
4128 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4130 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4132 * gst/gstcaps.c: (gst_caps_set_simple),
4133 (gst_caps_set_simple_valist), (gst_caps_intersect):
4135 Constify the field gchar * params in set_simple and friends.
4138 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4140 * gst/gstvalue.c: (gst_value_transform_object_string):
4141 Transform a GstObject to a more meaningfull string that includes the
4142 object type in addition to its name.
4144 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4147 ChangeLog surgery to add bugnumber to commit.
4149 2008-03-23 Rene Stadler <mail@renestadler.de>
4151 * libs/gst/base/gstbasetransform.c:
4152 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4154 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4156 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4157 Rename constant everywhere and don't forget one occurence.
4159 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4161 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4162 Align memory to the pointer size even if the architecture allows
4163 unaligned memory access. Unaligned memory access usually comes with
4164 performance penality.
4166 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4168 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4169 (gst_registry_binary_check_magic),
4170 (gst_registry_binary_load_pad_template),
4171 (gst_registry_binary_load_feature),
4172 (gst_registry_binary_load_plugin):
4173 Align memory to the pointer size instead of always 32 bit. Fixes
4174 unaligned memory accesses on ia64 and friends.
4176 * gst/gstregistrybinary.h:
4177 Bump binary registry format version for this as it changes the
4178 format on those architectures that don't have unaligned access
4179 and 64 bit pointers.
4181 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4183 * docs/pwg/advanced-dparams.xml:
4184 * docs/pwg/building-props.xml:
4185 * docs/pwg/other-source.xml:
4186 * gst/glib-compat.h:
4187 * gst/gstbin.c: (gst_bin_class_init):
4188 * gst/gstclock.c: (gst_clock_class_init):
4189 * gst/gstindex.c: (gst_index_class_init):
4190 * gst/gstobject.c: (gst_object_class_init):
4191 * gst/gstpad.c: (gst_pad_class_init):
4192 * gst/gstpipeline.c: (gst_pipeline_class_init):
4193 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4194 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4195 * libs/gst/base/gstbasetransform.c:
4196 (gst_base_transform_class_init):
4197 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4198 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4199 (_gst_check_fault_handler_sighandler),
4200 (_gst_check_fault_handler_setup), (gst_check_init):
4201 * libs/gst/controller/gstcontroller.c:
4202 (_gst_controller_class_init):
4203 * libs/gst/controller/gstlfocontrolsource.c:
4204 (gst_lfo_control_source_class_init):
4205 * libs/gst/net/gstnetclientclock.c:
4206 (gst_net_client_clock_class_init):
4207 * libs/gst/net/gstnettimeprovider.c:
4208 (gst_net_time_provider_class_init):
4209 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4210 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4211 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4212 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4213 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4214 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4215 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4216 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4217 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4218 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4219 * plugins/elements/gsttee.c: (gst_tee_class_init):
4220 * plugins/elements/gsttypefindelement.c:
4221 (gst_type_find_element_class_init):
4222 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4223 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4224 use it everywhere for GParamSpecs that use static strings (i.e. all).
4225 This gives us less memory usage, fewer allocations and thus less
4226 memory defragmentation. Fixes bug #523806.
4228 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4230 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4231 (gst_param_spec_mini_object):
4232 * gst/gstminiobject.h:
4233 * win32/common/libgstreamer.def:
4234 * docs/gst/gstreamer-sections.txt:
4235 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4236 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4237 GstParamSpecMiniObject into a public header for this.
4239 This make GstMiniObject a bit more consistent with GObject and makes
4240 it possible to extend the param specs.
4242 gst_value_dup_mini_object is mainly useful for set_property methods.
4246 * tools/gst-inspect.c: (print_element_properties_info):
4247 Print something useful for GstMiniObject properties and not just
4250 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4252 * docs/gst/gstreamer-sections.txt:
4253 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4254 (gst_registry_binary_check_magic):
4255 * gst/gstregistrybinary.h:
4256 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4257 and add it to the (private part) of the docs to fix the build.
4259 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4261 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4262 (gst_registry_binary_check_magic),
4263 (gst_registry_binary_read_cache):
4264 * gst/gstregistrybinary.h:
4265 Don't use GST_MAJORMINOR for the binary registry version. Instead
4266 hardcode a value that must be changed whenever the format changes
4267 in an incompatible way.
4268 Also don't GST_ERROR when there is a version mismatch, just
4269 regenerate the registry silently.
4271 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4274 Back to development - 0.10.18.1
4276 === release 0.10.18 ===
4278 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4281 releasing 0.10.18, "So far away"
4283 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4286 * win32/common/config.h:
4287 0.10.17.4 pre-release
4289 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4291 Patch by: Ole André Vadla Ravnås
4292 <ole dot andre dot ravnas at tandberg dot com>
4294 * docs/gst/gstreamer-sections.txt:
4295 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4296 (gst_poll_update_winsock_event_mask),
4297 (gst_poll_prepare_winsock_active_sets),
4298 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4299 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4300 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4301 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4302 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4304 * win32/common/libgstreamer.def:
4305 Add new function gst_poll_fd_ignored() for improved Windows
4307 Various minor fixes and cleanups. See #520808.
4309 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4311 * gst/gstindex.c: (gst_index_entry_free):
4313 Don't free key strings which we don't own. Fixes crash in
4314 gst_index_entry_free() (#522741).
4316 * tests/check/Makefile.am:
4317 * tests/check/gst/.cvsignore:
4318 * tests/check/gst/gstindex.c: (test_index_entries),
4319 (gst_index_suite), (gst_index):
4320 Add unit test for the above.
4322 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4324 * win32/common/libgstreamer.def:
4325 Remove symbols that were removed recently. Fixes bug #521740.
4327 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4330 * win32/common/config.h:
4331 0.10.17.3 pre-release
4333 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4335 Patch by: Ole André Vadla Ravnås
4336 <ole dot andre dot ravnas at tandberg dot com>
4338 * docs/gst/gstreamer-sections.txt:
4339 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4340 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4341 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4342 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4343 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4344 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4345 (gst_poll_fd_can_write), (gst_poll_wait),
4346 (gst_poll_set_controllable), (gst_poll_restart),
4347 (gst_poll_set_flushing):
4349 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4350 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4351 (gst_net_time_provider_new):
4352 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4353 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4354 * tests/benchmarks/gstpollstress.c: (main):
4355 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4356 Remove GstPollMode from the API, it does not make sense to let the
4357 application control this.
4358 Add support for Win32.
4359 Fix the testsuite. Fixes #520671.
4361 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4363 Patch by: Ole André Vadla Ravnås
4364 <ole dot andre dot ravnas at tandberg dot com>
4366 * gst/gstregistrybinary.c:
4367 Include io.h for write() and close() when building with MSVC. Fixes
4370 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4373 * gst/gst_private.h:
4374 * gst/gstconfig.h.in:
4375 * gst/gstregistry.h:
4376 * gst/gstregistrybinary.c:
4377 * win32/common/gstconfig.h:
4378 Move registry backend API to private headers where we can. Add
4379 fixme-0.11 comments for the others. Add stubs for the xml backend when
4380 using the binary to ensure they functions exists (they should not be
4381 used though). Fixes #520756.
4383 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4386 * win32/common/config.h:
4389 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4391 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4392 (gst_registry_binary_read_cache):
4393 * gst/gstregistryxml.c: (gst_registry_save):
4394 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4395 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4396 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4397 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4398 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4401 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4403 * gst/gstminiobject.c:
4404 Import gst_private.h before any other header that might include other
4405 glib headers. This fixes the build on windows using native compilers.
4407 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4409 * win32/common/gstconfig.h:
4410 Add here too, just for completeness.
4412 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4415 * gst/gstconfig.h.in:
4416 * gst/gstregistry.h:
4417 Fix broken use of config.h-defined preprocessor directive in a public
4418 header file. Add a corresponding define to gstconfig.h, since we can't
4419 really remove those function declarations from the header file now
4420 (or can we? and why are they there in the first place?).
4422 2008-03-03 Andy Wingo <wingo@pobox.com>
4424 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4427 * gst/gststructure.c (gst_structure_from_string): Warn if
4428 structure_from_string didn't consume the whole string, but the
4429 caller did not provide an end pointer.
4431 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4433 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4435 * gst/gstregistryxml.c: (read_string), (load_feature):
4436 Strings allocated by libxml2 should be freed with xmlFree(), not
4437 with g_free(). Fixes issues on windows in certain contexts (#519698).
4439 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4441 * gst/gstinterface.c: (gst_element_implements_interface):
4442 Don't crash if the element supports the interface queried, but does
4443 not implement GstImplementsInterface. Fixes #519584.
4445 * tests/check/Makefile.am:
4446 * tests/check/gst/.cvsignore:
4447 * tests/check/gst/gstinterface.c:
4448 Add unit test for the above.
4450 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4452 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4455 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4457 * gst/gstsegment.c: (gst_segment_set_seek),
4458 (gst_segment_to_stream_time):
4459 Improve some comment.
4460 Update variables where it makes more sense.
4462 2008-02-29 Rene Stadler <mail@renestadler.de>
4464 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4465 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4466 URIHandlers implemented using language bindings.
4468 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4470 * gst/gstelementfactory.h:
4471 * tests/check/elements/fakesink.c:
4472 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4473 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4474 * tests/check/elements/filesink.c: (setup_filesink):
4475 * tests/check/elements/filesrc.c: (setup_filesrc):
4476 * tests/check/elements/identity.c: (setup_identity):
4477 * tests/check/elements/tee.c:
4478 * tests/check/generic/sinks.c:
4479 * tests/check/generic/states.c: (setup), (teardown):
4480 * tests/check/gst/gst.c:
4481 * tests/check/gst/gstabi.c:
4482 * tests/check/gst/gstbin.c:
4483 * tests/check/gst/gstbus.c: (pull_messages):
4484 * tests/check/gst/gstcaps.c:
4485 * tests/check/gst/gstelement.c:
4486 * tests/check/gst/gstevent.c:
4487 * tests/check/gst/gstghostpad.c:
4488 * tests/check/gst/gstiterator.c:
4489 * tests/check/gst/gstmessage.c:
4490 * tests/check/gst/gstminiobject.c: (my_foo_init):
4491 * tests/check/gst/gstobject.c: (thread_name_object),
4493 * tests/check/gst/gstpad.c:
4494 * tests/check/gst/gstplugin.c:
4495 * tests/check/gst/gstpoll.c:
4496 * tests/check/gst/gstquery.c:
4497 * tests/check/gst/gstsegment.c:
4498 * tests/check/gst/gststructure.c:
4499 * tests/check/gst/gstsystemclock.c:
4500 * tests/check/gst/gsttask.c:
4501 * tests/check/gst/gstutils.c:
4502 * tests/check/gst/gstvalue.c:
4503 * tests/check/gst/struct_hppa.h:
4504 * tests/check/gst/struct_i386.h:
4505 * tests/check/gst/struct_ppc32.h:
4506 * tests/check/gst/struct_ppc64.h:
4507 * tests/check/gst/struct_x86_64.h:
4508 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4509 * tests/check/libs/basesrc.c:
4510 * tests/check/libs/controller.c: (GST_START_TEST):
4511 * tests/check/libs/gdp.c:
4512 * tests/check/libs/gstnetclientclock.c:
4513 * tests/check/libs/gstnettimeprovider.c:
4514 * tests/check/libs/libsabi.c:
4515 * tests/check/libs/struct_hppa.h:
4516 * tests/check/libs/struct_i386.h:
4517 * tests/check/libs/struct_ppc32.h:
4518 * tests/check/libs/struct_ppc64.h:
4519 * tests/check/libs/struct_x86_64.h:
4520 * tests/check/pipelines/cleanup.c:
4521 * tests/check/pipelines/simple-launch-lines.c:
4522 * tests/check/pipelines/stress.c:
4523 And correct even more valid sparse warnings.
4525 * win32/common/libgstreamer.def:
4526 Add gst_poll_fd_init to the list of symbols.
4528 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4530 * gst/gstconfig.h.in:
4531 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4532 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4533 (gst_check_log_critical_func), (gst_check_drop_buffers),
4534 (gst_check_element_push_buffer_list):
4535 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4536 (gst_controller_get_type):
4537 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4538 (gst_object_get_controller), (gst_object_get_control_source):
4539 * libs/gst/controller/gstinterpolationcontrolsource.c:
4540 (gst_interpolation_control_source_new):
4541 * libs/gst/controller/gstlfocontrolsource.c:
4542 (gst_lfo_control_source_new):
4543 * libs/gst/dataprotocol/dataprotocol.c:
4544 (gst_dp_event_from_packet_0_2):
4545 * plugins/elements/gstfdsrc.c:
4546 * plugins/elements/gstmultiqueue.c:
4547 * plugins/elements/gsttee.c:
4548 * plugins/elements/gsttypefindelement.c:
4549 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4550 (gst_file_index_add_association):
4551 * plugins/indexers/gstmemindex.c:
4552 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4553 * tests/check/elements/queue.c: (setup_queue):
4554 * tests/check/gst/gstpipeline.c:
4555 * tests/check/libs/collectpads.c: (setup), (teardown),
4556 (gst_collect_pads_suite):
4557 * tests/examples/adapter/adapter_test.c:
4558 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4559 * tests/examples/xml/createxml.c:
4560 * tests/examples/xml/runxml.c:
4561 * tools/gst-inspect.c:
4563 Correct all relevant warnings found by the sparse semantic code
4564 analyzer. This include marking several symbols static, using
4565 NULL instead of 0 for pointers, not using variable sized arrays
4566 on the stack, moving variable declarations to the beginning of
4567 a block and using "foo (void)" instead of "foo ()" for declarations.
4569 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4571 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4572 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4573 Don't reset GstPollFDs, this is not necessary at all.
4575 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4576 (delayed_restart), (delayed_control):
4577 Use GST_POLL_FD_INIT.
4579 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4581 * gst/gstpoll.c: (gst_poll_fd_init):
4585 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4586 Use some more init macros.
4588 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4590 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4591 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4592 Use init macros and functions.
4594 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4596 * docs/gst/gstreamer-sections.txt:
4597 * gst/gstpoll.c: (gst_poll_fd_init):
4599 Add INIT macro and _init method for initializing the GstPollFD.
4601 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4603 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4604 (gst_fd_sink_update_fd):
4605 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4606 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4607 (delayed_restart), (delayed_control):
4608 Initialize some uninitialized variables as spotted by valgrind.
4610 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4612 * tests/benchmarks/Makefile.am:
4613 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4615 Add poll stress test.
4617 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4619 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4621 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4622 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4623 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4624 * plugins/elements/gstfdsink.h:
4625 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4626 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4627 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4628 (gst_fd_src_uri_set_uri):
4629 * plugins/elements/gstfdsrc.h:
4630 Port to GstPoll. See #505417.
4632 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4634 * win32/common/libgstreamer.def:
4635 Add new gst_poll_ symbols to win32 defs.
4637 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4639 * docs/libs/gstreamer-libs-sections.txt:
4640 * libs/gst/net/gstnetclientclock.c:
4641 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4642 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4643 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4644 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4645 * libs/gst/net/gstnetclientclock.h:
4646 * libs/gst/net/gstnettimeprovider.c:
4647 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4648 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4649 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4650 (gst_net_time_provider_new):
4651 * libs/gst/net/gstnettimeprovider.h:
4652 Use a private stuct to not break ABI.
4654 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4656 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4658 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4659 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4660 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4661 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4662 * libs/gst/net/gstnetclientclock.h:
4663 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4664 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4665 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4666 (gst_net_time_provider_new):
4667 * libs/gst/net/gstnettimeprovider.h:
4668 Massive code removal and cleanups because of GstPoll.
4671 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4674 Add checks for poll, ppoll and pselect.
4676 * docs/gst/gstreamer-docs.sgml:
4677 * docs/gst/gstreamer-sections.txt:
4678 Add docs for GstPoll.
4682 * gst/gstpoll.c: (find_index), (selectable_fds),
4683 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4684 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4685 (gst_poll_set_mode), (gst_poll_get_mode),
4686 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4687 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4688 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4689 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4690 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4691 (gst_poll_fd_can_write), (gst_poll_wait),
4692 (gst_poll_set_controllable), (gst_poll_restart),
4693 (gst_poll_set_flushing):
4695 Add generic poll abstraction. We ideally don't want to have this in core
4696 here but in glib intead...
4697 This code will be used in various network elements and ultimately for
4698 the nanosecond precision monotonic clock (that's why it's here in core).
4699 It'll allow us to implement cancelable socket operations for windows too.
4701 * tests/check/Makefile.am:
4702 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4703 (delayed_stop), (delayed_restart), (delayed_flush),
4704 (delayed_control), (gst_poll_suite):
4705 Add GstPoll unit test.
4707 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4710 Improve documentation of gst_filter_run(). Fixes #518627.
4712 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4715 Add a few lines about the new 'check-inspected-versions' target.
4717 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4719 * tests/check/gst/gstevent.c:
4720 Add qos to the event test. Rename tcase/tsuite; is not only about
4723 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4725 * plugins/elements/gstqueue.c:
4726 Ensure that buffer metadata is writeable, before modifying. Spotted by
4729 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4731 * plugins/elements/gstqueue.c:
4732 * plugins/elements/gstqueue.h:
4733 When dropping buffers in leaky modes, mark next buffers we sent as
4736 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4738 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4739 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4741 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4743 * plugins/elements/Makefile.am:
4744 * plugins/elements/gstbufferstore.c:
4745 * plugins/elements/gstbufferstore.h:
4746 * plugins/elements/gsttypefindelement.h:
4747 Remove GstBufferStore, no idea why we were still building it.
4748 It's not used anywhere and superseded by GstAdapter.
4750 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4751 (gst_file_src_create_mmap):
4752 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4753 Printf format fixes for 64-bit integers.
4755 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4758 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4759 We're not in 0.8 times anymore.
4761 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4763 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4764 (gst_check_element_push_buffer_list):
4765 * libs/gst/check/gstcheck.h:
4766 Make the declaration in the header for
4767 gst_check_element_push_buffer_list match the implementation.
4769 Fix up spelling, grammar and wording of the documentation in a few
4770 places, and add the Since keyword to new API functions.
4771 Use g_list_delete_link instead of g_list_remove in
4772 gst_check_drop_buffers, since it's immeasurably more efficient.
4774 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4775 Use new gst_check_drop_buffers function where appropriate.
4777 * win32/common/libgstbase.def:
4778 * win32/common/libgstreamer.def:
4779 Add new symbols gst_collect_pads_take_buffer,
4780 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4783 Changelog surgery to add API keyword to new gst_check API.
4785 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4787 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4788 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4789 Update pre-generated flex files with flex 2.3.34.
4791 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4793 * gst/gstminiobject.c:
4794 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4795 friendly to subclasses and not require them to know all internals
4796 of their parent class.
4798 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4800 * docs/libs/gstreamer-libs-sections.txt:
4801 * libs/gst/base/gstcollectpads.c:
4802 * libs/gst/base/gstcollectpads.h:
4803 Add sub-buffer functions to collectpads. Fixes #516187.
4804 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4806 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4809 Copy selected buffer-flags when creating subbuffers.
4812 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4814 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4815 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4816 * gst/gstmessage.c: (gst_message_class_init),
4817 (gst_message_finalize):
4818 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4819 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4820 (gst_mmap_buffer_finalize):
4821 Properly chain up finalize functions to the parent class.
4823 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4825 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4827 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4828 (gst_index_set_resolver_full):
4830 Add new function with option to dispose of user_data in resolver.
4831 Actually call the dispose function when finalizing the object and not
4832 just when changing the resolver/filter.
4833 API: GstIndex::gst_index_set_resolver_full()
4835 * docs/gst/gstreamer-sections.txt:
4836 Add new function to docs. Fixes #515469.
4838 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4840 * gst/gstindex.c: (gst_index_finalize):
4841 Chain up finalize to the parent class. Fixes leaking the GstObject
4842 name and other things.
4844 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4847 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4848 pre-releases or releases.
4850 * docs/faq/gst-uninstalled:
4853 * docs/random/release:
4854 Change one of the steps - we only upload core & base to Gnome FTP
4856 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4858 * gst/gstconfig.h.in:
4859 Add 'id' for example.
4863 * plugins/elements/gstfdsink.c:
4864 Link to signals. Doc and comment fixes.
4866 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4868 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4869 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4870 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4871 unused and unimplemented; finally, it is plugin features, not
4872 plugins, that have ranks.
4874 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4876 * gst/gstpluginfeature.h:
4877 Clarify GstRank range docs.
4879 2008-02-05 David Schleef <ds@schleef.org>
4881 * gst/gst.c: Add a separate gst_deinitialized that prevents
4882 gst_init() from being called after gst_deinit(). Fixes #509559
4884 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4886 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4887 (gst_bin_class_init):
4888 * gst/gstelement.c: (gst_element_base_class_init),
4889 (gst_element_class_add_pad_template):
4890 * gst/gstpadtemplate.c: (gst_pad_template_init):
4891 * gst/gstpipeline.c: (gst_pipeline_get_type),
4892 (gst_pipeline_base_init), (gst_pipeline_class_init):
4893 * libs/gst/base/gstbasesink.c:
4894 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4895 (gst_base_src_base_init), (gst_base_src_class_init):
4896 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4897 (gst_capsfilter_class_init):
4898 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4899 (gst_fake_sink_class_init):
4900 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4901 (gst_fake_src_class_init):
4902 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4903 (gst_fd_sink_class_init):
4904 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4905 (gst_fd_src_class_init):
4906 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4907 (gst_file_sink_class_init):
4908 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4909 (gst_file_src_class_init):
4910 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4911 (gst_identity_class_init):
4912 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4913 (gst_multi_queue_class_init):
4914 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4915 (gst_queue_class_init):
4916 * plugins/elements/gsttee.c: (gst_tee_base_init),
4917 (gst_tee_class_init):
4918 * plugins/elements/gsttypefindelement.c:
4919 (gst_type_find_element_base_init),
4920 (gst_type_find_element_class_init):
4921 * tests/check/gst/gstelement.c: (gst_element_suite):
4922 Revert previous changes to the behaviour of GstPadTemplates, etc
4923 and the possiblity to call them in class_init as it breaks too
4924 many elements. Reopens bug #491501.
4926 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4929 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4931 * tools/gst-launch.c:
4932 Dump one graph per pipeline state-change and state change name
4933 (if GST_DEBUG_DUMP_DOT_DIR is set).
4935 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4938 * tests/check/gst/gstpad.c:
4939 Be sure that we have a new copy of the caps and not
4940 reffed caps from a template
4942 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4944 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4945 * gst/gstpipeline.c: (gst_pipeline_get_type),
4946 (gst_pipeline_class_init):
4947 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4948 (gst_base_sink_class_init):
4949 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4950 (gst_base_src_class_init):
4951 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4952 (gst_base_transform_class_init):
4953 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4954 (gst_collect_pads_class_init):
4955 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4956 * libs/gst/net/gstnettimeprovider.c:
4957 (gst_net_time_provider_base_init),
4958 (gst_net_time_provider_class_init):
4959 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4960 (gst_capsfilter_class_init):
4961 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4962 (gst_fake_sink_class_init):
4963 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4964 (gst_fake_src_class_init):
4965 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4966 (gst_fd_sink_class_init):
4967 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4968 (gst_fd_src_class_init):
4969 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4970 (gst_file_sink_class_init):
4971 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4972 (gst_file_src_class_init):
4973 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4974 (gst_identity_class_init):
4975 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4976 (gst_multi_queue_class_init):
4977 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4978 (gst_queue_class_init):
4979 * plugins/elements/gsttee.c: (gst_tee_base_init),
4980 (gst_tee_class_init):
4981 * plugins/elements/gsttypefindelement.c:
4982 (gst_type_find_element_base_init),
4983 (gst_type_find_element_class_init):
4984 Don't use base_init where not absolutely necessary. For example it's
4985 not necessary anymore for adding pad templates or setting element
4988 Leave empty base_init functions in several places as GST_BOILERPLATE
4989 still defines and uses them.
4991 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4993 * gst/gstelement.c: (gst_element_base_class_init),
4994 (gst_element_class_add_pad_template):
4995 * gst/gstpadtemplate.c:
4996 Make it possible (and recommended) to set element details and add
4997 pad templates in the class_init functions by copying the details/pad
4998 templates in GstElement's base_init.
5000 Also make it possible to replace existing pad templates by adding
5001 a new one with the same name. This was done in a hackish fashion
5002 in same elements before already.
5004 Don't reference pad templates that are added a second time. A
5005 new pad template has a refcount of one and is not floating anymore
5006 and to be owned by the element's class. Make this more explicit by
5007 mentioning it in the docs of gst_element_class_add_pad_template().
5009 These changes are backwards compatible. Fixes bug #491501.
5011 * tests/check/gst/gstelement.c:
5012 Add unit test for setting element details, adding pad templates and
5013 replacing them in a subclass.
5015 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5017 * tools/gst-inspect.c: (print_interfaces),
5018 (print_element_properties_info), (print_pad_info),
5019 (print_signal_info), (print_element_info):
5020 Fix a few memory leaks.
5022 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5024 * docs/libs/gstreamer-libs-sections.txt:
5025 * libs/gst/check/gstcheck.c:
5026 * libs/gst/check/gstcheck.h:
5027 Add more functions for unit testing: gst_check_drop_buffers,
5028 gst_check_caps_equal, gst_check_element_push_buffer_list,
5029 gst_check_element_push_buffer
5030 API: gst_check_drop_buffers
5031 API: gst_check_caps_equal
5032 API: gst_check_element_push_buffer_list
5033 API: gst_check_element_push_buffer
5035 2008-02-01 Julien Moutte <julien@fluendo.com>
5037 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5038 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5039 (gst_index_finalize), (gst_index_entry_free),
5040 (gst_index_add_association): Fix memory leaks.
5041 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5042 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5043 (gst_mem_index_free_format), (gst_mem_index_free_id),
5044 (gst_mem_index_finalize): Fix memory leaks.
5045 * win32/common/config.h: Updated to CVS HEAD.
5047 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5050 Some more details about how the plugin docs works.
5052 * docs/plugins/gstreamer-plugins-sections.txt:
5055 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5057 * gst/parse/grammar.tab.pre.c:
5058 * gst/parse/grammar.tab.pre.h:
5059 * gst/parse/grammar.y:
5060 * gst/parse/lex._gst_parse_yy.pre.c:
5061 Add delayed set-property. This allows to set properties on dynamicaly
5062 created objects (pads in videomxer). Fixes #509391.
5064 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5067 Check if caps are not NULL (fix bug #510194)
5069 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5071 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5072 (gst_base_sink_get_position_paused):
5073 Add fixme regarding EOS in pull mode.
5074 Fix position reporting in PAUSED for negative rates.
5076 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5078 * gst/gstminiobject.c: (gst_mini_object_replace):
5079 When replacing a miniobject, do a quick equality check first so that we
5080 can avoid a ref/unref pair.
5082 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5084 * docs/design/part-synchronisation.txt:
5087 * docs/plugins/Makefile.am:
5088 * docs/plugins/gstreamer-plugins-docs.sgml:
5089 * docs/plugins/gstreamer-plugins-sections.txt:
5090 * plugins/elements/gstmultiqueue.c:
5091 Add multiqueue to the docs.
5093 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5098 === release 0.10.17 ===
5100 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5103 releasing 0.10.17, "Due Negligence"
5105 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5108 Revert caps != NULL check temporarily for 0.10.17 release.
5110 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5113 Check if caps are not NULL (fix bug #510194)
5115 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5118 Fix compilation on systems that have posix timers but no
5121 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5124 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5126 * tools/gst-inspect.c:
5127 Revert previous commit in preparation for an impromptu 0.10.17 release
5129 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5131 * tools/gst-inspect.c: (print_interfaces),
5132 (print_element_properties_info), (print_pad_info),
5133 (print_signal_info), (print_element_info):
5134 Fix a few memory leaks.
5136 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5141 === release 0.10.16 ===
5143 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5146 releasing 0.10.16, "Special Dispensation"
5148 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5151 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5152 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5153 not fail when trying to crosscompile on OpenEmbedded (#511750).
5155 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5158 Use $(MAKE) instead of make to fix the build if GNU make is
5159 called different. Fixes bug #510747.
5161 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5163 * gst/gstplugin.c: (_gst_plugin_initialize):
5164 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5165 again, which I broke two commits ago when changing the API
5166 of gst_plugin_register_static(): the g_list_foreach() in
5167 _gst_plugin_register_static still assumed the old function
5168 signature and would therefore fail (re-fixes #510187).
5170 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5171 (_gst_plugin_register_static), (gst_plugin_register_static):
5172 Revert the (technically correct) change to call g_thread_init() from
5173 the pre-main() constructor. This will break programs which call
5174 g_thread_init() without an if (!g_thread_supported()) guard in their
5175 main function. We could just blame it on GLib or the application, but
5176 it's probably best to just avoid this altogether and simply not use
5177 any GLib functions here and use plain old malloc() with a simple
5178 array to store the plugins to register later when gst_init() is
5179 finally called (re-fixes #510187).
5181 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5182 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5183 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5184 (GST_START_TEST), (gst_plugin_suite):
5185 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5188 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5190 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5191 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5192 This makes gtk-doc complain, but results in slightly better
5193 compiler errors. The old _gst_plugin_register_static() is
5194 still guarded, so there'll be a compiler warning about that
5195 instead. Fixes #510187 too.
5197 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5199 * gst/gst.c: (init_post):
5200 * gst/gstplugin.c: (_gst_plugin_register_static),
5201 (gst_plugin_register_static), (_gst_plugin_initialize):
5202 * gst/gstplugin.h: (GstPluginFilter):
5203 Change API of gst_plugin_register_static() to not take
5204 a GstPluginDesc, but rather just take all the arguments
5205 in a GstPluginDesc directly. This is more intuitive and
5206 avoids certain mistakes when porting code from
5207 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5210 * tests/check/gst/gstplugin.c:
5211 Fix up for changed API.
5213 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5215 * docs/faq/legal.xml:
5216 Update FAQ, Totem actually has an exception these days.
5218 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5220 * win32/common/libgstreamer.def:
5221 Add new API declarations
5223 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5225 * gst/gstminiobject.c:
5226 Spelling fixes for the API docs.
5228 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5230 * libs/gst/base/gstbasetransform.c:
5231 Fix long property description for QoS.
5233 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5236 _gst_trace_on is already provided by gsttrace.h, no need to declare
5239 * docs/libs/gstreamer-libs-sections.txt:
5240 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5241 and remove strange tcase_add_test which is outputting a warning.
5243 * libs/gst/check/gstcheck.c:
5244 * libs/gst/check/gstcheck.h:
5245 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5246 and define them in gstcheck.c instead of having every .c file whcih
5247 includes gstcheck.h be defining its own copy and relying on symbol
5248 interposing to marry them all, which doesn't work on Solaris.
5250 * tests/check/elements/identity.c: (GST_START_TEST):
5251 Don't define 'buffers' locally, it comes from libgstcheck.
5253 * tests/check/generic/sinks.c: (send_buffer):
5254 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5256 * tests/check/gst/gststructure.c: (GST_START_TEST):
5257 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5258 * tests/check/gst/gstutils.c: (GST_START_TEST):
5259 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5260 Add a bunch of casts to make various constants fit the types
5261 they're being assigned to.
5263 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5265 * gst/gstchildproxy.c:
5266 Improve docs and add some ideas for making this more general-purpose.
5268 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5270 * gst/gst_private.h: (GST_CAT_TYPES):
5271 Add GST_CAT_TYPES, for consistency, and so that the other
5272 debug categories don't make fun of it. Spotted by Saur on IRC.
5274 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5276 * gst/parse/Makefile.am:
5277 Move types.h from EXTRA_DIST to noinst_HEADERS.
5279 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5282 Add -Wno-portability to the automake parameters to stop warnings
5283 about GNU make extensions being used. We require GNU make in almost
5284 every Makefile anyway.
5287 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5288 at the same time is required for per target flags.
5290 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5293 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5294 __GNUC__ is defined before using it.
5296 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5298 * docs/gst/gstreamer-sections.txt:
5299 * gst/gst.c: (init_post):
5300 * gst/gstplugin.c: (_gst_plugin_register_static),
5301 (gst_plugin_register_static), (_gst_plugin_initialize),
5302 (gst_plugin_register_func):
5303 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5304 API: add gst_plugin_register_static() and deprecate
5305 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5307 Also, in _gst_plugin_register_static(), make sure to call
5308 g_thread_init() before calling GLib functions such as
5309 g_list_append() if we're not initialised yet, since that
5310 may lead to random crashes with older GSlice/GLib versions.
5312 * tests/check/gst/gstplugin.c:
5313 Adapt unit test to above changes.
5315 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5317 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5318 * gst/gstcaps.c: (gst_caps_to_string):
5319 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5320 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5321 Yet another gratuitous GString micro-optimisation: add a (private)
5322 function that serialises a structure appending to an existing
5323 GString, so that when we serialise caps we don't need to alloc+free
5324 a throwaway GString for each structure (each of which also entailing
5325 multiple reallocs on the way); also use g_string_sized_new() in
5326 various places with an approximate string length to avoid reallocs
5327 within GString. See #500143.
5329 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5331 * gst/gststructure.c: (gst_structure_id_set_value):
5332 Always check UTF-8 conformance of structure strings and not only
5333 if the debugging system is enabled; reasoning: the behaviour of
5334 the actual code shouldn't really change depending on whether the
5335 debugging system is enabled or not (#508291).
5337 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5340 Remove old coverage target in favour of "make lcov".
5342 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5344 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5345 (gst_base_src_loop):
5346 The start segment for reverse playback goes from start to last_stop.
5348 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5350 Patch by: Peter Kjellerstedt <pkj axis com>
5353 Cast the results from the timeval/spec_to_time macros to what the
5354 docs say it casts to, a GstClockTime. fixes #508175.
5356 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5359 Update some comments.
5361 * tools/gst-inspect.c: (print_element_properties_info):
5362 Improve printing of flags.
5364 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5366 * libs/gst/base/gstbasetransform.c:
5367 (gst_base_transform_transform_size):
5368 Print element name with g_warning() if there's a problem
5371 2008-01-07 David Schleef <ds@schleef.org>
5373 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5375 * libs/gst/controller/gstcontroller.h:
5376 * libs/gst/controller/gstcontrolsource.h:
5377 * libs/gst/controller/gstinterpolationcontrolsource.h:
5378 * libs/gst/controller/gstlfocontrolsource.h:
5379 * libs/gst/dataprotocol/dataprotocol.h:
5380 Fix empty prototypes. Fixes bug #507957.
5382 2008-01-07 David Schleef <ds@schleef.org>
5384 * docs/faq/dependencies.xml: Fix typo.
5386 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5388 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5389 (gst_base_src_loop):
5390 Don't update the last_stop position in do_seek, that's the position we
5392 Read backwards when we have a negative rate.
5394 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5395 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5397 Add check for reverse reading.
5399 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5401 Patch by: Alexis Ballier <aballier at gentoo org>
5403 * tests/check/gst/gstabi.c:
5404 * tests/check/gst/struct_ppc64.h:
5405 * tests/check/libs/libsabi.c:
5406 * tests/check/libs/struct_ppc64.h:
5407 Decide which header to include based on the userland ABI target
5408 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5409 for 64-bit userland (#503590). Might need something similar for
5412 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5414 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5415 Log the reason why fopen fails in addition to the fact that it failed.
5417 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5419 * gst/parse/parse.l:
5420 Use "%option never-interactive" to prevent useless calls to isatty()
5421 on every input when parsing. Also use "%option noinput" to not define
5422 the static input/yyinput functions which we don't use anyway. This
5423 removes a compiler warning with gcc 4.3 and saves some bytes in the
5426 * gst/parse/lex._gst_parse_yy.pre.c:
5427 Regenerated for the above change.
5429 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5431 * gst/gstpad.c: (fixate_value):
5432 Don't crash when trying to fixate and empty list.
5435 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5437 * docs/faq/gst-uninstalled:
5438 Clarify the comments to make the usage of this script and what it
5439 does easier to understand.
5441 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5443 * tools/gst-plot-timeline.py:
5444 Add more options to gst-plot-timeline
5446 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5448 * docs/design/part-synchronisation.txt:
5449 Some more info on how the stream_time in GstBaseSink is done.
5451 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5453 * tests/check/generic/sinks.c: (gst_sinks_suite):
5454 Put back the tcase_set_timeout(), apparently it's needed after
5455 all; fix it up in a way that makes things work with valgrind too.
5457 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5459 * gst/gstdebugutils.c:
5460 Add warning when failed to open file for writing.
5462 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5464 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5466 * gst/gstvalue.c: (gst_value_is_fixed):
5467 Optimisation: bail out of the loop as early as possible (#500143).
5469 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5471 * gst/gstcaps.c: (gst_caps_to_string):
5472 * gst/gstinfo.c: (gst_debug_construct_term_color):
5473 * gst/gstparse.c: (gst_parse_launchv):
5474 * gst/gstutils.c: (gst_util_dump_mem):
5475 * gst/gstvalue.c: (gst_value_serialize_any_list),
5476 (gst_value_transform_any_list_string):
5477 Bunch of gratuitous nano-optimisations.
5479 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5481 * tests/check/generic/sinks.c: (async_done_func),
5482 (async_done_eos_func):
5483 Fix leak in unit test (bus sync handler must unref the message
5484 if it returns GST_BUS_DROP). Don't fiddle with the default test
5485 timeout, this is smaller than the current preconfigured value
5486 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5487 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5489 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5491 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5494 Check for stdio_ext.h for the filesink changes.
5496 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5497 (gst_file_sink_class_init), (gst_file_sink_init),
5498 (gst_file_sink_dispose), (gst_file_sink_set_property),
5499 (gst_file_sink_get_property), (gst_file_sink_open_file),
5500 (gst_file_sink_close_file):
5501 * plugins/elements/gstfilesink.h:
5502 Add two properties to control the buffering mode and size.
5503 API: GstFileSink::buffer-mode
5504 API: GstFileSink::buffer-size
5507 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5509 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5510 Add some more docs to explain why a FIXME was wrongly added.
5512 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5515 Fix typo in the gst_object_{ref,unref} documentation.
5517 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5519 * tests/check/libs/controller.c:
5520 * tests/check/libs/typefindhelper.c:
5521 * tests/check/pipelines/parse-launch.c:
5522 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5523 going to be deprecated (see #498924).
5525 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5527 * gst/gsttypefind.c: (gst_type_find_register):
5528 Make gst_type_find_register work for static typefind functions,
5529 ie. allow passing plugin == NULL (prerequisite for #498924).
5531 * gst/gstelementfactory.c: (gst_element_register):
5532 Small docs addition.
5534 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5536 * gst/gstpad.c: (gst_pad_dispose):
5537 Really unlink the peer pad instead of setting the peer pointer to NULL
5538 when we dispose the pad.
5539 This correctly calls the unlink functions and makes sure that the peer
5540 does not have a handle to invalid memory. See #504671.
5542 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5543 Add testsuite for above case.
5545 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5547 Patch by: Peter Kjellerstedt <pkj axis com>
5549 * libs/gst/check/gstcheck.h:
5550 Fix detection of the check version we're compiling against (would
5551 otherwise break if check goes v0.10.0); correctly report the
5552 name of the failed test again in case of failure, instead of
5553 just 'tf' (fixes #504499).
5555 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5557 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5558 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5559 (gst_base_src_loop), (gst_base_src_set_flushing),
5560 (gst_base_src_change_state):
5561 Allow sending EOS to the source to make it send out an EOS event from
5562 the streaming thread.
5563 Update docs and deprecate the old NULL/READY shutdown method.
5565 * tests/check/libs/basesrc.c: (GST_START_TEST),
5566 (gst_basesrc_suite):
5567 Add unit test for controlled shutdown.
5569 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5571 * docs/design/part-synchronisation.txt:
5574 * gst/gstsegment.c: (gst_segment_set_seek),
5575 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5576 (gst_segment_to_running_time):
5577 The seek format can be different from the segment format when the start
5578 and stop values are not to be updated, when we only do a rate change for
5581 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5582 (gst_segment_suite):
5583 Add a testcase for the rate-only seeks, checking that the format is
5584 correctly ignored when start and stop are not updated.
5586 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5588 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5590 * win32/vs8/grammar.vcproj:
5591 * win32/vs8/libgstcontroller.vcproj:
5592 * win32/vs8/libgstreamer.vcproj:
5593 Fix compilation with VS8 and include some missing files.
5595 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5598 Small docs addition: mention that the strings returned by
5599 gst_tag_list_get_string*() are in UTF-8 encoding.
5601 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5604 The check-exports stuff moved to common/win32.mak, so include that.
5606 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5608 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5609 (gst_base_src_perform_seek), (gst_base_src_get_range),
5610 (gst_base_src_set_playing), (gst_base_src_change_state):
5611 Make _wait_playing() not check any variables so that we can call this
5612 function from subclasses. Move the checks elsewhere similar to
5613 _wait_preroll() in basesink.
5615 Only signal the LIVE cond when we are going back to PLAYING.
5617 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5619 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5620 Use g_remove() and g_rename(). Check result of g_rename(), and
5621 don't leak the open file descriptor if we error out when writing.
5623 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5624 Must check the return value of close() after writing out the new
5625 registry file. Sometimes write problems such as out-of-diskspace
5626 are only reported when the file is closed and not already during
5627 the write. This may have caused partial/broken registry files in
5628 some rare circumstances. Should fix #503675.
5630 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5632 * docs/gst/.cvsignore:
5633 * docs/libs/.cvsignore:
5634 * docs/plugins/.cvsignore:
5635 Ignore files generated by new common/* modifications
5637 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5639 * win32/common/libgstbase.def:
5640 Yes, you can also have a <TAB> if you want.
5642 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5644 * win32/common/libgstbase.def:
5645 Add new basetransform API to win export file.
5647 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5649 * tests/check/gst/gstbin.c:
5650 Adjust the test to the refcount change two days ago.
5652 2007-12-14 David Schleef <ds@schleef.org>
5654 * docs/faq/getting.xml: Fix typo.
5656 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5658 * docs/libs/gstreamer-libs-sections.txt:
5659 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5660 (gst_base_transform_prepare_output_buffer),
5661 (gst_base_transform_set_gap_aware):
5662 * libs/gst/base/gstbasetransform.h:
5663 API: Add gst_base_transform_set_gap_aware() to control whether
5664 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5665 get buffers with this flag at all. Fixes #503231.
5667 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5669 * libs/gst/base/gstbasesink.c:
5670 * libs/gst/base/gstbasesrc.c:
5671 * libs/gst/base/gstbasetransform.c:
5672 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5673 thread. Correct log message in gstbasesrc.c.
5675 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5677 * gst/gstutils.c: (element_find_unconnected_pad):
5678 Fix possible compiler warning (#503417).
5680 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5682 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5683 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5685 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5687 * tools/gst-inspect.c: (print_element_properties_info):
5688 Add support for GstFraction properties.
5690 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5693 Add check-exports target and run it as part of 'make check'
5694 (see #499140 and #493983).
5696 * gst/gst_private.h:
5697 * gst/gstelementfactory.h:
5698 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5699 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5700 (_priv_gst_in_valgrind):
5701 * gst/gstinfo.h: (GstLogFunction):
5702 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5703 (gst_type_find_register):
5704 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5705 (gst_type_find_factory_get_type):
5706 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5707 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5708 (gst_controller_new_valist), (gst_controller_new_list),
5709 (_gst_controller_dispose), (_gst_controller_class_init):
5710 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5711 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5712 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5713 (gst_object_get_controller), (gst_object_set_controller),
5714 (gst_object_suggest_next_sync), (gst_object_sync_values),
5715 (gst_object_set_control_source), (gst_object_get_control_source),
5716 (gst_object_get_value_arrays), (gst_object_get_value_array),
5717 (gst_object_get_control_rate), (gst_object_set_control_rate):
5718 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5719 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5720 Make some functions that should be static static; rename some
5721 private symbols so that they don't get exported; add some FIXME
5722 comments so we can move accidentally exported functions into
5723 our private section in 0.11.
5725 * win32/common/libgstreamer.def:
5726 Add gst_utils_get_timestamp().
5728 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5732 Add more missing "Since:" tags to docs.
5734 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5737 Add mising "Since:" to docs.
5739 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5742 Include "glib-compat-private.h" to fix the build on system with
5743 glib < 2.10. Fixes #503131.
5745 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5749 Actually its not PURE as it gets the time from elsewhere.
5751 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5753 * docs/gst/gstreamer-sections.txt:
5755 * gst/gstdebugutils.c:
5759 * libs/gst/base/gstbasesink.c:
5760 * tools/gst-launch.c:
5761 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5762 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5763 Thanks Tim for spotting.
5764 API: gst_util_get_timestamp
5766 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5769 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5771 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5773 * gst/gststructure.c: (gst_structure_validate_name),
5774 (gst_structure_new_valist), (gst_structure_parse_value),
5775 (gst_structure_from_string):
5776 Don't crash in _from_string() if the structure name is not valid
5777 (fixes #501560). Allow structure names to start with a number
5778 again (this apparently broke the ubuntu codec installer).
5780 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5782 Add unit test for the crash; update unit tests for new behaviour.
5784 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5787 Clarify gst_element_get_compatible_pad() documentation.
5790 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5792 * tests/check/Makefile.am:
5793 Don't forget to dist {gst,libs}/struct_hppa.h.
5795 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5797 * libs/gst/base/gstbasesink.c:
5798 Use new API to get elapsed time.
5800 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5802 * gst/gstdebugutils.c:
5804 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5806 * tools/gst-launch.c:
5807 Use new API to get elapsed time.
5809 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5811 * docs/gst/gstreamer-sections.txt:
5813 * gst/gstdebugutils.c:
5815 Rename new API + ChangeLog surgery to remove old name from last entry..
5817 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5819 * docs/gst/gstreamer-sections.txt:
5821 * gst/gstdebugutils.c:
5823 Now hide the different clock stuff behind a macro.
5825 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5828 * gst/gstdebugutils.c:
5830 Apply the posix-timer check from #361155. Conditionally use the posix
5831 timer for logging. This gives better timestamp precission, less
5832 overhead and no ntp jitter.
5834 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5836 * gst/gstminiobject.c: (gst_mini_object_get_type),
5837 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5838 (gst_mini_object_finalize), (gst_mini_object_copy),
5839 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5840 (gst_mini_object_replace), (param_mini_object_validate),
5841 (gst_param_spec_mini_object_get_type):
5842 Some cleanup and checking against invalid function parameters.
5844 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5846 * docs/gst/gstreamer-sections.txt:
5848 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5849 (gst_systemclock_suite):
5850 Start merging in the easy bits of #361155, the monotonic clock patch.
5851 This one adds a few handy macros with docs and a testsuite.
5853 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5855 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5856 Be a bit smarter when seeking, like, don't try to do a seek when it's
5857 not needed. This avoids errors when the file is not seekable.
5860 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5862 * docs/gst/gstreamer-docs.sgml:
5863 * docs/gst/gstreamer-sections.txt:
5864 * docs/gst/gstreamer.types.in:
5869 * plugins/elements/gstqueue.c:
5870 Due to popular request remove preset interface again. :-(.
5872 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5874 * tools/gst-inspect.c:
5875 Print 'default value' for enums and flags too.
5877 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5879 * docs/random/ensonic/profiling.txt:
5883 Fix typo and give better log output.
5885 * gst/gstdebugutils.c:
5886 * gst/gstdebugutils.h:
5887 More ideas, make graphs a bit smaller and fix param name in macro.
5889 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5892 Try harder to use the return value from fgets().
5894 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5897 For theses two fgets we handle the error below.
5899 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5901 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5902 Only send upstream events upstream. Fixes #498746.
5904 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5906 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5908 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5909 (gst_identity_init), (gst_identity_transform_ip),
5910 (gst_identity_set_property), (gst_identity_get_property):
5911 * plugins/elements/gstidentity.h:
5912 Add property to disable handoff signal emission. Fixes #498694.
5913 API: GstIdentity::signal-handoffs
5915 2007-11-21 Julien Moutte <julien@fluendo.com>
5917 * docs/faq/gst-uninstalled: Yet another missing library for the
5918 uninstalled script (fft)
5920 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5922 * docs/faq/developing.xml:
5923 Add a question about how to submit new translations.
5925 * docs/random/release:
5926 Update the contact email address for the Translation Project
5928 * plugins/elements/gstfdsrc.c:
5929 The parent_class for fdsrc is pushsrc, not GstElement.
5931 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5934 Plug a leak and fix saving.
5936 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5938 * docs/gst/gstreamer-sections.txt:
5939 Add new gst_preset__get_property_names() function to the docs
5942 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5946 Change _get_preset_names API to return a strv with copies. Add
5947 _get_property_names to allow implementations to filter and provide
5948 good default implementation.
5950 2007-11-20 Julien MOUTTE <julien@moutte.net>
5952 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5955 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5958 More cleanups, docs, and TODOs from comments that now slowly come in.
5960 2007-11-19 Julien MOUTTE <julien@moutte.net>
5962 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5965 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5968 Fix bogus warning and make the property type specific code more
5971 2007-11-19 Julien MOUTTE <julien@moutte.net>
5973 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5976 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5978 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5979 (gst_bin_add_func), (gst_bin_remove_func),
5980 (gst_bin_change_state_func), (gst_bin_continue_func):
5981 Change email, cleanups add some more debug and comments.
5982 Also set bus and clock on new elements when the pipeline was in error.
5984 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5987 * gst/gstdebugutils.c:
5988 Fix build with --disable-gst-debug. Fixes #497859.
5989 Spotted by Sameer Naik.
5991 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5994 Little documentation improvment.
5997 More TODO cleanups. Remove c++ comments.
5999 * libs/gst/controller/gstcontroller.c:
6000 Add TODO and use quark from static string.
6002 * tests/check/gst/gstmessage.c:
6003 * tests/check/gst/gststructure.c:
6004 Use quark from static string.
6006 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6009 Add some comments and TODOs.
6012 Add padding for future changes.
6014 * plugins/elements/gstqueue.c:
6015 Implement the iface.
6017 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6019 * docs/gst/gstreamer-docs.sgml:
6020 * docs/gst/gstreamer-sections.txt:
6021 * docs/gst/gstreamer.types.in:
6026 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6028 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6034 === release 0.10.15 ===
6036 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6039 releasing 0.10.15, "October"
6041 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6043 * win32/vs6/libgstreamer.dsp:
6044 Convert line endings back to DOS.
6046 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6048 * docs/design/draft-tagreading.txt:
6049 * docs/random/ensonic/profiling.txt:
6050 Update fast tagreading draft and performance profiling ideas.
6052 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6054 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6055 Don't hold the object lock when unreffing a buffer because it could
6056 cause a deadlock when the finalize function wants to grab the object
6057 lock too. Fixes #495133.
6059 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6061 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6062 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6063 Also accumulate time correctly when doing reverse playback. Fixes
6065 When converting to running and stream time, use default values for
6066 start/stop/time/accum when comparing different formats. Fixes #494245.
6068 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6069 Do running/stream time in TIME format.
6071 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6072 (gst_segment_suite):
6073 2 new unit tests for segment accumulation.
6075 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6077 * gst/gst.c: (init_pre):
6078 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6079 (_gst_debug_bin_to_dot_file):
6080 Move getenv() back into gst_init, so everyone can live happily
6081 ever after. Make sure the symbol isn't exported though.
6083 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6085 Patch by: Sebastien Moutte <sebastien moutte net>
6087 * win32/common/gstenumtypes.c:
6088 * win32/common/gstenumtypes.h:
6091 * win32/vs6/libgstreamer.dsp:
6092 Update vs6 project files (#494343).
6094 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6096 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6097 (gst_base_src_perform_seek), (gst_base_src_default_event),
6098 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6099 (gst_base_src_activate_pull):
6100 Unify flushing code, remove some old unlock code that is no longer used.
6101 Take the streaming lock when seeking to avoid races. Fixes #492729.
6102 Added some more comments.
6104 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6106 * gst/gst.c: (_gst_disable_segtrap):
6107 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6108 we can use gst_segtrap_is_enabled() there now that we have that API.
6109 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6110 to do the getenv here (and export the variable).
6112 * gst/gstdebugutils.c: (debug_dump_element),
6113 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6114 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6116 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6117 (gst_debug_log_default):
6118 Rename _gst_info_start_time to priv_gst_info_start_time so it
6119 doesn't get exported (was never in any header).
6121 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6122 (gst_plugin_loading_mutex):
6123 Make static mutex gst_plugin_loading_mutex really static (was never
6124 in any header), and use gst_segtrap_is_enabled() instead of
6125 _gst_disable_segtrap.
6127 * gst/gsttrace.c: (_gst_trace_default):
6128 Make local _gst_trace_default static (was never in any header).
6130 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6132 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6134 * win32/common/libgstbase.def:
6135 * win32/common/libgstcontroller.def:
6136 * win32/common/libgstdataprotocol.def:
6137 * win32/common/libgstnet.def:
6138 * win32/common/libgstreamer.def:
6139 Add more missing symbols, remove some duplicates, and sort
6140 as the 'sort' command sorts it (partially fixes #493983).
6142 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6144 * gst/gstelement.c: (gst_element_set_state_func):
6145 Only change the state cookie if a different state was set on the
6146 element. See #492729.
6148 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6151 Remove unused and uninitialised type variables that were still
6152 exported for some reason (they were never in any header files
6155 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6157 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6158 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6159 (gst_base_sink_event), (gst_base_sink_get_position_last),
6160 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6161 (gst_base_sink_change_state):
6162 Don't try to report a 0 position when we don't know, return -1 and FALSE
6163 instead. This mostly happens when we are prerolling.
6164 Make sure we can report the right position before we post the ASYNC_DONE
6165 message so that a message handler can query position without races.
6167 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6168 (async_done_handoff), (async_done_func), (send_buffer),
6169 (async_done_eos_func), (gst_sinks_suite):
6170 Add two tests for the above.
6172 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6175 Update with new email address.
6177 * docs/design/part-TODO.txt:
6178 Add some more info about future pad-block and negotiation changes.
6180 * docs/design/part-buffering.txt:
6181 Add some ideas about buffering reporting.
6183 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6185 * tests/check/gst/gstobject.c:
6186 Disable silly racy test that always fails on this combination of CPU
6189 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6191 Patch by: Murray Cumming <murrayc@murrayc.com>
6194 Corrected the registration of the parent-set and parent-unset
6195 signals: The parameter is a GstObject, not a GObject (#493134).
6197 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6199 * gst/gst_private.h:
6208 Move declaration of private _gst_foo_initialize() functions into
6209 our private header file where they should have been all along.
6211 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6213 * docs/plugins/gstreamer-plugins-sections.txt:
6214 * gst/gstdebugutils.h:
6216 * plugins/elements/gstqueue.c:
6217 gtk-doc fixes; trailing-comma-in-enum fix.
6219 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6221 * gst/gst.c: (gst_deinit):
6222 Clean up on deinit (not the external ones though, doesn't seem to be
6223 needed for some reason).
6225 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6227 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6228 Remove __declspec(dllimport) for MSVC that was copied over into core
6229 from a plugin, obviously without ever having been tested (note the
6230 single underscore in _declspec in the initial commit), and that doesn't
6231 really make sense. See #492077.
6233 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6235 * gst/gst.c: (init_post):
6236 * gst/gstevent.c: (_gst_event_initialize):
6237 * gst/gstquery.c: (_gst_query_initialize):
6238 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6239 g_type_class_ref() other types as well, see #349410 and #64764.
6241 * gst/gstbuffer.c: (_gst_buffer_initialize):
6242 * gst/gstmessage.c: (_gst_message_initialize):
6243 Simplify existing g_type_class_ref().
6245 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6247 * gst/gstformat.c: (_gst_format_initialize):
6248 g_type_class_ref() our GstFormat type to make sure we avoid the
6249 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6250 bug #64764. Should fix intermittent tee unit test failures (#474823).
6252 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6254 * tests/check/elements/tee.c: (test_num_buffers):
6255 Simplify, simplify, simplify - or not. Rewrite unit test
6256 not to use gst_parse_launch(); allow N sub-streams. Increasing
6257 the number of sub-streams seems to reproduce #474823 more easily.
6259 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6261 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6264 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6265 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6266 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6267 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6268 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6269 so use _pipe() directly (#492077).
6271 * win32/common/dirent.c: (_treaddir):
6272 Add a couple of casts to make it build without warnings with MSVC.
6274 * win32/common/libgstreamer.def:
6275 Add some more symbols that need to be exported.
6277 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6279 * tests/examples/metadata/read-metadata.c: (message_loop):
6280 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6281 arriving in a second or third tag message are added to
6282 the tag list as well.
6284 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6286 * libs/gst/base/gstbasesrc.c:
6287 Its "Since:" and not "@Since:". And remove an superflous cast.
6289 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6291 * docs/libs/gstreamer-libs-sections.txt:
6292 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6293 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6294 (gst_base_sink_get_property), (gst_base_sink_render_object),
6295 (gst_base_sink_preroll_object),
6296 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6297 (gst_base_sink_change_state):
6298 * libs/gst/base/gstbasesink.h:
6299 Add a new last-buffer property that contains the last buffer used in
6300 basesink for preroll or rendering. useful for making snapshots.
6301 API: gst_base_sink_get_last_buffer()
6302 API: GstBaseSink::last-buffer
6304 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6306 * docs/gst/running.xml:
6308 * gst/gstdebugutils.c:
6309 * gst/gstdebugutils.h:
6310 * tools/gst-launch.c:
6311 Improve bin graph dumping, by using the envvar to specify a path.
6312 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6314 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6316 * plugins/elements/gsttypefindelement.c:
6317 (gst_type_find_element_handle_event),
6318 (gst_type_find_element_activate):
6319 Post special error message if we can't determine the type of a stream
6322 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6324 * docs/gst/running.xml:
6325 * gst/gstdebugutils.c:
6326 Document new env-var. Add one log-line after dumpng a graph.
6328 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6331 Ugly hack to put the (recently removed and non-portable, apparently)
6332 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6333 GNU ld, because without that 'make check' fails miserably on my debian
6334 stable box. Someone with more knowledge of linker intricacies and
6335 portability issues than me fix this properly please.
6337 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6339 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6340 Reset last seen position after flushing so that we don't report the old
6343 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6345 * gst/gstelementfactory.c: (gst_element_register):
6347 Patch from Alessandro Decina adding get_type_full and
6348 get_protocols_full private vfuncs to the URIHandler interface
6349 to allow bindings to support creating URI handlers.
6350 Partially fixes: #339279
6351 API: GstURIHandlerInterface::get_type_full
6352 API: GstURIHandlerInterface::get_protocols_full
6354 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6356 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6357 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6358 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6359 Make it so that pads are considered linked until a buffer is pushed
6360 and discovered otherwise. This avoids problems with decodebin2 hanging
6361 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6364 Make sure we lock the multiqueue when updating the max-size properties.
6366 Fix a crash on Solaris in a debug statement in get_request_pad that
6367 passes a NULL string to GST_DEBUG.
6369 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6370 (run_output_order_test):
6371 Fix the test to allow the first buffer on not-linked pads to come out
6372 of sequence while multiqueue discovers that they are not-linked.
6374 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6377 * libs/gst/check/Makefile.am:
6378 Use a custom export symbol regex for libgstcheck, as it needs
6379 to export symbols that don't match the standard GStreamer gst_*
6380 pattern, and --export-dynamic is not portable (only works on
6383 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6384 (gst_check_setup_sink_pad):
6385 Make sure to pass a message parameter to the fail_* macros.
6387 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6388 Fix some compiler warnings.
6390 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6392 * tests/check/gst/gststructure.c: (test_to_string):
6393 Disable test that checks that white spaces are not allowed
6394 in structure names or field names, since we need to
6395 support that for now for backwards compatibility reasons.
6397 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6399 * docs/gst/gstreamer-sections.txt:
6402 API: add GST_TAG_ARTIST_SORTNAME
6403 API: add GST_TAG_ALBUM_SORTNAME
6404 API: add GST_TAG_TITLE_SORTNAME
6405 Add tag variants for sorting (#414539).
6407 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6409 * gst/gststructure.c:
6410 Also allow white space for names so we don't break
6411 backwards compatibility.
6413 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6415 * docs/design/part-TODO.txt:
6416 * docs/design/part-segments.txt:
6417 * docs/design/part-streams.txt:
6420 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6422 * docs/gst/gstreamer-sections.txt:
6423 Fixed documentation from my previous commit (added new API add
6424 gst_value_set_structure(), add gst_value_get_structure() and
6425 GST_VALUE_HOLDS_STRUCTURE).
6427 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6429 * gst/gstdebugutils.c:
6430 Reflow code to fix uninitialized variable warning.
6432 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6434 * gst/gstcaps.c: (gst_caps_to_string),
6435 (gst_caps_from_string_inplace):
6436 * gst/gststructure.c: (gst_structure_get_abbrs),
6437 (gst_structure_to_string), (gst_structure_from_string):
6438 * gst/gstvalue.c: (gst_value_set_structure),
6439 (gst_value_get_structure), (gst_value_serialize_structure),
6440 (gst_value_deserialize_structure), (_gst_value_initialize):
6442 * tests/check/gst/gststructure.c: (GST_START_TEST),
6443 (gst_structure_suite):
6444 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6445 Added GstStructure to gst_value_table and its related functions.
6446 Changed gst_structure_to_string to print ';' in the end.
6447 Changed gst_caps_to_string to not print ';' beteween its
6448 fields (structures) anymore and remove the lastes ';' from latest
6449 structure. Now it is possible to have nested structures.
6450 In addition, backward compatibilty is assured by accepting '\0' as
6451 end delimiter. Fixes: #487969.
6452 API: add gst_value_set_structure()
6453 API: add gst_value_get_structure()
6454 API: add GST_VALUE_HOLDS_STRUCTURE
6456 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6459 When no GSource callback has been set up, tell developer
6460 to use a function that actually exists.
6462 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6464 * docs/gst/gstreamer-sections.txt:
6468 * gst/gstdebugutils.c:
6469 * gst/gstdebugutils.h:
6472 * tools/gst-launch.c:
6473 Allow dumping pipelines as dot graphs. Fixes #456573.
6475 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6477 * gst/gststructure.c:
6478 Allow '+' as well, it can be part of media or mime types
6479 such as image/svg+xml.
6481 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6483 * docs/gst/gstreamer-sections.txt:
6486 API: add gst_bus_pop_filtered
6487 API: add gst_bus_timed_pop_filtered
6488 Two new functions for waiting for specific message types on the
6489 bus for a specified amount of time without iterating any main
6490 loops or main contexts.
6492 * tests/check/gst/gstbus.c:
6493 Some tests for the new functions.
6495 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6497 * docs/libs/gstreamer-libs-sections.txt:
6498 Make gtk-doc ignore stuff it should ignore.
6500 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6502 * libs/gst/check/gstcheck.c:
6503 * libs/gst/check/gstcheck.h:
6504 Allow runtime selection of unit tests to run via the GST_CHECKS
6505 environment variable (test case function names, comma-separated).
6507 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6509 * gst/gststructure.c:
6510 * tests/check/gst/gststructure.c:
6511 Revert serialisation change and constrain structure-names after
6512 consensus on irc. Update api documentation to reflect the change.
6514 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6516 * gst/gststructure.c:
6517 Improve serialization and fix tests.
6519 * tests/check/gst/gststructure.c:
6520 Add another test that covers why I actually did the previous structure
6523 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6525 * tools/gst-inspect.c: (print_element_info):
6526 Don't crash when inspecting an element.
6528 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6530 * tests/check/gst/gststructure.c:
6531 Add unit test for escaping of structure name when serialising
6532 and deserialising to/from strings.
6534 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6536 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6537 (gst_single_queue_new):
6538 * plugins/elements/gstqueue.c: (gst_queue_init),
6539 (gst_queue_push_one):
6540 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6541 upstream is tricked into thinking it can suggest a format downstream
6542 while downstream does not support that format. The real problem is that
6543 core calls acceptcaps when pushing a buffer with new caps, for which we
6544 do a little workaround by setting the caps on the srcpad ourselves
6545 before pushing the buffer (until this is figured out). Fixes #486758.
6547 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6549 * gst/gststructure.c:
6551 Add some more comments and debug output. Quote structure name to fix
6552 deserialisation of some strings.
6554 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6557 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6558 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6560 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6562 * tools/gst-inspect.c:
6563 Save approx. 400 1 byte allocs when printing. Use API to acces element
6569 * tools/gst-xmlinspect.c:
6570 Use API to acces element details.
6572 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6575 Fix some spelling errors.
6577 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6579 * gst/gstbin.c: (bin_handle_async_done):
6580 Correctly set the next state if all of our async children commited their
6581 state. This makes sure we can actually cancel the state change in
6582 progress. Fixes a regression in Rhythmbox when seeking.
6584 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6587 Don't shadow local variable.
6590 Don't shadow global function name.
6592 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6594 * gst/gstelementfactory.c:
6595 * gst/gstpluginfeature.c:
6596 * gst/gstpluginfeature.h:
6597 * gst/gstregistrybinary.c:
6598 * gst/gstregistryxml.c:
6599 * gst/gsttypefind.c:
6600 Use already-interned string for the private GstPluginFeature
6603 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6605 * docs/libs/gstreamer-libs-sections.txt:
6606 Add new API to docs; fixes the build.
6608 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6610 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6612 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6613 (gst_base_sink_event):
6614 * libs/gst/base/gstbasesink.h:
6615 Add function to wait for EOS, subclasses can use this to correctly wait
6616 for devices to drain before performing the EOS logic. Fixes #485343.
6617 API: gst_base_sink_wait_eos()
6619 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6622 Cast description string constants in GST_PLUGIN_DEFINE macros
6623 to a (gchar*) to make C++ code using these macros compile
6624 without warning with g++-4.2 (see #462737). Even if slightly
6625 ugly, this seems preferable to putting the description strings
6626 into the GLib quark table or making the structure member a
6627 const gchar * and doing casts in core code that allocs and
6628 frees these strings, or requiring a cast in the C++ code.
6630 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6633 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6634 to print the entire class/function signature into the log
6635 file for C++ code. This only affects C++ code, for C code
6636 everything remains the same.
6638 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6640 * gst/gstbin.c: (remove_from_queue):
6641 Work around a problem with pipelines containing (semi)loops until a
6642 proper, more complicated solution is ready. See #475455.
6644 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6648 * gst/gstregistrybinary.c:
6649 * gst/gstregistryxml.c:
6650 Put more strings into the GLib quark table. No need to keep
6651 a hundred-something copies of identical version strings,
6652 license strings, package name strings and package origin
6655 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6657 * docs/manual/advanced-dataaccess.xml:
6658 Don't imply that it's okay to unconditionally change
6659 buffer data or buffer metadata in a pad probe callback,
6660 and a bunch of other comments. Fixes #430031.
6662 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6664 * win32/common/gstenumtypes.c:
6665 * win32/common/gstenumtypes.h:
6666 * win32/common/gstversion.h:
6667 Update generated files.
6669 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6671 * docs/manual/advanced-autoplugging.xml:
6672 Prefix section with broken code with a warning (see #342432).
6674 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6676 * docs/manual/appendix-integration.xml:
6677 * docs/manual/basics-init.xml:
6678 Call g_thread_init() before g_option_context_new() to
6679 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6681 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6683 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6684 (gst_base_sink_queue_object_unlocked),
6685 (gst_base_sink_queue_object), (gst_base_sink_event),
6686 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6687 When we received EOS and are waiting for when to post the EOS message,
6688 our state is prerolled and we should not return ASYNC.
6689 Reorganize some code paths to implement this behavior.
6691 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6693 Add unit test to verify above EOS fix.
6695 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6697 * plugins/elements/gsttypefindelement.c:
6698 (gst_type_find_element_have_type), (gst_type_find_element_init),
6699 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6700 Move detecting the input caps of the sinkpad to the setcaps function.
6701 This allows us to update the output caps when we receive new input caps
6702 instead of always using the first detected caps.
6704 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6706 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6707 (gst_base_sink_get_position):
6708 Don't try to preroll non-async elements after a flush.
6709 Subtract latency form clock times when reporting position.
6711 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6713 * gst/gstpad.c: (gst_pad_pause_task):
6715 Small comment and documentation update.
6717 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6719 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6720 (gst_base_src_set_live), (gst_base_src_is_live),
6721 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6722 (gst_base_src_default_event), (gst_base_src_wait),
6723 (gst_base_src_do_sync), (gst_base_src_get_range),
6724 (gst_base_src_pad_get_range), (gst_base_src_loop),
6725 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6726 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6727 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6728 (gst_base_src_change_state):
6729 Rework the locking of basesrc in a similar fashion to basesink. We
6730 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6731 us to handle live sources and semi live ones much better.
6733 Fix unlocking when seeking, shutting down and pausing in live sources.
6735 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6737 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6738 Fix compilation again.
6740 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6743 Use meaningful categories for the logs to clean the default one.
6745 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6747 * tests/check/pipelines/cleanup.c:
6748 Print message name and not just number.
6750 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6752 * docs/design/draft-tagreading.txt:
6753 Add some more thoughts.
6755 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6757 * tests/check/pipelines/simple-launch-lines.c:
6758 Print message name and not just number.
6760 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6762 * libs/gst/base/gsttypefindhelper.c:
6763 Speedup typefinding. This is work in progress (see #459862).
6765 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6768 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6769 Spotted by Josep Torra Valles <josep@fluendo.com>.
6771 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6774 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6775 field has moved to GstObject.
6777 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6779 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6780 (gst_base_src_get_range), (gst_base_src_change_state):
6781 Call unlock for live sources so that they can't get stuck in _create and
6782 produce a buffer before they are set back to PLAYING.
6784 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6786 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6787 (gst_queue_locked_dequeue):
6788 Comment the segment-related code... in the PROPER function.
6789 See #482147 and my commit from yesterday.
6791 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6793 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6794 Also initialize the counter that calculates the first timestamp on a
6795 buffer correctly for non-live sources.
6797 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6799 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6800 Disable code that's breaking the current-time-level reporting.
6803 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6805 * docs/gst/gstreamer-sections.txt:
6806 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6807 as they shouldn't show up. Fixes the docs build.
6809 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6812 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6813 Define M_PI which is used in files which are including gstinfo.h.
6814 VS6 includes doesn't define it.
6815 * win32/common/libgstbase.def:
6816 * win32/common/libgstcontroller.def:
6817 * win32/common/libgstreamer.def:
6818 Add new exported functions and variables.
6819 * win32/vs6/libgstcontroller.dsp:
6820 * win32/vs6/libgstreamer.dsp:
6821 Update the list of files to build.
6823 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6825 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6827 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6828 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6829 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6830 Improve debugging. Fixes #480858.
6832 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6834 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6836 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6837 First patch of code cleanups, use the macros and right arguments in the
6838 macros to signal and lock the queue. See #480858.
6840 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6842 * gst/gstbus.c: (poll_func):
6843 Improve debugging when dealing with _poll().
6845 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6847 * gst/gstregistryxml.c:
6848 Fix memory leak I introduced a few days ago.
6850 2007-09-26 Michael Smith <msmith@fluendo.com>
6852 * gst/gstbuffer.c: (gst_buffer_finalize):
6853 Make it once again possible to free GstBuffers in the default
6855 The poisoning scribbles on parts of the miniobject we need in
6859 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6861 * docs/gst/gstreamer-sections.txt:
6864 API: add GST_TAG_COMPOSER, fixes #459809.
6866 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6870 Add the 3-clause BSD license and the MIT/X11 license to the license
6871 list. Fixes #479784.
6873 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6875 * docs/faq/getting.xml:
6876 Add Q+A about different GStreamer versions (#364056).
6878 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6880 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6881 (gst_base_sink_event), (gst_base_sink_change_state):
6882 Return correct gboolean from query function.
6884 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6886 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6887 (gst_base_sink_event), (gst_base_sink_query),
6888 (gst_base_sink_change_state):
6889 Simplify latency query.
6890 When not synchronizing, we can report latency without querying the peer
6893 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6897 Fix small typos in the docs.
6899 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6901 * docs/design/draft-latency.txt:
6902 * docs/design/draft-push-pull.txt:
6903 * docs/design/draft-tagreading.txt:
6904 * docs/design/part-MT-refcounting.txt:
6905 * docs/design/part-activation.txt:
6906 * docs/design/part-block.txt:
6907 * docs/design/part-element-source.txt:
6908 * docs/design/part-events.txt:
6909 * docs/design/part-gstbin.txt:
6910 * docs/design/part-gstelement.txt:
6911 * docs/design/part-gstobject.txt:
6912 * docs/design/part-gstpipeline.txt:
6913 * docs/design/part-messages.txt:
6914 * docs/design/part-preroll.txt:
6915 * docs/design/part-push-pull.txt:
6916 * docs/design/part-qos.txt:
6917 * docs/design/part-query.txt:
6918 * docs/design/part-scheduling.txt:
6919 * docs/design/part-seeking.txt:
6920 * docs/design/part-segments.txt:
6921 * docs/design/part-states.txt:
6922 Documentation updates and typo fixes.
6924 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6926 * plugins/elements/gstfakesink.c:
6927 Add some debug text to error message to indicate that
6928 we errored out on request.
6930 * tools/gst-launch.c:
6931 When the state change to PLAYING fails, check for an
6932 error message on the bus and print it.
6934 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6936 translated by: Jorge González González <aloriel@gmail.com>
6940 Added Spanish translation.
6942 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6944 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6945 Fix printf arguments.
6947 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6949 * tests/check/generic/states.c:
6950 Improved state change unit test.
6952 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6955 Move priv to the right place.
6957 * gst/gstsystemclock.c:
6958 Add FIXME: and improve log.
6960 * tests/check/Makefile.am:
6961 * tests/examples/manual/Makefile.am:
6962 Work with all types of registries.
6964 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6966 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6967 Don't unref the event after pushing it. Fixes #478401.
6969 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6972 * tests/examples/manual/.cvsignore:
6973 Ignore registries in any format.
6975 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6977 * gst/glib-compat-private.h:
6978 Add compatibility macro for g_intern_string() for
6979 GLib-2.8 (any reason we can't just bump the
6980 requirement to at least 2.10?)
6982 * gst/gstpadtemplate.h:
6983 * gst/gstelementfactory.c:
6984 * gst/gstregistryxml.c:
6985 * gst/gstregistrybinary.c:
6986 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6987 up the internal code accordingly. This shouldn't be a problem, since
6988 there is no reason external code could ever assume the string in such
6989 a structure is dynamically allocated unless it did that itself; the
6990 use of g_strdup() is private to element factories. The new code also
6991 saves some memory by putting pad template name strings into the GLib
6992 quark table instead of allocating them dynamically.
6993 Declaring this field constant fixes warnings with g++-4.2 when using
6994 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6996 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6998 * gst/gstelementfactory.c:
6999 Release static caps. Fixes #475723.
7001 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7005 Make some internal API take const gchar * instead of just
7006 gchar * to avoid compiler warnings with g++-4.2.2 when
7007 passing string constants (partially fixes #478092).
7009 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7011 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7012 A latency query fails when one of the sinks fail.
7014 * gst/gstelement.c: (gst_element_set_base_time):
7017 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7019 * gst/gstbin.c: (gst_bin_continue_func):
7020 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7021 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7022 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7024 Fix minor compilation warnings shown with Forte.
7026 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7028 * plugins/elements/gstqueue.c: (apply_buffer),
7029 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7030 Measure queue level based on the diff between head and tail timestamps
7031 even when pushing the first buffer.
7033 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7035 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7036 (gst_base_sink_event), (gst_base_sink_change_state):
7037 Sinks that don't preroll can always be queried for the latency.
7038 Don't post ASYNC start when we are not async.
7040 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7042 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7043 (gst_queue_handle_sink_event), (gst_queue_chain),
7044 (gst_queue_push_one), (gst_queue_handle_src_query),
7045 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7046 * plugins/elements/gstqueue.h:
7047 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7048 push more buffers but allow pushing of EOS and NEWSEGMENT.
7049 Add some more debug info here and there. Fixes #476514.
7051 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7053 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7054 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7055 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7056 (gst_base_sink_set_flushing), (gst_base_sink_query),
7057 (gst_base_sink_change_state):
7058 Latency query is allowed after we are prerolled. Introduce a new flag
7059 for this and stop abusing other variables.
7061 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7063 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7064 Push OOB events downstream when we get them in send_event. This allows
7065 the application to insert events in the pipeline.
7066 Add some more comments.
7068 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7070 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7071 (do_bin_latency), (gst_bin_change_state_func):
7072 * gst/gstpipeline.c: (gst_pipeline_change_state):
7073 Move latency query from GstPipeline to GstBin so that we can also
7074 use it when async-handling is enabled on bins.
7076 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7078 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7079 (gst_base_src_do_sync), (gst_base_src_change_state):
7081 Clean up the timestamping and syncing code for pseudo live sources.
7083 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7085 Patch by: Steve Fink <sphink gmail com>
7087 * docs/manual/appendix-checklist.xml:
7088 Mention less -R switch in the section about debug output (#474055).
7090 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7092 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7093 Queue can latency to the pipeline up to the configured max size in time.
7094 Report this fact in the latency query.
7096 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7098 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7100 * libs/gst/controller/gstinterpolation.c:
7101 * libs/gst/controller/gstlfocontrolsource.c:
7102 Use gst_guint64_to_gdouble() when converting from a uint64 or
7103 GstClockTime to double to fix the build on win32. Fixes #474371.
7105 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7107 * gst/gstbuffer.c: (gst_buffer_finalize):
7108 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7109 When finalizing a buffer the complete struct is filled with 0xff,
7110 thus making a use of the buffer after the final unref impossible.
7112 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7114 * tests/check/libs/controller.c: (GST_START_TEST):
7115 Use fail_unless_equals_int(a, b) instead of
7116 fail_unless_equals (a == b) to get better output on failures.
7118 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7120 * tests/check/gst/gsturi.c:
7121 Also check for the other file URI variant on win32.
7123 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7125 * gst/gsturi.c: (gst_uri_get_location):
7126 If there's no hostname, we want to return 'c:/foo/bar.txt'
7127 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7129 * tests/check/gst/gsturi.c:
7130 Unit test for the above and a few more things.
7132 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7134 * docs/design/part-live-source.txt:
7135 Add docs on how live sources should timestamp.
7137 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7138 Add some more debug info.
7139 For subclasses that are live and like to sync, add aditional startup
7140 latency to sync time and timestamps so that we timstamp according to the
7143 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7146 Also do a g_type_class_ref() for the subbuffer type in
7149 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7151 * docs/gst/gstreamer-sections.txt:
7152 * gst/gstpad.c: (gst_pad_peer_query):
7154 Add function to perform a query on the peer of a pad.
7155 API: gst_pad_peer_query()
7157 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7159 * tests/check/gst/gstsystemclock.c:
7160 Cleanup the test a little (use gst-logging and not g_message). Improve
7161 test to check if a wait reached the target.
7163 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7165 * docs/libs/gstreamer-libs-sections.txt:
7166 Add new API to docs and fix the build.
7168 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7170 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7171 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7172 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7173 (gst_base_src_get_property), (gst_base_src_do_sync):
7174 * libs/gst/base/gstbasesrc.h:
7175 Add property to make the basesrc timestamp buffers based on the current
7177 API: GstBaseSrc::do-timestamp
7178 API: gst_base_src_set_do_timestamp()
7179 API: gst_base_src_get_do_timestamp()
7181 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7183 * docs/random/release:
7184 Really make sure translations are up-to-date before
7185 a release (#465010).
7187 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7189 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7190 Always destroy the timer, also in error cases.
7192 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7194 * docs/manual/highlevel-xml.xml:
7195 Fix XML example code. Fixes #472714.
7197 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7199 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7200 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7201 (gst_base_sink_query):
7202 Protect eos and have_preroll with the OBJECT lock so we don't need to
7203 take the PREROLL lock when querying the latency. Fixes #473846.
7205 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7208 Give some log-messages a category.
7210 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7212 * gst/gststructure.c:
7213 (gst_structure_fixate_field_nearest_fraction):
7214 Fix fraction list fixation code. Take the fraction with the smallest
7215 difference with the target instead of the first one in the list.
7217 * tests/check/gst/gststructure.c: (GST_START_TEST),
7218 (gst_structure_suite):
7219 Added test to verify correct fraction list fixation behaviour.
7221 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7223 * win32/common/libgstreamer.def:
7224 Export gst_bus_add_signal_watch too.
7226 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7228 * docs/libs/gstreamer-libs-sections.txt:
7229 Add new methods to docs.
7231 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7232 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7233 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7234 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7235 * libs/gst/base/gstbasesink.h:
7236 Add ts-offset property to fine-tune the synchronisation.
7237 API: GstBaseSink::ts-offset property
7238 API: gst_base_sink_set_ts_offset()
7239 API: gst_base_sink_get_ts_offset()
7241 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7243 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7244 (gst_base_sink_init), (gst_base_sink_set_sync),
7245 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7246 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7247 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7248 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7249 (gst_base_sink_get_property), (gst_base_sink_change_state):
7250 * libs/gst/base/gstbasesink.h:
7251 Add async property to instruct the sink never to inform the parent about
7252 ASYNC state changes, update docs.
7253 Check argument with g_return_* for the public functions.
7254 API: GstBaseSink::async property
7255 API: gst_base_sink_set_async_enabled()
7256 API: gst_base_sink_is_async_enabled()
7258 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7260 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7263 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7264 (gst_base_src_default_query), (gst_base_src_wait),
7265 (gst_base_src_do_sync), (gst_base_src_change_state):
7266 Rearrange some code so that we can add support for measuring the
7269 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7271 * docs/random/ensonic/dynlink.txt:
7272 More thoughs on this.
7274 * plugins/elements/gstcapsfilter.c:
7275 Add bugzilla ticket number to FIXME comment.
7277 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7279 * docs/design/part-TODO.txt:
7280 * docs/design/part-block.txt:
7283 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7286 Revert patch which uses $(gst_headers) instead of $^ because it
7289 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7291 * tests/check/gst/gstbin.c: (GST_START_TEST):
7292 Fix leaks in the new unit test.
7294 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7297 Don't use GST_INFO before the debug system is actually initialised
7298 (shouldn't do any harm, but won't print anything either, so we can
7299 just as well remove it).
7302 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7303 compilers that don't support variadic macros (such as MSVC), should
7304 check for debug_level <= __gst_debug_min as well, since that's the
7305 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7306 inline helper functions. Should improve performance a bit, but also
7307 makes sure uses of GST_INFO et.al are ignored if the debugging
7308 system isn't initialised yet (instead of printing an assertion
7311 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7313 patch by: David Nečas <yeti@physics.muni.cz>
7316 Replace some non portable makefile constructs.
7318 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7320 * common/gtk-doc-plugins.mak:
7321 Grrrrr. Don't remove the types file on make clean.
7323 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7325 * tools/gst-launch.1.in:
7326 Add colorspace to example pipeline. Fixes #458274.
7328 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7330 * docs/random/release:
7331 The release manager should run 'make download-po' before making a
7332 release to make sure translations are up-to-date.
7338 Add some new translations.
7340 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7342 * tools/gst-launch.c: (event_loop), (main):
7343 Don´t try to do any state management when a live pipeline posts
7345 Also make the buffering string translatable.
7347 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7349 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7350 (bin_handle_async_start), (gst_bin_handle_message_func):
7352 When adding elements, insert messages into the bus of the newly added
7353 element and make sure the element is the source of the message. This
7354 allows the parent bin to intercept the message and do the
7355 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7356 messages to the app (which is not allowed).
7359 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7360 Fix testsuite so that is does not work around messages that should not
7361 have been posted in the first place.
7363 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7365 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7366 (update_degree), (gst_bin_sort_iterator_next):
7367 Fix annoying bug in the sorted iterator where a sink that is not really
7368 a sink (when it has downstream links) screwed up the iterator.
7370 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7371 Unit test to verify the fix.
7373 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7376 Add some more docs for the messages.
7378 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7379 (gst_base_sink_query):
7380 Add some more debugging.
7382 * tools/gst-launch.c: (event_loop):
7383 When interrupting, don't try to set pipeline to PAUSED twice.
7385 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7388 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7389 (bin_handle_async_start), (gst_bin_handle_message_func):
7390 Move ASYNC_START message posting to where it belongs, similar to
7392 Don't post ASYNC_START when we are in error.
7393 Post ASYNC_START when we added an async element to a bin.
7395 2007-08-14 Julien MOUTTE <julien@moutte.net>
7397 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7398 generation from vargs. Fixes #466595.
7400 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7402 * gst/gstbin.c: (gst_bin_element_set_state):
7403 Always change the state of a NO_PREROLL element even if it has ASYNC
7404 elements inside (in case of a bin).
7406 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7407 Unit test for this case.
7409 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7411 * libs/gst/check/gstbufferstraw.c:
7412 * libs/gst/check/gstcheck.h:
7413 * libs/gst/controller/gstcontroller.c:
7414 * libs/gst/controller/gstcontrolsource.h:
7415 * libs/gst/controller/gstlfocontrolsource.h:
7416 * plugins/elements/gstcapsfilter.h:
7417 * plugins/elements/gstfdsink.h:
7418 * plugins/elements/gstfdsrc.h:
7419 Add more missing docs.
7421 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7423 * gst/gststructure.c:
7424 Add Since tag to docs.
7426 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7428 * docs/gst/gstreamer-sections.txt:
7429 * gst/gststructure.c: (gst_structure_get_uint):
7430 * gst/gststructure.h:
7431 Add function to get uint from a structure.
7432 API: gst_structure_get_uint()
7434 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7436 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7437 (gst_caps_intersect):
7438 Fix proper check for simple caps.
7440 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7442 * docs/gst/Makefile.am:
7443 * docs/libs/Makefile.am:
7444 Remove cruft and do some cleanups.
7446 * docs/gst/gstreamer-docs.sgml:
7447 * docs/libs/gstreamer-libs-docs.sgml:
7448 Prepare for comming gtkdoc features (rebase against online docs).
7450 2007-08-10 Michael Smith <msmith@fluendo.com>
7452 * docs/gst/gstreamer-sections.txt:
7453 Add gst_registry_add_path to docs.
7455 2007-08-10 Michael Smith <msmith@fluendo.com>
7457 * gst/gstregistry.h:
7458 Add gst_registry_add_path, which was missing from this header.
7460 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7462 * libs/gst/controller/gstlfocontrolsource.c:
7465 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7467 * libs/gst/base/gstbasesink.c:
7468 Don't send an async_start message during downwards state change if
7469 target state is less than READY
7471 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7473 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7477 Added Hungarian translation.
7479 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7486 Updated translations.
7488 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7490 * libs/gst/controller/Makefile.am:
7491 Dist gstlfocontrolsourceprivate.h
7493 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7495 * docs/libs/gstreamer-libs.types:
7496 Don't register the enum type gst_lfo_waveform_get_type() in the
7497 .types file - only GObject derived types belong.
7499 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7501 Patch by: <arenevier at fdn dot fr>
7504 Remove comma from last element in enum to avoid compile errors when
7505 using -pendantic. Fixes #464366.
7507 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7509 * docs/design/part-TODO.txt:
7510 Add some more TODO items
7512 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7515 * gst/gstcaps.c: (gst_caps_intersect):
7516 Optimize trivial intersection case between identical caps pointers.
7518 * gst/gstelement.c: (gst_element_continue_state),
7519 (gst_element_set_state_func):
7521 Fix spelling and grammar mistakes.
7523 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7527 Update POTFILES. Fixes #461599.
7529 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7532 Fix confusing typo in debug output.
7534 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7536 reviewed by: Stefan Kost <ensonic@users.sf.net>
7538 * libs/gst/controller/Makefile.am:
7539 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7540 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7541 (gst_lfo_control_source_new),
7542 (gst_lfo_control_source_set_waveform),
7543 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7544 (gst_lfo_control_source_finalize),
7545 (gst_lfo_control_source_dispose),
7546 (gst_lfo_control_source_set_property),
7547 (gst_lfo_control_source_get_property),
7548 (gst_lfo_control_source_class_init):
7549 * libs/gst/controller/gstlfocontrolsource.h:
7550 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7551 API: Add GstLFOControlSource, a control source that gives values
7552 for specific timestamps based on several periodic waveforms.
7555 * tests/check/libs/controller.c: (GST_START_TEST),
7556 (gst_controller_suite):
7557 * docs/libs/gstreamer-libs-docs.sgml:
7558 * docs/libs/gstreamer-libs-sections.txt:
7559 * docs/libs/gstreamer-libs.types:
7560 Add documentation and unit tests for GstLFOControlSource.
7562 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7567 === release 0.10.14 ===
7569 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7572 releasing 0.10.14, "Breathing Vacuum"
7574 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7576 * gst/gstelement.c: (gst_element_class_set_details_simple):
7578 Make strings passed to gst_element_class_set_details_simple()
7579 constant, as they should be (#462752).
7581 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7583 * gst/gstbin.c: (gst_bin_change_state_func),
7584 (bin_handle_async_done), (gst_bin_handle_message_func):
7585 Don't forget about the fact that some element went ASYNC even after a
7586 resync. This makes us post the ASYNC_DONE message correctly.
7589 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7591 * gst/gstregistry.c: (gst_registry_add_feature):
7592 When replacing an existing feature in the registry, make sure to
7593 continue holding a reference until we've replaced the name string
7594 within our feature hash table. Make sure to use g_hash_table_replace
7595 instead of g_hash_table_insert to ensure the new name string is used
7596 as a key instead of the old one that we're about to free.
7599 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7601 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7602 (gst_plugin_feature_set_name):
7603 Revert patch from #459466 until after the release and we can work
7604 out exactly what the problem is (if any).
7606 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7608 * docs/gst/gstreamer-sections.txt:
7611 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7613 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7615 * docs/libs/Makefile.am:
7616 Include our build-prefix libs and includes before the generic ones to
7617 avoid linking against the installed libs when we want the build-tree
7620 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7622 Patch by: Steve Fink <sphink gmail com>
7624 * docs/pwg/building-testapp.xml:
7625 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7626 if people try to build or install the example from the plugin
7627 template against a GStreamer from package using the configure
7630 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7632 Patch by: Steve Fink <sphink gmail com>
7634 * tools/gst-inspect.1.in:
7635 Document --print-all and --print-plugin-auto-install-info command
7636 line options in man page.
7638 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7640 * docs/gst/gstreamer-sections.txt:
7641 Add docs for new api function.
7643 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7645 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7646 * gst/gstelementfactory.h:
7647 API: gst_element_factory_has_interface()
7648 Added method to check if an element factory implements a named
7651 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7654 * docs/gst/gstreamer.types.in:
7655 Another conditional doc check.
7658 * gst/gstparamspecs.h:
7659 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7664 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7666 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7667 (gst_registry_binary_load_feature),
7668 (gst_registry_binary_load_plugin),
7669 (gst_registry_binary_read_cache):
7670 Print error just once and with additional info.
7672 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7674 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7675 (helper_find_suggest), (helper_find_get_length),
7676 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7677 (gst_type_find_helper_for_buffer):
7678 Cleanup the typefindhelper code and add private doc comments.
7680 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7682 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7683 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7684 Fix capsfilter for cases where the caps set on capsfilter will provide
7685 additional information.
7688 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7690 * gst/gsttypefindfactory.c:
7691 Fix docs that recommened wrong function to use.
7693 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7695 * tools/gst-inspect.c: (print_plugin_features):
7696 Also give media-type for typefinders in element output.
7698 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7700 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7701 (gst_registry_remove_features_for_plugin_unlocked),
7702 (gst_registry_add_feature), (gst_registry_remove_feature),
7703 (gst_registry_lookup_feature_locked):
7704 * gst/gstregistry.h:
7705 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7708 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7710 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7711 (gst_plugin_feature_set_name):
7712 Avoid double memory usage for pluginfeature names. Fixes #459466.
7714 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7717 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7718 driving the pipeline may need to explicitly check for NOT_LINKED as
7719 well, since IS_FATAL doesn't cover that.
7721 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7723 * docs/pwg/advanced-types.xml:
7724 Fix typo and duplicate entry in video formats list.
7726 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7728 * libs/gst/controller/gstinterpolation.c:
7729 Also round to the nearest int when using cubic interpolation.
7731 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7733 * libs/gst/controller/gstinterpolation.c:
7734 When linearly interpolating integer types, round to the nearest int
7735 by adding 0.5. Don't do it for float/double types.
7736 Fixes the failing controller test on my machine, which is somehow
7737 rounding differently than on the buildbots.
7739 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7741 * tools/gst-plot-timeline.py:
7742 Better log parsing (categories can have -). Adjust text vs. lines, so
7743 that they span the same y-range.
7745 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7747 * docs/random/ensonic/audiobaseclasses.txt:
7748 * docs/random/ensonic/dynlink.txt:
7749 * docs/random/ensonic/profiling.txt:
7752 * docs/random/moving-plugins:
7753 Add note to use g_assert type macros.
7755 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7758 * libs/gst/check/Makefile.am:
7759 Add libm check as we use in for plugins.
7761 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7763 * gst/gstbin.c: (gst_bin_continue_func):
7764 Check that the state_cookie hasn't changed since the continue_func
7765 was scheduled. Avoids problems where the state changes back to
7766 something it shouldn't be because it was changed in the meantime.
7768 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7770 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7771 (gst_registry_binary_save_string),
7772 (gst_registry_binary_save_pad_template),
7773 (gst_registry_binary_save_feature),
7774 (gst_registry_binary_save_plugin),
7775 (gst_registry_binary_load_feature),
7776 (gst_registry_binary_load_plugin),
7777 (gst_registry_binary_read_cache):
7778 Fix memory leak. Be less verbose in the log.
7780 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7782 * tests/check/elements/.cvsignore:
7783 Add file to cvsignore as commanded.
7785 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7787 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7788 (mq_dummypad_event), (run_output_order_test):
7789 Use a GStaticMutex to protect all cases where libcheck
7790 fail_if/fail_unless macros might be called from multiple threads
7791 simultaneously to avoid errors like:
7792 "check_pack.c:107: :-1081725400:Bad message type arg"
7794 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7796 * tests/check/pipelines/stress.c: (GST_START_TEST):
7797 Make sure we set the pipeline back to the NULL state before
7798 dropping our final reference.
7800 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7802 * tests/check/elements/tee.c: (GST_START_TEST):
7803 Make the tee stress-test a little less stressful so it doesn't just
7804 time out on slow-machines, and remove a small race when it's starting
7805 up by adding a get_state() call.
7807 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7810 Avoid reading registry twice on startup. Fixes #457322.
7812 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7814 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7815 * pkgconfig/gstreamer-check.pc.in:
7816 Substitute the CFLAGS for libcheck into our .pc file too so that
7817 dependent modules will pick it up properly if libcheck is installed
7818 into some other prefix.
7820 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7823 Revert the pkg-config check for libcheck, since it pulls in the
7824 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7825 a proper solution, either from the check project, or something else.
7827 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7830 Use pkg-config to locate check.
7832 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7839 Add deprecation guards.
7841 * libs/gst/base/gstcollectpads.h:
7842 Don't document object (this is implicitly private).
7844 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7846 * gst/gststructure.c: (gst_structure_parse_value):
7847 When deserialising foo=bar without a type cast, check if it's a
7848 boolean before falling back to a string type, otherwise things like
7849 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7850 because the filtercaps end up having a signed=(string)true field,
7851 which causes problems later when intersection caps.
7853 * tests/check/gst/gststructure.c: (GST_START_TEST):
7854 Add a unit test for this.
7856 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7858 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7860 * libs/gst/controller/Makefile.am:
7861 * libs/gst/controller/gstcontroller.c:
7862 (gst_controlled_property_add_interpolation_control_source),
7863 (gst_controlled_property_new), (gst_controlled_property_free),
7864 (gst_controller_find_controlled_property),
7865 (gst_controller_new_valist), (gst_controller_new_list),
7866 (gst_controller_new), (gst_controller_remove_properties_valist),
7867 (gst_controller_remove_properties_list),
7868 (gst_controller_remove_properties),
7869 (gst_controller_set_property_disabled),
7870 (gst_controller_set_disabled), (gst_controller_set_control_source),
7871 (gst_controller_get_control_source), (gst_controller_get),
7872 (gst_controller_sync_values), (gst_controller_get_value_array),
7873 (_gst_controller_dispose), (gst_controller_get_type),
7874 (gst_controlled_property_set_interpolation_mode),
7875 (gst_controller_set), (gst_controller_set_from_list),
7876 (gst_controller_unset), (gst_controller_unset_all),
7877 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7878 * libs/gst/controller/gstcontroller.h:
7879 * libs/gst/controller/gstcontrollerprivate.h:
7880 * libs/gst/controller/gstcontrolsource.c:
7881 (gst_control_source_class_init), (gst_control_source_init),
7882 (gst_control_source_get_value),
7883 (gst_control_source_get_value_array), (gst_control_source_bind):
7884 * libs/gst/controller/gstcontrolsource.h:
7885 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7886 (gst_object_get_control_source):
7887 * libs/gst/controller/gstinterpolation.c:
7888 (gst_interpolation_control_source_find_control_point_node),
7889 (gst_interpolation_control_source_get_first_value),
7890 (_interpolate_none_get), (interpolate_none_get),
7891 (interpolate_none_get_boolean_value_array),
7892 (interpolate_none_get_enum_value_array),
7893 (interpolate_none_get_string_value_array),
7894 (_interpolate_trigger_get), (interpolate_trigger_get),
7895 (interpolate_trigger_get_boolean_value_array),
7896 (interpolate_trigger_get_enum_value_array),
7897 (interpolate_trigger_get_string_value_array):
7898 * libs/gst/controller/gstinterpolationcontrolsource.c:
7899 (gst_control_point_free), (gst_interpolation_control_source_reset),
7900 (gst_interpolation_control_source_new),
7901 (gst_interpolation_control_source_set_interpolation_mode),
7902 (gst_interpolation_control_source_bind),
7903 (gst_control_point_compare), (gst_control_point_find),
7904 (gst_interpolation_control_source_set_internal),
7905 (gst_interpolation_control_source_set),
7906 (gst_interpolation_control_source_set_from_list),
7907 (gst_interpolation_control_source_unset),
7908 (gst_interpolation_control_source_unset_all),
7909 (gst_interpolation_control_source_get_all),
7910 (gst_interpolation_control_source_get_count),
7911 (gst_interpolation_control_source_init),
7912 (gst_interpolation_control_source_finalize),
7913 (gst_interpolation_control_source_dispose),
7914 (gst_interpolation_control_source_class_init):
7915 * libs/gst/controller/gstinterpolationcontrolsource.h:
7916 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7917 API: Refactor GstController into the core controller which can take
7918 a GstControlSource for providing actual values for timestamps.
7919 Implement a interpolation control source and use this for backward
7920 compatibility, deprecate a bunch of functions that are now handled
7921 by GstControlSource or GstInterpolationControlSource.
7922 Make it possible to disable the controller completely or only for
7923 specific properties. Fixes #450711.
7924 * docs/libs/gstreamer-libs-docs.sgml:
7925 * docs/libs/gstreamer-libs-sections.txt:
7926 * docs/libs/gstreamer-libs.types:
7927 Add new functions and classes to the docs.
7928 * tests/check/libs/controller.c: (GST_START_TEST),
7929 (gst_controller_suite):
7930 * tests/examples/controller/audio-example.c: (main):
7931 Port unit test and example to the new API and add some new
7934 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7936 Patch by: Mark Nauwelaerts <manauw at skynet be>
7938 * plugins/elements/gstmultiqueue.c:
7939 (gst_multi_queue_get_internal_links), (apply_buffer),
7940 (single_queue_overrun_cb), (gst_single_queue_new):
7941 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7942 the pipeline layout can be tracked correctly. Fixes #453732.
7944 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7946 * docs/gst/Makefile.am:
7947 * docs/libs/Makefile.am:
7948 * docs/plugins/Makefile.am:
7949 Simplify --extra-dir as gtkdoc scans recursively.
7951 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7953 * tools/gst-launch.c: (main):
7954 When we got an error, there is no point in waiting for preroll when
7957 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7959 * plugins/elements/gsttee.c: (gst_tee_base_init),
7960 (gst_tee_request_new_pad), (gst_tee_release_pad),
7961 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7962 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7964 Be a lot smarter when deciding what srcpad to use for proxying
7965 the buffer_alloc. Also handle pad added/removed when doing so.
7967 Keep track of what pads we already pushed on in case we have pads
7968 added/removed while pushing. Fixes #374639
7970 * tests/check/Makefile.am:
7971 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7973 Added unit test for pad resync.
7975 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7979 Updated translations.
7981 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7983 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7987 Added new Finnish translation.
7989 2007-06-28 Wim Taymans <wim@fluendo.com>
7991 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7992 (single_queue_overrun_cb):
7993 When figuring out when a queue is filled, use our internal time estimate
7994 based on segments, just like check_full does.
7996 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7998 * gst/gstminiobject.c: (gst_mini_object_get_type):
7999 Remove 3 do-nothing methods.
8001 2007-06-27 Wim Taymans <wim@fluendo.com>
8003 Patch by: Tim Angus <tim at ngus dot net>
8005 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8006 (gst_capsfilter_set_property):
8007 Take a reference instead of a copy when setting "caps".
8008 Fix documentation to clarify this behaviour. Fixes #449414.
8010 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8012 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8013 * gst/gstplugin.c: (gst_plugin_init):
8014 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8015 * gst/gstquery.c: (gst_query_get_type):
8016 * gst/gstregistry.c: (gst_registry_init):
8017 * gst/gsturi.c: (gst_uri_handler_base_init):
8018 Remove empty instance_init() functions to save relocs and lessen the
8019 noise. Remove some of the function prototypes that are doubled by
8022 2007-06-27 Wim Taymans <wim@fluendo.com>
8024 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8026 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8027 Add peer and direction in the XML serialisation of ghostpads.
8030 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8033 Preserve useful information, thanks Tim.
8035 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8037 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8038 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8039 (gst_single_queue_push_one), (gst_multi_queue_loop),
8040 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8041 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8042 (compute_high_id), (gst_single_queue_new):
8043 * plugins/elements/gstmultiqueue.h:
8044 Take the multiqueue lock when updating the fill level so we don't get
8047 After applying a buffer or event on the src pad segment, make sure to
8048 call gst_data_queue_limits_changed() to get the data queue to unblock
8049 and check the filled state again.
8051 Rework the not-linked pad handling so the logic is that not-linked
8052 pads can push as fast as they like, but only so they never get
8053 ahead of any linked pads.
8055 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8056 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8057 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8059 Add a test to check that not-linked pads always stay behind
8064 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8066 * docs/random/release:
8067 Some updates to the release procedure.
8069 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8071 * gst/gstelementfactory.c: (__gst_element_details_clear):
8072 Microoptimization that saves stunning 80 bytes.
8074 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8076 * docs/plugins/gstreamer-plugins.args:
8077 * docs/plugins/inspect/plugin-coreelements.xml:
8078 * docs/plugins/inspect/plugin-coreindexers.xml:
8079 Update docs with caps info.
8081 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8084 Updated Italian translation.
8086 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8090 Update Vietnamese translations.
8092 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8094 * libs/gst/base/gstbasesink.c:
8095 Remove unused signal enum.
8097 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8099 * docs/gst/gstreamer-sections.txt:
8101 * gst/gstutils.c: (gst_type_register_static_full):
8102 Beef up and include the docs for gst_type_register_static_full and
8103 gst_element_class_set_details_simple and add the API keyword
8106 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8108 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8109 (update_time_level), (gst_single_queue_push_one),
8110 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8111 (single_queue_overrun_cb), (single_queue_underrun_cb),
8112 (single_queue_check_full):
8113 Fix setting max-* properties after adding queues.
8114 Use IS_FILLED for checking visible items.
8115 Signal overrun if multiple queues overrun.
8116 Add extra debug output.
8117 Patch by: Wim Taymans <wim@fluendo.com>
8119 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8121 * gst/gstelement.c: (gst_element_class_set_details_simple):
8123 * gst/gstutils.c: (gst_type_register_static_full):
8125 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8126 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8127 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8128 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8129 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8130 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8131 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8132 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8133 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8134 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8135 (apply_buffer), (gst_queue_chain):
8136 * plugins/elements/gsttee.c: (gst_tee_base_init):
8137 * plugins/elements/gsttypefindelement.c:
8138 (gst_type_find_element_base_init),
8139 (gst_type_find_element_class_init):
8140 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8141 API: add gst_type_register_static_full
8142 API: add gst_element_class_set_details_simple
8144 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8146 * docs/pwg/advanced-types.xml:
8147 Fix typo in iana.org URI.
8149 2007-06-19 Andy Wingo <wingo@pobox.com>
8151 * tests/check/pipelines/simple-launch-lines.c
8152 (test_state_change_returns): Enable pull-mode tests now that
8153 basesink has been fixed.
8155 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8156 Changed from gst_base_sink_is_prerolled, reversing the sense of
8157 the return value. Returns FALSE also if the sink is in pull mode,
8158 in which case it needs no preroll.
8159 (gst_base_sink_query, gst_base_sink_change_state): Update for
8160 needs_preroll change.
8161 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8162 chaining up, in which we return SUCCESS directly if we activated
8163 in pull mode instead of ASYNC. Involves countering an async_start
8164 message sent before chaining up; not sure if this is correct, in
8165 an ideal world we only send async-start when activating in push
8168 * tests/check/pipelines/simple-launch-lines.c
8169 (test_state_change_returns): New test, partially disabled until
8172 2007-06-19 Wim Taymans <wim@fluendo.com>
8174 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8175 (gst_multi_queue_sink_event):
8178 2007-06-19 Wim Taymans <wim@fluendo.com>
8180 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8181 (gst_bin_change_state_func), (bin_push_state_continue),
8182 (bin_handle_async_start), (bin_handle_async_done),
8183 (gst_bin_handle_message_func):
8184 Move the common code for posting state-change messages into
8186 Broadcast the state signal after we posted the messages.
8187 Mark the bin as busy when it's doing a state-change.
8188 Make sure async-start/done messages don't interfere with the bin's
8189 state when it's busy.
8190 After the state change, let the bin check which elements completed the
8191 state change while it was busy so that it can update its state.
8193 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8195 * docs/random/release:
8196 Add a note about updating the doap file to the release checklist
8198 2007-06-18 Wim Taymans <wim@fluendo.com>
8200 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8201 (gst_single_queue_push_one), (gst_multi_queue_chain),
8202 (gst_multi_queue_sink_event):
8203 Make sure we don't reference the buffer/event after we have given away
8204 ownership in the queue.
8206 2007-06-18 Wim Taymans <wim@fluendo.com>
8208 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8209 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8210 Update queue state _after_ adding the item in the queue because else we
8211 could end up being full without the element added yet.
8213 2007-06-18 Wim Taymans <wim@fluendo.com>
8215 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8216 (gst_bin_remove_func), (gst_bin_get_state_func),
8217 (gst_bin_element_set_state), (gst_bin_continue_func),
8218 (bin_push_state_continue), (bin_handle_async_start),
8219 (bin_handle_async_done), (gst_bin_handle_message_func):
8221 Immediatly commit the toplevel bin state when receiving an async-done
8222 message. This enables us to avoid spawning a thread to commit the state
8223 in some common cases and it also avoids some races.
8224 Avoid spawning a state thread when adding/removing async elements to a
8225 toplevel bin. Instead we immediatly update the bin state.
8226 Get rid of iterating all the children when getting the state in the bin
8227 because it is now always up-to-date.
8228 Fix bug where locked elements would always return _SUCCESS even it they
8229 returned NO_PREROLL before being locked.
8230 Fix the order of the state_change, async-start/done messages that was
8231 sometimes incorrect.
8232 Mark the state_dirty field as deprecated, we don't need it anymore as we
8233 are always up-to-date.
8235 * gst/gstelement.c: (gst_element_get_state_func),
8236 (gst_element_continue_state):
8237 Small debug inprovements.
8238 Return the previous element state return when nothing is pending instead
8239 of blindly returning SUCCESS.
8241 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8243 Add a whole bunch of new testcases.
8245 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8249 Update translations.
8251 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8254 Fix typo in the docs.
8256 2007-06-15 Wim Taymans <wim@fluendo.com>
8258 * docs/libs/gstreamer-libs-sections.txt:
8259 Add docs for new methods.
8261 2007-06-15 Wim Taymans <wim@fluendo.com>
8263 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8264 (gst_multi_queue_item_new):
8265 Don't use GSlice because we don't depend on >= 2.10 yet.
8267 2007-06-15 Wim Taymans <wim@fluendo.com>
8269 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8270 (update_time_level), (apply_segment), (apply_buffer),
8271 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8272 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8273 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8274 (single_queue_underrun_cb), (single_queue_check_full):
8275 Remove debug printf.
8277 2007-06-15 Wim Taymans <wim@fluendo.com>
8279 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8280 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8281 (gst_data_queue_set_flushing), (gst_data_queue_push),
8282 (gst_data_queue_pop), (gst_data_queue_drop_head),
8283 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8284 * libs/gst/base/gstdataqueue.h:
8286 Added methods to get the current levels and to inform the queue that the
8287 'full' limits changed.
8289 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8290 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8291 (gst_single_queue_flush), (update_time_level), (apply_segment),
8292 (apply_buffer), (gst_single_queue_push_one),
8293 (gst_multi_queue_item_steal_object),
8294 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8295 (gst_multi_queue_loop), (gst_multi_queue_chain),
8296 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8297 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8298 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8299 (single_queue_underrun_cb), (single_queue_check_full),
8300 (gst_single_queue_new):
8301 Keep track of time in the queue by measuring the difference between
8302 running_time on input and output. This gives more accurate results and
8303 can compensate for segments correctly.
8304 Make a queue by default only 5 buffers deep. We will now increase the
8305 buffer size depending on the filledness of the other queues.
8306 Factor out commong flush code.
8307 Make sure we don't add additional refcounts to buffers when we can avoid
8309 Propagate GstFlowReturn differently.
8310 Use GSlice for intermediate GstMultiQueueItems.
8312 Resize queues on over and underruns based on filled level of other
8314 When checking if the queue is filled, prefer to measure in time if we
8315 can and fall back to bytes when no time is known.
8317 * plugins/elements/gstqueue.c:
8320 2007-06-15 Wim Taymans <wim@fluendo.com>
8322 * libs/gst/base/gstbasetransform.c:
8323 (gst_base_transform_sink_event):
8324 Work around the brokenness of the event vmethod in basetransform. Prefer
8325 to return TRUE when the subclass returned FALSE (meaning don't forward
8328 * libs/gst/base/gstbasetransform.h:
8331 2007-06-15 Wim Taymans <wim@fluendo.com>
8333 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8334 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8335 (gst_base_src_default_query), (gst_base_src_get_range),
8336 (gst_base_src_start):
8337 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8340 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8342 * docs/pwg/advanced-types.xml:
8343 Added more formats to caps table.
8345 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8347 * tools/gst-launch.c: (main):
8348 Remove crufy code. GOption does not need this workaround.
8350 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8352 * libs/gst/controller/gstcontroller.c:
8353 (gst_controlled_property_set_interpolation_mode):
8354 Fix wrong getter for enums in controller.
8356 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8358 * libs/gst/check/gstcheck.c: (gst_check_init):
8359 Intercept criticals and warnings in the Gst-Phonon log domain, so
8360 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8363 2007-06-14 Edward Hervey <edward@fluendo.com>
8365 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8366 Since this file doesn't include "gst.h" it will not go through the
8367 macros that disable GST_LOG if debugging was disabled.
8369 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8371 * libs/gst/check/Makefile.am:
8372 * libs/gst/check/gstcheck.h:
8373 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8374 * pkgconfig/gstreamer-check.pc.in:
8375 Ugly 'fix' for the controller unit test on the p5 bot: in
8376 fail_unless_equals_float() check whether the values are 'almost
8377 equal' by allowing a small absolute error, which should be good
8378 enough for our use cases (normal numbers and values close to 0).
8379 Proper fixage left to floating point arithmetic aficionados.
8381 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8383 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8384 (gst_base_sink_render_object), (gst_base_sink_get_position):
8385 Add two breaks thats where missing.
8387 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8389 * docs/libs/gstreamer-libs-sections.txt:
8390 * libs/gst/check/gstcheck.h:
8391 API: add fail_unless_equals_float() and assert_equals_float().
8392 Add documentation for some of the macros.
8394 * tests/check/libs/controller.c: (GST_START_TEST):
8395 Use newly-added asserts.
8397 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8399 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8400 Show the caps change in the log to help spotting the case of not
8401 exactly matching caps.
8403 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8405 * docs/pwg/building-boiler.xml:
8406 Fix typos, spotted by Thijs Vermeir (#447190).
8408 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8410 * docs/plugins/tmpl/.cvsignore:
8411 Ignore file to keep the buildbots happy
8413 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8415 * docs/plugins/Makefile.am:
8416 * docs/plugins/gstreamer-plugins-docs.sgml:
8417 * docs/plugins/gstreamer-plugins-sections.txt:
8418 Pull fdsink into the docs too.
8420 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8422 * libs/gst/controller/gstinterpolation.c:
8423 Actually use the new functions with min/max checks for the trigger and
8424 none interpolation modes for get() and get_value_array() instead of
8427 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8429 * libs/gst/controller/gstcontroller.c:
8430 (gst_controlled_property_free):
8431 Unset the minimum and maximum GValues when freeing the corresponding
8432 GstControllerProperty struct.
8434 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8436 * libs/gst/controller/gstcontroller.c:
8437 (gst_controlled_property_new):
8438 * libs/gst/controller/gstcontrollerprivate.h:
8439 * libs/gst/controller/gstinterpolation.c:
8440 (gst_controlled_property_find_control_point_node),
8441 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8442 (interpolate_none_get_string_value_array),
8443 (interpolate_trigger_get),
8444 (interpolate_trigger_get_enum_value_array),
8445 (interpolate_trigger_get_string_value_array):
8446 Protect against values larger or smaller than the minimum or maximum
8447 allowed value for the property when using values that can be compared.
8449 Optimize trigger interpolator a bit by taking the last requested value
8450 into account instead of always looping through the complete list.
8452 Fix coding style a bit, everywhere else we use "return foo" instead
8455 * tests/check/libs/controller.c: (GST_START_TEST),
8456 (gst_controller_suite):
8457 Add unit test for the protection against too large or too small
8460 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8462 * docs/random/slomo/controller.txt:
8463 Add some thoughts about the future of the controller.
8465 2007-06-08 Wim Taymans <wim@fluendo.com>
8467 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8468 Don't overflow in retimestamping code.
8470 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8472 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8473 Use gst_util_guint64_to_gdouble for conversions.
8474 * win32/common/libgstreamer.def:
8475 Add new exported functions.
8477 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8480 Small docs addition.
8482 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8485 Remove that test line again.
8487 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8490 Test commit mail sending.
8492 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8495 Fix typo and test commit mail sending.
8497 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8499 * tests/examples/controller/audio-example.c:
8500 Improve comment and test commit mail sending.
8502 2007-06-07 Wim Taymans <wim@fluendo.com>
8504 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8505 (gst_bin_remove_func), (gst_bin_element_set_state),
8506 (bin_handle_async_start), (bin_handle_async_done),
8507 (gst_bin_handle_message_func):
8508 Add helper function to find messages.
8509 Generate the async-done messages together with the state change
8511 Small cleanups in handling toplevel bins.
8513 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8515 * libs/gst/base/gstdataqueue.c:
8516 * libs/gst/base/gstdataqueue.h:
8517 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8518 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8519 (gst_multi_queue_sink_event):
8520 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8521 Fix multiqueue leaking buffers and events when downstream or the
8522 queue are flushing. Make refcounting assumptions explicit and
8523 document them (shouldn't break existing code that uses it other than
8524 maybe leak miniobjects, but that already happens anyway). Add unit
8525 test for the most common flushing case. Fixes #423700.
8527 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8529 * libs/gst/controller/gstcontroller.c:
8530 Clarify docs: The get_all, get_value_array(s) functions
8531 don't modify the GObject properties.
8533 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8535 * libs/gst/controller/gstcontroller.c:
8536 (gst_controlled_property_set_interpolation_mode),
8537 (gst_controlled_property_prepend_default),
8538 (gst_controlled_property_new), (gst_controller_set_unlocked),
8539 (gst_controller_set), (gst_controller_set_from_list),
8540 (gst_controller_unset), (gst_controller_unset_all):
8541 * libs/gst/controller/gstcontrollerprivate.h:
8542 * libs/gst/controller/gstinterpolation.c:
8543 Factor out the 'set' logic into gst_controller_set_unlocked for the
8544 gst_controller_set and gst_controller_set_from_list functions.
8546 To make life of the interpolators easier always add a control point
8547 at timestamp zero with the default value.
8549 In the linear interpolator make things more obvious by better variable
8552 Implement cubic interpolation mode (by using a natural cubic spline)
8553 and map the quadratic interpolation mode to this too (as quadratic
8554 doesn't make much sense, see discussion on the list).
8556 * tests/check/libs/controller.c: (GST_START_TEST),
8557 (gst_controller_suite):
8558 Add unit test for the cubic interpolation mode and check everywhere
8559 if the interpolation mode could be set as expected.
8561 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8563 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8564 Don't use GLib-2.10 functions, we still depend on
8565 GLib-how-old-is-it-again-2.8.
8567 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8569 * docs/gst/gstreamer-sections.txt:
8573 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8574 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8575 (_gst_param_fraction_values_cmp),
8576 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8577 * gst/gstparamspecs.h:
8579 * tests/check/Makefile.am:
8580 * tests/check/gst/.cvsignore:
8581 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8582 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8583 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8584 (GST_START_TEST), (gst_param_spec_suite):
8585 API: add GstParamSpecFraction, so elements can have fraction
8586 properties without lots of painful string parsing (#444648).
8588 2007-06-05 Wim Taymans <wim@fluendo.com>
8590 * gst/gstobject.c: (gst_object_class_init):
8591 Fix signal signature.
8594 Add small clarification in the api docs.
8596 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8597 States are protected with object lock.
8599 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8602 I should probably be listed as an author by now.
8604 * docs/random/release:
8605 Update the release doc
8607 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8610 Make docs for gst_value_compare() mention return enums that
8613 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8618 === release 0.10.13 ===
8620 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8623 releasing 0.10.13, "With or without you"
8625 2007-05-25 Wim Taymans <wim@fluendo.com>
8627 * gst/gstbin.c: (bin_handle_async_done):
8628 Make sure that the child bin stops after completing the async state
8629 change so that the parent can continue the state change to PLAYING.
8632 2007-05-25 Wim Taymans <wim@fluendo.com>
8634 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8635 (unref_data), (gst_collect_pads_remove_pad),
8636 (gst_collect_pads_check_pads):
8637 Use additional refcounting to avoid crashes when dynamically adding and
8638 removing pads. Fixes #420206.
8640 2007-05-24 Wim Taymans <wim@fluendo.com>
8642 * tools/gst-launch.c: (event_loop):
8643 When buffering goes from a two digit to a single digit number, make sure
8644 to remove the old second digit by writing a blank over it.
8646 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8648 * libs/gst/base/gstdataqueue.c:
8649 Eliminate tabs and trailing comma in enum list; fix some typos.
8651 2007-05-24 Wim Taymans <wim@fluendo.com>
8653 * tests/check/gst/gstbin.c: (GST_START_TEST):
8654 Allow refcount of 3 and 4 because some state thread might still be busy
8657 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8659 * plugins/elements/Makefile.am:
8660 * plugins/elements/gstmultiqueue.h:
8661 * plugins/elements/gstqueue.h:
8662 These are not installed headers, no need for padding.
8664 2007-05-24 Wim Taymans <wim@fluendo.com>
8666 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8667 (gst_bin_continue_func):
8668 Enable latency for next release.
8669 Restore STATE_LOCK around recalc_state that was left out during the
8670 rewrite and could result in racy behaviour when _get_state and
8671 recalc_state are run concurrently. See #440463.
8673 2007-05-23 Wim Taymans <wim@fluendo.com>
8675 * tests/check/gst/gstsystemclock.c: (store_callback),
8677 Improve test_async_order to also work when both timers are already
8678 expired when we get scheduled to check it.
8680 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8682 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8683 (gst_bin_set_property), (gst_bin_get_property),
8684 (gst_bin_remove_func), (gst_bin_handle_message_func):
8686 'private' is a c++ keyword, let's not use that in header files,
8687 otherwise c++ compilers will throw a tantrum.
8689 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8691 * plugins/elements/gstelements.c:
8692 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8693 (gst_file_sink_get_current_offset):
8694 * plugins/indexers/gstindexers.c: (plugin_init):
8695 Use #ifdef for HAVE_XYZ for consistency.
8697 * tests/check/Makefile.am:
8698 * tests/check/elements/.cvsignore:
8699 * tests/check/elements/filesink.c: (setup_filesink),
8700 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8701 Add some unit tests for filesink.
8703 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8705 Patch by: Mark Nauwelaerts <manauw at skynet be>
8707 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8708 (gst_file_sink_query), (gst_file_sink_do_seek),
8709 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8710 * plugins/elements/gstfilesink.h:
8711 Fix position reporting; rename data_written member to current_pos to
8712 reflect its real meaning (fixes #412648).
8714 2007-05-22 Edward Hervey <edward@fluendo.com>
8716 * docs/gst/gstreamer-sections.txt:
8717 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8718 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8719 (gst_bin_remove_func), (gst_bin_handle_message_func):
8721 Add a property for bins that handle the state change of their childs.
8724 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8726 * libs/gst/controller/gstinterpolation.c:
8727 Use an array of the correct type when using _get_value_array with
8728 linear interpolation.
8730 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8732 * gst/gstelement.c (gst_element_requires_clock,
8733 gst_element_provides_clock, gst_element_request_pad,
8734 gst_element_class_set_details, gst_element_class_set_details_simple,
8735 gst_element_default_send_event, gst_element_abort_state,
8736 gst_element_continue_state, gst_element_set_state,
8737 gst_element_set_state_func, iterator_activate_fold_with_resync):
8738 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8739 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8740 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8741 gst_pad_get_range, gst_pad_pull_range):
8742 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8743 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8744 GstPadActivateModeFunction, GstPadChainFunction,
8745 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8746 GstPadFixateCapsFunction, GstPadTemplate):
8747 * gst/gstpipeline.c (gst_pipeline_change_state,
8748 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8749 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8750 gst_pipeline_get_delay):
8751 Whitespace and docs fixes.
8753 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8755 * libs/gst/controller/gstinterpolation.c:
8756 (interpolate_trigger_get_enum_value_array),
8757 (interpolate_trigger_get_string_value_array):
8758 Add support for retrieving value arrays when using the trigger
8761 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8763 * libs/gst/controller/gstcontroller.c:
8764 (gst_controller_get_value_array):
8765 * libs/gst/controller/gstcontroller.h:
8766 Clarify the docs of gst_controller_get_value_array(): The array where
8767 the values should be written to must be allocated as there seems to be
8768 no way to get the size of a random GType. This doesn't change any
8769 behaviour. Also fix some typos all over the place and remove an unused,
8770 commented function that is not necessary as g_object_set() could be
8772 * tests/check/libs/controller.c: (GST_START_TEST),
8773 (gst_controller_suite):
8774 Add unit test for gst_controller_get_value_array().
8776 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8778 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8780 Disable part of the gst_buffer_try_new_and_alloc test, because
8781 it can happily succeed on 64-bit systems where there's more address
8784 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8786 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8787 Add unit test for the improved caps checking from bug #421543.
8789 2007-05-21 Wim Taymans <wim@fluendo.com>
8791 * docs/design/part-synchronisation.txt:
8794 * gst/gstbin.c: (gst_bin_query):
8795 * plugins/elements/gstqueue.c: (apply_segment):
8801 2007-05-21 Wim Taymans <wim@fluendo.com>
8803 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8804 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8805 (gst_pad_configure_src):
8806 Added simple version of improved caps checking. It was previously
8807 assumed that a setcaps function would check the validity of the caps but
8808 people prefer us to check caps against the template automatically.
8811 2007-05-21 Wim Taymans <wim@fluendo.com>
8813 * libs/gst/base/gstbasetransform.h:
8814 Fix macro for locking/unlocking the transform lock.
8816 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8818 * docs/plugins/tmpl/.cvsignore:
8821 2007-05-18 Edward Hervey <edward@fluendo.com>
8823 * plugins/elements/gstqueue.c: (gst_queue_loop):
8824 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8825 for the subtle art of warning a potentially blocking thread that it
8826 should check the source pad return value, and relay the information
8829 2007-05-18 Edward Hervey <edward@fluendo.com>
8831 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8832 Release the queue lock !
8834 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8836 * docs/libs/gstreamer-libs-sections.txt:
8837 Add the two new controller functions to the appropiate places.
8839 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8841 reviewed by: Stefan Kost <ensonic@users.sf.net>
8843 * libs/gst/controller/gstcontroller.c:
8844 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8845 (_gst_controller_get_property), (_gst_controller_set_property),
8846 (_gst_controller_init), (_gst_controller_class_init):
8847 * libs/gst/controller/gstcontroller.h:
8848 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8849 (gst_object_get_control_rate), (gst_object_set_control_rate):
8850 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8851 Add API that provides sync suggestion timestamps for elements that
8852 call gst_object_sync_values() from which those elements can subdivide
8853 their processing loop to get the best results for the controlled
8854 properties. For now it just suggests last_sync + control_rate as
8855 new timestamp but this will be improved in the future.
8857 While doing that change the control-rate property to a GstClockTime
8858 from guint and change it's meaning from samples to nanoseconds as
8859 the GstController doesn't know anything about sampling rate. Strictly
8860 speaking this breaks ABI but as the control-rate property didn't do
8861 anything in the past and as such couldn't be used this should be no
8864 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8866 reviewed by: Stefan Kost <ensonic@users.sf.net>
8868 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8869 (gst_controller_unset_all):
8870 * libs/gst/controller/gstcontrollerprivate.h:
8871 * libs/gst/controller/gstinterpolation.c:
8872 (gst_controlled_property_find_control_point_node):
8873 Save last synced value from the list to continue searching from there
8874 in future syncs. This speeds everything up a bit.
8876 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8878 reviewed by: Stefan Kost <ensonic@users.sf.net>
8880 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8881 (gst_control_point_find), (gst_controlled_property_new),
8882 (gst_control_point_free), (gst_controlled_property_free),
8883 (gst_controller_set), (gst_controller_set_from_list),
8884 (gst_controller_unset), (gst_controller_unset_all),
8885 (gst_controller_sync_values):
8886 * libs/gst/controller/gstcontroller.h:
8887 * libs/gst/controller/gstcontrollerprivate.h:
8888 * libs/gst/controller/gstinterpolation.c:
8889 (gst_controlled_property_find_control_point_node),
8890 (interpolate_none_get), (interpolate_trigger_get):
8891 Add a new private GstControlPoint struct which "inherits" from
8892 GstTimedValue to allow different interpolators to store internal
8893 values next to each control point. From the outside everything is
8894 still a GstControlPoint so we don't loose binary compatibility.
8895 Also fixup all the GValue handling to not leak GValues or list nodes.
8896 * tests/check/libs/controller.c: (GST_START_TEST):
8897 Free the list nodes and GValues in the controller_misc test.
8899 2007-05-17 Edward Hervey <edward@fluendo.com>
8904 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8906 * gst/gstplugin.c: (gst_plugin_load_file):
8907 If we fail to load a plugin because of unresolved symbols or missing
8908 libraries and spew a warning to stderr, we may just as well mention
8909 which plugin it was that failed to load.
8911 2007-05-13 David Schleef <ds@schleef.org>
8913 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8914 handles the case when ENABLE_GTK_DOC is false, and installs
8915 the prebuilt documentation. So gtk-doc subdirs are
8916 unconditionally enabled. Fixes: #349099.
8918 2007-05-13 David Schleef <ds@schleef.org>
8920 * gst/gstutils.h: Reword some documentation.
8922 2007-05-12 David Schleef <ds@schleef.org>
8924 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8925 do anything with the passed "module" parameter, so remove it.
8926 Allows removal of additional vestigal code.
8928 2007-05-12 David Schleef <ds@schleef.org>
8931 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8932 Switch to using g_stat() because it's more portable.
8934 2007-05-12 David Schleef <ds@schleef.org>
8937 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8938 parsing for embedded systems.
8939 * gst/gstelementfactory.c:
8940 Allow gst_element_register() to be called with plugin==NULL.
8941 Did nobody notice that static elements were broken?
8943 2007-05-12 Wim Taymans <wim@fluendo.com>
8945 * tools/gst-launch.c: (event_loop):
8946 Give more interesting info when buffering starts and stops.
8947 Fix case where buffering starts but we fail to update the buffering flag
8948 because the target state is not PLAYING.
8950 2007-05-12 Wim Taymans <wim@fluendo.com>
8952 * plugins/elements/gstqueue.c: (gst_queue_init),
8953 (gst_queue_finalize), (update_time_level), (apply_segment),
8954 (apply_buffer), (gst_queue_locked_flush),
8955 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8956 (gst_queue_handle_sink_event), (gst_queue_chain),
8957 (gst_queue_push_one), (gst_queue_loop):
8958 * plugins/elements/gstqueue.h:
8959 Refactor an cleanup queue a bit.
8960 Do better time level calculations that also work when the srcpad is not
8962 Remove some unneeded debug lines.
8964 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8965 Added testcase for time level measurement.
8966 Try to make some stuff more racefree.
8968 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8970 * gst/gsturi.c: (gst_element_make_from_uri):
8971 Don't leak plugin feature.
8973 * tests/check/Makefile.am:
8974 * tests/check/gst/.cvsignore:
8975 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8976 Add brain-dead unit test.
8978 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8980 Patch by: Jeroen Wouters <woutersj at gmail com>
8982 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8983 Treat protocol strings in a case-insensitive way (#437563).
8985 2007-05-11 Michael Smith <msmith@fluendo.com>
8987 * gst/gstplugin.c: (gst_plugin_load_file):
8988 * gst/gstregistry.c: (gst_registry_scan_path_level):
8989 Don't print a g_warning for any failure to load a shared object.
8990 Instead, push this down into gstplugin.c, and warn _only_ if we
8991 failed to open the module (i.e. failure to link).
8992 Avoids warnings on normal, working, non-plugin .so files.
8994 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8996 * gst/gstplugin.c (gst_plugin_load_file):
8997 * gst/gstregistry.c (GST_CAT_DEFAULT,
8998 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8999 Print a g_warning if there was an error when loading a plugins during
9000 registry scan. The shuld help beginners starting with gst-plugin
9003 2007-05-10 Wim Taymans <wim@fluendo.com>
9005 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9006 (update_time_level), (gst_queue_locked_flush),
9007 (gst_queue_handle_sink_event), (gst_queue_chain),
9008 (gst_queue_push_one), (gst_queue_loop):
9009 * plugins/elements/gstqueue.h:
9010 Be smarter when calculating the current amount of data in the queue by
9011 measuring the difference between start and end timestamps (in running
9012 time) inside the queue. Fixes #432876.
9013 API: GstQueue::pushing to notify elements that we are pushing data again
9014 since the running signal is rather broken for this purpose.
9016 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9018 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9019 gst_queue_base_init, gst_queue_init):
9022 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9024 * win32/common/libgstreamer.def:
9025 Add new exported functions.
9026 * win32/vs6/grammar.dsp:
9027 Use grammar pre-generated files.
9029 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9031 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9034 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9036 * gst/gstutils.c: (gst_parse_bin_from_description):
9038 Maintain API and ABI when --disable-parse is used. Now that
9039 we have an appropriate error code, we can just return NULL and the
9040 appropriate error when gst_parse_launch() is used despite it having
9041 been disabled (#342564).
9043 * tests/check/Makefile.am:
9044 * tests/check/pipelines/.cvsignore:
9045 * tests/check/pipelines/parse-disabled.c:
9046 Make sure these functions exist and return NULL plus a GError when
9047 --disable-parse is used.
9049 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9051 * tests/benchmarks/complexity.c: (main):
9052 * tests/benchmarks/mass-elements.c: (main):
9053 Set a good example and don't leak messages.
9055 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9057 * docs/gst/Makefile.am:
9058 * docs/libs/Makefile.am:
9059 Correct fixxrefs options.
9061 * docs/plugins/Makefile.am:
9062 * docs/plugins/gstreamer-plugins-docs.sgml:
9063 * docs/plugins/gstreamer-plugins-sections.txt:
9064 * plugins/elements/Makefile.am:
9065 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9066 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9067 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9068 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9069 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9070 _GstCapsFilterClass, trans_class):
9071 * plugins/elements/gstelements.c (name, rank, type, _elements):
9072 * plugins/elements/gstidentity.c
9073 (gst_identity_check_imperfect_timestamp,
9074 gst_identity_check_imperfect_offset):
9075 Document capsfilter and add doc-blurb to identity.
9077 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9079 * libs/gst/controller/gstcontroller.c:
9080 (gst_controlled_property_set_interpolation_mode):
9081 * libs/gst/controller/gstinterpolation.c:
9082 Don't crash if someone tries to set an interpolation mode that
9083 is invalid or that isn't supported yet. Fixes #422295.
9085 * tests/check/libs/controller.c: (GST_START_TEST),
9086 (gst_controller_suite):
9087 Add a test case for the above.
9089 2007-05-03 Edward Hervey <edward@fluendo.com>
9091 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9092 Properly set the last_stop position on GstSegment. This will only happen
9093 if there is a buffer to push out.
9095 2007-05-03 Wim Taymans <wim@fluendo.com>
9097 * libs/gst/base/gstbasetransform.c:
9098 (gst_base_transform_buffer_alloc):
9099 always_in_place does not mean that the sink and source caps are the
9100 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9102 2007-05-03 Wim Taymans <wim@fluendo.com>
9104 * docs/libs/gstreamer-libs-sections.txt:
9105 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9106 (gst_base_src_default_query), (gst_base_src_get_range):
9107 * libs/gst/base/gstbasesrc.h:
9108 API: gst_base_src_query_latency(). Added method so that subclasses can
9109 easily get the latency values of the base source class.
9111 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9113 * tools/gst-inspect.c (print_implementation_info):
9116 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9118 * tools/Makefile.am:
9119 * tools/gst-launch.1.in:
9120 Don't create a customised man page based on the host architecture,
9121 describe the default registry path generically. That way the man
9122 page is the same for all architectures and packagers have one
9123 multilib issue less to deal with. Fixes #434926.
9125 2007-05-02 Wim Taymans <wim@fluendo.com>
9128 Fix documentation as spotted by rg on IRC.
9130 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9133 Improve docs for gst_element_{link,unlink}.
9135 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9137 * docs/design/part-events.txt:
9138 * docs/design/part-overview.txt:
9142 * libs/gst/base/gstbasesink.c:
9143 Typo fixes; minor docs addition.
9145 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9147 * docs/gst/gstreamer-sections.txt:
9148 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9149 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9151 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9152 or src that supports a given URI protocol exists.
9154 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9156 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9157 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9158 Set the location to NULL if "file://" is set as URI. Otherwise
9159 some random previous URI would still be set if "file://" is
9160 set on an already used filesink/filesrc.
9162 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9164 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9165 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9166 Special case the "file://" URI as as this is used by some
9167 applications to test with gst_element_make_from_uri if there's
9168 an element that supports the URI protocol.
9169 Also move the g_path_is_absolute() check for the location part
9170 of the URI to also check this for "file://localhost/bla" URIs.
9172 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9174 * docs/gst/gstreamer-sections.txt:
9175 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9177 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9179 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9181 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9183 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9184 (gst_registry_binary_load_pad_template),
9185 (gst_registry_binary_load_plugin),
9186 (gst_registry_binary_read_cache):
9187 * gst/gstregistrybinary.h:
9188 Implement no-mmap alternative for registry reading. Do code cleanups.
9189 Add more comments about avoiding strdups for all text data. Comments
9192 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9194 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9195 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9196 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9197 Comment structs and reformat to fix the build (that stuff should go
9198 into a priv. header).
9200 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9202 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9203 (gst_registry_binary_load_feature):
9204 * gst/gstregistrybinary.h:
9205 Refactor so that we can implement multiple features. Add support for
9206 TypeFindFactory features.
9208 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9210 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9213 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9215 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9217 * gst/gstbin.c: (gst_bin_element_set_state),
9218 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9219 (bin_handle_async_done), (gst_bin_handle_message_func):
9220 Fix build with --gst-disable-gst-debug
9222 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9224 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9225 Make sure streaming has finished before calling the ::stop() vfunc,
9226 since that vfunc might clear state which is being used in the
9227 streaming thread. This fixes a race that caused crashes in
9228 audioresample when shutting down a pipeline (#420106).
9230 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9232 * docs/gst/gstreamer-sections.txt:
9233 That was one byte missing.
9235 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9238 * docs/gst/gstreamer-sections.txt:
9240 * gst/gstconfig.h.in:
9241 * gst/gstobject.c: (gst_object_class_init),
9242 (gst_signal_object_class_init):
9244 2nd attempt to have a xml-less build as a joined effort of #413123
9247 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9249 * docs/design/draft-tagreading.txt:
9250 Added open issues/thoughts to draft.
9252 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9254 * gst/parse/grammar.tab.pre.c:
9255 * gst/parse/grammar.tab.pre.h:
9256 * gst/parse/lex._gst_parse_yy.pre.c:
9257 Update the prebuild parser sources.
9259 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9261 * gst/parse/Makefile.am:
9262 And now fix the building of the flex sources. Now everything should
9265 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9267 * gst/parse/Makefile.am:
9268 Now hopefully fix the build failures by setting proper rule
9269 dependencies and moving instead of copying.
9271 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9273 * tests/benchmarks/complexity.gnuplot:
9274 * tests/benchmarks/complexity.scm:
9275 * tests/benchmarks/mass-elements.gnuplot:
9276 * tests/benchmarks/mass-elements.scm:
9277 Total licensification.
9279 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9281 * gst/parse/Makefile.am:
9282 Fix the build by correcting the rule that gave wrong files to flex.
9284 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9286 * tests/benchmarks/complexity.c:
9287 * tests/benchmarks/mass-elements.c:
9288 Change licence to LGPL as granted by Benjamin and Andy.
9290 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9292 * gst/parse/Makefile.am:
9293 Add correct grammar.tab.h dependency if compiling without new enough
9294 flex. Fixes #431150.
9296 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9298 * gst/parse/Makefile.am:
9299 Fix typo and use outdated sources if the flex/bison sources are newer
9300 than the pregenerated ones but flex is too old. Print a warning in
9301 that case. This should fix the build on the build bot.
9303 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9305 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9306 * gst/parse/Makefile.am:
9307 * gst/parse/grammar.y:
9308 * gst/parse/parse.l:
9309 Make the parser reentrant and recursively callable. This requires flex
9310 >= 2.5.31, for older versions pregenerated sources are used as we
9311 can't bump the build dependency. Finally fixes #349180.
9313 * gst/gstparse.c: (gst_parse_launch):
9314 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9317 * docs/gst/Makefile.am:
9318 * docs/gst/Makefile.am:
9319 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9320 (__gst_parse_strfree), (__gst_parse_link_new),
9321 (__gst_parse_link_free), (__gst_parse_chain_new),
9322 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9323 (gst_parse_element_set), (gst_parse_free_link),
9324 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9325 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9326 (_gst_parse_launch):
9327 * gst/parse/grammar.tab.pre.h:
9328 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9329 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9330 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9331 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9332 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9333 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9334 (_gst_parse_yypop_buffer_state),
9335 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9336 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9337 (yy_fatal_error), (_gst_parse_yyget_extra),
9338 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9339 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9340 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9341 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9342 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9343 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9344 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9345 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9346 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9347 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9348 (_gst_parse_yyfree):
9349 If the installed flex version is too old use pre-generated parser
9350 sources. These pre-generated parser sources are always updated when
9351 the actual flex/bison sources change but require everybody who wants
9352 to change something in the parser to have flex >= 2.5.31 installed.
9354 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9356 * common/m4/gst-gettext.m4:
9357 * gst/gst-i18n-lib.h:
9358 Make --disable-nls to work
9360 2007-04-17 Wim Taymans <wim@fluendo.com>
9362 * gst/gstconfig.h.in:
9363 Revert previous change that broke the build.
9365 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9369 * gst/gstconfig.h.in:
9370 Drop libxml2 dependency when building with
9371 --enable-binary-registry --disable-loadsave
9373 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9375 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9376 (gst_registry_binary_read_cache):
9377 * gst/gstregistrybinary.h:
9378 Remove unnecessary <sys/mman.h> include which broke the win32 build
9379 with MingW; move includes from header file to .c file, even if the
9380 header file isn't installed; use g_strerror() where UTF-8 strings
9381 are expected, such as in GST_DEBUG messages.
9383 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9385 * docs/libs/gstreamer-libs-sections.txt:
9386 Remove bogus addition for API I didn't end up keeping.
9388 * libs/gst/base/gstbasesrc.h:
9389 Mention Since: 0.10.13 in the documentation.
9391 Add the API keyword to the previous ChangeLog entry.
9393 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9395 * docs/libs/gstreamer-libs-sections.txt:
9396 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9397 (gst_base_src_default_prepare_seek_segment),
9398 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9399 * libs/gst/base/gstbasesrc.h:
9400 Allow basesrc derived classes to execute seeks in other formats
9401 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9402 to prepare the GstSegment in any format that their perform_seek method
9403 will be able to understand. The default implementation provides the
9404 old behaviour of attempting to convert the seek offsets to the
9405 configured native format.
9407 API: basesrc::prepare_seek_segment vmethod.
9409 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9411 * gst/gstelement.c: (gst_element_get_state_func):
9412 Don't output the same debug statement twice.
9414 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9415 (gst_adapter_peek), (gst_adapter_take_buffer):
9416 Optimise the case where we have buffers at the head of the queue that
9417 can be joined quickly (because they're contiguous sub-buffers) by
9418 merging them together rather than copying data out into new memory.
9420 * gst/parse/grammar.y:
9421 * tests/check/pipelines/parse-launch.c:
9422 Fix a leak in an error path for parse_launch, and add a check
9423 for it to the testsuite.
9425 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9427 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9428 Don't deadlock when releasing a pad - gst_pad_set_active may try
9429 and take the multiqueue lock too.
9431 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9433 * gst/gsterror.c: (_gst_core_errors_init):
9435 API: add GST_CORE_ERROR_DISABLED (#392804).
9437 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9439 * docs/faq/gst-uninstalled:
9440 don't get empty paths on the PATH variables
9441 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9442 Don't format for the uncommon terminal width of 84 characters.
9444 2007-04-06 Wim Taymans <wim@fluendo.com>
9446 * gst/gstpipeline.c: (reset_stream_time),
9447 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9448 Only try to select a different pipeline clock when we went back to
9449 PAUSED and not when we merely got flushed.
9451 2007-04-05 Michael Smith <msmith@fluendo.com>
9453 * tools/gst-launch.1.in:
9454 fractions are better supported in gstreamer than ractions, so
9455 suggest using those.
9457 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9459 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9463 Added Danish translation.
9465 2007-04-05 Wim Taymans <wim@fluendo.com>
9467 * libs/gst/base/gstbasesink.c:
9468 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9469 Fix leak caused when refusing newsegment after EOS.
9471 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9472 (gst_fake_sink_init), (gst_fake_sink_set_property),
9473 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9474 (gst_fake_sink_render), (gst_fake_sink_change_state):
9475 * plugins/elements/gstfakesink.h:
9476 Add num-buffers property to make the element generate EOS after a
9477 configurable amount of buffers.
9478 API: fakesink::num-buffers property.
9480 * tests/check/elements/fakesink.c: (GST_START_TEST),
9482 Fix GstBus leak in test.
9483 Test for fakesink num-buffers.
9485 2007-04-05 Wim Taymans <wim@fluendo.com>
9487 * libs/gst/base/gstbasesink.c:
9488 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9489 (gst_base_sink_change_state):
9490 Don't accept anything after an EOS, return UNEXPECTED instead.
9492 * tests/check/elements/fakesink.c: (GST_START_TEST),
9494 Unit test for new EOS behaviour.
9496 2007-04-05 Wim Taymans <wim@fluendo.com>
9498 * gst/gstelement.c: (gst_element_get_request_pad):
9499 Make padtemplates also work when they don't contain %s or %d.
9501 2007-04-05 Wim Taymans <wim@fluendo.com>
9503 * docs/gst/gstreamer-sections.txt:
9504 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9505 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9507 Improve _adjust_unlocked() so that it overflows less.
9508 Add gst_clock_unadjust_unlocked to convert from external time to
9509 internal time based on calibration.
9510 Add some more debug.
9511 API: GstClock::gst_clock_unadjust_unlocked()
9513 2007-04-03 Wim Taymans <wim@fluendo.com>
9515 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9517 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9518 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9519 when releasing sink pad. Fixes #425400.
9521 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9523 * docs/random/ensonic/dynlink.txt:
9524 More work on proposal for new core api.
9526 * docs/libs/gstreamer-libs-sections.txt:
9527 * libs/gst/base/gstbasetransform.h:
9528 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9530 * libs/gst/controller/gstcontroller.c:
9531 (on_object_controlled_property_changed),
9532 (gst_controller_sync_values),
9533 (gst_controller_set_interpolation_mode):
9534 * libs/gst/controller/gstcontroller.h:
9535 Less verbose logging add docs for unimplemented parts and correctly
9536 return when using unavailable parts.
9538 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9540 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9541 Move all the debug to the CLOCK category, and associate it with
9544 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9546 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9547 Make take_buffer a bit quicker by removing redundant checks
9548 caused by calling gst_adapter_take.
9550 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9552 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9555 * tests/check/Makefile.am:
9556 * tests/check/elements/.cvsignore:
9557 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9558 (GST_START_TEST), (multiqueue_suite):
9559 Add some dead simple unit tests for the 'multiqueue' element
9560 (some bits don't work yet and are disabled for now).
9562 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9564 * gst/gstelement.c: (gst_element_get_request_pad),
9565 (gst_element_class_get_request_pad_template):
9566 Make gst_element_get_request_pad() create request pads only for
9567 request pad templates and not for, say, sometimes pad templates.
9569 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9571 * docs/design/draft-klass.txt:
9572 Add example that needs more thinking.
9574 * docs/design/draft-missing-plugins.txt:
9575 More thoughts about wrapper plugins.
9577 * docs/random/ensonic/embedded.txt:
9578 * docs/random/ensonic/profiling.txt:
9581 2007-03-25 Wim Taymans <wim@fluendo.com>
9583 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9584 (gst_base_src_loop):
9585 Only push the segment events in the PLAYING state for live sources.
9587 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9589 * gst/gstpipeline.c: (gst_pipeline_change_state):
9590 Modify the clock distribution path in PAUSED->PLAYING so that we
9591 never attempt to choose a new clock unless we're actually leaving
9592 the PAUSED state for the first time. This prevents choosing a
9593 different clock when the state_change gets called for a 2nd time due
9594 to some element doing an async state change.
9596 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9598 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9599 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9600 (gst_pad_chain_unchecked), (gst_pad_push):
9601 Revert last commit. This needs some more thoughts.
9603 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9605 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9606 (gst_pad_chain_unchecked), (gst_pad_push):
9607 Check in set_caps if the caps are compatible with the pad and remove
9608 two functions that are redundant now. Fixes #421543.
9610 2007-03-22 Wim Taymans <wim@fluendo.com>
9612 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9613 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9614 Unref some more to make valgrind happy.
9616 2007-03-22 Wim Taymans <wim@fluendo.com>
9618 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9619 (gst_system_clock_id_wait_jitter),
9620 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9621 Fix anoying regression that survived a few releases. When adding an
9622 async entry while blocking on a sync entry, the sync entry will unblock
9623 but still be busy, so it should continue to wait instead of returning
9625 Add some comments here and there.
9627 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9628 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9629 Add testcase for this.
9631 2007-03-22 Wim Taymans <wim@fluendo.com>
9633 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9634 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9635 WRONG_STATE and can silently pause the task. All other cases should
9638 2007-03-22 Wim Taymans <wim@fluendo.com>
9640 Patch by: Ville Syrjala <syrjala at sci dot fi>
9642 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9643 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9646 2007-03-21 Michael Smith <msmith@fluendo.com>
9648 * docs/pwg/advanced-types.xml:
9649 Fix some errors in the typefinding docs pointed out on irc.
9651 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9653 * libs/gst/base/gstbasesrc.c:
9654 Clarify FIXME comment in the face of having added unlock_stop()
9656 2007-03-21 Wim Taymans <wim@fluendo.com>
9658 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9659 Prepare for release where we warn against possible app breakage in the
9660 case of live pipelines along with an env var to enable/disable live
9661 preroll mode (GST_COMPAT=[no-]live-preroll).
9663 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9665 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9666 So we should use correct constants for checking for None offset.
9668 2007-03-20 Wim Taymans <wim@fluendo.com>
9670 * docs/design/part-block.txt:
9671 Mention the fact that the newly switched element should be set to at
9674 2007-03-20 Wim Taymans <wim@fluendo.com>
9677 Fix compilation with registry disabled as spotted by Saur.
9679 2007-03-20 Wim Taymans <wim@fluendo.com>
9681 Patch by: Olivier Crete <tester at tester dot ca>
9683 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9684 Look at the pending state too when syncing the element state to the
9685 parent. Fixes #420133.
9687 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9689 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9690 (gst_base_sink_change_state):
9691 * libs/gst/base/gstbasesink.h:
9692 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9693 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9694 (gst_base_src_deactivate):
9695 * libs/gst/base/gstbasesrc.h:
9696 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9697 for sub-classes to correctly clear any state they set trying to
9698 unlock, such as clearing out unlock commands from a command fd.
9699 API: basesrc::unlock_stop
9700 API: basesink::unlock_stop
9702 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9703 (gst_fd_sink_render), (gst_fd_sink_unlock),
9704 (gst_fd_sink_unlock_stop):
9705 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9706 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9707 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9709 Implement unlock_stop in fdsrc and fdsink.
9710 Implement seeking in fdsrc when a seekable fd is passed, as in
9711 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9713 2007-03-19 Wim Taymans <wim@fluendo.com>
9715 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9717 * gst/gstelement.c: (gst_element_class_init):
9718 Fix pad-added and pad-removed signal signatures so that the pad type is
9719 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9721 2007-03-19 Wim Taymans <wim@fluendo.com>
9723 * docs/gst/gstreamer-sections.txt:
9724 Add new element field and method.
9726 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9727 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9728 (gst_bin_recalc_state), (gst_bin_get_state_func),
9729 (gst_bin_element_set_state), (gst_bin_change_state_func),
9730 (gst_bin_continue_func), (bin_bus_handler),
9731 (bin_push_state_continue), (bin_handle_async_start),
9732 (bin_handle_async_done), (gst_bin_handle_message_func):
9733 Make async state changes a bit smarter by using new ASYNC_START and
9734 ASYNC_DONE messages. This reduces the number of times we run the state
9735 recalculation thread.
9736 Don't change state of element with a pending ASYNC_START message.
9737 Deprecate STATE_DIRTY messages.
9739 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9740 (gst_element_get_state_func), (gst_element_continue_state),
9741 (gst_element_lost_state), (gst_element_set_state_func),
9742 (gst_element_change_state):
9744 Keep the state that was last set by the app in a new element field.
9745 Don't allow state changes when handling an element event.
9746 Post ASYNC_START and ASYNC_DONE messages.
9747 Change lost_state so that we go to PAUSED and wait for the parent to set
9748 us to PLAYING again (so latency calculation can be performed)
9749 Export gst_element_change_state() method so that subclasses can use it.
9750 API: gst_element_change_state()
9751 API: GST_STATE_TARGET
9753 * gst/gstpipeline.c: (gst_pipeline_class_init),
9754 (reset_stream_time), (gst_pipeline_change_state),
9755 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9756 Using the new ASYNC_START message we can reset the base_time when
9757 needed. This can then be used to implement base_time redistribution in
9758 flushing seeks so that we can remove the explicit seek handling.
9759 Perform latency query and configuration when going to PLAYING.
9761 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9762 (gst_base_sink_query), (gst_base_sink_change_state):
9763 Post new ASYNC_START/ASYNC_DONE messages.
9765 * tests/check/generic/sinks.c: (GST_START_TEST):
9766 Fix test because the bin will not set the async element to PLAYING right
9769 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9770 Make the message check a little stronger.
9771 Handle ASYNC messages.
9773 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9774 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9775 Expect ASYNC_DONE messages.
9777 2007-03-19 Wim Taymans <wim@fluendo.com>
9779 * docs/gst/gstreamer-sections.txt:
9780 * gst/gstmessage.c: (gst_message_new_async_start),
9781 (gst_message_new_async_done), (gst_message_parse_info),
9782 (gst_message_parse_async_start):
9784 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9787 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9789 * tools/gst-inspect.c:
9790 (print_plugin_automatic_install_info_codecs):
9791 Now that we don't check for the 'Codec' keyword any longer in the
9792 klass, we shouldn't spew a warning if the klass isn't a decoder or
9793 encoder (since it might be a Source/Network, for example).
9795 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9797 * tools/gst-inspect.c:
9798 (print_plugin_automatic_install_info_codecs):
9799 Don't require decoder/demuxer/depayloader elements or
9800 encoder/muxer/paylader elements to have 'Codec' as part of their
9801 factory class string when introspecting a plugin's capabilities.
9802 draft-klass.txt mentions that it might be removed in future, and
9803 flump3dec doesn't have it as part of its class string, so chances
9804 are others might also not have it.
9806 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9828 Update translations from translation project
9830 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9832 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9833 (gst_child_proxy_set_property):
9834 Invert precondition check to be alike the ones in the mimiced gobject
9837 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9839 * docs/design/draft-tagreading.txt:
9840 * docs/random/ensonic/audiobaseclasses.txt:
9841 Do some Architect work.
9843 * gst/gstobject.c: (gst_object_set_name):
9847 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9849 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9851 * gst/gstsystemclock.c: (gst_system_clock_init),
9852 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9853 Defer starting the async system clock thread until the first async
9854 wait is scheduled. Fixes #414986.
9856 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9858 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9859 (gst_single_queue_free):
9860 Fix small leak (free GstSingleQueue structure too, not only contents).
9862 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9864 * gst/gstbin.c:(gst_bin_add):
9865 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9866 * win32/common/libgstbase.def:
9867 * win32/common/libgstreamer.def:
9868 Add new exported functions.
9870 2007-03-09 Wim Taymans <wim@fluendo.com>
9872 * docs/plugins/gstreamer-plugins-sections.txt:
9875 2007-03-09 Wim Taymans <wim@fluendo.com>
9877 * docs/gst/gstreamer-sections.txt:
9878 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9880 Add metadata copy functions. Fixes #393099.
9881 API: gst_buffer_copy_metadata()
9883 * gst/gstutils.c: (gst_buffer_stamp):
9884 * libs/gst/base/gstbasetransform.c:
9885 (gst_base_transform_prepare_output_buffer):
9886 Use new metadata copy functions.
9888 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9890 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9891 (gst_identity_init), (gst_identity_check_perfect),
9892 (gst_identity_check_imperfect_timestamp),
9893 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9894 (gst_identity_set_property), (gst_identity_get_property):
9895 * plugins/elements/gstidentity.h:
9896 Separate out check-imperfect-timestamp and check-imperfect-offset.
9897 Put back check-perfect as it was to keep compatibility.
9899 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9901 * gst/gstelement.c: (gst_element_dispose):
9902 There's no need to warn if VOID_PENDING is not NONE here, as
9903 long as the state is NULL it's ok, and that's checked immediately
9906 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9908 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9909 Fix check for perfect stream to ignore buffers with -1
9910 offsets/offset ends when checking data contiguity.
9912 2007-03-08 Wim Taymans <wim@fluendo.com>
9914 * tools/gst-launch.c: (event_loop):
9915 Print INFO messages.
9917 2007-03-08 Wim Taymans <wim@fluendo.com>
9919 * libs/gst/base/gstbasetransform.c:
9920 (gst_base_transform_sink_eventfunc),
9921 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9922 (gst_base_transform_activate):
9923 * libs/gst/base/gstbasetransform.h:
9924 Add support for dropping buffers with custom GstFlowReturn.
9925 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9926 buffers or dropped buffers.
9928 * docs/libs/gstreamer-libs-sections.txt:
9929 docs for new custom return code.
9931 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9932 Use drop support in base class to implement drop-probability.
9934 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9936 * gst/gst.c: (load_plugin_func):
9937 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9938 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9939 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9940 Remove newlines at end of debug log strings.
9942 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9944 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9945 Only post bus message at max, once per buffer received.
9947 2007-03-07 Wim Taymans <wim@fluendo.com>
9949 * docs/design/Makefile.am:
9950 * docs/design/part-synchronisation.txt:
9951 Add doc about synchronisation
9953 * docs/design/draft-latency.txt:
9954 * docs/design/part-TODO.txt:
9955 * docs/design/part-clocks.txt:
9956 * docs/design/part-events.txt:
9957 * docs/design/part-gstbus.txt:
9958 * docs/design/part-gstpipeline.txt:
9959 * docs/design/part-live-source.txt:
9960 * docs/design/part-messages.txt:
9961 * docs/design/part-overview.txt:
9962 * docs/design/part-streams.txt:
9963 * docs/design/part-trickmodes.txt:
9964 Documentation updates.
9966 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9969 Update the doap file.
9971 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9973 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9974 Rename non-perfect to imperfect for Mike and for the sanctity of the
9976 Also make sure bus message gets emitted for data-incontiguities.
9978 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9980 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9981 (gst_identity_start):
9982 * plugins/elements/gstidentity.h:
9983 Emit bus message if check-perfect is true and we encounter a
9984 non-perfect stream between 2 consecutive buffers.
9987 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9992 === release 0.10.12 ===
9994 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9997 releasing 0.10.12, "Inevitable Demise"
9999 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10002 Version 0.10.11.2 (0.10.12 pre-release)
10003 Bump libtool versioning.
10005 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10007 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10008 Log flow-names and not numbers.
10010 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10013 Convert to new AG_GST style.
10015 2007-02-28 Wim Taymans <wim@fluendo.com>
10017 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10018 Don't unref query twice.
10020 2007-02-28 Wim Taymans <wim@fluendo.com>
10022 * gst/gstvalue.c: (gst_value_transform_object_string),
10023 (_gst_value_initialize):
10024 Implement GstObject -> string transform so we print object names
10025 when serializing GValues containing GstObjects.
10027 2007-02-28 Wim Taymans <wim@fluendo.com>
10029 * docs/gst/gstreamer-sections.txt:
10030 Add new stuff to docs.
10032 2007-02-28 Wim Taymans <wim@fluendo.com>
10034 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10035 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10036 (gst_base_sink_change_state):
10037 Improve latency query code.
10038 Don't leak latency events.
10040 * tests/check/gst/gstbin.c: (GST_START_TEST):
10043 2007-02-28 Wim Taymans <wim@fluendo.com>
10045 * gst/gstelement.c: (gst_element_message_full),
10046 (gst_element_get_state_func):
10047 * gst/gstelement.h:
10048 Improve docs a little. Added Since: for new macro.
10050 * gst/gstobject.c: (gst_object_sink):
10051 * gst/gstpipeline.c: (gst_pipeline_change_state),
10052 (gst_pipeline_set_new_stream_time):
10053 * gst/gstpipeline.h:
10054 Improve debugging and docs.
10056 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10059 2007-02-28 Wim Taymans <wim@fluendo.com>
10061 * gst/gstelement.c: (gst_element_message_full),
10062 (gst_element_set_locked_state), (gst_element_get_state_func),
10063 (gst_element_change_state):
10064 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10065 Documentation updates.
10066 Small code cleanups.
10068 * gst/gstmessage.c: (gst_message_new_info),
10069 (gst_message_parse_info):
10070 * gst/gstmessage.h:
10071 API: gst_message_new_info()
10072 API: gst_message_parse_info()
10073 Add INFO message create and parse code.
10075 2007-02-28 Wim Taymans <wim@fluendo.com>
10077 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10078 (bin_query_latency_done):
10079 Also report the live parameter of a latency query.
10081 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10083 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10084 Copy the current generic/states example from -base and adapt so
10085 we can use the exact same code everywhere.
10086 Check a STATES_IGNORE_ELEMENTS env var which can be used
10087 to ignore certain element factories for this test, which is
10088 what is being done in -base
10089 * tests/check/Makefile.am:
10090 Mention this environment variable.
10092 2007-02-27 Wim Taymans <wim@fluendo.com>
10094 * docs/gst/gstreamer-sections.txt:
10095 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10096 (gst_bus_timed_pop), (gst_bus_pop):
10098 API: gst_bus_timed_pop()
10099 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10100 message to arrive on the bus.
10102 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10104 Two unit tests for new _timed_pop() function.
10106 2007-02-23 Wim Taymans <wim@fluendo.com>
10108 * gst/gstpipeline.c: (gst_pipeline_change_state),
10109 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10110 Don't ref a NULL clock in _provide_clock_func().
10111 Don't allow an INVALID delay.
10112 Don't try to calculate base_time with an invalid start_time.
10113 Also distribute and notify a NULL clock when it was selected.
10115 * tools/gst-launch.c: (event_loop):
10116 Don't crash when a NULL clock was selected in the pipeline.
10118 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10120 * docs/design/Makefile.am:
10121 * docs/design/draft-missing-plugins.txt:
10122 * docs/random/draft-missing-plugins.txt:
10123 Some small updates: update plugin system identifier prefix
10124 ('gstreamer.net' to 'gstreamer'), mention our new install
10125 API in libgstbaseutils rather than libgimme-codec, add
10126 reference to the online docs.
10128 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10130 * win32/common/config.h:
10131 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10132 use moap cl ci to only check in what is mentioned in the ChangeLog.
10134 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10136 * docs/gst/gstreamer-sections.txt:
10137 * gst/gstelement.h:
10138 Fix up documentation to link to the correct GstGError section.
10139 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10141 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10143 * tools/gst-launch.c: (event_loop):
10144 Make sure that we actually show the important message part of a
10146 No need to check if the gerror is not NULL to free; first of all
10147 g_free accepts NULL; and second the default error handler would
10148 segfault if gerror was NULL.
10150 2007-02-21 Wim Taymans <wim@fluendo.com>
10152 * docs/gst/gstreamer-sections.txt:
10153 Removed docs as well.
10155 2007-02-21 Wim Taymans <wim@fluendo.com>
10157 * gst/gstmessage.c: (gst_message_parse_duration):
10158 * gst/gstmessage.h:
10159 Remove new messages for release.
10161 2007-02-20 Wim Taymans <wim@fluendo.com>
10163 * docs/design/part-gstghostpad.txt:
10164 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10165 (gst_ghost_pad_new_full):
10166 Make the ghostpad a parent of the internal pad again for better backward
10167 compatibility. Don't write code that relies on this however.
10169 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10170 (gst_pad_link_check_hierarchy):
10171 Require that parents should be GstElements in the hierarchy check.
10173 2007-02-20 Wim Taymans <wim@fluendo.com>
10175 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10176 (gst_bin_change_state_func), (bin_query_min_max_init),
10177 (bin_query_latency_fold), (bin_query_latency_done),
10179 Improve debug info.
10180 Implement latency query.
10182 2007-02-20 Wim Taymans <wim@fluendo.com>
10184 * docs/design/part-gstghostpad.txt:
10185 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10186 (gst_ghost_pad_internal_do_activate_push),
10187 (gst_ghost_pad_internal_do_activate_pull),
10188 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10189 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10190 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10191 Do not set the internal pad as a parent anymore so we can avoid
10192 hierarchy linking errors when the ghostpad has no parent yet. This also
10193 fixes failed activation because of unlinked internal pads, which in
10194 turn fixes the impossible case where you have to activate a pad before
10195 you can add it to a running element.
10198 * gst/gstpad.c: (pre_activate), (post_activate),
10199 (gst_pad_set_active), (gst_pad_activate_pull),
10200 (gst_pad_activate_push), (gst_pad_check_pull_range):
10201 Add some more debug info.
10202 Mark activation mode in pre_activate so that we don't try to activate in
10203 endless loops. Fixes #385084.
10205 2007-02-19 Wim Taymans <wim@fluendo.com>
10207 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10208 (gst_base_transform_check_get_range):
10209 Implement a checkgetrange function instead of relying on the default
10210 core behaviour that assumes we can operate in pull mode if we have a
10211 getrange function. First step at fixing #385084.
10213 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10215 * gst/gstchildproxy.h:
10216 * libs/gst/base/gstbasesink.h:
10217 * libs/gst/base/gstbasesrc.h:
10218 * libs/gst/base/gstbasetransform.h:
10219 More docs coverage and some ChangeLog surgery (add missing names)
10221 2007-02-15 Wim Taymans <wim@fluendo.com>
10223 * docs/design/part-TODO.txt:
10224 * docs/design/part-activation.txt:
10225 * docs/design/part-block.txt:
10226 * docs/design/part-buffering.txt:
10227 * docs/design/part-clocks.txt:
10228 * docs/design/part-element-source.txt:
10229 * docs/design/part-events.txt:
10230 * docs/design/part-gstbin.txt:
10231 * docs/design/part-gstbus.txt:
10232 * docs/design/part-gstpipeline.txt:
10233 * docs/design/part-live-source.txt:
10234 * docs/design/part-messages.txt:
10235 * docs/design/part-overview.txt:
10236 * docs/design/part-qos.txt:
10237 * docs/design/part-query.txt:
10238 * docs/design/part-states.txt:
10239 * docs/design/part-trickmodes.txt:
10240 Some doc updates. Start renaming from stream_time to running_time where
10241 it was used wrongly.
10243 2007-02-15 Wim Taymans <wim@fluendo.com>
10245 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10246 Answer LATENCY query.
10248 2007-02-15 Wim Taymans <wim@fluendo.com>
10250 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10254 2007-02-15 Wim Taymans <wim@fluendo.com>
10256 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10257 (gst_pad_dispatcher):
10258 Improve debugging of default pad dispatcher and query functions.
10260 2007-02-15 Wim Taymans <wim@fluendo.com>
10262 * docs/gst/gstreamer-sections.txt:
10263 Remove old unused method.
10265 2007-02-13 Wim Taymans <wim@fluendo.com>
10267 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10270 2007-02-13 Wim Taymans <wim@fluendo.com>
10272 * docs/design/part-seeking.txt:
10275 * gst/gstsegment.c: (gst_segment_set_seek):
10276 Revert old bogus change that should make seeking work again.
10278 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10280 * docs/random/ensonic/dynlink.txt:
10281 * docs/random/ensonic/interfaces.txt:
10282 * docs/random/ensonic/receipies.txt:
10283 Possible dynamic reconnection api, plus some type fixes the other two
10286 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10288 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10289 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10290 Also check for an absolute path following file:// in the filesrc
10291 element. Remove redundant check and call g_path_is_absolute() on the
10292 unescaped location.
10294 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10296 * docs/design/draft-klass.txt:
10297 Add existing category analysis.
10300 Fix doc example, framerate is a fraction.
10302 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10305 * docs/gst/Makefile.am:
10306 * docs/gst/gstreamer-sections.txt:
10307 * docs/libs/Makefile.am:
10308 Erm, forgot a bunch of --extra-dir.
10310 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10313 * docs/gst/Makefile.am:
10314 * docs/libs/Makefile.am:
10315 * docs/plugins/Makefile.am:
10316 Add crossreferences to glib/gobject docs.
10318 2007-02-12 Wim Taymans <wim@fluendo.com>
10320 * docs/design/draft-latency.txt:
10323 * docs/libs/gstreamer-libs-sections.txt:
10324 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10325 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10326 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10327 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10328 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10329 (gst_base_sink_get_position), (gst_base_sink_query),
10330 (gst_base_sink_change_state):
10331 * libs/gst/base/gstbasesink.h:
10332 API: gst_base_sink_query_latency() to let subclasses query the upstream
10334 API: gst_base_sink_get_latency() to let subclasses query the configured
10335 latency in the sink.
10336 Implement query and set latency.
10338 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10339 don't continue preroll when we are flushing. Fixes #405284.
10341 * tests/check/pipelines/stress.c: (change_state_timeout),
10342 (quit_timeout), (GST_START_TEST), (stress_suite):
10345 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10347 Patch by: René Stadler <mail at renestadler de>
10349 * docs/gst/gstreamer-sections.txt:
10350 * gst/gsttaglist.c: (_gst_tag_initialize):
10351 * gst/gsttaglist.h:
10352 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10354 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10356 * docs/libs/Makefile.am:
10357 Fix path to core docs.
10359 * gst/gstbin.c: (gst_bin_get_by_interface),
10360 (gst_bin_iterate_all_by_interface):
10361 Refix docs by also renaming 'interface' to 'iface' in implementation.
10363 * docs/gst/gstreamer-sections.txt:
10365 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10366 * gst/gstchildproxy.h:
10367 * gst/gstelementfactory.c:
10368 * gst/gstpadtemplate.h:
10369 * libs/gst/controller/gstcontroller.c:
10370 (gst_controlled_property_new):
10373 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10375 * gst/gstbin.h:(gst_bin_get_by_interface),
10376 (gst_bin_iterate_all_by_interface):
10377 Replace interface parameter name by iface as interface is
10378 a reserved keyword in Visual Studio for C++ projects so it removes
10379 a build error for application developpers using VS.
10380 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10381 Fix a bug on Windows in uri format check. Now the prefix checked
10382 is file:// and next we check if the path after file:// is absolute.
10383 * win32/common/libgstbase.def:
10384 * win32/common/libgstdataprotocol.def:
10385 * win32/common/libgstgstreamer.def:
10386 Add new exported functions.
10388 2007-02-09 Andy Wingo <wingo@pobox.com>
10390 * tests/check/pipelines/simple-launch-lines.c
10391 (simple_launch_lines_suite, test_tee): Disable tee test until I
10392 have time to fix it :-(
10394 * tests/check/Makefile.am (noinst_HEADERS):
10395 * tests/check/libs/libsabi.c:
10396 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10397 * tests/check/gst/gstabi.c:
10398 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10400 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10401 tests for push and pull tee behavior.
10403 * plugins/elements/gsttee.h:
10404 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10405 mark as deprecated as well as unimplemented. It was a crack idea.
10406 Add support for tee operating in pull mode, off by default.
10408 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10409 normal-case logs down to LOG, raise errors to WARNING.
10410 (gst_registry_xml_read_cache): Don't log before calling a function
10413 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10414 exit (registry finalize).
10415 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10416 DEBUG log when we emit signals that people don't even have the
10417 chance to connect to.
10418 (gst_registry_scan_path_level): Less logging in the normal case.
10420 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10422 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10424 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10425 Correctly generate EOS for non-seekable files. We don't have a total
10426 length for them and would get an unexpected end of file if we only
10427 special-cased for regular files. (Fixes: #404569)
10429 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10431 * tests/check/elements/filesrc.c: (GST_START_TEST),
10433 Add unit test for the GstURIHandler interface in filesrc. This also
10434 tests the newly added file://localhost/foo/bar support.
10436 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10438 * gst/gstelementfactory.h:
10439 The klass string is not a hierarchy. Add reference to the design doc
10440 for more information and common types.
10442 2007-02-02 Wim Taymans <wim@fluendo.com>
10444 * gst/gstquery.c: (gst_query_new_latency):
10445 Remove old structure field.
10447 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10449 * tools/gst-launch.1.in:
10450 Give example for network streaming (#351998)
10452 2007-02-02 Wim Taymans <wim@fluendo.com>
10454 * docs/gst/gstreamer-sections.txt:
10455 Add docs for new methods.
10457 * gst/gstevent.c: (gst_event_new_latency),
10458 (gst_event_parse_latency):
10460 Add new LATENCY event to configure latency in a pipeline.
10461 API: gst_event_new_latency
10462 API: gst_event_parse_latency
10464 * gst/gstmessage.c: (gst_message_new_buffering),
10465 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10466 (gst_message_new_latency), (gst_message_parse_buffering),
10467 (gst_message_parse_lost_preroll):
10468 * gst/gstmessage.h:
10469 Added messages used in draft-latency.
10470 API: gst_message_new_lost_preroll
10471 API: gst_message_parse_lost_preroll
10472 API: gst_message_new_prerolled
10473 API: gst_message_new_latency
10475 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10476 (gst_query_parse_latency):
10478 Implemented new latency query as in design doc.
10479 API: gst_query_new_latency
10480 API: gst_query_set_latency
10481 API: gst_query_parse_latency
10483 2007-02-02 Wim Taymans <wim@fluendo.com>
10485 * docs/design/draft-latency.txt:
10486 Slight redesign to allow for dynamic latency adjustments.
10488 * docs/design/part-negotiation.txt:
10491 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10493 reviewed by: Wim Taymans <wim@fluendo.com>
10495 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10496 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10497 Allow file://localhost/foo/bar URLs and correctly fail for every other
10498 hostname that one sets. This was gnomevfssrc is linked for those if
10499 installed as it can handle it (#403172)
10501 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10503 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10505 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10506 (unref_data), (gst_collect_pads_add_pad_full):
10507 * libs/gst/base/gstcollectpads.h:
10508 Don't put the previously added destroy notify in the GstCollectData
10509 struct as all it's padding is already used and we don't want to break
10510 ABI. Instead put in the pad's GObject data for now. This should be
10511 cleaned up for 0.11 (#402393).
10513 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10515 reviewed by: Wim Taymans <wim@fluendo.com>
10517 * docs/libs/gstreamer-libs-sections.txt:
10518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10519 (unref_data), (gst_collect_pads_add_pad),
10520 (gst_collect_pads_add_pad_full):
10521 * libs/gst/base/gstcollectpads.h:
10522 API: Add function to specify a destroy notification for custom
10523 GstCollectData when adding new pads in GstCollectPads (#402393).
10525 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10528 Update Swedish translation (#378255).
10530 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10532 * docs/design/draft-klass.txt:
10533 Fix the previous change, this is a list of categories and not a hierarchy.
10535 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10537 * docs/design/draft-klass.txt:
10538 Add info about how to get a list of used classes.
10540 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10542 * plugins/elements/gsttypefindelement.c:
10543 (gst_type_find_element_chain_do_typefinding),
10544 (gst_type_find_element_change_state):
10545 Don't leak found caps in chain function (no idea why that never
10546 showed up as a leak anywhere).
10548 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10551 Fix and expand GstPluginDesc API docs.
10553 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10556 * gst/gstelementfactory.c:
10557 * gst/gstpadtemplate.h:
10560 * libs/gst/controller/gstcontroller.c:
10561 (gst_controlled_property_new):
10562 * tests/examples/controller/audio-example.c:
10565 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10568 comment about refining the xml deps
10570 * docs/manuals.mak:
10571 comments about moving away from jade for docs
10574 recommit the ifdefs to use the binary registry
10576 * gst/gstbin.c: (gst_bin_change_state_func):
10577 this break is obsolete
10579 * gst/gstelementfactory.h:
10580 better GST_ELEMENT_DETAILS docs, add comment about translation
10585 * gst/gstobject.c: (gst_signal_object_get_type):
10586 add G_UNLIKELY as usual
10588 * gst/gstpad.c: (gst_pad_event_default):
10589 add fall trhu comment
10591 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10592 (gst_registry_binary_initialize_magic),
10593 (gst_registry_binary_save_string),
10594 (gst_registry_binary_save_pad_template),
10595 (gst_registry_binary_save_feature),
10596 (gst_registry_binary_save_plugin),
10597 (gst_registry_binary_write_cache),
10598 (gst_registry_binary_check_magic),
10599 (gst_registry_binary_load_pad_template),
10600 (gst_registry_binary_load_feature),
10601 (gst_registry_binary_load_plugin),
10602 (gst_registry_binary_read_cache):
10603 comment typo and formatting
10605 * gst/gstutils.c: (gst_element_state_get_name),
10606 (gst_element_state_change_return_get_name):
10607 remove obsolete breaks
10609 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10610 add FIXME 0.11 and remove cpp comment
10612 2007-01-29 Edward Hervey <edward@fluendo.com>
10614 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10615 Fix print statement in an even more portable way.
10617 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10619 * docs/gst/gstreamer-sections.txt:
10621 API: add GST_ROUND_DOWN_* macros (#401781).
10623 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10625 * docs/gst/gstreamer.types.in:
10626 * gst/gstregistry.c: (gst_registry_class_init):
10627 Document registry signals and make gtk-doc pick them up (#401381).
10629 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10631 * docs/pwg/building-testapp.xml:
10632 Add some audioconverts and audioresample to the pipeline, and some
10633 more comments and error handling.
10635 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10637 * docs/manual/manual.xml:
10638 * docs/pwg/pwg.xml:
10639 Fix typo (#400987).
10641 2007-01-26 Wim Taymans <wim@fluendo.com>
10643 * gst/gstcaps.c: (gst_static_caps_get):
10644 Init caps flags too.
10646 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10648 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10650 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10651 If not using mmap'ed files try to seek to the end instead of the
10652 start to determine whether we can seek at all. This fixes the case
10653 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10654 seeks for everything afterwards fail. Fixes #400656
10656 2007-01-25 Wim Taymans <wim@fluendo.com>
10658 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10659 Add some refcount debugging.
10660 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10661 in multiple streaming threads.
10663 2007-01-25 Wim Taymans <wim@fluendo.com>
10665 Patch by: David Schleef <ds at schleef dot org>
10667 * docs/libs/gstreamer-libs-sections.txt:
10668 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10669 * libs/gst/base/gstadapter.h:
10670 API: gst_adapter_copy() that can reduce the amount of memcpy when
10671 getting data from the adapter. Fixes #388201.
10673 2007-01-25 Edward Hervey <edward@fluendo.com>
10675 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10676 In print statements, "%x" is for guint. Fixes build on macosx.
10678 2007-01-24 Edward Hervey <edward@fluendo.com>
10680 * plugins/elements/gstmultiqueue.c:
10681 (gst_multi_queue_loop):
10683 (single_queue_overrun_cb), (single_queue_underrun_cb),
10684 (single_queue_check_full), (gst_single_queue_new):
10685 Implement single queue growth system.
10686 This uses the extra-size properties, and will grow single queues by
10687 that much if one goes full whereas there are others empty. This is
10688 called extra-mode in the code.
10689 When a single queue's levels go back below the initial max-size
10690 limits, it is no longer in extra-mode. This is to ensure we don't
10691 consume too much memory.
10694 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10696 * gst/gst.c: (gst_init_get_option_group):
10697 Make warning about late g_thread_init() calls a bit more explicit,
10698 so that it's more obvious to application developers what they need
10699 to do if a user files a bug against their application.
10701 2007-01-22 Edward Hervey <edward@fluendo.com>
10703 * plugins/elements/gstmultiqueue.c:
10704 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10705 Remove previous hack of unsetting the flushing flag for the source pad
10706 instead of activating it. Instead, fix the source pad activate function
10707 so that it no longer depends on having a parent set or not.
10709 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10711 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10713 * docs/manual/basics-bus.xml:
10714 Fix example code, gst_element_unref() doesn't exist any longer.
10716 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10718 Patch by: Mark Nauwelaerts <manauw at skynet be>
10721 Fix two docs typoes (#399094).
10723 2007-01-19 Edward Hervey <edward@fluendo.com>
10725 * docs/faq/gst-uninstalled:
10726 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10727 depending on libgstbaseutils can work in uninstalled environment.
10729 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10731 * gst/gsttaglist.h:
10732 * gst/gsttagsetter.c:
10733 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10734 statement for new tag.
10736 2007-01-17 Edward Hervey <edward@fluendo.com>
10738 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10739 When dynamically creating single queues, activate sinkpad before adding
10741 We should be doing the same thing for the source pad, but we can't
10742 since it would call a method which needs the parent to be set in order
10743 to work propertly. Instead of activating the source pad, we just unset
10744 the flushing flag, which is the minimal requirement for adding a pad
10745 to an element in a state greater than READY.
10747 2007-01-17 Edward Hervey <edward@fluendo.com>
10749 * docs/faq/gst-uninstalled:
10750 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10753 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10755 * tests/check/gst/gstabi.c:
10756 * tests/check/gst/struct_hppa.h:
10757 * tests/check/libs/libsabi.c:
10758 * tests/check/libs/struct_hppa.h:
10759 Add ABI structs for HPPA (see #393796).
10761 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10763 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10764 Actually write ABI structs to the file specified in the GST_ABI
10765 environment variable, as the message we print claims we would.
10767 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10769 * tests/check/gst/gsttask.c:
10770 Fix header comment.
10772 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10774 * gst/gsttaglist.c: (_gst_tag_initialize):
10775 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10776 previous two entries.
10778 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10780 * docs/gst/gstreamer-sections.txt:
10781 * gst/gsttaglist.c: (_gst_tag_initialize):
10782 * gst/gsttaglist.h:
10783 Add tag support for beat-per-minute.
10785 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10787 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10788 (gst_registry_binary_initialize_magic),
10789 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10790 (gst_registry_binary_save_pad_template),
10791 (gst_registry_binary_save_feature),
10792 (gst_registry_binary_save_plugin),
10793 (gst_registry_binary_write_cache),
10794 (gst_registry_binary_check_magic),
10795 (gst_registry_binary_load_pad_template),
10796 (gst_registry_binary_load_feature),
10797 (gst_registry_binary_load_plugin),
10798 (gst_registry_binary_read_cache):
10799 * gst/gstregistrybinary.h:
10800 Use glib types, cleanup comments, impement interfaces and uri-types.
10802 2007-01-13 Andy Wingo <wingo@pobox.com>
10804 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10805 getrange() to return buffers with other caps, while we fix
10806 demuxers and typefind, or otherwise change part-negotiation.txt.
10808 2007-01-12 Andy Wingo <wingo@pobox.com>
10810 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10811 Factor start/stop into this private function instead of partially
10812 in activate functions and partially in the change_state function.
10813 Fixes setup before the element has changed from READY->PAUSED, as
10814 is the case in pull-mode pipelines.
10815 (gst_base_transform_sink_activate_push)
10816 (gst_base_transform_src_activate_pull): Refactor to use
10817 gst_base_transform_activate().
10818 (gst_base_transform_change_state): Removed, not needed any more.
10820 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10821 Truncate before fixating.
10823 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10824 Don't set_caps() if the result of fixating is ANY, as it's not
10825 supported, and not necessary in the case of a link with no
10826 template caps on either side. Fixes tests/check/libs/basesrc in
10827 some pull-mode tests.
10829 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10830 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10831 (gst_base_transform_src_activate_pull):
10832 Track the activation mode.
10833 (gst_base_transform_setcaps): In pull mode, when activating the
10834 src pad, after activating the sink pad, activate the sink pad's
10835 peer, as discussed in part-negotiation.txt.
10837 * libs/gst/base/gstbasesrc.h:
10838 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10839 vmethod, as in basesink.
10841 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10843 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10844 mode, first proxy the setcaps to the peer pad.
10845 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10846 new fixate vmethod.
10847 (gst_base_sink_default_activate_pull): Rename from
10848 gst_base_sink_activate_pull.
10849 (gst_base_sink_negotiate_pull): New function, performs negotiation
10850 in pull mode before calling ::activate_pull().
10851 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10852 vmethod instead of the default implementation. I have no idea how
10853 this worked before. Negotiate before calling activate_pull.
10855 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10856 sink pads in pull mode. In addition to being correct, fixes
10857 filesrc ! decodebin ! identity ! fakesink.
10858 (gst_pad_get_range, gst_pad_pull_range): Don't call
10859 gst_pad_set_caps() if the caps changes; instead error out with
10860 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10862 2007-01-12 Andy Wingo <wingo@pobox.com>
10864 * docs/design/part-negotiation.txt: Update with more policy.
10866 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10868 * libs/gst/check/gstbufferstraw.h:
10869 * libs/gst/check/gstcheck.h:
10870 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10873 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10875 * tests/check/Makefile.am:
10876 * tests/check/gst/.cvsignore:
10877 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10878 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10879 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10880 (GST_START_TEST), (gst_tag_setter_suite):
10881 Add minimal unit test for beforementioned GstTagSetter bug.
10883 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10885 Patch by: René Stadler <mail at renestadler dot de>
10887 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10888 gst_tag_list_merge() returns a new list, so it's not the best idea
10889 to ingore its return value. Effectively meant that tags could only
10890 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10891 Also add function guard to require a non-NULL taglist as input (has
10892 always been so due to gst_tag_list_copy(), just making it explicit).
10894 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10896 * docs/random/draft-missing-plugins.txt:
10897 Some additions: mention new API that is supposed to be used at the
10898 various stages; short blob about new gst-inspect introspection
10899 option; mention potential future problem with plugins that have
10900 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10902 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10904 * tools/gst-inspect.c:
10905 (print_plugin_automatic_install_info_codecs),
10906 (print_plugin_automatic_install_info_protocols),
10907 (print_plugin_automatic_install_info), (main):
10908 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10909 introspect plugin files and get machine-parsable output that corresponds
10910 to the last bit of the missing-plugin installer string (small gotcha:
10911 doesn't take into account ranks).
10913 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10916 * docs/gst/gstreamer-sections.txt:
10918 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10919 (gst_registry_lookup_locked):
10920 * gst/gstregistry.h:
10921 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10922 (gst_registry_binary_initialize_magic),
10923 (gst_registry_binary_save_string),
10924 (gst_registry_binary_save_pad_template),
10925 (gst_registry_binary_save_feature),
10926 (gst_registry_binary_save_plugin),
10927 (gst_registry_binary_write_cache),
10928 (gst_registry_binary_check_magic),
10929 (gst_registry_binary_load_pad_template),
10930 (gst_registry_binary_load_feature),
10931 (gst_registry_binary_load_plugin),
10932 (gst_registry_binary_read_cache):
10933 * gst/gstregistrybinary.h:
10934 * gst/gstregistryxml.c: (load_feature),
10935 (gst_registry_xml_read_cache):
10936 commit binary registry (disabled by default, see #359653)
10938 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10940 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10941 Fix 'make check' too.
10943 2007-01-10 Andy Wingo <wingo@pobox.com>
10945 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10948 * docs/design/part-negotiation.txt: Update with, um, one way that
10949 pull-mode negotiation might work?
10952 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10953 that the pad must be a src pad; makes sense to call it the other
10954 way in pull mode, and the logic is symmetric anyway.
10956 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10958 * plugins/elements/gstfilesink.c:
10959 Include <stdio.h> for fseeko().
10961 2007-01-10 Wim Taymans <wim@fluendo.com>
10965 Reserve LATENCY event.
10967 2007-01-09 Wim Taymans <wim@fluendo.com>
10969 * docs/design/draft-latency.txt:
10972 2007-01-09 Wim Taymans <wim@fluendo.com>
10974 * docs/design/draft-latency.txt:
10977 * gst/gstelement.h:
10978 * gst/gststructure.c:
10982 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10984 * tests/check/.cvsignore:
10985 Ignore test-registry.xml as well.
10987 2007-01-09 Wim Taymans <wim@fluendo.com>
10989 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10990 unref data at the end when we are done with the pad.
10992 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10994 * docs/gst/gstreamer-sections.txt:
10995 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10996 (init_post), (gst_deinit), (gst_update_registry):
10998 API: add gst_update_registry() (#391296).
11000 * tests/check/Makefile.am:
11001 * tests/check/gst/gstregistry.c:
11002 * tests/check/gst/.cvsignore:
11003 Simple unit test for the above.
11005 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11007 * gst/gstregistry.c: (gst_registry_scan_path_level):
11008 Plugin extension on HP-UX is .sl, add that to the list of approved
11009 plugin extensions (see #393796).
11011 * tests/check/gst/gstpad.c: (GST_START_TEST):
11012 ulong => gulong. Fixes compilation with HP-UX compiler.
11014 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11015 Fix compilation if valgrind headers are not available.
11017 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11019 * win32/common/libgstreamer.def:
11020 Add new exported function.
11021 * win32/vs6/libgstbase.dsp:
11022 Add gstdataqueue.c to the build.
11023 * win32/vs6/libgstcoreelements.dsp:
11024 Add gstmultiqueue.c to the build.
11026 2007-01-06 Andy Wingo <wingo@pobox.com>
11028 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11029 activate_pull(), providing for a way to specialize the process of
11030 spawning a thread to pull on the sink pad. There is a default
11033 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11034 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11035 (gst_base_sink_init): Renamed pad activation functions (inserting
11036 "_pad" in their names). Refactor to use the new activate_pull
11037 vmethod, as appropriate.
11038 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11039 default activate_pull function to start a task pulling from the
11040 sink pad, as before.
11042 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11043 on the pads if necessary, as in push()/chain(). Update docs.
11044 Shouldn't affect existing pull() usage as it is currently only
11045 being used on buffers without caps.
11047 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11049 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11051 Call g_thread_init() first thing in gst_init() / gst_check_init().
11052 When initialisation is done via gst_init_get_option_group() and
11053 GOption parsing, issue a warning if the GLib thread system has not
11054 been initialised yet by the time gst_init_get_option_group() is
11055 called, as it's quite likely other GLib functions such as
11056 g_option_context_new() have been called already then, and
11057 g_thread_init() must be called before any other GLib function. The
11058 application in question must be fixed in that case, since memory
11059 corruption might happen otherwise.
11060 We issue the warning because even if the GLib folks decide to work
11061 around the problem on their end in future, this is still an issue
11062 with all GLib versions >= 2.10.0, so we should warn until we depend
11063 on a GLib version we know to be safe.
11064 Update documentation as well.
11065 Closes bug #391278.
11067 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11069 * tools/gst-inspect.c: (main):
11070 * tools/gst-launch.c: (main):
11071 * tools/gst-typefind.c: (main):
11072 * tools/gst-xmlinspect.c: (main):
11073 Call g_thread_init() really really early, before any other GLib
11074 function (see #342564 and recent discussion on gtk-devel-list).
11076 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11078 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11080 * gst/gst_private.h:
11081 * gst/gstconfig.h.in:
11083 On win32, all the __declspec stuff for symbol exporting is
11084 apparently only needed with MSVC, but doesn't work with MingW.
11085 Fixes compilation with MingW and #391909.
11087 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11089 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11090 Change some GST_ERROR_OBJECT that aren't really errors to
11091 GST_WARNING_OBJECT in order to reduce terminal spam.
11093 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11095 * tests/check/Makefile.am:
11096 disable test again, as there seem to be still race problems
11098 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11100 * tests/check/Makefile.am:
11101 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11102 (GST_START_TEST), (queue_suite):
11103 enable queue test again, add tests for the leaky behaviour
11105 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11108 * tests/examples/Makefile.am:
11109 Compile adapter test/example only if the required headers are
11110 available (fixes #391915).
11112 2007-01-01 David Schleef <ds@schleef.org>
11115 Restore the previous signal handler for SIGSEGV instead of
11116 setting to default, since we may have stolen it away from
11117 someone. (i.e., Mono)
11119 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11121 * docs/random/draft-missing-plugins.txt:
11122 Some small additions and clarifications.
11124 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11126 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11127 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11128 since that can lead to random memory corruptions and crashes
11129 (may or may not be related to #383244, #386711, and #386711).
11131 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11133 * tests/check/.cvsignore:
11134 * tests/check/Makefile.am:
11135 sync .cvsignome and CLEANFILES
11137 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11139 * tests/check/Makefile.am:
11142 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11144 * docs/design/part-states.txt:
11145 two tiny additional comments
11147 * gst/gststructure.c:
11150 * tests/check/Makefile.am:
11151 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11153 disable test for now, unless it gets fixed
11155 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11157 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11159 fix race in underrun test
11161 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11163 * tests/check/elements/.cvsignore:
11166 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11168 try to narrow test failure
11170 2006-12-21 David Schleef <ds@schleef.org>
11172 * plugins/elements/gstfakesrc.c:
11173 Use g_random_int_range(), since it produces better random
11174 numbers in a range than almost-correct floating point code.
11176 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11178 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11179 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11180 (gst_check_teardown_sink_pad):
11181 do not automatically (de)activate pads
11183 * tests/check/Makefile.am:
11184 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11185 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11186 add new, yet simple tests for queue
11188 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11189 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11190 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11192 * tests/check/elements/identity.c: (cleanup_identity):
11193 consistent pad (de)activation
11195 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11197 Patch by: Sebastian Dröge <slomo ubuntu com>
11199 * libs/gst/base/gstcollectpads.c:
11200 Fix two doc typos (#387866).
11202 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11204 * docs/manual/advanced-dparams.xml:
11205 Fix typo (g_object_control_properties() doesn't exist).
11207 2006-12-19 Edward Hervey <edward@fluendo.com>
11209 * gst/gstsegment.c: (gst_segment_set_seek):
11210 Fine tune the cases where the segment start/stop values are really
11212 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11213 Add tests for the return values of gst_segment_set_seek().
11215 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11220 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11222 Fix incorrect documentation and flesh it out a bit more.
11223 Set default values for the max properties on the GParamSpec as well,
11224 so it shows up correctly in gst-inspect.
11226 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11228 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11229 Correct docs of queue, add more detail and crosslink it more.
11231 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11233 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11234 Print additional debug info when the stream isn't perfectly
11235 timestamped; don't try to use invalid durations.
11237 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11239 * docs/design/Makefile.am:
11240 Dist new design docs.
11242 2006-12-16 Wim Taymans <wim@fluendo.com>
11244 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11246 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11247 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11248 (gst_collect_pads_stop), (gst_collect_pads_event),
11249 (gst_collect_pads_chain):
11250 * libs/gst/base/gstcollectpads.h:
11251 Add refcounting to the collectpads data so we can track when it's safe
11252 to free the data. Fixes #383382.
11254 2006-12-15 Wim Taymans <wim@fluendo.com>
11256 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11257 (gst_collect_pads_remove_pad):
11258 Automatically activate/deactivate pads when they are added to a
11259 started/stoped collectpads.
11261 2006-12-15 Wim Taymans <wim@fluendo.com>
11263 * gst/gstelement.c: (gst_element_add_pad):
11264 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11265 * gst/gstpad.c: (gst_pad_init):
11266 Set pads to FLUSHING when they are created. Check, warn and fix when a
11267 demuxer adds an inactive pad to itself when running. Fixes #339326.
11269 2006-12-15 Wim Taymans <wim@fluendo.com>
11271 * gst/gstelement.c: (gst_element_class_init),
11272 (gst_element_default_send_event), (gst_element_send_event),
11273 (gst_element_default_query), (gst_element_query):
11274 Expose default element send_event and query handling as vmethods that
11275 subclasses can chain up to.
11277 2006-12-15 Wim Taymans <wim@fluendo.com>
11279 * gst/gstelement.c: (gst_element_set_state_func):
11280 Small documentation fixes.
11282 2006-12-15 Wim Taymans <wim@fluendo.com>
11284 * docs/design/draft-latency.txt:
11285 Checked in draft for handling latency in pipelines.
11287 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11291 * gstreamer.spec.in:
11294 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11296 * gst/gst.c: (init_pre), (init_post):
11297 init_pre() and init_post() might be called via our GOptionGroup or
11298 from gst_init(), and we should skip both of them if we've already
11299 been initialised, otherwise we will init some things twice or add
11300 two default log functions.
11302 2006-12-13 Edward Hervey <edward@fluendo.com>
11304 * docs/manual/basics-bus.xml:
11305 No, gst_main_loop does not exist. Its g_main_loop.
11306 Discovered by somebody who abused the copy-paste technique of coding :)
11308 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11310 * gst/gstghostpad.c:
11311 Log ghostpad debug stuff to the GST_PADS category as well rather
11312 than just to the default category.
11314 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11317 * gst/gst.c: (init_pre):
11318 Add some basic system details such as OS and architecture
11319 to the debug output if possible, courtesy of uname().
11321 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11323 * docs/gst/running.xml:
11324 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11325 environment variables.
11327 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11329 * tests/check/gst/gstbin.c: (GST_START_TEST):
11330 It is acceptable to have a refcount of 2 or 3 at this point in the
11331 test, because the pipeline might be just posting its state_change
11332 message. The next line then waits for that message to appear using
11333 bus_poll, so that should be fine too.
11335 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11337 * gst/gst.c: (ensure_current_registry_forking):
11338 Ignore EINTR when reading from the child registry pipe.
11339 Explicitly ignore the return value from close, since it makes no
11342 * gst/gstminiobject.c: (gst_mini_object_ref),
11343 (gst_mini_object_unref):
11344 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11346 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11347 When removing cached plugins, remove their features too, so they're
11348 not visible after they've disappeared.
11350 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11351 In the unlikely case that we are linking pads with no parents, don't
11352 crash trying to get the non-existent parent bin.
11354 * gst/parse/grammar.y:
11355 Output debug in the PIPELINE category
11357 2005-03-08 Wim Taymans <wim@fluendo.com>
11359 Patch by: René Stadler <mail at renestadler dot de>
11361 * gst/gstclock.c: (gst_clock_new_periodic_id):
11362 Reject invalid clock times for interval of periodic ids.
11365 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11367 * gst/gstelementfactory.c: (gst_element_factory_create):
11368 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11369 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11370 * tools/gst-inspect.c: (print_element_info):
11371 Fix refcounting of gst_plugin_feature_load to match the docs.
11374 2006-12-07 Wim Taymans <wim@fluendo.com>
11376 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11377 (gst_base_sink_get_position):
11378 Improve debugging of events.
11380 2006-12-07 Wim Taymans <wim@fluendo.com>
11382 Patch by: René Stadler <mail at renestadler dot de>
11384 * gst/gstclock.c: (gst_clock_id_wait):
11385 Make period ids add the interval to the origial requested time instead
11386 of the possibly updated time which can be wrong when there are multiple
11387 waiters for the same id. Fixes #382592.
11389 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11390 (gst_system_clock_id_wait_jitter_unlocked),
11391 (gst_system_clock_id_wait_jitter):
11392 Fix restart in the async notify thread when an async entry is added to
11393 the front of the list. Fixes #381492.
11395 * tests/check/gst/gstsystemclock.c: (store_callback),
11396 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11397 Added test for multiple async waits.
11398 Added test for async wait order.
11400 2006-12-07 Wim Taymans <wim@fluendo.com>
11402 * gst/gstbin.c: (gst_bin_query):
11403 Add some more docs about the POSITION query.
11405 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11408 Bump version nano - back to CVS.
11410 === release 0.10.11 ===
11412 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11415 releasing 0.10.11, "Love never runs on time"
11417 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11419 * win32/common/libgstbase.def:
11420 * win32/common/libgstreamer.def:
11421 * win32/vs8/libgstbase.vcproj:
11422 * win32/vs8/libgstcoreelements.vcproj:
11423 * win32/vs8/libgstreamer.vcproj:
11424 Fix compilation on win32 under VS8
11425 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11426 Partially fixes #381175
11428 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11430 * gst/gstvalue.c: (gst_value_compare_fraction):
11431 If someone is foolish enough to compare 2 fractions with denominator =
11432 0, return UNORDERED rather than aborting.
11434 2006-11-28 Edward Hervey <edward@fluendo.com>
11436 * libs/gst/base/Makefile.am:
11437 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11438 (gst_data_queue_base_init), (gst_data_queue_class_init),
11439 (gst_data_queue_init), (gst_data_queue_new),
11440 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11441 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11442 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11443 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11444 (gst_data_queue_set_flushing), (gst_data_queue_push),
11445 (gst_data_queue_pop), (gst_data_queue_drop_head),
11446 (gst_data_queue_set_property), (gst_data_queue_get_property):
11447 * libs/gst/base/gstdataqueue.h:
11448 New GstDataQueue object for threadsafe queueing. Most useful for
11449 elements that need some queueing functionnality.
11450 * docs/libs/gstreamer-libs-docs.sgml:
11451 * docs/libs/gstreamer-libs-sections.txt:
11452 Insert documentation for GstDataQueue
11453 * plugins/elements/Makefile.am:
11454 * plugins/elements/gstelements.c:
11455 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11456 (gst_multi_queue_class_init), (gst_multi_queue_init),
11457 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11458 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11459 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11460 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11461 (gst_multi_queue_loop), (gst_multi_queue_chain),
11462 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11463 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11464 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11465 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11466 (wake_up_next_non_linked), (compute_next_non_linked),
11467 (single_queue_overrun_cb), (single_queue_underrun_cb),
11468 (single_queue_check_full), (gst_single_queue_new):
11469 * plugins/elements/gstmultiqueue.h:
11470 New multiqueue element, using GstDataQueue. Used for queuing multiple
11472 Closes #344639 and #347785
11474 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11476 * docs/pwg/advanced-types.xml:
11477 add more missing type details
11479 * tools/gst-run.c: (main):
11480 remove unused variable
11482 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11484 * docs/libs/Makefile.am:
11485 * docs/libs/gstreamer-libs.types:
11486 add types of base classes to enable gobject specific stuff in the docs
11488 * docs/random/ensonic/embedded.txt:
11489 more ideas about isolating platform specific things
11491 2006-11-20 Wim Taymans <wim@fluendo.com>
11493 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11495 * libs/gst/check/gstcheck.h:
11496 Fix compilation and running against 0.9.4. Fixes #377332.
11498 2006-11-20 Wim Taymans <wim@fluendo.com>
11500 * gst/gstsegment.c: (gst_segment_set_seek),
11501 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11502 (gst_segment_to_running_time):
11503 Fix boundary checking in to_running_time() and to_stream_time().
11506 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11507 stream and running time can now be calculated for the complete
11510 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11512 * gst/gstpad.c: (gst_pad_push_event):
11513 Can't access event structure after giving away ownership of
11516 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11518 * docs/random/ensonic/embedded.txt:
11519 * docs/random/ensonic/profiling.txt:
11520 * docs/random/ensonic/receipies.txt:
11523 2006-11-13 Wim Taymans <wim@fluendo.com>
11525 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11528 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11530 2006-11-13 Wim Taymans <wim@fluendo.com>
11532 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11534 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11535 Store new length in segment duration so we don't keep on calling the
11536 potentially expensize get_size() call. Fixes #370865.
11538 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11540 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11542 * win32/common/libgstreamer.def:
11543 Add two missing symbols (#366492).
11545 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11547 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11548 (gst_adapter_take_buffer):
11549 Fix format string to use all its arguments.
11550 Remove useless >= check on a guint
11552 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11554 * tests/examples/adapter/.cvsignore:
11555 Ignore build file as commanded by the build-bot
11557 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11559 * tests/examples/adapter/Makefile.am:
11560 * tests/examples/adapter/adapter_test.c: (run_test_take),
11561 (run_test_take_buffer), (run_tests), (main):
11563 Add new files from the previous commit
11565 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11569 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11570 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11571 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11572 * libs/gst/base/gstadapter.h:
11573 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11574 (GST_START_TEST), (gst_adapter_suite):
11575 * tests/examples/Makefile.am:
11576 Do some optimisation work in GstAdapter to avoid copies in more cases.
11577 It could still do slightly better by merging buffers when
11578 gst_buffer_is_span_fast is true, but is already faster.
11580 Also, avoid traversing a single-linked list to append each incoming
11581 buffer inside the adapter.
11583 Add simple test app that times the adapter behaviour in different
11584 situations, and extend the unit test to check that bytes enter and
11585 exit the adapter in their original order.
11587 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11589 * docs/random/draft-missing-plugins.txt:
11590 Update: use element message instead of adding a new message
11591 type to the core; don't provide GStreamer API to initiate the
11592 plugin download, just provide API to compose the strings needed
11593 and let an external libgimmestuff handle the rest.
11595 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11597 * tools/gst-inspect.c: (print_element_properties_info):
11598 Print a string instead of 'unknown type' for GValueArray properties
11600 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11602 * docs/random/draft-missing-plugins.txt:
11605 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11607 * tests/examples/typefind/typefind.c: (type_found), (main):
11608 Make typefind element example work again (#371894); add a
11611 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11613 * docs/random/draft-missing-plugins.txt:
11614 Commit initial draft about how to deal with missing plugins,
11615 needs work (API too).
11617 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11619 * docs/pwg/advanced-types.xml:
11620 documents the new caps elements (see #363118)
11622 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11624 * gst/gstplugin.c: (gst_plugin_load_file):
11625 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11626 (gst_file_src_map_region), (gst_file_src_start):
11627 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11628 (gst_file_index_commit):
11629 Use g_strerror() instead of strerror() - we want UTF-8.
11631 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11633 Patch by: Peter Kjellerstedt <pkj at axis com>
11635 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11636 Another printf fix (#371493).
11638 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11640 * tests/check/gst/gsttag.c:
11641 relicence (okay with author=company)
11643 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11645 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11646 (gst_pad_push_event):
11647 Enhance debug and improve docs
11652 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11654 * docs/random/ensonic/distributed.txt:
11655 * docs/random/ensonic/profiling.txt:
11658 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11660 * docs/gst/gstreamer-sections.txt:
11661 add new API and fix the build
11663 * gst/gstbin.c: (gst_bin_recalc_state):
11664 * gst/gstelement.c: (gst_element_message_full),
11665 (gst_element_get_state_func), (gst_element_set_state_func):
11666 use new API and improve logging
11668 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11670 API: add function to get StateChangereturn names to improve logs
11672 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11674 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11675 I'm considering shooting the next person to put strerror stuff
11676 in the translateable part of the message.
11678 2006-11-03 Wim Taymans <wim@fluendo.com>
11680 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11681 Get the type and printf conversion specifiers right.
11683 2006-11-03 Wim Taymans <wim@fluendo.com>
11685 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11687 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11688 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11689 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11690 Some small cleanups. Improve debugging.
11692 Signal all waiting threads with a broadcast instead of just one.
11695 2006-11-03 Wim Taymans <wim@fluendo.com>
11697 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11698 (gst_fd_src_create):
11699 Add some debugging.
11700 Only update fd when it's different from the old.
11702 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11704 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11705 Printf fixes for PPC/OSX, take two (#369366).
11707 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11709 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11711 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11712 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11713 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11714 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11715 don't cast to long long for portability reasons, but use
11716 GLib's types instead.
11718 2006-10-30 Michael Smith <msmith@fluendo.com>
11720 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11721 Get the arguments to lseek() the right way around.
11724 2006-10-30 Wim Taymans <wim@fluendo.com>
11726 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11729 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11731 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11733 Patch by: Kjartan Maraas <kmaraas at gnome org>
11735 * docs/design/part-MT-refcounting.txt:
11736 * docs/random/wtay/capsnego2-docs:
11739 Typo fixes (#366212).
11741 2006-10-28 Wim Taymans <wim@fluendo.com>
11743 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11746 * win32/common/libgstbase.def:
11747 * win32/common/libgstreamer.def:
11748 * win32/vs8/libgstbase.vcproj:
11749 * win32/vs8/libgstcontroller.vcproj:
11750 Add needed entries in .def files.
11752 Rearrange def files in vs8 solutions. Fixes #366286.
11754 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11756 * win32/common/gstconfig.h:
11757 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11758 hand-made win32 gstconfig.h. Fixes #366321.
11760 2006-10-27 Wim Taymans <wim@fluendo.com>
11762 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11763 (gst_ghost_pad_new_full):
11764 Make acceptcaps return TRUE when we don't have a target, just like
11767 2006-10-27 Wim Taymans <wim@fluendo.com>
11769 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11770 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11772 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11774 * gst/gststructure.c: (gst_structure_id_set_value):
11775 If someone tries to set a non-UTF8 string field on a structure,
11776 don't just print a warning, but also ignore the request and do
11777 not change/add that field to the structure.
11779 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11780 Test for the above.
11782 2006-10-25 David Schleef <ds@schleef.org>
11785 g_hash_table_insert() needs a cast to a non-const pointer duh.
11787 2006-10-25 David Schleef <ds@schleef.org>
11791 Change name parameter of _gst_debug_register_funcptr to const
11792 to reflect the constness of its use in the function as well
11793 as to quiet a gcc warning.
11795 2006-10-25 Edward Hervey <edward@fluendo.com>
11797 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11798 Don't push the buffer if it's empty.
11801 2006-10-24 Wim Taymans <wim@fluendo.com>
11806 * libs/gst/base/gstbasetransform.c:
11807 (gst_base_transform_sink_eventfunc):
11808 Debug segment values *after* updating them as this is more
11811 2006-10-23 Wim Taymans <wim@fluendo.com>
11813 * docs/design/part-events.txt:
11816 * docs/design/part-block.txt:
11817 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11818 (gst_pad_push_event):
11819 Revert BLOCKING patch, it tries to be smart without really having a
11820 clear idea what or how. So, now we discard all FLUSHING events again on
11821 a blocking pad. Should fix gnonlin again.
11823 2006-10-23 Wim Taymans <wim@fluendo.com>
11825 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11827 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11828 (gst_base_src_start), (gst_base_src_activate_push):
11829 Make sure size is always initialized. Fixes #364388.
11831 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11833 * docs/random/ensonic/distributed.txt:
11834 add some ideas about doing distributed processing
11836 * docs/random/ensonic/profiling.txt:
11837 get_rusage look promising
11839 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11841 * docs/manual/basics-helloworld.xml:
11842 Add a cast in example to fix compile warning
11844 2006-10-18 Wim Taymans <wim@fluendo.com>
11846 * gst/gstsegment.c: (gst_segment_set_last_stop),
11847 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11848 Relax arg checking again, -1 is allowed.
11850 2006-10-18 Wim Taymans <wim@fluendo.com>
11852 * gst/gstsegment.c: (gst_segment_set_last_stop),
11853 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11854 _set_last_stop() must be with a value != -1
11855 A _TYPE_SET to -1 means seek to 0.
11856 Calc last_stop correctly for negative rates.
11857 Make sure we work with positive durations when updating a segment.
11859 2006-10-18 Wim Taymans <wim@fluendo.com>
11861 * docs/design/part-live-source.txt:
11865 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11868 Add an explicit cast to GstBuffer** to keep old code that added an
11869 explicit cast to GstMiniObject** for gst_mini_object_replace()
11870 compiling without warning.
11872 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11874 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11875 check for validity of dates
11877 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11879 * docs/gst/gstreamer-sections.txt:
11880 Forgot this one, makes gtk-doc shut up.
11882 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11884 Patch by: Peter Kjellerstedt <pkj at axis com>
11887 Don't define xmlNodePtr to gpointer if the core was built with
11888 --disable-loadsave and --disable-registry, this will break
11889 applications that want to use libxml2 but are buildling against a
11890 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11891 instead so we don't have to mess with the libxml2 namespace
11894 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11897 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11898 type-punned pointer warnings.
11900 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11902 * gst/gstelement.h:
11903 Add casts to the correct return type to state <=> state transition
11906 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11908 * docs/design/part-live-source.txt:
11909 describe howto handle latency
11911 * docs/random/ensonic/profiling.txt:
11914 * tools/gst-plot-timeline.py:
11915 fix log parsing for solaris, remove unused function
11917 2006-10-16 Wim Taymans <wim@fluendo.com>
11919 * docs/design/part-trickmodes.txt:
11921 Update some docs regarding reverse playback.
11923 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11925 Patch by: Marcus Granado <mrc dot gran at gmail com>
11927 * win32/vs8/grammar.vcproj:
11928 Error out with a warning if glib-genmarshal.exe is not in path,
11929 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11931 2006-10-13 Wim Taymans <wim@fluendo.com>
11933 * gst/gstsegment.c: (gst_segment_set_seek):
11934 When seeking to stop -1, set last_stop (current position) to the
11935 duration of the segment.
11937 2006-10-13 Wim Taymans <wim@fluendo.com>
11939 * gst/gstelement.h:
11940 Clarify _NO_PREROLL a bit more.
11945 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11946 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11947 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11948 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11949 due to wrong locking order. Fixes #361769.
11950 Remove some redundant/misplaced checks in pad_block.
11952 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11953 For negative rates, count backwards from the duration.
11955 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11957 * gst/gsterror.c: (_gst_library_errors_init):
11958 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11959 up with something better).
11961 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11963 * win32/vs6/libgstreamer.dsp:
11964 * win32/vs7/libgstreamer.vcproj:
11965 * win32/vs8/libgstreamer.vcproj:
11966 Don't reference glib-compat.c which is currently not used and not
11967 disted; add gstquark.c which was recently added. Fixes #361730.
11969 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11971 * win32/common/libgstbase.def:
11972 * win32/common/libgstcontroller.def:
11973 * win32/common/libgstreamer.def:
11974 Add gst_caps_merge() and a bunch of other recently-added functions.
11977 2006-10-11 Wim Taymans <wim@fluendo.com>
11979 * docs/plugins/gstreamer-plugins.args:
11980 * docs/plugins/inspect/plugin-coreelements.xml:
11981 * docs/plugins/inspect/plugin-coreindexers.xml:
11982 Update element args.
11984 * gst/gstsystemclock.c:
11985 Small comment update.
11987 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11988 (gst_tee_request_new_pad), (gst_tee_release_pad),
11989 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11990 (gst_tee_sink_activate_pull):
11991 * plugins/elements/gsttee.h:
11993 Add default property defines.
11994 Implement release pad function.
11995 Give properties better blubs etc.
11996 Activate pads before adding them to a running tee.
11997 Do simple buffer_alloc on the first requested pad.
11998 Post error when activation fails.
12000 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12002 * gst/gst.c: (ensure_current_registry_forking):
12003 Check return value of write() to make compiler happy.
12005 2006-10-11 Wim Taymans <wim@fluendo.com>
12007 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12009 * plugins/elements/gstqueue.c: (gst_queue_chain):
12010 Recheck queue filledness after signalling the overrun when we're about
12011 to leak downstream because we released the lock when emitting the signal
12012 and the queue could be empty again. Fixes #352345.
12014 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12016 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12017 Fix refcounting here too, just like we did for _new_valist() a few
12018 days ago (#357180) (thanks to René Stadler). Also remove all those
12019 'Since: 0.9' from the gtk-doc blobs.
12021 * tests/check/libs/controller.c: (controller_refcount_new_list),
12022 (gst_controller_suite):
12023 Unit test for the above.
12025 2006-10-10 Wim Taymans <wim@fluendo.com>
12027 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12029 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12030 (gst_pad_save_thyself):
12032 Write pad direction in XML output. Fixes #345496.
12034 2006-10-10 Wim Taymans <wim@fluendo.com>
12036 Patch by: René Stadler <mail at renestadler dot de>
12038 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12039 (gst_controller_new_list), (_gst_controller_dispose),
12040 (_gst_controller_finalize), (_gst_controller_class_init):
12041 Take ref to controlled object so that it cannot disappear.
12044 2006-10-10 Wim Taymans <wim@fluendo.com>
12046 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12047 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12048 (gst_check_teardown_sink_pad):
12049 Activate/deactivate pads in setup/teardown respectively.
12051 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12053 Patch by: Josep Torra Valles <josep@fluendo.com>
12056 Cast values when making gstenumtypes.h. This pacifies Forte
12057 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12058 in the enumeration.
12060 2006-10-09 Wim Taymans <wim@fluendo.com>
12062 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12063 Rename some more @cur to @start to fix docs.
12065 * gst/gstsegment.c: (gst_segment_set_seek):
12067 time and start must always stay in sync as defined in design doc.
12069 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12070 Rename param to fix docs.
12072 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12073 Check that start and time are in sync.
12075 * tests/check/pipelines/parse-launch.c:
12076 (gst_parse_test_element_change_state):
12077 Activate pad before adding to the element.
12079 2006-10-09 Wim Taymans <wim@fluendo.com>
12081 * docs/design/part-qos.txt:
12086 Update seek event docs regarding negative rates.
12087 Rename @cur to @start.
12089 * gst/gstsegment.c: (gst_segment_set_seek):
12090 * gst/gstsegment.h:
12091 Update set_seek docs regarding negative rates.
12092 Correctly update last_stop to @stop when dealing with negative
12094 Rename @cur to @start.
12096 * tests/check/gst/gstpad.c: (GST_START_TEST):
12097 Activate pads before trying to use them.
12099 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12100 (gst_segment_suite):
12101 Add simple check for segments and negative rates.
12103 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12105 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12106 * gst/gsttaglist.h:
12107 * docs/gst/gstreamer-sections.txt:
12108 API: add gst_tag_list_is_empty() (#360467).
12110 * tests/check/gst/gsttag.c: (GST_START_TEST):
12113 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12115 * gst/gstmessage.h:
12116 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12117 a value that doesn't fit on enumeration.
12119 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12121 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12122 Remove local debugging system and use Gstreamer's instead.
12124 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12126 Patch by: Josep Torra Valles <josep@fluendo.com>
12128 * common/m4/gst-error.m4:
12129 Disable warning of statement not reached on Forte.
12130 * gst/gstmessage.h:
12131 Fix warning on Forte (value doesn't fit on enumeration).
12132 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12133 Fix warning on Forte (value doesn't fit on enumeration).
12134 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12135 DEBUG macro says it takes minimum of 2 args and so Forte
12136 complains about the use with just 1 arg.
12137 * plugins/elements/gstfdsink.c:
12138 * plugins/elements/gstfdsrc.c:
12139 * plugins/elements/gstfilesink.c:
12140 * plugins/elements/gstfilesrc.c:
12141 Use correct return type for the uri handler implementations.
12143 All these fix warnings in Forte. Fixes bug #360860.
12145 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12147 * gst/gstelement.h:
12148 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12149 format string, so don't use G_GNUC_PRINTF for those versions.
12151 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12153 * gst/gsttaglist.c: (gst_is_tag_list):
12154 * gst/gsttaglist.h:
12155 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12157 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12158 Small test for the above.
12160 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12162 * gst/gsttaglist.h:
12163 Less tabs, more spaces.
12165 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12168 Those two function declarations do actually belong there, revert
12169 commit from yesterday that turned them intro macros.
12171 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12173 Patch by: Josep Torra Valles <josep@fluendo.com>
12175 * gst/gst.c: (gst_init_get_option_group):
12176 Fix empty declaration and type mismatch.
12177 * gst/gstbin.c: (gst_bin_change_state_func):
12179 * gst/gstelement.c: (gst_element_continue_state),
12180 (gst_element_set_state_func), (gst_element_change_state),
12181 (gst_element_change_state_func):
12182 Fix type mismatches.
12183 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12184 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12185 Cast as appropriate.
12186 * gst/gstobject.c: (gst_class_signal_connect):
12187 Cast as appropriate. The function pointer parameter really
12188 has the wrong type but would break API if we change it.
12190 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12191 order of including string.h.
12192 * gst/gstutils.c: (gst_element_state_get_name):
12193 Remove unreachable line.
12194 * gst/gstxml.c: (gst_xml_parse_doc):
12196 All these caught by Forte.
12198 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12200 Patch by: Josep Torra Valles <josep@fluendo.com>
12202 * common/m4/gst-error.m4:
12204 We need to disable warnings on Forte for empty declarations
12205 due to gst-indent adding ;s to lines that just use macros
12206 where the macro actually doesn't need a ; at end to end
12209 2006-10-06 Wim Taymans <wim@fluendo.com>
12211 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12212 (gst_file_sink_close_file), (gst_file_sink_event),
12213 (gst_file_sink_render):
12214 Add some FIXME for the NEWSEGMENT handling.
12216 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12218 * gst/parse/grammar.y:
12219 Remove static function gst_parse_element_lock as all it does
12220 is return. Looks like cruft from 0.8.
12222 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12224 Patch by: Josep Torra Valles <josep@fluendo.com>
12226 * common/m4/gst-error.m4:
12228 * libs/gst/net/Makefile.am:
12229 Fix a compilation issue with Forte on Solaris. inet_aton is in
12232 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12234 * gst/gstpad.c: (pre_activate):
12235 * gst/gstregistry.c: (gst_registry_scan_path_level):
12236 * gst/gstregistryxml.c: (load_plugin):
12237 * libs/gst/controller/gstcontroller.c:
12238 (gst_controlled_property_set_interpolation_mode):
12239 * libs/gst/dataprotocol/dataprotocol.c:
12240 (gst_dp_packet_from_event_1_0):
12241 * libs/gst/net/gstnetclientclock.c:
12242 (gst_net_client_clock_observe_times):
12243 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12246 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12249 * docs/gst/gstreamer-sections.txt:
12250 * gst/gstconfig.h.in:
12251 * gst/gstelement.h:
12253 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12254 whether we can use G_GNUC_PRINTF in other header files and at
12255 least check the printf format/arguments of debug messages and
12256 GST_ELEMENT_ERROR messages when the printf extension is not
12258 Replace more tabs with spaces in gstinfo.h and remove two spurious
12259 function declarations in GST_DISABLE_DEBUG part with macros.
12261 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12263 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12264 More docs for the sync-message signal (mention that it is not
12265 emitted by default); log message structures of messages posted on
12268 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12270 * gst/gst.c: (ensure_current_registry_forking):
12271 Use a pipe pair to receive status results from the forked child, and
12272 ignore the result from waitpid. Fixes #355499
12274 2006-10-02 Wim Taymans <wim@fluendo.com>
12276 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12277 (gst_ghost_pad_suite):
12280 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12283 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12285 2006-10-02 Edward Hervey <edward@fluendo.com>
12287 * docs/design/part-block.txt:
12288 Further explain the use of flushing on blocked pads.
12289 * docs/gst/gstreamer-sections.txt:
12290 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12291 (gst_pad_push_event):
12293 Added new GstPadFlag : GST_PAD_BLOCKING.
12294 Adds the notion of pads really blocking, which enables to properly
12295 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12297 API: gst_pad_is_blocking()
12298 API: GST_PAD_IS_BLOCKING() macro
12299 API: GST_PAD_BLOCKING GstPadFlag
12301 2006-10-02 Wim Taymans <wim@fluendo.com>
12303 Patch by: mrcgran <mrc.gran at gmail dot com>
12305 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12306 Filter the proxied caps against the padtemplate if we have one.
12308 * gst/gstquery.c: (gst_query_new_segment):
12309 Add include for gstinfo.h so that compilation with
12310 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12312 2006-10-02 Wim Taymans <wim@fluendo.com>
12314 Patch by: Alessandro Decina <alessandro at nnva org>
12316 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12317 (gst_file_sink_set_location), (gst_file_sink_open_file),
12318 (gst_file_sink_close_file), (gst_file_sink_event),
12319 (gst_file_sink_render):
12320 Set file to NULL when closing filesink so that we can set a new filename
12321 in READY. Fixes #358613.
12323 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12325 Patch by: Alessandro Decina <alessandro at nnva org>
12327 * gst/gstevent.c: (_gst_event_copy):
12328 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12329 with event structures by setting the parent refcount address of the
12330 copied structure to the address of the refcount member of the newly
12331 copied event rather than the address of the refcount member of the
12332 original event. Fixes #358737.
12334 * tests/check/gst/gstevent.c: (GST_START_TEST):
12335 Unit test for the above.
12337 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12339 * docs/design/Makefile.am:
12340 Dist some more files.
12342 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12344 * tests/check/libs/controller.c: (GST_START_TEST),
12345 (gst_controller_suite):
12346 Add test for the previous fix; add some more tests
12347 for correct refcounting behaviour; fix a few leaks
12348 in test cases; call gst_controller_init() at start
12351 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12353 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12354 (gst_controller_set_from_list):
12355 Don't g_return_val_if_fail() on timed values with invalid timestamps
12356 inside a critical section without unlocking the mutex. Spotted by
12357 René Stadler. (#357617)
12358 Also, fix up refcounting properly: when returning an existing
12359 controller, we should increase the reference only once and not
12360 once per property and when trying to control a property again
12361 we should also increase the refcount.
12363 2006-09-29 Wim Taymans <wim@fluendo.com>
12365 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12366 * libs/gst/net/gstnettimeprovider.c:
12367 (gst_net_time_provider_thread):
12368 Stop reading commands when EOF as well.
12370 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12371 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12372 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12373 Unify description of the dump property.
12375 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12377 * tests/examples/manual/.cvsignore:
12378 OK, so it's actually cvsignore that needs changing. Stop laughing.
12380 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12382 * tests/examples/manual/Makefile.am:
12383 Gah, declare vars *before* using them
12385 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12387 * gst/gst.c: (init_pre), (scan_and_update_registry),
12388 (ensure_current_registry_nonforking),
12389 (ensure_current_registry_forking), (ensure_current_registry),
12390 (init_post), (gst_debug_help), (gst_deinit):
12391 * gst/gst_private.h:
12392 * gst/gstregistry.c: (gst_registry_finalize),
12393 (gst_registry_remove_features_for_plugin_unlocked),
12394 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12395 (gst_registry_scan_path),
12396 (_priv_gst_registry_remove_cache_plugins),
12397 (_priv_gst_registry_cleanup):
12398 * gst/gstregistry.h:
12399 Re-commit the registry changes, along with an extra fix:
12400 When a cached plugin is encountered at a different file path,
12401 update the stored path in the registry cache so that the parent
12402 process knows where it actually is now when it re-reads the registry
12403 cache. Fixes the thing that broke distcheck with the previous commit.
12405 * tests/check/Makefile.am:
12406 Clean up files named 'core' too when running make clean.
12408 * tests/examples/manual/Makefile.am:
12409 Set up a registry path for running these tests, and clean it properly
12412 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12415 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12416 want gmodule-no-export-2.0.pc instead so that we don't drag in
12417 --export-dynamic on every project that links to GStreamer.
12419 Also, make our export regex only match the start of symbols, rather
12420 than any symbol that contains '_gst' somewhere.
12422 * libs/gst/check/Makefile.am:
12423 The libgstcheck we build does however need export-dynamic, as it
12424 produces some symbols that don't match our _gst... style regex.
12427 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12429 * gst/gst.c: (init_pre), (scan_and_update_registry),
12430 (ensure_current_registry_nonforking),
12431 (ensure_current_registry_forking), (ensure_current_registry),
12432 (init_post), (gst_debug_help), (gst_deinit):
12433 * gst/gst_private.h:
12434 * gst/gstregistry.c: (gst_registry_finalize),
12435 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12436 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12437 (_gst_registry_cleanup):
12438 * gst/gstregistry.h:
12439 Revert previous change until I figure out why it breaks distcheck.
12441 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12443 * gst/gst.c: (init_pre), (scan_and_update_registry),
12444 (ensure_current_registry_nonforking),
12445 (ensure_current_registry_forking), (ensure_current_registry),
12446 (init_post), (gst_debug_help), (gst_deinit):
12448 Make init_pre and init_post take the full complement of GOptionFunc
12449 args so they can return useful GErrors. Make the registry updating
12452 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12453 ensure that the registry we're about to write out doesn't contain
12454 stale information about old-deleted plugin files.
12456 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12457 that deletion of plugin files is considered a registry change.
12459 * gst/gst_private.h:
12460 * gst/gstregistry.c: (gst_registry_finalize),
12461 (gst_registry_remove_features_for_plugin_unlocked),
12462 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12463 (gst_registry_scan_path),
12464 (_priv_gst_registry_remove_cache_plugins),
12465 (_priv_gst_registry_cleanup):
12466 * gst/gstregistry.h:
12467 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12468 by adding _priv prefix, so that they won't appear in the global
12469 symbol table. They still do atm though because of #318031. Move the
12470 prototypes to gst_private.h
12472 When removing a plugin, remove all features for that plugin too.
12475 2006-09-27 Wim Taymans <wim@fluendo.com>
12477 * docs/random/moving-plugins:
12478 Make it clear that the "compiled-in descriptions" really mean
12479 the element details.
12481 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12482 (gst_base_sink_wait_preroll):
12485 * docs/libs/gstreamer-libs-sections.txt:
12486 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12487 (gst_base_src_get_range), (gst_base_src_activate_push):
12488 * libs/gst/base/gstbasesrc.h:
12489 Added function to block while waiting for PLAYING, this function
12490 is used by live sources that block on the clock.
12491 API: gst_base_src_wait_playing()
12493 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12495 Patch by: Peter Kjellerstedt <pkj at axis com>
12498 gst-element-check.m4 is generated and should therefore be
12499 copied from the build dir rather than the source dir (#357593).
12500 'make distcheck' hasn't noticed this because we were disting
12501 the file as well, so stop doing that.
12503 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12505 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12506 Add some tests for gst_caps_intersect().
12508 * tools/gst-launch.c: (event_loop):
12509 Print all buffering percentages we get, even the 100% one.
12511 2006-09-26 Wim Taymans <wim@fluendo.com>
12513 * tools/gst-inspect.c: (print_element_properties_info),
12514 (print_signal_info):
12515 Fix printing of flags to match the look of enums.
12517 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12519 * gst/gstelementfactory.c:
12520 Fix typo in docs blurb.
12522 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12524 * gst/gsturi.c: (search_by_entry):
12525 Don't assert/crash here if a uri handler doesn't return any
12526 supported protocols. The list of protocols could be generated
12527 dynamically at runtime or at plugin registration, and an error
12528 in the underlying library shouldn't be fatal (#353301).
12530 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12533 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12534 (spotted by Peter Kjellerstedt).
12536 2006-09-23 Wim Taymans <wim@fluendo.com>
12538 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12540 * libs/gst/base/gstbasesrc.c:
12541 (gst_base_src_default_check_get_range), (gst_base_src_start),
12542 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12543 (gst_base_src_change_state):
12544 Match _start/_stop calls in the activate functions. Remove redundant
12545 _stop call from the state change function. Fixes #356910.
12546 Turn failure DEBUG into ERROR.
12548 2006-09-22 Wim Taymans <wim@fluendo.com>
12550 * docs/design/part-buffering.txt:
12551 * gst/gstmessage.c: (gst_message_new_buffering),
12552 (gst_message_parse_buffering):
12553 Update docs about buffering.
12555 * docs/design/part-trickmodes.txt:
12558 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12560 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12561 (gst_controller_new_list):
12562 Ref instances when returning them again (fixes #357180)
12564 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12566 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12567 Don't forget to release proxy lock when there's an error.
12569 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12572 Add extra initialisers for Caps things, to fix some plugin warnings
12575 2006-09-18 Wim Taymans <wim@fluendo.com>
12577 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12578 Also set template on the internal pad so that a getcaps from the
12579 target pad returns the template caps.
12581 2006-09-18 Wim Taymans <wim@fluendo.com>
12583 * gst/gstelement.c: (gst_element_post_message),
12584 (gst_element_dispose):
12585 Use _DEBUG_OBJECT some more.
12587 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12590 * tools/gst-launch.c: (main):
12591 If the toplevel element is not a GstPipeline, it must be put in a
12592 pipeline so that a bus and clock is selected.
12594 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12596 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12597 JITTER, RATE, and LATENCY query should be handled by the
12598 default case and not by the CONVERT query code.
12600 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12602 * gst/gstformat.c: (gst_format_register):
12603 Fix locking order (must take lock before using n_values).
12605 * gst/gstvalue.c: (gst_value_serialize_enum),
12606 (gst_value_deserialize_enum_iter_cmp),
12607 (gst_value_deserialize_enum):
12608 Fix serialisation/deserialisation of custom registered GstFormats.
12610 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12611 Unit test for custom format serialisation/deserialisation.
12613 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12615 * docs/pwg/building-boiler.xml:
12616 * plugins/elements/gstcapsfilter.c:
12617 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12620 2006-09-16 Edward Hervey <edward@fluendo.com>
12622 * libs/gst/base/gstbasetransform.c:
12623 (gst_base_transform_buffer_alloc):
12624 Check if requested caps are the same as the sinks caps IF
12625 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12627 This fixes the renegotiation issues stated in #352827.
12629 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12632 * docs/manual/advanced-autoplugging.xml:
12633 * tests/examples/Makefile.am:
12634 * tests/examples/manual/.cvsignore:
12635 * tests/examples/manual/Makefile.am:
12636 * tests/examples/manual/extract.pl:
12637 Extract the manual examples again like we used to do.
12640 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12642 * win32/common/config.h:
12645 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12648 Documents how to receive errors.
12650 2006-09-15 Wim Taymans <wim@fluendo.com>
12652 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12653 (event_loop), (main):
12654 Added some comments here and there.
12655 Post an application message when an interrupt is caught instead of doing
12656 an uncontrolled state change.
12657 Clean up the event loop.
12658 Handle buffering messages, pause/resume the pipeline.
12659 Make shutdown because of an interrupt more reliable.
12661 2006-09-15 Wim Taymans <wim@fluendo.com>
12663 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12664 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12665 (gst_base_sink_preroll_object):
12666 Make sure that our internal state is correct when we commit our state
12667 asynchronously. This solves a race where a state change to PLAYING
12668 could cause the sink to remain blocked in preroll in some situations.
12670 2006-09-15 Wim Taymans <wim@fluendo.com>
12672 * tools/gst-inspect.c: (print_element_properties_info),
12673 (print_signal_info):
12674 List flags as hex so it's easier to deal with.
12676 2006-09-15 Wim Taymans <wim@fluendo.com>
12678 * docs/libs/gstreamer-libs-sections.txt:
12679 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12680 (gst_base_sink_do_sync):
12681 * libs/gst/base/gstbasesink.h:
12682 Expose logic to wait for preroll so that subclasses such as audiosink
12683 can also use this method.
12684 API: gst_base_sink_wait_preroll()
12686 2006-09-15 Wim Taymans <wim@fluendo.com>
12688 * gst/gstobject.c: (gst_object_set_parent):
12689 * gst/gstpipeline.c: (do_pipeline_seek):
12690 Small cleanups in docs and code.
12692 * gst/gstsegment.c: (gst_segment_clip):
12693 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12694 if stop == start and start is in the segment, no clipping should be
12695 done. Also add a test for this.
12697 2006-09-15 Wim Taymans <wim@fluendo.com>
12699 * docs/design/part-buffering.txt:
12700 * docs/gst/gstreamer-sections.txt:
12701 * gst/gstmessage.c: (gst_message_new_buffering),
12702 (gst_message_parse_buffering):
12703 * gst/gstmessage.h:
12704 Added methods to create and parse BUFFERING messages.
12705 Added preliminary docs about buffering.
12706 API: gst_message_new_buffering
12707 API: gst_message_parse_buffering
12709 2006-09-06 Wim Taymans <wim@fluendo.com>
12712 Update documentation.
12714 * gst/gstelement.c: (gst_element_class_init),
12715 (gst_element_release_request_pad), (gst_element_set_clock),
12716 (gst_element_get_index), (gst_element_add_pad),
12717 (gst_element_remove_pad), (gst_element_get_random_pad),
12718 (gst_element_send_event), (gst_element_get_query_types),
12719 (gst_element_query), (gst_element_post_message),
12720 (gst_element_message_full), (gst_element_continue_state),
12721 (gst_element_lost_state), (gst_element_save_thyself),
12722 (gst_element_restore_thyself):
12723 Documentation updates.
12724 Rename last bit of the new-pad -> pad-added signal rename.
12725 Fix the case where an element query would only work if the source
12727 Avoid some useless type checking in message handling.
12732 Documentation updates.
12734 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12736 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12737 add an INFO line for when we actually update the fd
12739 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12744 === release 0.10.10 ===
12746 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12749 releasing 0.10.10, "Pais"
12751 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12753 * docs/manual/advanced-position.xml:
12754 Fix typo in sample code.
12756 2006-09-05 Wim Taymans <wim@fluendo.com>
12758 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12759 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12760 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12761 * libs/gst/net/gstnetclientclock.h:
12762 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12763 * libs/gst/net/gstnettimepacket.h:
12764 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12765 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12766 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12767 * libs/gst/net/gstnettimeprovider.h:
12768 Make stuff compile on windows. Fixes #345295.
12770 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12772 * gst/gst.c: (ensure_current_registry_forking):
12773 Print better details when child was terminated by signal.
12775 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12777 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12778 Print a warning rather than g_assert() if a plugin feature
12779 is a URI handler but returns no protocols (#353976).
12781 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12783 * docs/random/moving-plugins:
12786 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12788 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12789 Fix locking order, handle NULL function values properly.
12794 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12795 Initialise variable before using it and fix debug statement to
12796 print the address of the function rather than the address of the
12797 variable on the stack holding the address of the function.
12799 2006-09-01 Wim Taymans <wim@fluendo.com>
12801 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12802 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12803 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12804 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12805 (gst_ghost_pad_parent_unset),
12806 (gst_ghost_pad_internal_do_activate_push),
12807 (gst_ghost_pad_internal_do_activate_pull),
12808 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12809 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12810 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12811 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12812 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12813 (gst_ghost_pad_new_no_target_from_template),
12814 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12816 Avoid needless typechecking in macros.
12817 Since the internal pad is always present and never changes, there is
12818 no need to locking or ref when retrieving it.
12819 Improve debugging a bit.
12820 Handle link errors when setting the target. Fixes #341029.
12822 2006-09-01 Wim Taymans <wim@fluendo.com>
12824 * docs/libs/gstreamer-libs-sections.txt:
12825 * docs/plugins/gstreamer-plugins-sections.txt:
12826 Fix docs some more.
12828 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12829 (gst_collect_pads_event):
12830 * libs/gst/base/gstcollectpads.h:
12831 Documentation updates.
12832 Free queued buffer when removing a pad.
12834 2006-08-31 Michael Smith <msmith@fluendo.com>
12836 * gst/gstutils.c: (gst_element_link_pads),
12837 (gst_element_link_pads_filtered):
12838 Ensure that we set a capsfilter to NULL if we failed to link it
12839 when doing filtered linking, to avoid criticals.
12841 No need to check for unreffing srcpad, which is explicly NULLed
12842 above (a trivial code cleanup).
12844 2006-08-31 Wim Taymans <wim@fluendo.com>
12846 * docs/design/part-gstghostpad.txt:
12847 Update ascii art in documentation.
12849 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12850 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12851 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12852 (gst_ghost_pad_internal_do_activate_push),
12853 (gst_ghost_pad_internal_do_activate_pull),
12854 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12855 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12856 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12857 (gst_ghost_pad_set_target):
12858 Small cleanups and leak fixes.
12859 Remove some checks now that the internal pad is never NULL.
12860 Fix the case where linking pads without a target would create nasty
12861 criticals. Fixes #341029.
12862 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12863 value of _set_target().
12865 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12866 (gst_ghost_pad_suite):
12867 Some more tests for creating and linking untargeted ghostpads.
12869 2006-08-31 Edward Hervey <edward@fluendo.com>
12871 * docs/gst/gstreamer-sections.txt:
12872 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12873 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12874 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12875 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12876 (gst_ghost_pad_new_from_template),
12877 (gst_ghost_pad_new_no_target_from_template):
12878 * gst/gstghostpad.h:
12879 Refactored *_new() functions.
12880 Templates are now used as a g_object_new() parameter.
12881 Use template in _do_getcaps() if we don't have a target.
12882 Small documentation cleanups.
12883 Added two new constructors:
12884 gst_ghost_pad_new_from_template()
12885 gst_ghost_pad_new_no_target_from_template()
12886 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12887 (gst_ghost_pad_suite):
12888 Added tests for new ghostpad instanciation functions.
12890 API additions: gst_ghost_pad_new_from_template,
12891 gst_ghost_pad_new_no_target_from_template
12893 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12895 * docs/random/ensonic/profiling.txt:
12896 Ideas about qos profiling.
12898 2006-08-29 Wim Taymans <wim@fluendo.com>
12900 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12904 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12907 Improve and detypofy docs.
12909 * tests/check/Makefile.am:
12910 * tests/check/gst/.cvsignore:
12911 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12912 Add a basic test suite for GstXML.
12914 2006-08-29 Wim Taymans <wim@fluendo.com>
12916 * gst/gstelement.c: (activate_pads), (clear_caps),
12917 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12918 Clear the pad caps when the element shut down all of the pads and
12919 is not streaming data that could modify the caps.
12922 2006-08-28 Michael Smith <msmith@fluendo.com>
12924 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12925 Revert previous change; I misunderstood single-segment mode.
12927 2006-08-28 Michael Smith <msmith@fluendo.com>
12929 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12930 Unset DISCONT on buffers when using single-segment mode.
12932 2006-08-28 Wim Taymans <wim@fluendo.com>
12934 * gst/gstcaps.c: (gst_caps_merge_structure):
12936 Fix docs and indentation again.
12938 * tests/check/gst/gstquery.c: (GST_START_TEST):
12939 Fix leak in tests and add some more tests.
12941 2006-08-28 Edward Hervey <edward@fluendo.com>
12943 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12944 Inform GstSegment of the last stop position in order for the current
12945 segment to have a proper duration if it doesn't have a specific stop
12946 position from which a duration could be calculated.
12947 This bug was noticeable when a non-flushing, non-update new segment was
12948 followed by another segment (all buffers from the new segment were being
12951 2006-08-28 Wim Taymans <wim@fluendo.com>
12953 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12954 Small comment update.
12956 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12957 (gst_identity_transform_ip):
12958 Drop-probability is broken, mention this in the code with a
12959 FIXME and also in the property description.
12960 Make silent also be silent about the drop messages.
12962 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12964 * docs/manual/appendix-win32.xml:
12965 Remove mention of popt, we don't depend on that any
12966 longer (#353136). Add some comments pointing out that
12967 this section is slightly outdated.
12969 2006-08-28 Wim Taymans <wim@fluendo.com>
12971 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12973 * gst/gstquery.c: (gst_query_new_segment):
12974 * tests/check/gst/gstquery.c: (GST_START_TEST):
12975 Initialize variables when creating a new segment query.
12978 2006-08-28 Wim Taymans <wim@fluendo.com>
12980 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12982 * gst/gstelement.c: (gst_element_get_bus):
12983 * tests/check/gst/gstelement.c: (GST_START_TEST):
12984 Check for NULL before _reffing the bus. Fixes #353122.
12986 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12988 * docs/manual/basics-bus.xml:
12989 Docs update: fix wrong callback return value explanation; add
12990 some lines about the implicit relationship between main loop
12991 and main context; remove duplicate main loop variable declaration.
12993 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12995 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12996 Don't leak caps in unit test; add a few more simple
12999 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13001 * docs/gst/gstreamer-sections.txt:
13002 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13003 (gst_caps_structure_is_subset), (gst_caps_merge),
13004 (gst_caps_merge_structure):
13006 * libs/gst/base/gstbasetransform.c:
13007 (gst_base_transform_transform_caps):
13008 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13009 implement caps merging (fixes #352580)
13011 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13013 * tools/Makefile.am:
13014 * tools/gst-plot-timeline.py:
13015 add debug-log plotting developer tool (#340674)
13017 2006-08-23 Wim Taymans <wim@fluendo.com>
13019 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13020 (gst_pad_stop_task):
13021 Improve debugging for task functions.
13023 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13024 (gst_task_start), (gst_task_pause), (gst_task_join):
13025 Make sure that the task function started and finished after a
13027 Don't try to push the task function on the threadpool multiple
13029 Improve the g_warning message with some useful suggestions
13030 about how to fix the problem.
13032 2006-08-23 Wim Taymans <wim@fluendo.com>
13034 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13035 Handle RESYNC correctly in _proxy_getcaps.
13037 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13039 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13040 (gst_xml_parse_memory), (gst_xml_get_element):
13041 Chain up to parent class in dispose function and also
13042 unref the elements in the toplevel_elements GList.
13043 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13044 Always return a reference in gst_xml_get_element() rather
13045 than only sometimes.
13047 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13048 Don't leak GstXml object.
13050 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13052 * docs/gst/gstreamer-sections.txt:
13053 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13056 * libs/gst/base/gstbasetransform.c:
13057 (gst_base_transform_transform_caps):
13058 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13061 2006-08-21 Edward Hervey <edward@fluendo.com>
13063 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13064 Implement GObject::dispose virtual method in GstXML so we can free the
13065 top_elements GList.
13067 2006-08-21 Wim Taymans <wim@fluendo.com>
13069 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13070 (gst_buffer_create_sub):
13071 Copy duration/offset_end/caps when creating a subbuffer of the
13073 Make the subbuffer read-only when we make the metadata writable for
13074 now. Fixes #351768.
13076 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13077 Added check for metadata copy when creating subbuffers.
13079 2006-08-21 Edward Hervey <edward@fluendo.com>
13081 * libs/gst/base/gstbasetransform.c:
13082 (gst_base_transform_buffer_alloc):
13083 Only call downstream buffer_alloc if transform element is passthrough
13084 or always_in_place. Closes #350449.
13086 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13089 ChangeLog surgery to add comments to previous changes
13091 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13096 * gst/gstpad.c: (gst_pad_set_active):
13097 Be more verbose in the log
13099 * libs/gst/base/gstbasetransform.c:
13100 (gst_base_transform_transform_caps):
13101 Simplify caps to get rid of duplicates, fixes #345444
13103 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13107 Use these optimizations only internally.
13109 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13111 * gst/gstvalue.c: (gst_value_compare_list),
13112 (gst_value_compare_fraction_range),
13113 (gst_value_intersect_fraction_fraction_range),
13114 (gst_value_intersect_fraction_range_fraction_range),
13115 (gst_value_subtract_fraction_fraction_range),
13116 (gst_value_subtract_fraction_range_fraction_range),
13117 (gst_value_get_compare_func), (gst_value_compare),
13118 (gst_value_compare_with_func):
13120 Saves the expensive lookup of the compare function in many cases
13123 2006-08-18 Edward Hervey <edward@fluendo.com>
13125 * tests/check/gst/gstinfo.c: (gst_info_suite):
13126 Disable test that require gstdebug if it wasn't built in core.
13128 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13130 * docs/random/ensonic/logging.txt:
13133 * gst/gstinfo.c: (gst_debug_log_default):
13134 reorder fields, save some columns, add optional color codes for log
13137 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13139 * docs/random/ensonic/logging.txt:
13140 add ideas about making the logs a bit more useful
13142 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13144 * docs/pwg/advanced-events.xml:
13145 * docs/pwg/titlepage.xml:
13146 Update for 0.10 API (#340627). Add myself
13149 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13151 * docs/libs/gstreamer-libs-docs.sgml:
13152 * docs/libs/gstreamer-libs-sections.txt:
13153 * libs/gst/check/gstbufferstraw.c:
13154 Make gstcheck stuff show up in docs (still needs to
13155 be documented properly though).
13157 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13159 * docs/gst/gstreamer-sections.txt:
13161 * gst/gst.c: (init_post):
13162 * gst/gst_private.h:
13163 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13165 * gst/gstquery.c: (gst_query_new_position),
13166 (gst_query_set_position), (gst_query_parse_position),
13167 (gst_query_new_duration), (gst_query_set_duration),
13168 (gst_query_parse_duration), (gst_query_new_convert),
13169 (gst_query_set_convert), (gst_query_parse_convert),
13170 (gst_query_new_segment), (gst_query_set_segment),
13171 (gst_query_parse_segment), (gst_query_new_seeking),
13172 (gst_query_set_seeking), (gst_query_parse_seeking):
13173 Add internal helpers for pre-registering quarks from static strings
13174 and using the quark values directly instead of looking them up when
13175 creating and parsing queries. Can be used for event construction too.
13178 2006-08-16 Wim Taymans <wim@fluendo.com>
13183 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13185 * gst/gstutils.c: (gst_util_set_value_from_string):
13186 Fix memleak (#351502).
13188 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13189 Add unit test for most of gst_util_set_value_from_string()
13190 (not that one would want to encourage use of this function).
13192 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13194 * libs/gst/check/gstcheck.h:
13195 Use const gchar * variables in fail_unless_equals_string
13196 macro to avoid compiler warnings (and don't use tabs for
13199 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13201 * tools/gst-launch.c: (print_tag):
13202 More space on the left for the tag names, to cater
13203 for the 'extended comment' tag (not touching the
13204 string for the first line since it's translated).
13206 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13208 * libs/gst/check/gstcheck.h:
13209 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13210 print something when they fail.
13212 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13214 * docs/gst/gstreamer-sections.txt:
13215 * gst/gsttaglist.c: (_gst_tag_initialize):
13216 * gst/gsttaglist.h:
13217 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13218 Also change merge function for GST_TAG_COMMENT to
13221 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13223 * gst/gstinfo.c: (gst_debug_print_object):
13224 Make GST_PTR_FORMAT print messages as well.
13226 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13227 (GST_START_TEST), (gst_info_suite):
13230 2006-08-14 Edward Hervey <edward@fluendo.com>
13232 * gst/gstelementfactory.c: (gst_element_register):
13233 If the GstElementClass doesn't have a GstElementDetails with all fields
13234 filled up correctly (longname, description AND author), then error out
13235 nicely instead of crashing.
13237 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13239 * gst/gststructure.c:
13240 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13243 Expand on the difference between arrays and lists as we use them.
13245 2006-08-14 Wim Taymans <wim@fluendo.com>
13247 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13248 If the parent state change function failed, don't assume we can safely
13249 stop the source, this will be done when the pads are deactivated.
13251 2006-08-14 Wim Taymans <wim@fluendo.com>
13254 * gst/gsttask.c: (gst_task_join):
13257 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13258 (gst_pad_stop_task):
13259 When pad (de)activation failed for some reason, restore the old
13260 activation mode and set the pad to flushing instead of assuming the
13261 pad is deactivated.
13262 If the _task_join() failed, reinstall the task on the pad so that it can
13263 be stopped later and return an error.
13265 2006-08-11 Andy Wingo <wingo@pobox.com>
13268 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13269 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13270 is only for users of API that don't want to see deprecated
13271 functions in the headers; people that want to compile out
13272 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13273 CFLAGS. Fixes the build of multifdsink, or will soon..
13275 2006-08-11 Wim Taymans <wim@fluendo.com>
13277 * docs/gst/gstreamer-sections.txt:
13278 Add GstClockClass vmethod docs.
13281 Mark #endif with comment for associated #if
13283 * gst/gstclock.c: (gst_clock_id_wait):
13285 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13286 most clock implementations.
13288 Flesh out docs about resolution methods.
13289 API: GstClockClass::wait_jitter
13291 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13292 (gst_system_clock_async_thread),
13293 (gst_system_clock_id_wait_jitter_unlocked),
13294 (gst_system_clock_id_wait_jitter):
13295 Use base class wait_jitter variant for improved performance
13296 due to less clock polling.
13298 2006-08-11 Edward Hervey <edward@fluendo.com>
13300 * gst/gst.c: (gst_init_check), (init_post):
13301 Set gst as being initialized before scanning/updating the registry,
13302 since there might be my python plugin loader that calls gst_init() and
13303 we don't want to loop back in.
13306 2006-08-11 Wim Taymans <wim@fluendo.com>
13308 * docs/design/part-qos.txt:
13309 Bring docs in line with the code. Mostly the sign of the jitter was
13310 wrong in the docs. Fixes #349943.
13313 Fix the docs for the jitter.
13315 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13316 (gst_event_parse_tag), (gst_event_new_buffer_size),
13317 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13318 (gst_event_new_seek), (gst_event_parse_seek),
13319 (gst_event_new_navigation):
13320 Make sure the GstStructure has no parent when creating custom
13322 Add some more argument checking so that we avoid 0.0 rates.
13323 Flesh out the docs for the QoS event some more.
13325 2006-08-11 Wim Taymans <wim@fluendo.com>
13327 * docs/gst/gstreamer-sections.txt:
13328 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13329 (ensure_current_registry_forking), (ensure_current_registry),
13330 (parse_one_option), (parse_goption_arg), (gst_deinit),
13331 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13334 Added API and command line option to disable registry forking in
13335 addition to the environment variable.
13336 Constify some static arrays.
13337 Added some more debug.
13338 Don't deinit twice.
13339 API: gst_registry_fork_is_enabled()
13340 API: gst_registry_fork_set_enabled()
13341 API: --gst-disable-registry-fork command line option
13344 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13346 * gst/gst.c: (gst_init):
13347 Fix typo in error message.
13349 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13351 * libs/gst/controller/gstcontroller.h:
13352 fix ABI size-correction
13354 * tests/check/libs/gdp.c: (gst_dp_suite):
13355 make tests that use deprecated API conditional
13357 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13359 * docs/libs/gstreamer-libs-sections.txt:
13360 * libs/gst/controller/gstcontroller.c:
13361 (_gst_controller_get_property), (_gst_controller_set_property),
13362 (_gst_controller_init), (_gst_controller_class_init):
13363 * libs/gst/controller/gstcontroller.h:
13364 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13365 (gst_object_set_control_rate):
13366 API: add gst_object_{s,g}et_control_rate(), add private data section,
13369 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13370 * libs/gst/dataprotocol/dataprotocol.h:
13371 add deprecation guards to make gtk-doc happy and allow disabling cruft
13373 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13375 * tests/check/Makefile.am:
13376 * tests/check/gst/.cvsignore:
13377 Let's enable the new unit test as well.
13379 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13382 * docs/gst/gstreamer-sections.txt:
13383 * gst/gstconfig.h.in:
13384 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13385 (_gst_info_printf_extension_ptr),
13386 (_gst_info_printf_extension_segment):
13387 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13388 register that lets us easily dump GstSegments into debug
13391 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13392 (info_segment_format_printf_extension), (gst_info_suite):
13393 Add simple unit test that logs a bunch of different segments (not
13394 valgrinded at the moment because of leaks in
13395 gst_debug_add_log_function).
13397 2006-08-09 Edward Hervey <edward@fluendo.com>
13399 * libs/gst/base/gstbasetransform.c:
13400 (gst_base_transform_buffer_alloc):
13401 Even if we can't figure out the proper format to request downstream,
13402 call buffer_alloc() downstream with the input parameters without setting
13403 the caps on the srcpad. This will force negotiation in the chain
13407 2006-08-08 Edward Hervey <edward@fluendo.com>
13409 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13410 Unlinking from a pad without a target is now a perfectly valid case
13411 which should NOT raise an assertion.
13412 This case would happen if a linked ghostpad its target set to NULL after
13413 it was previously linked.
13415 2006-08-08 Edward Hervey <edward@fluendo.com>
13417 * tests/check/libs/gdp.c:
13418 Also comment out the test (see below).
13420 2006-08-08 Edward Hervey <edward@fluendo.com>
13422 * tests/check/libs/gdp.c: (gst_dp_suite):
13423 Use the architecture information from config.h and not gcc macros
13424 in order to properly disable a test that fails on PPC64.
13426 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13428 * gst/gstelement.c: (gst_element_remove_pad):
13429 Don't crash printing the warning if the pad has no parent.
13431 2006-08-02 Wim Taymans <wim@fluendo.com>
13433 * libs/gst/dataprotocol/dataprotocol.c:
13434 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13435 (gst_dp_crc), (gst_dp_header_payload_length),
13436 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13437 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13438 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13439 (gst_dp_event_from_packet), (gst_dp_validate_header),
13440 (gst_dp_validate_payload):
13441 Make debug category static
13442 Constify the crc table.
13443 Do some more arg checking in public functions.
13444 Fix some docs and do some small cleanups.
13446 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13447 Add some more checks to see if GDP deals with bogus input.
13449 2006-07-31 Wim Taymans <wim@fluendo.com>
13451 * gst/gstvalue.c: (gst_value_compare_list):
13452 Fix GstValueList comparison code. Fixes #347293.
13454 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13455 Check to test GstValueList comparison.
13457 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13459 * gst/gstelementfactory.c: (gst_element_factory_create):
13460 Remove unnecessary ref/unref pair
13462 * gst/parse/grammar.y:
13463 Make sure to free the parse buffer on all code paths.
13464 Move a g_free up to the error handler where it's easier to see.
13466 * tests/check/gst/gstevent.c: (test_event):
13467 Extending timeout for downstream travelling events to 10 seconds to
13468 hopefully avoid intermittent failure on the buildbots.
13470 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13471 Don't manually set the state of the src element - it will happen as a
13472 natural consequence of the pipeline changing state, and that way it
13473 will do it in the right order too.
13475 2006-07-31 Wim Taymans <wim@fluendo.com>
13477 * libs/gst/base/gstbasetransform.c:
13478 (gst_base_transform_buffer_alloc):
13479 Use OBJECT_LOCK and refcounting to get the pad caps in the
13480 buffer_alloc function because the caps could change while we are
13481 busy with them. Fixes #349105
13483 2006-07-31 Wim Taymans <wim@fluendo.com>
13485 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13486 Protect _PAD_CAPS with OBJECT_LOCK.
13488 2006-07-31 Wim Taymans <wim@fluendo.com>
13490 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13491 (gst_pad_get_property), (gst_pad_activate_pull),
13492 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13493 (gst_pad_set_activate_function),
13494 (gst_pad_set_activatepull_function),
13495 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13496 (gst_pad_set_getrange_function),
13497 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13498 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13499 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13500 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13501 (gst_pad_set_acceptcaps_function),
13502 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13503 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13504 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13505 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13506 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13507 (gst_pad_configure_sink), (gst_pad_configure_src),
13508 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13509 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13510 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13511 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13512 (gst_pad_send_event):
13513 Use _DEBUG_OBJECT when it makes sense.
13514 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13515 Small cleanups and code reflows.
13516 Avoid caps refcounting in _accept_caps.
13517 Refactor alloc_buffer so that the code performed on the peer is in a
13518 separate function. Also if the pad does not implement a buffer alloc
13519 function, we should still check if the pad is flushing before falling
13520 back to the default allocator.
13522 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13524 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13525 Make all uses of identity and fakesink have silent=true to avoid
13526 serialising every passing data structure, which is breaking tests
13527 on FC4 for some unknown reason.
13529 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13531 * gst/parse/Makefile.am:
13532 * gst/parse/grammar.y:
13533 * gst/parse/parse.l:
13534 Reverted previous patch as it required to bump the flex dependency to
13535 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13537 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13539 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13541 * gst/parse/Makefile.am:
13542 * gst/parse/grammar.y:
13543 * gst/parse/parse.l:
13544 push & pop the state of the lexer for reentrant use case
13547 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13549 * libs/gst/base/gstbasesrc.h:
13550 Note in the docs that the ::newsegment vfunc is not actually used by
13553 2006-07-28 Wim Taymans <wim@fluendo.com>
13555 * libs/gst/base/gstcollectpads.c:
13556 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13557 (gst_collect_pads_clear), (gst_collect_pads_flush),
13558 (gst_collect_pads_event), (gst_collect_pads_chain):
13559 When flushing a pad, also clear the queued buffer so that we don't
13560 accidentally use it when we shouldn't.
13561 Fix leaks by inreffing incomming buffer.
13562 Flush out queued buffers in case of errors.
13565 2006-07-28 Wim Taymans <wim@fluendo.com>
13567 * docs/random/phonon-gst:
13568 Random notes about a Phonon backend.
13570 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13572 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13574 * tests/check/libs/gdp.c: (gst_dp_suite):
13575 Take a whack at fixing the ppc compile using a different define to
13576 disable the broken test.
13578 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13579 Remove excess g_print()
13581 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13583 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13584 Oops, meant to uncomment this line too to dampen the noise a bit.
13586 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13588 * gst/parse/grammar.y:
13589 * gst/parse/parse.l:
13590 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13591 (GST_START_TEST), (parse_suite):
13592 Fix some of the leaks exposed by extending the parse-launch testsuite,
13593 and move the 3 I can't figure out into a separate test that won't run
13594 the pipelines unless the appropriate line is uncommented.
13596 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13598 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13599 Requesting 0 bytes before the end of the file should result in
13600 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13603 2006-07-27 Wim Taymans <wim@fluendo.com>
13605 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13606 Fix useless assert, a uint is always positive.
13608 * gst/gststructure.c: (gst_structure_nth_field_name),
13609 (gst_structure_foreach), (gst_structure_map_in_place):
13610 Check input arguments for public functions to avoid obvious crashes.
13612 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13613 * plugins/elements/gstfakesink.h:
13614 Do less useless typechecking.
13616 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13618 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13619 Do not use mmap() by default since there are a number of error
13620 conditions that we would like to handle in a non-fatal way that
13621 will result in a SIGBUS if we use mmap(). Examples: external
13622 devices (USB harddrive, portable music player) being unplugged
13623 while in use; file on mounted CD/DVD that can't be read because
13624 the medium is partly damaged. Fixes #348455 and #348475.
13626 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13629 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13630 rates are a gdouble
13632 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13634 * gst/gstregistry.c:
13635 Move big documentation comment into class section header, so that it
13636 appears in the API docs.
13638 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13640 * docs/gst/gstreamer-sections.txt:
13641 Oops. Commit the docs additions too for new API.
13642 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13644 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13646 * gst/gststructure.c: (gst_structure_id_set),
13647 (gst_structure_id_set_valist):
13648 * gst/gststructure.h:
13649 Add API for setting values into structures without performing
13650 a quark lookup, if the appropriate quark is already known.
13652 API: gst_structure_id_set
13653 API: gst_structure_id_set_valist
13655 * gst/parse/grammar.y:
13656 * gst/parse/parse.l:
13657 Remove some dead code shown by the coverage information.
13658 Don't throw a critical g_warning when encountering a syntax error,
13659 just warn and let the normal error path handle it.
13661 * plugins/elements/gstelements.c:
13662 Bump the rank of filesink up to PRIMARY so that it is preferred over
13663 gnomevfssink for file:// sink uri's
13665 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13666 (GST_START_TEST), (run_delayed_test),
13667 (gst_parse_test_element_base_init),
13668 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13669 (gst_parse_test_element_change_state),
13670 (gst_register_parse_element), (parse_suite):
13671 Beef up the tests for parse syntax to check that more error cases
13672 fail as they are supposed to. Increases the test coverage a bit.
13674 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13676 * docs/manual/basics-elements.xml:
13677 Fix gst_element_link() example.
13680 Mention in API docs that one should usually gst_bin_add()
13681 elements to a bin or pipeline before doing the linking.
13683 2006-07-26 Wim Taymans <wim@fluendo.com>
13685 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13686 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13687 Avoid function call for known types by keeping the buffer and
13688 subbuffer GType global.
13690 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13691 Random silly optimisations in read() path.
13693 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13695 * tools/gst-launch.c: (main):
13696 If the top-level of the parse is a normal bin, it doesn't do the
13697 right logic to run as a top-level element, so place it inside a
13700 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13702 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13703 Remove superfluous g_object_notify() calls, GObject does
13704 that for us automatically.
13706 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13709 on Win32, use dllspec to export the debug category symbols
13711 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13713 * gst/gsttaglist.c: (_gst_tag_initialize):
13714 Allow more than one GST_TAG_IMAGE per taglist.
13716 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13718 * gst/gstminiobject.c:
13720 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13721 (gst_fd_src_create):
13722 log recurring events at LOG level
13723 add more debug for when the fd gets set
13725 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13727 * gst/gstparse.c: (gst_parse_launch):
13728 Also remove reentrance checks if flex is MT safe (#348179)
13729 Fix my empty ChangeLog entry below
13731 2006-07-21 Andy Wingo <wingo@pobox.com>
13733 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13735 * libs/gst/check/Makefile.am
13736 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13737 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13738 * libs/gst/check/gstbufferstraw.h:
13739 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13740 functions, thus proving I am still a GStreamer haxor. OK I wrote
13741 them a long time ago, but anyways.
13743 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13746 * gst/gstparse.c: (gst_parse_launch):
13747 Check for flex version and omit mutex if we have a MT save flex
13750 2006-07-21 Wim Taymans <wim@fluendo.com>
13752 * gst/gstparse.c: (gst_parse_launch):
13753 Protect recursive calls to _parse with a recursive mutex
13756 2006-07-21 Wim Taymans <wim@fluendo.com>
13758 * tests/check/gst/gstpad.c: (GST_START_TEST):
13761 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13763 * gst/gstparse.c: (gst_parse_launch):
13764 Do not hang on recursive usage of gst_parse_launch()
13766 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13768 * gst/gsttaglist.c:
13769 Add some more docs, comments and FIXME 0.11s here and there
13770 and also fix some typos.
13772 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13774 * gst/gstsegment.h:
13775 Convert tabs to spaces for better readability.
13777 2006-07-20 Edward Hervey <edward@fluendo.com>
13779 * tests/check/libs/gdp.c: (gst_dp_suite):
13780 the test_buffer test fails at line 140 on ppc64 at the following
13782 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13783 GST_BUFFER_FLAG_IN_CAPS),
13784 "GST_BUFFER_IN_CAPS flag should have been copied !");
13785 See bug #348114 for more details.
13787 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13789 * docs/pwg/advanced-scheduling.xml:
13791 Fix typos (#348000).
13793 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13795 * docs/pwg/intro-basics.xml:
13796 Fix wrong links (#347927).
13798 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13800 * gst/gstregistry.h:
13801 * gst/gstregistryxml.c: (load_feature),
13802 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13803 * win32/common/config.h:
13804 make --disable-index work (#342564)
13806 2006-07-18 Wim Taymans <wim@fluendo.com>
13808 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13812 The attached patch adds two missing defines to gsttrace.h when tracing
13813 is disabled. It also corrects one existing define.
13816 2006-07-17 Wim Taymans <wim@fluendo.com>
13818 * docs/gst/gstreamer-sections.txt:
13819 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13821 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13822 Add two functions to check and change the SIGSEGV behaviour
13823 when loading plugins.
13824 Don't mess with the SIGSEGV handler when we were told not to.
13826 API: gst_segtrap_is_enabled
13827 API: gst_segtrap_set_enabled
13829 2006-07-14 Wim Taymans <wim@fluendo.com>
13831 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13832 * tests/check/elements/filesrc.c: (GST_START_TEST):
13833 Revert fix for regression in #347408 after release.
13835 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13837 Patch by: Antoine Tremblay <hexa00 at gmail com>
13839 * gst/gstutils.c: (gst_element_unlink):
13840 Free iterator when done (#347311).
13842 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13843 And add a test case for this.
13845 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13848 Bump nano back to CVS
13850 === release 0.10.9 ===
13852 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13855 releasing 0.10.9, "On the road again"
13857 2006-07-13 Wim Taymans <wim@fluendo.com>
13859 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13860 * tests/check/elements/filesrc.c: (GST_START_TEST):
13861 Revert pull-0 fix for release. Disable check. Fixes #347408.
13863 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13865 * libs/gst/dataprotocol/dataprotocol.c:
13866 (gst_dp_event_from_packet_1_0):
13867 Fixes #347337: failure to deserialize event packets with
13868 empty payload (only event type)
13870 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13873 do not install a .c file in the header directory
13875 2006-07-13 Edward Hervey <edward@fluendo.com>
13877 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13878 GhostPad no longer implicitely use the padtemplates of the targets.
13881 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13883 * gst/gstvalue.c: (gst_value_compare_list),
13884 (gst_value_compare_array), (_gst_value_initialize):
13885 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13886 Make GstValueArray comparison be order dependent as designed.
13887 Add checks for value lists and value array comparisons.
13890 2006-07-11 Edward Hervey <edward@fluendo.com>
13892 * gst/gstbin.c: (activate_pads),
13893 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13894 (gst_bin_change_state_func):
13895 (de)activate src pads before calling state_change on the childs.
13896 This is to avoid the case where a src ghostpad is blocked (holding the
13897 stream lock), which would block the deactivation of the ghostpad's
13899 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13900 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13901 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13902 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13903 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13904 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13905 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13906 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13907 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13908 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13909 (gst_ghost_pad_class_init),
13910 (gst_ghost_pad_internal_do_activate_push),
13911 (gst_ghost_pad_internal_do_activate_pull),
13912 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13913 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13914 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13915 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13916 GhostPads now create their internal GstProxyPad at creation (and not
13917 when they're linked, as it was being done previously).
13918 The internal and target pads are linked straight away.
13919 The data will also travel through the other pad in order to make
13920 pad blocking and probes non-hackish (the probe/block now really happens
13921 on the GhostPad and not on the target).
13922 * gst/gstpad.c: (gst_pad_set_blocked_async),
13923 (gst_pad_link_prepare), (gst_pad_push_event):
13924 Remove previous ghostpad cruft.
13925 * gst/gstutils.c: (gst_pad_add_data_probe),
13926 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13927 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13928 (gst_pad_remove_buffer_probe):
13929 Remove previous ghost pad cruft.
13930 Added more detailed debug statements.
13931 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13932 Fix the testsuite for refcounting changes.
13933 The comments about who has references were correct, but the refcount
13934 being checked wasn't the same (!?!).
13938 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13940 * docs/gst/gstreamer-sections.txt:
13941 * gst/gstconfig.h.in:
13942 More docs for configuration options, add docs to gtk-doc.
13944 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13947 * gst/gstconfig.h.in:
13948 * win32/common/config.h:
13949 Fix build when disabling tracing (fixes #344016). Also start to document
13950 the defines that disable the sub-systems.
13952 2006-07-10 Edward Hervey <edward@fluendo.com>
13954 * gst/gst.c: (ensure_current_registry_forking):
13955 let's make valgrind happy...
13957 2006-07-09 Wim Taymans <wim@fluendo.com>
13959 * gst/gstelement.c: (activate_pads),
13960 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13961 Better pad activation code: Reset the collect value too on resync.
13964 2006-07-09 Wim Taymans <wim@fluendo.com>
13966 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13967 (gst_pad_activate_push):
13968 Use some more macros where it makes sense.
13969 Allow pad mode switching instead of asserting. When a pad
13970 is activated in one mode and we activate it in another,
13971 deactivate it first before activating it in a different mode.
13974 2006-07-08 Andy Wingo <wingo@pobox.com>
13976 * tools/gst-launch.c (main): Handle err == NULL.
13978 * gst/gst.c (init_post, ensure_current_registry)
13979 (ensure_current_registry_forking)
13980 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13981 factoring out the registry scanning into separate functions. Don't
13982 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13983 Better environment var name/interface suggestions accepted.
13985 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13987 * gst/gstobject.c: (gst_object_set_name_default),
13988 (gst_object_set_name):
13989 Random micro-optimisation: don't use a hash table
13990 with strings as keys and the usual strdup/strcmp
13991 involved, but rather just use the GQuark of the
13992 type name as key, since it needs to be looked up
13993 anyway to get the type name string.
13995 * tests/check/gst/gstobject.c: (GST_START_TEST):
13998 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14000 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14001 (gst_bin_iterate_all_by_interface):
14002 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14003 GTypes are gulongs and thus the top 4 bytes might be cut
14004 off on some platforms when doing GPOINTER_TO_INT, leading
14005 to invalid GTypes and bad things happening (see RH bug #179654).
14006 Also add a check to make sure the type passed in is really
14009 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14014 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14018 * gst-element-check.m4:
14019 * gst-element-check.m4.in:
14020 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14021 instead of the unversioned gst-inspect (#324176, #168659).
14023 2006-07-06 Wim Taymans <wim@fluendo.com>
14025 * gst/gstmessage.h:
14026 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14029 2006-07-06 Wim Taymans <wim@fluendo.com>
14031 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14032 (gst_base_src_wait), (gst_base_src_update_length),
14033 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14034 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14035 (gst_base_src_loop), (gst_base_src_start),
14036 (gst_base_src_activate_pull):
14038 blocksize == 0 now means the default blocksize when working in push
14040 Remove some pointless asserts in _wait function.
14041 Fix offset/length calculations and EOS handling. We can now pull 0
14042 bytes as well, which is allowed.
14043 use _check_get_range() to decide if we can operate in _pull based
14045 Fix refcounting leak when check_get_range function was not
14047 API GstBaseSrc::blocksize range can be 0 too now (default)
14049 * tests/check/elements/filesrc.c: (GST_START_TEST),
14051 Added check to test _get_range() behaviour.
14053 2006-07-06 Wim Taymans <wim@fluendo.com>
14055 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14056 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14057 (gst_pad_pull_range):
14059 Lots of comments and docs added to the pad functions.
14060 Flesh out the expected behaviour of the get_range() functions.
14062 2006-07-06 Wim Taymans <wim@fluendo.com>
14067 * gst/gstiterator.h:
14071 Remove comma at end of enumerator list.
14073 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14075 * win32/common/libgstbase.def:
14076 * win32/common/libgstdataprotocol.def:
14077 * win32/common/libsgtreamer.def:
14078 Add new exported functions.
14080 2006-07-05 Wim Taymans <wim@fluendo.com>
14082 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14083 Add some more docs here and there.
14085 2006-07-05 Wim Taymans <wim@fluendo.com>
14087 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14088 (gst_base_sink_loop), (gst_base_sink_get_position):
14089 When operating in pull mode update the offset so that we
14092 2006-07-05 Wim Taymans <wim@fluendo.com>
14094 * gst/gstregistryxml.c: (read_string):
14095 Avoid strdup. (will happen in libxml, but hey!)
14098 Add some more docs.
14100 2006-07-05 Wim Taymans <wim@fluendo.com>
14102 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14103 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14104 (gst_buffer_suite):
14105 No point in checking if the size of the subbuffer > 0, the
14106 code handles it correclty as demonstrated by unit test.
14107 Also add a unit test for the zero sized _new_and_alloc and
14108 _copy. Fixes #346663.
14110 2006-07-05 Wim Taymans <wim@fluendo.com>
14112 * libs/gst/base/gstbasetransform.c:
14113 (gst_base_transform_prepare_output_buffer),
14114 (gst_base_transform_buffer_alloc),
14115 (gst_base_transform_handle_buffer):
14116 Make sure the buffer we pass to transform_ip has a refcount of
14117 1 and thus is writable. Fixes #343196
14119 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14121 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14122 (gst_file_src_init), (gst_file_src_set_property),
14123 (gst_file_src_get_property), (gst_file_src_map_region):
14124 * plugins/elements/gstfilesrc.h:
14125 Add "sequential" property, off by default, to use madvise and hint
14126 to the kernel that sequential access is desired.
14127 Touch all retrieved pages by default to ensure they are pulled
14128 into memory. (Closes #345720)
14130 2006-07-03 Wim Taymans <wim@fluendo.com>
14132 * docs/design/part-block.txt:
14133 * docs/design/part-dynamic.txt:
14134 Small docs updates.
14136 2006-07-03 Wim Taymans <wim@fluendo.com>
14138 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14139 (gst_caps_unref), (gst_static_caps_get),
14140 (gst_caps_append_structure):
14141 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14142 Use GSlice when the glib we build against is >= 2.10
14144 2006-07-03 Wim Taymans <wim@fluendo.com>
14146 * gst/gstelement.c: (gst_element_pads_activate):
14147 Small cleanup in pad activation code.
14149 2006-07-03 Wim Taymans <wim@fluendo.com>
14151 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14153 * gst/gst-i18n-app.h:
14154 * gst/gst-i18n-lib.h:
14155 * tools/gst-inspect.c: (print_signal_info):
14156 The attached patch will make the inclusion of gettext.h unconditional in
14157 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14158 libintl.h in tools/gst-inspect.c.
14159 This allows use of --disable-nls again and fixes #344642.
14161 2006-07-03 Edward Hervey <edward@fluendo.com>
14163 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14164 Implement pad blocking on events according to part-block.txt.
14165 More comments on behaviour.
14166 * tests/check/gst/gstevent.c: (test_event):
14167 Send event to peer pad of blocked pad (else it will block).
14169 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14171 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14172 (gst_check_run_suite):
14173 if we get the wrong message, give us the types as string
14174 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14176 * tests/check/elements/filesrc.c: (GST_START_TEST):
14177 add a test for trying to open a non-existing file
14179 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14181 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14182 add a test for adding self
14184 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14186 * libs/gst/check/gstcheck.h:
14187 add some assert_ as alias for fail_unless_*
14188 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14189 increase test coverage
14191 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14194 include lcov.mak for lcov coverage generation
14195 * tools/Makefile.am:
14198 2006-07-02 Edward Hervey <edward@fluendo.com>
14200 * tests/check/elements/.cvsignore:
14203 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14206 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14207 * tests/check/Makefile.am:
14208 clean up gcov files
14210 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14212 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14213 remove gst_caps_simplify; it was not declared and not used
14214 and deprecated in 0.8
14216 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14218 * docs/faq/gst-uninstalled:
14219 don't put empty paths on PYTHONPATH
14220 * docs/gst/gstreamer-sections.txt:
14221 remove some symbols that are not there
14223 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14225 * gst/gstcaps.c: (gst_caps_compare_structures):
14227 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14228 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14231 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14233 * libs/gst/dataprotocol/Makefile.am:
14234 build dataprotocol test by linking to the lib, instead of
14235 compiling the source, so we get coverage
14236 * tests/check/Makefile.am:
14237 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14238 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14239 add a test for filesrc
14241 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14243 * tests/check/gst/gststructure.c: (GST_START_TEST),
14244 (gst_structure_suite):
14245 Push coverage from 59.04% to 70.00%
14247 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14249 * tests/check/Makefile.am:
14250 gst-inspect every element; this makes sure that we also get
14251 coverage on element's get/set functions
14253 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14256 set CFLAGS and friends to -O0 if gcov is being used
14259 * libs/gst/base/Makefile.am:
14260 * libs/gst/check/Makefile.am:
14261 * libs/gst/controller/Makefile.am:
14262 * libs/gst/dataprotocol/Makefile.am:
14263 * libs/gst/net/Makefile.am:
14264 * plugins/elements/Makefile.am:
14265 * plugins/indexers/Makefile.am:
14266 add makefile rules to generate gcov data and clean up
14267 * tests/check/Makefile.am:
14268 add a coverage target that generates an html overview
14271 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14273 * tests/check/elements/fakesink.c:
14274 * tests/check/elements/fakesrc.c:
14275 * tests/check/elements/fdsrc.c:
14276 * tests/check/elements/identity.c:
14277 * tests/check/generic/sinks.c: (gst_sinks_suite):
14278 * tests/check/generic/states.c:
14279 * tests/check/gst/gst.c:
14280 * tests/check/gst/gstabi.c:
14281 * tests/check/gst/gstbin.c:
14282 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14283 * tests/check/gst/gstbus.c: (gst_bus_suite):
14284 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14285 * tests/check/gst/gstelement.c:
14286 * tests/check/gst/gstevent.c: (gst_event_suite):
14287 * tests/check/gst/gstghostpad.c:
14288 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14289 * tests/check/gst/gstmessage.c: (gst_message_suite):
14290 * tests/check/gst/gstminiobject.c:
14291 * tests/check/gst/gstobject.c:
14292 * tests/check/gst/gstpad.c:
14293 * tests/check/gst/gstpipeline.c:
14294 * tests/check/gst/gstplugin.c:
14295 * tests/check/gst/gstquery.c: (gst_query_suite):
14296 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14297 * tests/check/gst/gststructure.c:
14298 * tests/check/gst/gstsystemclock.c:
14299 * tests/check/gst/gsttag.c:
14300 * tests/check/gst/gsttask.c: (gst_task_suite):
14301 * tests/check/gst/gstutils.c:
14302 * tests/check/gst/gstvalue.c:
14303 * tests/check/libs/adapter.c:
14304 * tests/check/libs/basesrc.c:
14305 * tests/check/libs/collectpads.c:
14306 * tests/check/libs/controller.c:
14307 * tests/check/libs/gdp.c: (gst_dp_suite):
14308 * tests/check/libs/gstnetclientclock.c:
14309 * tests/check/libs/gstnettimeprovider.c:
14310 * tests/check/libs/libsabi.c: (libsabi_suite):
14311 * tests/check/libs/typefindhelper.c:
14312 * tests/check/pipelines/cleanup.c:
14313 * tests/check/pipelines/parse-launch.c:
14314 * tests/check/pipelines/simple-launch-lines.c:
14315 * tests/check/pipelines/stress.c: (stress_suite):
14318 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14320 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14321 * libs/gst/check/gstcheck.h:
14322 create a macro and function so that the simple unit test
14323 case can be just one macro to create main()
14325 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14327 * gst/gstbin.c: (gst_bin_restore_thyself):
14328 * gst/gstxml.c: (gst_xml_make_element):
14329 Fix deserialisation from XML. Set parent manually
14330 instead of using gst_bin_add(), since gst_bin_add()
14331 will unlink all pads of the element being added.
14334 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14336 Patch by: Peter Kjellerstedt <pkj at axis com>
14338 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14339 Fix missing g_strdup() and double free when using the
14340 --gst-plugin-load command line option (#346097).
14342 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14345 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14347 * libs/gst/net/gstnetclientclock.c:
14348 * libs/gst/net/gstnettimeprovider.c:
14349 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14351 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14353 * docs/manual/advanced-dataaccess.xml:
14354 Fix buffer probe example compilation in
14357 2006-06-22 Edward Hervey <edward@fluendo.com>
14359 * gst/gstelement.c: (gst_element_pads_activate):
14360 We need to deactivate src pads first and then sink pads.
14361 The reason is the src pads might be blocking while holding the streaming
14362 lock, so we need to deactivate them first so that deactivating the sink
14363 pads doesn't block (since it will require the streaming lock).
14365 2006-06-22 Wim Taymans <wim@fluendo.com>
14367 * libs/gst/base/gstbasetransform.c:
14368 (gst_base_transform_buffer_alloc):
14369 Forgot to remove two unneeded unrefs.
14370 Simplify a check _is_equal allready checks the obvious case.
14372 2006-06-22 Wim Taymans <wim@fluendo.com>
14374 * docs/design/part-block.txt:
14375 Some docs about what pad_block should do.
14377 2006-06-22 Wim Taymans <wim@fluendo.com>
14379 * gst/gstcaps.c: (gst_caps_replace):
14380 Fix crasher when passed NULL. Doc clarification.
14381 Optimize for the trivial case.
14383 * gst/gstpipeline.c: (gst_pipeline_change_state):
14386 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14387 Small documentation cleanup.
14389 * libs/gst/base/gstbasetransform.c:
14390 (gst_base_transform_buffer_alloc):
14391 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14392 is what we need and it avoids a whole lot of redundant
14393 refcount operations.
14395 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14397 Patch by: Philip Jägenstedt <philip at lysator liu se>
14399 * docs/manual/advanced-dataaccess.xml:
14400 Fix 'Embedding static elements' section to use
14401 GST_PLUGIN_DEFINE_STATIC (#345607).
14403 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14405 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14406 Attempt to 'fix' spuriously failing test case: it seems like the
14407 timeout of half a second is simply too small when the system is under
14408 load otherwise, and the timeout doesn't really seem to serve any
14409 particular purpose here. Give the pipeline a few seconds to preroll
14410 first, and then give it another half a second to go from PAUSED to
14411 PLAYING and marshal the message into the main thread.
14413 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14415 * tools/gst-feedback-m.m:
14416 Don't only use unversioned tools, try versioned tools as well
14419 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14421 * gst/gstbus.c: (gst_bus_class_init):
14422 Fix some typos, make docs more explicit.
14424 2006-06-20 Wim Taymans <wim@fluendo.com>
14426 * tests/check/gst/gstghostpad.c: (block_callback),
14427 (GST_START_TEST), (gst_ghost_pad_suite):
14428 Added some more ghostpad tests, mainly blocking
14431 2006-06-16 Wim Taymans <wim@fluendo.com>
14433 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14434 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14435 (gst_file_sink_event), (gst_file_sink_render):
14436 * plugins/elements/gstfilesink.h:
14437 Check if we can seek in the file instead of assuming
14438 we always can. Post an error when we are asked to seek in a
14439 non-seekable file (like a fifo). Fixes #343312.
14442 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14444 * tools/gst-launch.1.in:
14445 Un-garble (fourcc) bit in filtered caps section.
14447 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14449 * docs/manual/advanced-autoplugging.xml:
14450 * docs/manual/basics-helloworld.xml:
14451 * docs/manual/highlevel-components.xml:
14452 Don't leak bus reference in sample code.
14454 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14457 Add default for new --enable-plugin-docs switch.
14460 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14463 * docs/Makefile.am:
14464 Use new ENABLE_PLUGIN_DOCS conditional.
14466 2006-06-14 Wim Taymans <wim@fluendo.com>
14468 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14469 Make it clear with a FIXME and a real define what the #if 0
14470 previously disabled.
14472 2006-06-14 Wim Taymans <wim@fluendo.com>
14474 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14475 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14476 * libs/gst/base/gstbasetransform.c:
14477 (gst_base_transform_sink_eventfunc):
14478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14479 Don't randomly and silently reset a segment when the format
14480 changes as this is a bug somewhere upstream. Fixes #330379.
14482 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14484 Patch by: Wouter Paesen <wouter at kangaroot net>
14486 * libs/gst/controller/gstcontroller.c:
14487 (gst_controlled_property_new):
14488 Fix controlling of float properties (#344849).
14490 * tests/check/libs/controller.c:
14491 (gst_test_mono_source_get_property),
14492 (gst_test_mono_source_set_property),
14493 (gst_test_mono_source_class_init), (GST_START_TEST):
14494 While we're at it, add some float stuff to unit test.
14496 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14499 * docs/images/gdp-header.svg:
14501 * docs/libs/Makefile.am:
14502 * docs/libs/gdp-header.png:
14503 * libs/gst/dataprotocol/dataprotocol.c:
14504 add it to the API docs
14505 * docs/manual/intro-motivation.xml:
14508 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14510 * gst/gst.c: (scan_and_update_registry), (init_post):
14511 If the fork()'ed child process can't write the updated registry cache
14512 file to disk for some reason, make it exit with a failure exit code,
14513 so that the parent can then re-scan the plugins itself and update the
14514 registry structures in memory and work with that (rather than failing
14515 when creating elements because seemingly no plugins are available).
14516 Refactor registry scanning code into separate function for this and
14517 also separate fork() and non-fork() code paths. Fixes #344748.
14519 2006-06-13 Wim Taymans <wim@fluendo.com>
14521 * docs/manual/advanced-dataaccess.xml:
14522 Fix wrong PluginDesc. Fixes #344755.
14524 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14526 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14527 Fix silly bug that prevented us from creating
14528 ~/.gstreamer-0.10 and writing the registry in one
14529 go (the first call to g_mkstemp() would overwrite the
14530 placeholder in the template string, so the second call
14531 to g_mkstemp() after creating the missing directory
14532 would then error out with 'invalid argument').
14534 2006-06-13 Edward Hervey <edward@fluendo.com>
14536 * gst/gst.c: (init_post):
14539 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14541 * gst/glib-compat-private.h:
14542 * gst/glib-compat.c:
14543 * gst/glib-compat.h:
14544 * gst/gstvalue.c: (gst_value_serialize_flags):
14545 remove GLib 2.6 compatibility code
14547 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14549 * gst/parse/Makefile.am:
14550 Fix build with 'make -j N' even more (#340016).
14552 2006-06-12 Wim Taymans <wim@fluendo.com>
14554 * docs/gst/gstreamer-sections.txt:
14557 2006-06-12 Wim Taymans <wim@fluendo.com>
14559 * gst/gstsegment.c: (gst_segment_set_duration),
14560 (gst_segment_set_last_stop), (gst_segment_set_seek),
14561 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14562 (gst_segment_to_running_time), (gst_segment_clip):
14563 Use G_UNLIKELY to help the compiler a bit.
14565 2006-06-12 Wim Taymans <wim@fluendo.com>
14567 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14569 * gst/gstevent.c: (gst_event_get_type):
14570 * gst/gstmessage.c:
14571 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14573 constify quark registration strings. Fixes #344115
14574 Avoid unneeded type checking is _pad_push() by internally
14575 calling gst_pad_chain_unchecked().
14577 2006-06-12 Wim Taymans <wim@fluendo.com>
14579 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14580 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14581 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14582 (gst_buffer_is_span_fast), (gst_buffer_span):
14583 Init _type for consistency.
14584 Use _FLAGS macro to avoid type check.
14585 Avoid unneeded type checks in subbufer code.
14587 2006-06-12 Wim Taymans <wim@fluendo.com>
14589 * gst/gst.c: (gst_debug_help):
14590 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14591 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14592 (gst_plugin_feature_list_free):
14593 * gst/gstregistry.c: (gst_registry_add_plugin),
14594 (gst_registry_add_feature), (gst_registry_plugin_filter),
14595 (gst_registry_feature_filter), (gst_registry_find_plugin),
14596 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14597 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14598 * gst/gstregistryxml.c: (load_feature),
14599 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14600 * gst/gstminiobject.c: (gst_mini_object_unref),
14601 (gst_mini_object_replace), (gst_value_mini_object_free),
14602 (gst_value_mini_object_copy):
14603 Use _CAST macros to avoid unneeded type checking.
14604 Added some more G_UNLIKELY.
14606 2006-06-12 Wim Taymans <wim@fluendo.com>
14609 Avoid unneeded type checking.
14610 API: GST_BUFFER_IS_DISCONT
14612 * gst/gstminiobject.h:
14613 Avoid type check in flag accessor.
14615 * gst/gstelementfactory.h:
14617 * gst/gstpluginfeature.h:
14619 API: GST_ELEMENT_FACTORY_CAST
14620 API: GST_PLUGIN_CAST
14621 API: GST_PLUGIN_FEATURE_CAST
14623 2006-06-12 Wim Taymans <wim@fluendo.com>
14625 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14626 (gst_object_unref):
14627 Add G_UNLIKELY in type registration.
14628 Avoid type check in _ref/_unref since that is also
14631 2006-06-12 Wim Taymans <wim@fluendo.com>
14633 * gst/gsterror.c: (gst_g_error_get_type):
14634 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14635 (gst_static_pad_template_get_type):
14636 * gst/gsttaglist.c: (gst_tag_list_get_type):
14637 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14638 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14639 * gst/gsturi.c: (gst_uri_handler_get_type):
14640 * gst/gstvalue.c: (gst_date_get_type):
14641 * gst/gstxml.c: (gst_xml_get_type):
14642 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14643 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14644 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14645 Add G_UNLIKELY in type registration.
14647 2006-06-12 Wim Taymans <wim@fluendo.com>
14649 * tools/gst-inspect.c: (print_signal_info):
14650 Properly print enum values.
14652 2006-06-12 Wim Taymans <wim@fluendo.com>
14654 * gst/gstinfo.c: (gst_debug_set_active),
14655 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14657 Add some G_[UN]LIKELY.
14658 Maintain __gst_debug_min to avoid formatting the arguments of
14659 debug messages that will be dropped anyway to avoid a lot of
14660 overhead from the debugging system.
14662 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14665 * po/POTFILES.skip:
14666 add missing files containing translatable strings, tell intltool about
14669 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14671 * tests/check/libs/.cvsignore:
14672 add test-binary to ignore list
14674 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14676 * docs/libs/gstreamer-libs-docs.sgml:
14677 reorder (put dp into a chapter) and indent
14679 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14684 === release 0.10.8 ===
14686 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14689 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14691 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14693 * gst/gst.c: (init_post):
14694 move pid declaration to declaration block
14696 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14698 * gst/gst.c: (init_post):
14699 use _exit() instead of exit() in our forked child; this ensures
14700 that none of the registered exit handlers from whatever is using
14701 GStreamer get executed. This fixes gnome-mixer-applet failing
14702 to load, because ORBit would shut down.
14703 Spotted by: Edward Hervey <edward@fluendo.com>
14704 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14707 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14712 === release 0.10.7 ===
14714 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14717 releasing 0.10.7, "Soepeke, ik zie ou"
14719 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14742 * win32/common/config.h:
14743 0.10.6.2 prerelease
14745 2006-06-07 Wim Taymans <wim@fluendo.com>
14747 * gst/gstindex.c: (gst_index_gtype_resolver):
14748 * tools/gst-xmlinspect.c: (print_plugin_info):
14749 Fix leak spotted by coverity checker. Fixes #343827
14750 Fix another other leak found by paolo borelli.
14752 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14754 * libs/gst/dataprotocol/dataprotocol.c:
14755 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14756 (gst_dp_version_get_type), (gst_dp_init),
14757 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14758 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14759 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14760 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14761 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14762 (gst_dp_packetizer_free):
14763 * libs/gst/dataprotocol/dataprotocol.h:
14764 API: add a GstDPPacketizer object, and create/free functions
14765 API: add GstDPVersion enum
14766 Add 1.0 event function that uses the string serialization
14767 Serialize more useful buffer flags
14770 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14772 * tests/check/Makefile.am:
14773 * tests/check/gst/gstabi.c:
14774 * tests/check/gst/struct_ppc64.h:
14775 * tests/check/libs/libsabi.c:
14776 * tests/check/libs/struct_ppc64.h:
14777 add ppc64 structure sizes
14779 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14781 * tests/check/Makefile.am:
14782 * tests/check/gst/gstabi.c:
14783 * tests/check/gst/struct_x86_64.h:
14784 * tests/check/libs/libsabi.c:
14785 * tests/check/libs/struct_x86_64.h:
14786 generate and add structure size lists for x86_64
14788 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14790 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14791 * libs/gst/check/gstcheck.h:
14792 factor out the method from tests that checks size of structures,
14793 and add code to generate the header containing these sizes
14794 * tests/check/gst/gstabi.c: (GST_START_TEST):
14795 * tests/check/gst/struct_i386.h:
14796 * tests/check/libs/libsabi.c: (GST_START_TEST):
14797 * tests/check/libs/struct_i386.h:
14800 2006-06-06 Michael Smith <msmith@fluendo.com>
14802 * gst/gstsegment.h:
14803 Don't use c++-style comments, fixes #343929
14805 2006-06-05 Edward Hervey <edward@fluendo.com>
14808 plugin_paths is not used if we build without registry support.
14810 * gst/gstsegment.c: (gst_segment_copy):
14811 _copy() was always returning NULL...
14813 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14815 * libs/gst/dataprotocol/dataprotocol.c:
14816 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14817 (gst_dp_packet_from_event):
14818 factor out CRC code
14820 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14822 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14823 make sure we unset caps
14825 2006-06-02 Michael Smith <msmith@fluendo.com>
14827 * libs/gst/check/gstcheck.c: (gst_check_init),
14828 (gst_check_chain_func):
14829 * libs/gst/check/gstcheck.h:
14830 Add a cond/mutex to the check support lib, signal this whenever we
14831 add to the buffers list. This will allow tests to not busy-wait on
14834 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14836 * libs/gst/dataprotocol/dataprotocol.c:
14837 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14838 (gst_dp_packet_from_event):
14839 factor out some common header init code
14841 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14843 * docs/libs/gstreamer-libs-sections.txt:
14844 * docs/libs/tmpl/gstdataprotocol.sgml:
14845 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14846 * libs/gst/dataprotocol/dataprotocol.h:
14847 API: make gst_dp_crc() public
14849 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14851 * plugins/indexers/gstindexers.c: (plugin_init):
14852 conditionally register fileindexer (fixes #343598)
14854 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14856 * gst/gsttagsetter.h:
14857 Can't cast ifaces to a class
14859 * libs/gst/net/gstnetclientclock.h:
14860 * libs/gst/net/gstnettimeprovider.h:
14861 * plugins/elements/gstfakesink.h:
14862 * plugins/elements/gstfakesrc.h:
14863 * plugins/elements/gstfdsink.h:
14864 * plugins/elements/gstfdsrc.h:
14865 * plugins/elements/gstfilesink.h:
14866 * plugins/elements/gstfilesrc.h:
14867 * plugins/elements/gstidentity.h:
14868 * plugins/elements/gstqueue.h:
14869 * plugins/elements/gsttee.h:
14870 * plugins/indexers/gstfileindex.c:
14871 * plugins/indexers/gstmemindex.c:
14872 * tests/old/examples/plugins/example.h:
14873 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14875 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14877 * libs/gst/dataprotocol/dataprotocol.c:
14878 (gst_dp_header_from_buffer):
14879 make sure we zero the whole ABI-compatible area
14881 2006-06-01 Wim Taymans <wim@fluendo.com>
14883 Patch by: Alessandro Decina <alessandro at nnva dot org>
14885 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14886 Make sure the EOS flag is cleared from pads after a flush
14887 or stop. Fixes #343538.
14889 * tests/check/libs/collectpads.c: (GST_START_TEST),
14890 (gst_collect_pads_suite):
14891 Added test for collectpads reusage after EOS.
14893 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14896 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14897 * win32/common/libgstbase.def:
14898 export gst_collect_pads_set_flushing
14899 * win32/common/libgstreamer.def:
14900 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14901 gst_value_fraction_multiply
14902 * win32/vs6/gst_inspect.dsp:
14903 add a link to intl.lib
14905 2006-05-30 Wim Taymans <wim@fluendo.com>
14907 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14908 (gst_collect_pads_chain):
14909 Handle the case where a pad is removed from the collection
14910 that could cause the other pads to become collectable.
14912 2006-05-30 Wim Taymans <wim@fluendo.com>
14914 * gst/gstelement.c:
14915 Clarify the use of _release_request_pad() and
14916 _get_request_pad() a bit better.
14918 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14919 (gst_adapter_take_buffer):
14920 Fix some doc and comment typos.
14922 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14924 * docs/gst/gstreamer-sections.txt:
14925 * docs/libs/gstreamer-libs-sections.txt:
14926 add declared symbols
14928 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14930 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14931 Add debug that can be enabled using a #define at the top of the file,
14932 for dumping stats about how late/early we were when waking up from
14933 waiting on the clock.
14935 2006-05-30 Wim Taymans <wim@fluendo.com>
14937 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14938 When rebuilding the pad list, don't leak the previous list.
14940 2006-05-30 Wim Taymans <wim@fluendo.com>
14942 Patch by: Lutz Mueller <lutz at topfrose dot de>
14944 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14945 (gst_base_src_get_query_types), (gst_base_src_update_length):
14946 Publish supported query types.
14947 Update last_stop field in get_range mode so the position
14948 query works. Fixes #342321.
14950 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14952 * docs/gst/gstreamer-sections.txt:
14953 * gst/gsttaglist.c: (_gst_tag_initialize):
14954 * gst/gsttaglist.h:
14955 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14957 2006-05-30 Wim Taymans <wim@fluendo.com>
14959 Patch by: Alessandro Decina <alessandro at nnva dot org>
14961 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14962 Unlock mutex when removing an unknown pad.
14965 * tests/check/Makefile.am:
14966 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14967 (push_event), (setup), (teardown), (GST_START_TEST),
14968 (gst_collect_pads_suite), (main):
14969 Added collecpads check, disabled for now as check crashes for
14972 2006-05-29 Wim Taymans <wim@fluendo.com>
14974 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14975 Don't leak pads lists.
14977 2006-05-29 Wim Taymans <wim@fluendo.com>
14979 * docs/libs/gstreamer-libs-sections.txt:
14980 * libs/gst/base/gstcollectpads.c:
14981 (gst_collect_pads_set_flushing_unlocked),
14982 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14983 (gst_collect_pads_stop):
14984 * libs/gst/base/gstcollectpads.h:
14985 API: gst_collect_pads_set_flushing()
14986 Added api to set the pads to flushing, useful for seeking
14987 code in elements using collectpads.
14988 Clear segment when receiving a flush.
14990 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14992 * gst/gst.c: (add_path_func), (init_post):
14993 Don't scan registry paths passed via --gst-plugin-path immediately
14994 (will crash, because absolutely nothing is set up and no types are
14995 registered etc.); do this later in init_post(). Fixes #343057.
14997 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14999 * gst/gst.c: (init_post):
15000 if we have fork, fork while reading/rebuilding the registry
15001 so the parent doesn't take the hit of having all plugins loaded
15002 in memory. Fixes #342777.
15004 Check if we have fork()
15005 * win32/common/config.h.in:
15008 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15010 * plugins/elements/gstelements.c:
15011 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15012 (gst_file_src_init), (gst_file_src_set_property),
15013 (gst_file_src_get_property), (gst_file_src_start):
15014 * plugins/elements/gstfilesrc.h:
15015 API: GstFileSrc::use-mmap
15017 Add a use-mmap property to enable easier testing of all code paths.
15018 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15019 in the absence of gnomevfssrc. (Closes #340501)
15021 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15023 * tools/gst-inspect.c:
15024 Add missing include, removes warning of ngettext not being defined on
15027 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15029 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15030 Handle NULL input and output pointers silently as a failed conversion,
15031 rather than g_warnings.
15033 2006-05-25 Wim Taymans <wim@fluendo.com>
15035 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15036 Initialize variable before using. Fixes #342820.
15038 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15040 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15041 Fix off-by-one bug that would only allow peeks of N-1 bytes
15042 from the start even if the buffer to typefind on contains
15043 in fact N bytes of data (makes vorbis typefinding from a
15044 vorbis identification header buffer work).
15046 * tests/check/Makefile.am:
15047 * tests/check/libs/.cvsignore:
15048 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15049 (gst_typefindhelper_suite), (main), (foobar_typefind),
15051 Add very basic unit test for gst_type_find_helper_for_buffer()
15052 that checks for the problem fixed above.
15054 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15056 * tools/gst-inspect.c: (print_interfaces),
15057 (print_element_properties_info), (print_element_list), (main):
15058 add more translatable strings
15060 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15062 Patch by: Julien Moutte <julien at moutte net>
15064 * docs/gst/gstreamer-sections.txt:
15065 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15067 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15068 (gst_fake_sink_preroll):
15069 * plugins/elements/gstfakesink.h:
15070 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15072 2006-05-23 Wim Taymans <wim@fluendo.com>
15074 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15076 Added _CUSTOM error and success GstFlowReturn that can be
15077 used be elements internally.
15078 Added macro to check for SUCCESS flowreturns.
15079 API: GST_FLOW_CUSTOM_SUCCESS
15080 API: GST_FLOW_CUSTOM_ERROR
15081 API: GST_FLOW_IS_SUCCESS
15083 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15084 Added check for GstFlowReturn sanity.
15086 2006-05-23 Wim Taymans <wim@fluendo.com>
15088 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15090 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15091 (gst_collect_pads_event):
15092 clear/reset segment info in FLUSH_STOP.
15095 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15097 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15098 (gst_collect_pads_check_collected):
15099 Flush queued buffer on _stop(), fixes playing again (#342454)
15101 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15103 * tests/check/gst/gststructure.c: (GST_START_TEST),
15104 (gst_structure_suite):
15105 add a test for a complete structure
15107 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15109 * docs/faq/developing.xml:
15110 * docs/faq/faq.xml:
15111 * docs/faq/troubleshooting.xml:
15112 * docs/faq/using.xml:
15113 Some minor FAQ updates that won't change the fact that
15114 our FAQ is badly structured, full of information hardly
15115 anyone new to GStreamer needs to know and lacking lots
15116 of information people constantly ask for.
15118 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15120 * gst/gstpad.c: (gst_pad_set_caps):
15121 Short-circuit gst_pad_set_caps if setting the existing
15122 caps pointer again, and avoid printing debug and
15123 reffing/unreffing the caps.
15125 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15126 There's actually no need to set the caps before pushing -
15127 the acceptcaps method will handle it anyway.
15129 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15131 * docs/gst/gstreamer-sections.txt:
15132 * win32/common/libgstreamer.def:
15133 * gst/gstutils.c: (gst_element_seek_simple):
15135 API: add gst_element_seek_simple() (#342238).
15137 2006-05-18 Edward Hervey <edward@fluendo.com>
15139 * gst/gsttypefind.c: (gst_type_find_get_type):
15140 * gst/gsttypefind.h:
15141 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15142 registered for GstTypeFind pointers. This allows wrapping the structure
15143 in bindings (i.e. gst-python).
15145 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15147 * gst/gsttagsetter.c:
15148 Docs additions and fixes (see #339918).
15150 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15152 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15153 The caps intersection algorithm can produce multiple copies of the
15154 caps. Until that is fixed, we need to simplify the result to be
15155 sure whether the allowed caps are fixed or not.
15157 * plugins/elements/gstqueue.c: (gst_queue_init),
15158 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15159 (gst_queue_push_one):
15160 Proxied buffer alloc should not set the caps on the source pad.
15161 When pushing buffers, we always accept the caps change that triggers.
15162 This prevents negotiation errors caused by caps changing mid-stream
15163 and then being refused on our source pad (because upstream is now
15164 refusing those caps).
15166 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15168 * tests/examples/helloworld/helloworld.c: (main):
15169 Must plug audioconvert and audioresample between decoder
15172 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15174 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15175 (load_feature), (load_plugin):
15176 Allow empty strings for some of the plugin fields so we don't
15177 drop valid plugin entries that were written out correctly
15180 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15182 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15183 Use g_remove and g_rename instead of remove and rename that don't
15184 handle utf8 characters. rename was failing for users who had specific
15185 characters in their name then the registry was built at each
15187 * win32/vs6/gst_inspect.dsp:
15188 * win32/vs6/gst_launch.dsp:
15189 * win32/vs6/libgstbase.dsp:
15190 * win32/vs6/libgstcoreelements.dsp:
15191 * win32/vs6/libgstreamer.dsp:
15192 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15193 build of libgstreamer and clean unused libraries in projects link
15196 2006-05-17 Edward Hervey <edward@fluendo.com>
15198 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15199 The queue is not responsible for pushing an EOS when receiving a fatal
15200 flow error. It's up to the real element driving the pipeline to do that.
15202 2006-05-16 Edward Hervey <edward@fluendo.com>
15204 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15205 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15206 buffer returned a fatal error. It should just send an EOS and stop
15208 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15209 when pushing buffers on the queue and will be able to handle the event.
15211 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15213 * docs/manual/basics-bins.xml:
15214 * docs/manual/basics-init.xml:
15215 Fix typos and minor errors in sample code (#341856).
15217 2006-05-16 Wim Taymans <wim@fluendo.com>
15219 * docs/design/part-qos.txt:
15220 Fix indexes in formulas to make more sense.
15222 2006-05-15 Wim Taymans <wim@fluendo.com>
15224 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15225 Don't report POSITION based on clock time if sync is
15226 disabled in a sink.
15228 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15231 Add cast to make compiler happy - refcount variable was a gint
15232 in GstObject but is a guint in GObject and g_atomic_int_get()
15235 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15237 * gst/parse/Makefile.am:
15238 chain commands using &&, which also makes parallel make work
15240 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15242 * docs/gst/gstreamer-sections.txt:
15245 * gst/gstmessage.h:
15248 === release 0.10.6 ===
15250 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15253 releasing 0.10.6, "Take the cannoli"
15255 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15257 * tools/gst-launch.c: (print_tag):
15258 Fix use of uninitialized variable in the hypothetical
15259 case that some broken plugin creates a GST_TAG_IMAGE
15260 tag containing a NULL buffer (#341667).
15262 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15264 * tools/gst-launch.c: (print_tag):
15265 Print something more intelligible for image tags when
15266 using the -t switch (#341556).
15268 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15273 define GST_MAJORMINOR so we have it available in win32/common/config.h
15274 Possibly remove it from our Makefile.am files later
15275 * win32/common/config.h:
15276 * win32/common/config.h.in:
15277 added GST_MAJORMINOR
15278 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15279 * win32/common/gstversion.h:
15282 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15285 Update win32 files listing.
15286 * win32/common/gstversion.h:
15287 Add GST_MAJORMINOR definition.
15288 * win32/common/libgstreamer.def:
15289 Add new exported functions.
15291 2006-05-12 Michael Smith <msmith@fluendo.com>
15293 * gst/gstplugin.c: (gst_plugin_load_file):
15294 If an so file has no plugin entry point, unload the module.
15296 2006-05-11 Wim Taymans <wim@fluendo.com>
15298 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15299 (gst_queue_set_property):
15300 Don't forget to signal the _chain or _loop function
15301 when the queue size or thresholds change since that might
15302 cause them to make progres again.
15304 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15306 * gst/gstclock.c: (gst_clock_class_init):
15307 * gst/gstindex.c: (gst_index_class_init):
15308 * gst/gstobject.c: (gst_object_class_init):
15309 * gst/gstpad.c: (gst_pad_class_init):
15310 * gst/gstpipeline.c: (gst_pipeline_class_init):
15311 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15312 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15313 * libs/gst/base/gstbasetransform.c:
15314 (gst_base_transform_class_init):
15315 * libs/gst/net/gstnetclientclock.c:
15316 (gst_net_client_clock_class_init):
15317 * libs/gst/net/gstnettimeprovider.c:
15318 (gst_net_time_provider_class_init):
15319 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15320 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15321 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15322 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15323 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15324 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15325 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15326 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15327 * plugins/elements/gsttee.c: (gst_tee_class_init):
15328 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15329 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15330 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15332 2006-05-11 Wim Taymans <wim@fluendo.com>
15334 * gst/gstbuffer.c: (_gst_buffer_initialize):
15335 Register subbufer along with the buffer type so that
15336 it does not accidentally gets registered from N
15337 different streaming threads in a non threadsafe way.
15339 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15343 * gst/gstmessage.h:
15344 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15345 gst_event_ref() and gst_message_ref() functions again
15346 (ugly hack, please do fix if there's a better way besides
15347 overrides.txt, which doesn't seem to work).
15349 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15351 * libs/gst/check/gstcheck.h:
15352 add an assert for setting state to avoid lots of repetitive code
15355 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15357 * gst/gstvalue.c: (gst_value_serialize_flags):
15358 fix a leak if no flags are set
15359 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15362 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15364 * docs/manual/basics-pads.xml:
15365 Expand a bit on caps and filtered links and update
15366 examples that were still using the no longer existing
15367 gst_pad_link_filtered() (#338206).
15369 2006-05-10 Wim Taymans <wim@fluendo.com>
15371 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15372 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15373 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15374 (gst_collect_pads_stop):
15375 * libs/gst/base/gstcollectpads.h:
15376 No need to call _stop in _finalize.
15377 Iterate the main pad list in _finalize.
15378 Added some more debug.
15379 Free lists and data in the right order.
15380 Also free data whem doing _remove_pad when stopped for
15381 backward compatibility protect ::started with PAD_LOCK as
15384 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15386 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15387 (gst_structure_parse_value):
15389 rename a method so that it actually says what it does better
15391 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15393 * gst/gstevent.c: (_gst_event_initialize):
15394 * gst/gstformat.c: (_gst_format_initialize):
15395 make sure some essential types used by events are registered
15396 as part of gst_init()
15397 * gst/gstvalue.c: (gst_value_serialize_flags):
15398 if no flags are set, serialize them to a value that represents NONE
15399 so that deserializing them works
15400 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15401 add tests for serialization and deserialization of flags
15403 2006-05-10 Wim Taymans <wim@fluendo.com>
15405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15406 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15407 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15408 (gst_collect_pads_event), (gst_collect_pads_chain):
15411 Catch and return errors from the collect function
15412 Refuse data on eos pads.
15414 2006-05-10 Edward Hervey <edward@fluendo.com>
15416 * gst/gstinterface.h:
15417 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15418 GInterface type checking.
15419 They were previously using non-defined macros.
15421 2006-05-09 Wim Taymans <wim@fluendo.com>
15423 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15424 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15425 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15426 (gst_collect_pads_start), (gst_collect_pads_stop),
15427 (gst_collect_pads_peek), (gst_collect_pads_pop),
15428 (gst_collect_pads_available), (gst_collect_pads_read),
15429 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15430 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15431 (gst_collect_pads_chain):
15432 * libs/gst/base/gstcollectpads.h:
15433 Clean up the mess that is collectpads, add comments and
15434 FIXMEs where needed.
15435 Maintain a separate pad list so we can add pads while
15436 collecting the other ones. For this we need a new separate
15438 Fix memory leak in finalize.
15439 Refactor some weird code to set/unset pad flushing flags, mark
15441 Don't crash in _available, _read, _flush when we're EOS.
15443 * tests/check/libs/.cvsignore:
15444 Ignore adapter check binary.
15446 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15448 * gst/gstindex.c: (gst_index_resolver_get_type):
15449 * plugins/elements/gstfakesink.c:
15450 (gst_fake_sink_state_error_get_type):
15451 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15452 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15453 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15454 Const-ify GEnumValue arrays.
15456 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15458 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15459 Add test case for flags + gst_buffer_make_metadata_writable().
15461 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15463 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15464 gst_buffer_make_metadata_writable() should maintain the
15465 buffer flags (those that make sense at least) (see #340859).
15467 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15469 * tools/gst-inspect.c:
15470 * tools/gst-launch.c:
15471 * tools/gst-typefind.c:
15472 * tools/gst-xmlinspect.c:
15474 Fix up includes: need to include stdlib.h in tools.h for exit().
15476 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15478 * gst/gsttaglist.c: (_gst_tag_initialize):
15479 * gst/gsttaglist.h:
15480 API: add GST_TAG_IMAGE tag (#340721).
15482 2006-05-08 Wim Taymans <wim@fluendo.com>
15485 Added some docs for the segment query.
15487 2006-05-08 Wim Taymans <wim@fluendo.com>
15489 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15490 (gst_base_src_loop), (gst_base_src_change_state):
15491 Always push non-flushing serialized events in the streaming
15494 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15496 * gst/gsterror.c: (_gst_stream_errors_init):
15497 Add a missing error string.
15499 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15501 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15502 Add applied_rate to the debug
15504 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15505 Copy applied_rate into the outgoing NEWSEGMENT event
15507 2006-05-08 Wim Taymans <wim@fluendo.com>
15509 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15511 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15512 (gst_base_sink_change_state):
15513 call ::unlock before taking the PREROLL_LOCK so we can safely
15514 handle elements that lock in ::render.
15517 2006-05-08 Edward Hervey <edward@fluendo.com>
15519 * autogen.sh: (CONFIGURE_DEF_OPT):
15520 Darwin's libtoolize is in fact called glibtoolize.
15521 Adding glibtoolize to the list of accepted names for libtoolize.
15523 2006-05-08 Wim Taymans <wim@fluendo.com>
15525 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15526 Unify error handling, don't post an error message
15527 when a push() returns EOS but perform our normal EOS
15528 handling code. Fixes #340772.
15530 2006-05-08 Wim Taymans <wim@fluendo.com>
15532 * docs/design/part-overview.txt:
15533 Make upsteam/downstream concepts more clear.
15534 Give an example of serialized/non-serialized events.
15536 * docs/design/part-events.txt:
15537 * docs/design/part-streams.txt:
15538 Mention applied_rate.
15540 * docs/design/part-trickmodes.txt:
15541 Mention applied rate, flesh out some more use cases.
15543 * gst/gstevent.c: (gst_event_new_new_segment),
15544 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15545 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15546 (gst_event_parse_tag), (gst_event_new_buffer_size),
15547 (gst_event_parse_buffer_size), (gst_event_new_qos),
15548 (gst_event_parse_qos), (gst_event_parse_seek),
15549 (gst_event_new_navigation):
15551 Add applied_rate field to NEWSEGMENT event.
15552 API: gst_event_new_new_segment_full()
15553 API: gst_event_parse_new_segment_full()
15555 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15556 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15557 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15558 * gst/gstsegment.h:
15559 Add applied_rate to GstSegment structure.
15560 Make calculation of stream_time and running_time more correct
15561 wrt rate/applied_rate.
15562 Add some more docs.
15563 API: GstSegment::applied_rate field
15564 API: gst_segment_set_newsegment_full();
15566 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15567 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15568 * libs/gst/base/gstbasetransform.c:
15569 (gst_base_transform_sink_eventfunc),
15570 (gst_base_transform_handle_buffer):
15571 Parse and use applied_rate in the GstSegment field.
15573 * tests/check/gst/gstevent.c: (GST_START_TEST):
15574 Add check for applied_rate field.
15576 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15577 (gstsegments_suite):
15578 Add more checks for various GstSegment operations.
15580 2006-05-08 Wim Taymans <wim@fluendo.com>
15582 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15583 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15584 (gst_base_sink_get_position), (gst_base_sink_change_state):
15585 Store the sync time of the buffer end position separatly in a
15586 new variable eos_rtime so we can properly sync the EOS event.
15588 Fix the docs for gst_base_sink_set_qos_enabled().
15589 Don't set segment start to invalid value when we receive a
15590 non TIME newsegment.
15591 get closer to handling position reporting for negative rates
15594 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15597 Docs about how to print caps for debug purposes.
15599 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15600 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15602 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15604 * gst/gstelement.c:
15605 use full enum names and preprend a '%' in docs strings to make recent
15606 gtk-doc turn that into a link
15608 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15610 * docs/manual/basics-bins.xml:
15611 * docs/manual/basics-bus.xml:
15612 * docs/manual/basics-pads.xml:
15613 Some typo fixes, some additions, some clarifications.
15615 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15617 * tools/gst-inspect.c: (main):
15618 * tools/gst-launch.c: (main):
15619 * tools/gst-run.c: (main):
15620 * tools/gst-typefind.c: (main):
15621 * tools/gst-xmlinspect.c: (main):
15622 Use the string passed to g_option_context_new() for
15623 what it's intended for - the program name is already
15626 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15628 * tools/Makefile.am:
15629 * tools/gst-inspect.c: (main):
15630 * tools/gst-launch.c: (main):
15631 * tools/gst-xmlinspect.c: (main):
15633 Add back --version command line option (#340460).
15635 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15636 Add --version option and use GOption for argument parsing; refactor a
15637 bit; accept directories as arguments and recurse into them; lastly,
15638 print a decent error message when things go wrong.
15640 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15642 * docs/manual/basics-bins.xml:
15643 Don't mention GstThread (#340611)
15644 * docs/manual/basics-elements.xml:
15645 Update link to GObject tutorial (#340607)
15647 2006-05-05 Wim Taymans <wim@fluendo.com>
15650 * gst/gstminiobject.c:
15651 Add note about refcounting and miniobject/buffer writeability
15652 to docs. Fixes #340604
15654 * gst/gstelementfactory.h:
15655 Added some explanation about @klass.
15657 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15659 * docs/manual/intro-motivation.xml:
15660 * docs/manual/manual.xml:
15661 Avoid CORBA & Bonobo references (#340598)
15663 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15665 * docs/manual/basics-bus.xml:
15666 * docs/manual/basics-pads.xml:
15667 Fix up some inaccuracies and omissions (#340609)
15669 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15671 * gst/gstghostpad.c:
15672 Small typo in docs (#340625)
15674 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15676 * gst/parse/Makefile.am:
15677 Make 'make -j' proof (see #340698).
15679 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15682 Require GLib-2.8 here as well.
15684 2006-05-05 Wim Taymans <wim@fluendo.com>
15686 * gst/glib-compat.c:
15687 * gst/gst.c: (init_pre):
15688 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15689 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15690 (gst_object_dispatch_properties_changed):
15692 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15693 * gst/gststructure.c: (gst_structure_set_valist):
15694 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15695 Remove pre glib2.8 compatibility, fixes #340508
15697 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15699 * gst/gsttaglist.h:
15700 Mention type of tags in doc blurbs.
15702 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15704 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15705 (gst_pad_configure_src), (gst_pad_push):
15706 Restore acceptcaps checking behaviour now that good plugins have
15709 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15711 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15718 * gst/gstmessage.c:
15722 * gst/parse/Makefile.am:
15723 * libs/gst/base/gstadapter.c:
15724 * libs/gst/base/gstbasesrc.c:
15725 * libs/gst/base/gstpushsrc.c:
15726 * libs/gst/base/gsttypefindhelper.c:
15727 * plugins/elements/gstfakesrc.c:
15728 * plugins/elements/gstidentity.c:
15729 Make sure gstprivate.h and/or config.h are
15730 always included first, otherwise some of our
15731 defines (like _FILE_OFFSET_BITS) might be
15732 redefined in the system headers. Fixes build
15733 on opensolaris (#340016).
15735 2006-05-04 Wim Taymans <wim@fluendo.com>
15737 * docs/libs/gstreamer-libs-sections.txt:
15738 API: addition: gst_adapter_take_buffer()
15740 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15741 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15742 (gst_adapter_available_fast):
15743 * libs/gst/base/gstadapter.h:
15744 Prepare for optimizing the hell out of this hugely inefficient
15746 Added gst_adapter_take_buffer() so we can at least start thinking
15747 about subbuffering and merging.
15748 Added some comments.
15750 * tests/check/Makefile.am:
15751 * tests/check/libs/adapter.c: (GST_START_TEST),
15752 (gst_adapter_suite), (main):
15753 Added GstAdapter check.
15755 2006-05-04 Wim Taymans <wim@fluendo.com>
15757 * docs/design/part-overview.txt:
15758 Fix some typos, add blurb about buffer flags.
15760 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15762 * docs/libs/gstreamer-libs-sections.txt:
15763 make sure GstBaseTransformClass shows up in the docs
15764 * libs/gst/base/gstbasetransform.c:
15765 * libs/gst/base/gstbasetransform.h:
15766 move docs so gtk-doc picks it up now
15768 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15770 * docs/libs/gstreamer-libs-sections.txt:
15771 add missing symbols to docs
15773 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15775 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15776 back out the newsegment handling change, see #340060 for ongoing
15779 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15781 * tools/gst-run.c: (get_candidates), (main):
15782 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15783 work); fix typo in error message. Fixes #340079.
15785 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15787 * common/Makefile.am:
15788 * docs/Makefile.am:
15789 * docs/faq/Makefile.am:
15790 * docs/gst/Makefile.am:
15791 * docs/libs/Makefile.am:
15792 * docs/manual/Makefile.am:
15793 * docs/plugins/Makefile.am:
15794 * docs/pwg/Makefile.am:
15795 * docs/slides/Makefile.am:
15797 * common/upload.mak:
15798 move upload.mak to common
15800 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15802 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15803 add more asserts on refcounts
15804 do more cleanup at end of tests
15805 fix test leaks showing in FC5
15807 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15809 * plugins/elements/gsttypefindelement.c:
15810 (gst_type_find_element_handle_event):
15811 reverted wrong change and reflowed code to avoid others falling into
15814 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15816 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15817 fix changelog entry about last collectpads change,
15818 add notes about proper fix
15820 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15823 * gst/gstregistry.c: (gst_registry_scan_path_level),
15824 (gst_registry_scan_path):
15825 * gst/gstregistry.h:
15826 only write out registry if it has changed, fixes #338339
15828 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15831 * gst/gstpipeline.c:
15832 * plugins/elements/gstcapsfilter.c:
15833 * plugins/elements/gstfakesink.c:
15834 * plugins/elements/gstfakesrc.c:
15835 * plugins/elements/gstfdsink.c:
15836 * plugins/elements/gstfdsrc.c:
15837 * plugins/elements/gstfilesink.c:
15838 * plugins/elements/gstfilesrc.c:
15839 * plugins/elements/gstidentity.c:
15840 * plugins/elements/gstqueue.c:
15841 * plugins/elements/gsttee.c:
15842 * plugins/elements/gsttypefindelement.c:
15843 (gst_type_find_element_handle_event):
15844 make GstElementDetails const
15846 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15848 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15849 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15850 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15851 more detailed debug and formatting cleanup,
15852 forward newsegments to src-pad (so that e.g. adder not eats them)
15854 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15856 * gst/gstutils.c: (gst_element_link_pads):
15857 cleanup double code
15859 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15861 * libs/gst/controller/gstcontroller.c:
15862 (gst_controller_sync_values):
15864 * tests/check/libs/controller.c: (GST_START_TEST),
15865 (gst_controller_suite):
15866 a new test for live value handling
15868 2006-04-28 Wim Taymans <wim@fluendo.com>
15870 * gst/gstutils.c: (push_and_ref):
15871 Added some more docs.
15872 Fix refcount issue whith gst_element_found_tags() helper
15873 function. Fixes #338335
15875 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15876 Added testsuite for gst_element_found_tags().
15878 2006-04-28 Michael Smith <msmith@fluendo.com>
15880 * gst/gstvalue.c: (gst_value_serialize_flags):
15881 Avoid NULL dereference when trying to serialize flags containing
15884 2006-04-28 Michael Smith <msmith@fluendo.com>
15886 * plugins/elements/gsttypefindelement.c:
15887 (gst_type_find_element_handle_event):
15888 If we get EOS before any data is accumulated, don't use
15889 uninitialised local variables.
15891 2006-04-28 Michael Smith <msmith@fluendo.com>
15893 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15894 (gst_dp_event_from_packet):
15895 Fixes in reading/writing events over GDP (not currently used?) -
15896 dereferencing NULL events for unknown/invalid event types, memory
15897 leak, and change g_warning to GST_WARNING.
15899 2006-04-28 Wim Taymans <wim@fluendo.com>
15901 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15902 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15903 (gst_base_sink_get_position), (gst_base_sink_change_state):
15904 When frame dropping is enabled, we should not ignore frames
15905 without a duration.
15906 Update some documentation.
15908 2006-04-28 Wim Taymans <wim@fluendo.com>
15910 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15911 (gst_base_src_send_event), (gst_base_src_change_state):
15912 Documentation updates.
15914 2006-04-28 Wim Taymans <wim@fluendo.com>
15916 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15917 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15918 handle EAGAIN, EINTR and short writes correctly. Also clean
15919 up some error cases, avoid a deadlock on bad file descriptors and
15920 use GST_DEBUG_OBJECT.
15923 2006-04-28 Wim Taymans <wim@fluendo.com>
15925 * gst/gstvalue.c: (gst_value_serialize_buffer),
15926 (gst_value_deserialize_buffer):
15927 Don't try to serialize a GValue with a NULL buffer.
15930 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15931 Added check for serialisation of NULL buffers.
15933 2006-04-28 Wim Taymans <wim@fluendo.com>
15935 * gst/gstminiobject.c: (gst_value_take_mini_object):
15936 Taking a NULL miniobject is valid, fix the case where
15937 we try to unref the NULL miniobject.
15939 2006-04-28 Wim Taymans <wim@fluendo.com>
15941 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15943 * gst/gstbin.c: (gst_bin_handle_message_func):
15945 Don't leak bin refcount when a state recalc is
15946 in progress and we delay another one #339808.
15948 2006-04-28 Wim Taymans <wim@fluendo.com>
15950 * docs/design/part-TODO.txt:
15951 Mention QoS as an ongoing work item.
15953 * docs/design/part-buffering.txt:
15954 New doc about buffering that needs to be fleshed out
15957 * docs/design/part-qos.txt:
15958 More QoS policy for decoders/demuxers/transforms
15960 * docs/design/part-trickmodes.txt:
15963 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15968 === release 0.10.5 ===
15970 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15973 releasing 0.10.5, "Fogo"
15975 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15977 patch by: Wim Taymans
15979 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15980 (gst_pad_configure_src), (gst_pad_push):
15981 * gst/gstpipeline.c: (gst_pipeline_init):
15982 Fix internal data flow errors. Fixes #338711.
15984 2006-04-12 Wim Taymans <wim@fluendo.com>
15986 * tests/check/gst/gstelement.c: (GST_START_TEST):
15987 Don't leak the factory.
15989 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15992 * win32/common/config.h:
15995 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15997 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15998 (gst_controller_unset_all):
15999 Free allocated GstTimedValues when freeing list nodes.
16000 Should fix leaks 'make check-valgrind' complains about.
16002 * win32/common/libgstcontroller.def:
16003 Add gst_controller_unset_all.
16005 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16007 * docs/libs/gstreamer-libs-sections.txt:
16008 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16009 (gst_controller_unset_all):
16010 * libs/gst/controller/gstcontroller.h:
16011 API: Added new method gst_controller_unset_all()
16012 fixed gst_controller_unset()
16013 * tests/check/libs/controller.c: (GST_START_TEST),
16014 (gst_controller_suite):
16015 Added two testcases for new and fixed method
16017 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16019 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16020 MSG_DONTWAIT is not defined on Cygwin, so work
16021 around that (fixes #317048).
16023 2006-04-11 Wim Taymans <wim@fluendo.com>
16025 * gst/gstelementfactory.c: (gst_element_register),
16026 (gst_element_factory_create), (gst_element_factory_make):
16029 Updated docs (Fixes #131079)
16031 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16034 * tests/check/gst/gstelement.c: (GST_START_TEST),
16035 (gst_element_suite):
16036 Added testcase for elementfactory class field.
16038 2006-04-10 Wim Taymans <wim@fluendo.com>
16040 * gst/gstsegment.c:
16041 Added some more docs.
16043 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16044 (gst_base_sink_reset_qos):
16045 Calculate more accurate rate values.
16047 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16049 * gst/gst_private.h:
16050 add a new #ifdef to use __declspec(dllimport) only for
16051 other modules and not for gstreamer core
16052 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16053 use gst_guint64_to_gdouble for conversion
16054 * win32/common/libgstreamer.def:
16055 add new exported functions
16056 * win32/vs6/gst_inspect.dsp:
16057 * win32/vs6/gst_launch.dsp:
16058 * win32/vs6/libgstbase.dsp:
16059 * win32/vs6/libgstcontroller.dsp:
16060 * win32/vs6/libgstcoreelements.dsp:
16061 * win32/vs6/libgstdataprotocol.dsp:
16062 * win32/vs6/libgstnet.dsp:
16063 update project files
16065 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16067 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16068 * gst/gstclock.c: (gst_clock_class_init):
16069 * gst/gstelement.c: (gst_element_class_init):
16070 * gst/gstindex.c: (gst_index_class_init):
16071 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16072 * gst/gstobject.c: (gst_object_class_init),
16073 (gst_signal_object_class_init):
16074 * gst/gstpad.c: (gst_pad_class_init):
16075 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16076 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16077 * gst/gstregistry.c: (gst_registry_class_init):
16078 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16079 * gst/gsttask.c: (gst_task_class_init):
16080 * gst/gstxml.c: (gst_xml_class_init):
16081 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16082 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16083 (gst_base_src_loop):
16084 * libs/gst/controller/gstcontroller.c:/
16085 (_gst_controller_class_init):
16086 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16087 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16088 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16089 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16090 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16091 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16093 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16095 * gst/gstpad.c: (gst_pad_link):
16096 Must set peer pads before calling the link function, otherwise
16097 a task started from a link function might get a flow-not-linked
16098 result when trying to push because the other thread where the
16099 linking happens hasn't had a chance to set the peers yet. This
16100 might happen for example when a queue gets linked to a downstream
16101 element, as queue starts a streaming task when its source pad
16102 gets linked. Happens in real life when playing back flac/musepack
16103 files in playbin (#332390).
16105 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16109 * libs/gst/base/gstadapter.h:
16110 * libs/gst/base/gstbasesink.h:
16111 * libs/gst/base/gstbasesrc.h:
16112 * libs/gst/base/gstbasetransform.h:
16113 * libs/gst/base/gstcollectpads.h:
16114 * libs/gst/base/gstpushsrc.h:
16115 Fix broken GObject macros
16117 2006-04-07 Wim Taymans <wim@fluendo.com>
16119 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16120 Initialize start and stop times, thanks valgrind.
16122 2006-04-07 Wim Taymans <wim@fluendo.com>
16124 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16125 Be a bit nicer to badly behaving upstream elements that expect
16126 us to deal with non TIME segments and timestamps (such as fakesrc
16129 2006-04-07 Wim Taymans <wim@fluendo.com>
16132 Small documentation clarification about the signal watch.
16134 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16135 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16136 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16137 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16138 (gst_base_sink_get_position_last),
16139 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16140 Convert and store timestamps in stream time and running time, the
16141 raw timestamps are not useful, also document this better.
16142 Use different window sizes for good and bad QoS observations so
16143 we react to badness a little quicker.
16144 Keep track of the amount of rendered and dropped buffers.
16145 Send QoS timestamps in running time.
16147 * libs/gst/base/gstbasetransform.c:
16148 (gst_base_transform_sink_eventfunc),
16149 (gst_base_transform_handle_buffer):
16150 Compare QoS timestamps against running time.
16152 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16155 Typo fixes in docs.
16157 2006-04-06 Michael Smith <msmith@fluendo.com>
16159 * gst/gstpad.c: (gst_pad_set_property):
16160 Use g_value_get_object() instead of g_value_dup_gst_object(),
16161 to avoid double-reffing the pad template (which we then sink,
16162 so this worked previously if (and only if) the pad template
16165 * gst/gstpadtemplate.c: (gst_pad_template_init),
16166 (gst_pad_template_pad_created):
16167 Never return floating references to pad templates, create
16168 them as initially-sunken.
16170 Document an extra function (and make this stop sinking our
16171 pad template, since that is now guaranteed to do nothing,
16172 since we created it sunken).
16174 * gst/gstghostpad.c:
16177 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16179 * gst/gstinfo.c: (__gst_in_valgrind):
16182 * plugins/elements/gsttypefindelement.c:
16183 (gst_type_find_element_chain):
16184 Don't leak buffer caps.
16186 2006-04-06 Michael Smith <msmith@fluendo.com>
16188 * gst/parse/grammar.y:
16189 Fix a leak in parse-launch for any source-or-sink named element
16192 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16193 Unref the pipeline if it exists after we've failed parsing.
16195 2006-04-05 Michael Smith <msmith@fluendo.com>
16197 * gst/gstpipeline.c: (gst_pipeline_init):
16198 When we create a pipeline bus, initially create it in flushing mode.
16199 Fixes leaks in at least one test, and makes a new pipeline work the
16200 same as one that has gone to READY and then back to NULL.
16202 * gst/gstelement.c:
16205 2006-04-05 Michael Smith <msmith@fluendo.com>
16207 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16208 Unref a pad we reffed.
16209 * tests/check/gst/gstutils.c: (GST_START_TEST):
16212 2006-04-05 Michael Smith <msmith@fluendo.com>
16214 * gst/gstquery.c: (gst_query_set_formats),
16215 (gst_query_set_formatsv):
16216 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16218 2006-04-05 Michael Smith <msmith@fluendo.com>
16220 * tests/check/generic/sinks.c: (GST_START_TEST):
16221 Fix a variety of memleaks in sinks check, which are only sometimes
16222 shown by running the tests under valgrind (weird?).
16224 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16226 * docs/version.entities.in:
16227 Fix the substituted entity name after thomas' changes on the
16230 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16232 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16235 2006-04-05 Andy Wingo <wingo@pobox.com>
16237 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16239 * libs/gst/base/gstbasetransform.c
16240 (gst_base_transform_sink_eventfunc): When resetting our segment on
16241 FLUSH_STOP, also update the flag saying we haven't seen a
16244 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16246 Patch by: Paolo Borelli <pborelli at katamail dot com>
16248 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16249 (gst_plugin_check_license):
16250 minor clean-ups: G_DEFINE_TYPE already takes care of the
16251 parent_class stuff, no need to do it twice. Mark array of
16252 license strings as constant. (#337103)
16254 2006-04-04 Michael Smith <msmith@fluendo.com>
16256 * tools/gst-inspect.c: (print_element_list):
16257 Free the right plugin list; fixes a memory leak.
16259 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16261 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16263 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16264 Don't error out on empty buffers (#336945).
16266 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16268 * docs/libs/gstreamer-libs-sections.txt:
16269 * gst/gsttaglist.c:
16270 * libs/gst/base/gstbasesink.c:
16271 * libs/gst/base/gstbasesink.h:
16272 * libs/gst/base/gstbasesrc.c:
16273 * libs/gst/base/gstbasesrc.h:
16274 Documentation updates. Make BaseSink and BaseSrc docs contain the
16275 class structure so that people can actually see the prototypes for
16276 virtual functions they're supposed to be overriding.
16278 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16280 * plugins/elements/gsttypefindelement.c:
16281 (gst_type_find_element_chain):
16282 More debug info; when skipping typefinding, send cached
16283 events in all cases.
16285 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16288 use new AS_VERSION and AS_NANO macros
16289 * gst/gst-i18n-lib.h:
16292 * gst/gstversion.h.in:
16293 * win32/common/config.h:
16294 * win32/common/config.h.in:
16297 2006-03-31 Michael Smith <msmith@fluendo.com>
16299 * plugins/elements/gsttypefindelement.c:
16300 (gst_type_find_element_chain):
16301 Do not typefind content if the buffers already have caps.
16302 Neccesary for icydemux (#333657), and the right thing to do anyway.
16304 2006-03-30 Wim Taymans <wim@fluendo.com>
16306 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16307 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16308 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16309 (gst_base_sink_record_qos_observation),
16310 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16311 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16312 (gst_base_sink_change_state):
16313 More QoS measurements as described in the design doc.
16314 Get rid of ringbuffer with observations, running average is
16315 more simple and equally good.
16316 Calculates valid proportion now.
16317 Added beginning of flood measurement.
16319 2006-03-29 Wim Taymans <wim@fluendo.com>
16321 * docs/design/part-qos.txt:
16323 Small documentation updates and additions.
16325 2006-03-29 Wim Taymans <wim@fluendo.com>
16327 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16328 (gst_base_src_send_event), (gst_base_src_loop),
16329 (gst_base_src_change_state):
16330 Perform the EOS logic when we reach the segment stop position.
16331 Fix compilation on gcc4.1
16333 2006-03-29 Wim Taymans <wim@fluendo.com>
16335 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16337 * plugins/elements/gstqueue.c: (gst_queue_init),
16338 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16339 (gst_queue_set_property):
16340 * plugins/elements/gstqueue.h:
16341 In queue, when EOS is received, if minimum threshold > max_size -
16342 current_level, there is chance that queue blocks forever in conditional
16343 item del wait. This is because the queue is not emptied completely due
16344 to minimum threshold. Here is another approach. Instead of setting
16345 cur_levels to max in EOS, just zero all minimum threshold levels. This
16346 should make sure that queue gives out all data. When going to READY
16347 (stop) state, just reset the original minimum threshold levels.
16350 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16352 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16353 (gst_type_find_element_handle_event),
16354 (gst_type_find_element_send_cached_events),
16355 (gst_type_find_element_change_state):
16356 * plugins/elements/gsttypefindelement.h:
16357 When typefinding is done in push mode, we should cache
16358 events we receive during typefinding instead of just
16359 dropping them (e.g. newsegment, custom events from
16360 dvdreadsrc etc.) and then send them out once we've
16361 determined the type of the stream (and decodebin
16362 has had a chance to plug in a decoder/demuxer).
16364 2006-03-27 Wim Taymans <wim@fluendo.com>
16366 * docs/design/part-qos.txt:
16369 2006-03-27 Wim Taymans <wim@fluendo.com>
16371 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16373 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16374 (gst_base_src_send_event), (gst_base_src_change_state):
16375 Handle element seek correctly when we are streaming.
16378 2006-03-24 Michael Smith <msmith@fluendo.com>
16380 * docs/faq/gst-uninstalled:
16381 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16382 allow you to correctly run intalled applications built against old
16383 core, using plugins that require updated core (e.g. running
16384 installed totem against a full uninstalled gstreamer stack)
16386 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16388 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16391 2006-03-24 Wim Taymans <wim@fluendo.com>
16393 * docs/gst/gstreamer-sections.txt:
16394 Rearrange the order of the methods so that related methods
16395 are grouped together in sections.
16397 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16399 * gst/gstelement.c:
16400 Little clarification in the docs
16402 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16406 * plugins/elements/gstidentity.c:
16407 * plugins/elements/gstqueue.c:
16408 * plugins/elements/gsttee.c:
16409 * plugins/elements/gsttypefindelement.c:
16410 GST_ELEMENT_DETAILS formatting
16412 2006-03-24 Wim Taymans <wim@fluendo.com>
16414 * libs/gst/base/gstbasesink.h:
16415 Only add fields, not insert or we break ABI.
16417 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16419 * win32/common/libgstbase.def:
16420 * win32/common/libgstreamer.def:
16421 Update, add recently added functions.
16423 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16425 * docs/gst/gstreamer-sections.txt:
16426 * gst/gstutils.c: (gst_pad_query_peer_position),
16427 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16429 API: add some new utility functions:
16430 - gst_pad_query_peer_position()
16431 - gst_pad_query_peer_duration()
16432 - gst_pad_query_peer_convert()
16434 2006-03-23 Wim Taymans <wim@fluendo.com>
16436 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16437 (gst_base_sink_init), (gst_base_sink_finalize),
16438 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16439 (gst_base_sink_set_property), (gst_base_sink_get_property),
16440 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16441 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16442 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16443 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16444 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16445 (gst_base_sink_preroll_object), (gst_base_sink_event),
16446 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16447 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16448 (gst_base_sink_query), (gst_base_sink_change_state):
16449 Decouple max-lateness and the fact that QoS messages are generated
16450 with a new property (qos).
16451 added API: GstBaseSink::async_play()
16452 Add vmethod so subclasses can be notified of ASYNC playing
16454 Collect timestamp start and stop to report better current
16455 position in EOS/PLAYING/PAUSED/READY/NULL.
16456 Refactor QoS/frame dropping and other measurements.
16457 API: GstBaseSrc::qos
16460 * libs/gst/base/gstbasesink.h:
16461 Added Private struct.
16462 API: gst_base_sink_set_qos_enabled()
16463 API: gst_base_sink_is_qos_enabled()
16465 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16467 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16468 If compiling against GLib-2.8 or newer, try to read the
16469 registry file using GMappedFile first before falling back
16470 to fopen() + fread() (#332151).
16472 2006-03-22 Wim Taymans <wim@fluendo.com>
16474 * gst/gstinfo.c: (gst_debug_set_active),
16475 (gst_debug_category_set_threshold):
16476 Disable debugging unless explicitly activated.
16479 2006-03-22 Wim Taymans <wim@fluendo.com>
16481 * gst/gstelement.c: (gst_element_set_locked_state),
16482 (gst_element_dispose):
16483 Cleanup the error case.
16485 * gst/gstobject.c: (gst_object_dispose):
16486 print a critical when some object was disposed with
16487 a parent, also revive the object since it might
16490 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16492 * tools/gst-launch.1.in:
16495 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16498 * tests/check/Makefile.am:
16499 disable some tests when we don't have a registry
16500 * tests/check/gst/gstutils.c: (gst_utils_suite):
16501 don't build the part that needs parsing
16503 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16506 * tests/examples/Makefile.am:
16507 fix --disable-parse build
16509 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16511 * tools/gst-feedback.1.in:
16512 Fix typo: s/feeback/feedback/ (#133494).
16514 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16516 * tools/Makefile.am:
16517 * tools/gst-launch.1.in:
16518 Add FILES section and correct entry about GST_REGISTRY_PATH
16519 environment variable (#133495; #133494).
16521 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16523 * tools/Makefile.am:
16524 * tools/gst-md5sum.1.in:
16525 * tools/gst-md5sum.c:
16526 Remove gst-md5sum and man page (the md5sink element
16527 required was removed ages ago)
16529 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16531 * gst/gststructure.c: (gst_structure_id_set_value):
16532 Make sure that string fields in structures/taglists
16533 contain valid UTF-8 - we don't want to pass rubbish to
16534 applications because of a buggy plugin (cp. #334167).
16536 2006-03-21 Edward Hervey <edward@fluendo.com>
16538 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16539 (gst_bin_handle_message_func):
16540 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16541 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16542 (gst_element_set_bus_func):
16543 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16544 * gst/gstminiobject.c: (gst_value_set_mini_object),
16545 (gst_value_take_mini_object):
16546 * gst/gstpad.c: (gst_pad_set_pad_template):
16547 * gst/gstpipeline.c: (gst_pipeline_dispose),
16548 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16550 (gst_collect_pads_chain):
16551 * libs/gst/net/gstnettimeprovider.c:
16552 (gst_net_time_provider_set_property):
16553 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16554 It's in fact all issues with gst_*object_replace().
16556 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16558 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16560 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16561 * pkgconfig/gstreamer-check.pc.in:
16562 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16564 2006-03-21 Edward Hervey <edward@fluendo.com>
16568 * gst/gstmessage.h:
16569 gst_[buffer|event|message]_ref() macros are replaced by a static
16570 inline functions because gcc-4.1 will about if the return value
16572 * tests/check/gst/gstevent.c: (event_probe):
16573 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16575 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16578 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16579 the type' case. (Closes: #335195 for now). In the future, when we
16580 depend on GLib 2.10, we could also intern the type name using
16581 g_intern_static_string()
16583 2006-03-20 Wim Taymans <wim@fluendo.com>
16585 * gst/gstbin.c: (gst_bin_handle_message_func),
16586 (bin_query_max_init), (bin_query_position_fold),
16587 (bin_query_position_done), (gst_bin_query):
16588 Position query should also take max of all streams.
16590 2006-03-20 Wim Taymans <wim@fluendo.com>
16592 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16593 (gst_fake_src_finalize):
16594 Fix leaks in fakesrc.
16596 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16597 Fix leaks in the testcase.
16599 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16601 * gst/gst_private.h:
16602 add win32 specific import decoration(__declspec(dllimport))
16603 for all extern GstDebugCategory * variables
16604 * win32/common/libgstbase.def:
16605 * win32/common/libgstcontroller.def:
16606 * win32/common/libgstreamer.def:
16607 Add some exports, remove empty lines
16608 * win32/common/libgstdataprotocol.def:
16609 * win32/common/libgstdataprotocol.dsp:
16610 * win32/common/libgstnet.def:
16611 * win32/common/libgstnet.dsp:
16612 new project files and exportation files added
16614 2006-03-19 Wim Taymans <wim@fluendo.com>
16616 * tests/check/libs/basesrc.c: (eos_event_counter):
16617 Use proper return value for probe.
16619 2006-03-17 Wim Taymans <wim@fluendo.com>
16621 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16623 Don't leak buffers, caps and pads on negotiation errors.
16625 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16627 * docs/faq/cvs.xml:
16628 * docs/faq/dependencies.xml:
16629 * docs/faq/developing.xml:
16630 * docs/faq/faq.xml:
16631 * docs/faq/general.xml:
16632 * docs/faq/getting.xml:
16633 * docs/faq/legal.xml:
16634 * docs/faq/troubleshooting.xml:
16635 * docs/faq/using.xml:
16636 Faq review and update.
16638 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16640 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16642 Don't pound the cpu to pieces by checking get_caps when accept_caps
16643 is called with the same caps as the pad already has.
16644 Use GST_DEBUG_OBJECT when outputting caps change information.
16646 2006-03-15 Wim Taymans <wim@fluendo.com>
16648 * gst/gstclock.c: (gst_clock_class_init):
16651 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16656 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16657 (gst_pad_accept_caps), (gst_pad_configure_sink),
16658 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16659 Make the default acceptcaps behaviour be to check the requested
16660 caps against the gst_pad_get_caps output.
16662 Ensure that gst_pad_accept_caps is used to check caps when a pad
16663 doesn't have a setcaps function, so that pads automatically refuse
16664 caps that they don't allow in their pad template. (Fixes #332986)
16666 When a buffer with attached caps is pushed, ensure that the source
16667 pad receives those caps even if the element didn't call
16668 gst_pad_set_caps first.
16670 2006-03-15 Wim Taymans <wim@fluendo.com>
16672 * libs/gst/base/gstadapter.c:
16675 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16677 * win32/common/libgstbase.def:
16678 * win32/common/libgstcontroller.def:
16679 * win32/common/libgstreamer.def:
16680 Add a whole bunch of missing functions (#334434).
16682 2006-03-14 Wim Taymans <wim@fluendo.com>
16684 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16685 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16686 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16687 Better debug info when we receive a segment event.
16688 Reorganize a bit so we can pass the get_times() results around.
16689 Use the segment format when calculating the running time.
16690 Don't do QoS is sync is disabled or we have no clock or the
16691 element does not want us to sync to the clock.
16692 Don't drop buffers if QoS is disabled for now.
16694 2006-03-14 Wim Taymans <wim@fluendo.com>
16696 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16697 Marked the stats property as unimplemented so people don't get
16699 Add debug message when regression goes wrong.
16700 Added some more docs.
16702 2006-03-14 Wim Taymans <wim@fluendo.com>
16704 * gst/gstsegment.c: (gst_segment_to_stream_time):
16705 Return correct return type in case of errors.
16707 2006-03-14 Wim Taymans <wim@fluendo.com>
16709 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16710 Don't segfault on invalid formats.
16712 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16714 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16715 Can't use gst_segment_to_running_time() when the segment
16716 is not in GST_TIME_FORMAT (like with filesink, for example).
16717 Stops flac encoding pipelines from spewing critical warnings
16720 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16722 * gst/gstpipeline.c: (gst_pipeline_class_init):
16723 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16725 * plugins/elements/gsttypefindelement.c:
16726 (gst_type_find_element_handle_event):
16727 Don't try to typefind empty streams.
16729 2006-03-14 Wim Taymans <wim@fluendo.com>
16731 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16732 (gst_base_sink_do_qos):
16733 Separate QoS calculation.
16734 Only drop buffers when lateness is bigger than the
16735 duration of the buffer.
16737 2006-03-13 Wim Taymans <wim@fluendo.com>
16739 * gst/gstpipeline.c: (gst_pipeline_set_property),
16740 (gst_pipeline_get_property), (do_pipeline_seek),
16741 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16742 (gst_pipeline_get_delay):
16743 Don't deadlock when reading properties.
16745 2006-03-13 Wim Taymans <wim@fluendo.com>
16747 * libs/gst/base/gstbasetransform.c:
16748 (gst_base_transform_class_init), (gst_base_transform_init),
16749 (gst_base_transform_sink_event),
16750 (gst_base_transform_sink_eventfunc),
16751 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16752 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16753 (gst_base_transform_set_property),
16754 (gst_base_transform_get_property),
16755 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16756 (gst_base_transform_set_qos_enabled),
16757 (gst_base_transform_is_qos_enabled):
16758 * libs/gst/base/gstbasetransform.h:
16759 Make basetransform virtual method for src events too.
16760 Handle QOS in basetransform.
16761 API: gst_base_transform_update_qos()
16762 API: gst_base_transform_set_qos_enabled()
16763 API: gst_base_transform_is_qos_enabled()
16765 2006-03-13 Wim Taymans <wim@fluendo.com>
16767 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16768 (gst_base_sink_do_sync):
16770 Use QOS debug category.
16772 2006-03-13 Wim Taymans <wim@fluendo.com>
16774 * plugins/elements/gstqueue.c:
16775 Very small doc update.
16777 2006-03-13 Wim Taymans <wim@fluendo.com>
16779 * gst/gst_private.h:
16780 * gst/gstinfo.c: (_gst_debug_init):
16781 Added QOS debug category
16783 2006-03-13 Wim Taymans <wim@fluendo.com>
16785 * docs/gst/gstreamer-sections.txt:
16786 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16788 * gst/gstbus.c: (gst_bus_class_init):
16791 * gst/gstelement.c: (gst_element_set_locked_state):
16792 * gst/gstsegment.c:
16793 Documentation updates.
16795 * gst/gstpipeline.c: (gst_pipeline_get_type),
16796 (gst_pipeline_class_init), (gst_pipeline_init),
16797 (gst_pipeline_dispose), (gst_pipeline_set_property),
16798 (gst_pipeline_get_property), (do_pipeline_seek),
16799 (gst_pipeline_send_event), (gst_pipeline_change_state),
16800 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16801 (gst_pipeline_get_delay):
16802 * gst/gstpipeline.h:
16803 Added methods for setting the delay.
16804 API: gst_pipeline_set_delay()
16805 API: gst_pipeline_get_delay()
16806 Add pipeline debug category
16809 Don't reset stream time when seek failed.
16811 2006-03-13 Wim Taymans <wim@fluendo.com>
16813 * docs/design/draft-klass.txt:
16814 * docs/design/part-clocks.txt:
16815 * docs/design/part-events.txt:
16816 * docs/design/part-gstbin.txt:
16817 * docs/design/part-gstpipeline.txt:
16818 * docs/design/part-messages.txt:
16819 * docs/design/part-negotiation.txt:
16820 * docs/design/part-overview.txt:
16821 * docs/design/part-preroll.txt:
16822 * docs/design/part-seeking.txt:
16823 * docs/design/part-states.txt:
16824 * docs/design/part-streams.txt:
16825 Documentation updates.
16827 2006-03-12 Julien MOUTTE <julien@moutte.net>
16829 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16830 us to leak strings...
16832 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16834 * libs/gst/net/gstnettimeprovider.c:
16836 * win32/common/config.h:
16839 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16841 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16844 Don't check for libgnomeui (leftover from old examples
16845 that aren't built or disted any longer) (#334303).
16847 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16849 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16850 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16851 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16852 there's no space left on the device.
16854 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16857 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16858 to cast the input to GstClockTime before comparing with
16859 another GstClockTime value.
16861 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16866 === release 0.10.4 ===
16868 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16871 releasing 0.10.4, "Light"
16873 2006-03-10 Michael Smith <msmith@fluendo.com>
16875 * libs/gst/dataprotocol/dataprotocol.c:
16876 Fix docs for dataprocotol to not get the return types completely
16877 wrong for a few functions.
16879 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16881 * docs/gst/gstreamer-sections.txt:
16882 * gst/gstpipeline.c: (gst_pipeline_class_init),
16883 (gst_pipeline_init), (gst_pipeline_set_property),
16884 (gst_pipeline_get_property), (gst_pipeline_change_state),
16885 (gst_pipeline_set_auto_flush_bus),
16886 (gst_pipeline_get_auto_flush_bus):
16887 * gst/gstpipeline.h:
16888 Add new API: gst_pipeline_set_auto_flush_bus() and
16889 gst_pipeline_get_auto_flush_bus() to disable automatic
16890 flushing of the pipeline's GstBus when going from READY
16891 to NULL state (#332045).
16893 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16895 * docs/gst/gstreamer-sections.txt:
16896 * gst/gsturi.c: (gst_uri_has_protocol):
16898 Add new API: gst_uri_has_protocol() (#333779).
16900 2006-03-09 Wim Taymans <wim@fluendo.com>
16902 * gst/gstclock.c: (gst_clock_entry_new),
16903 (gst_clock_id_compare_func), (gst_clock_id_wait),
16904 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16905 (gst_clock_init), (gst_clock_get_internal_time),
16906 (gst_clock_set_master), (do_linear_regression),
16907 (gst_clock_add_observation), (gst_clock_set_property):
16911 Fix a possible segfault when the window-size is made smaller.
16912 Calculate jitter before performing the clock wait. Ideally
16913 the clock implementation should calculate jitter but we need
16914 API breakage for that.
16916 * gst/gstsystemclock.c: (gst_system_clock_init):
16919 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16920 Remove leftover else
16922 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16923 (gst_systemclock_suite):
16924 Added check to test GST_CLOCK_DIFF.
16926 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16928 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16929 (gst_type_find_helper_get_range):
16930 If we are provided with the size, we should implement
16931 GstTypeFind::get_length, so that typefind functions who
16932 want to can actually peek at the middle of a file.
16934 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16936 * docs/manual/advanced-dataaccess.xml:
16937 Add some very very basic error checking.
16939 * docs/pwg/appendix-checklist.xml:
16940 Some updates to the list of things to check when writing an element.
16942 2006-03-08 Wim Taymans <wim@fluendo.com>
16944 * docs/design/part-element-transform.txt:
16945 Added some docs about the design of tranform elements.
16947 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16948 (gst_base_src_loop), (gst_base_src_change_state):
16949 Mark buffers with the DISCONT flag.
16951 2006-03-08 Michael Smith <msmith@fluendo.com>
16953 * gst/gstregistry.h:
16954 * gst/gstregistryxml.c: (gst_registry_save),
16955 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16956 (gst_registry_xml_save_pad_template),
16957 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16958 (gst_registry_xml_write_cache):
16959 Rewrite registry-saving to avoid race conditions and check for
16962 2006-03-08 Wim Taymans <wim@fluendo.com>
16964 * libs/gst/base/gstbasetransform.c:
16965 (gst_base_transform_transform_caps),
16966 (gst_base_transform_transform_size),
16967 (gst_base_transform_prepare_output_buffer),
16968 (gst_base_transform_get_unit_size),
16969 (gst_base_transform_buffer_alloc),
16970 (gst_base_transform_handle_buffer),
16971 (gst_base_transform_change_state):
16972 Cleanups, separate normal flow from errors, add sensible
16974 Don't try to renegotiate when allocating an output buffer.
16975 Also copy DISCONT buffer flag when copying a buffer.
16976 Reset the transform after we finish streaming, not during.
16978 2006-03-08 Wim Taymans <wim@fluendo.com>
16980 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16981 Use last buffer timestamp in qos message.
16983 2006-03-07 Wim Taymans <wim@fluendo.com>
16985 Patch by: Christophe Fergeau
16987 * docs/pwg/advanced-tagging.xml:
16988 * docs/pwg/building-pads.xml:
16991 2006-03-07 Wim Taymans <wim@fluendo.com>
16993 * docs/libs/gstreamer-libs-sections.txt:
16994 Added basesink new methods.
16998 Docs updates. Flesh out the QoS docs.
17000 * libs/gst/base/gstadapter.c:
17001 Small doc clarification about ownership and flushing.
17003 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17004 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17005 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17006 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17007 * libs/gst/base/gstbasesink.h:
17009 Added new methods to allow subclass to control max-lateness
17011 Generate very basic QoS events based on last sync observation.
17012 Updated docs, fix typo, added some QoS blurb.
17014 * libs/gst/base/gstbasesrc.c:
17015 Remove obsolete _get_state() calls from docs.
17017 2006-03-07 Wim Taymans <wim@fluendo.com>
17019 * docs/libs/gstreamer-libs-sections.txt:
17020 * libs/gst/base/gstbasetransform.h:
17021 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17022 Fix docs for GstBaseSrc.
17024 2006-03-07 Wim Taymans <wim@fluendo.com>
17026 * docs/gst/gstreamer-sections.txt:
17029 * libs/gst/base/gstbasetransform.h:
17030 Small documentation fixes.
17032 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17035 Document thread-unsafety of gst_value_register_foo_func()
17036 when used at the same time as gst_value_foo() (#322628).
17038 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17040 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17041 (gst_push_src_check_get_range):
17042 Push sources don't support pull mode by default.
17044 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17046 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17047 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17048 (gst_base_src_default_check_get_range):
17049 * libs/gst/base/gstbasesrc.h:
17050 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17051 provide default implementation, and rename
17052 gst_base_src_check_get_range() to
17053 gst_base_src_pad_check_get_range() for clarity.
17055 2006-03-06 Wim Taymans <wim@fluendo.com>
17057 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17058 Make property overridable.
17060 2006-03-06 Wim Taymans <wim@fluendo.com>
17062 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17063 (gst_base_sink_init), (gst_base_sink_set_property),
17064 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17065 * libs/gst/base/gstbasesink.h:
17066 API addition: Make max-lateness a property.
17068 2006-03-06 Wim Taymans <wim@fluendo.com>
17070 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17071 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17072 Don't ever draw a frame that is >10ms late.
17074 2006-03-06 Michael Smith <msmith@fluendo.com>
17076 * gst/gstmessage.c: (_gst_message_copy):
17077 When copying a message, set the parent_refcount of the enclosed
17078 structure to point at the copy, not the original message.
17080 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17082 Patch by: Christophe Fergeau
17085 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17086 usable in c++ code (#333417)
17088 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17091 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17093 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17095 * libs/gst/base/gstbasetransform.c:
17096 (gst_base_transform_transform_caps):
17097 Make sure caps are writable before passing them to
17100 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17103 Fix some minor docs errors.
17105 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17107 Patch by: Ross Burton <ross at burtonini dot com>
17109 * gst/gsterror.c: (_gst_resource_errors_init):
17111 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17113 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17116 Add a check and output a g_warning when GStreamer is built
17117 against GLib 2.6 but running against 2.8 or higher, and vice
17118 versa. (Closes: #323542)
17120 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17122 * gst/parse/parse.l:
17123 Commit patch for parse_launch syntax from #331255. Removes
17124 support for quoted strings and mimetypes when writing filtered
17125 caps. See the bug report for more details - I'm pretty sure this
17126 obscure feature is not in use by _anyone_ anywhere.
17128 With this simple change, the size of the gstreamer.so here
17129 drops from 2193KB to 1565KB.
17131 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17133 * plugins/elements/gsttypefindelement.h:
17134 * plugins/elements/gsttypefindelement.c:
17135 (gst_type_find_element_src_event), (start_typefinding),
17136 (stop_typefinding), (gst_type_find_element_handle_event),
17137 (gst_type_find_element_chain),
17138 (gst_type_find_element_chain_do_typefinding):
17139 Use gst_type_find_helper_for_buffer() for chain-based
17142 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17144 * plugins/elements/gsttypefindelement.c:
17145 (gst_type_find_element_class_init),
17146 (gst_type_find_element_set_property),
17147 (gst_type_find_element_get_property):
17148 Deprecate "maximum" property (not only was it only taken into
17149 account for typefinding in push-mode anyway, it also was never
17150 actually possible to set it in the first place because the
17151 property was registered with the numeric property ID for the
17152 "minimum" property). Register "maximum" property correctly,
17153 for the sake of future copy'n'pasters. Remove some cruft
17154 from property get/set functions.
17156 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17158 * plugins/elements/gsttypefindelement.c:
17159 (gst_type_find_element_activate):
17160 Use gst_type_find_helper_get_range() here, so we
17161 can honour the "minimum" property and also emit
17162 the signal with the correct probability of the found caps.
17164 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17166 * docs/libs/gstreamer-libs-sections.txt:
17167 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17168 (helper_find_suggest), (gst_type_find_helper_get_range),
17169 (gst_type_find_helper):
17170 * libs/gst/base/gsttypefindhelper.h:
17171 New API: gst_type_find_helper_get_range() (#333042).
17173 2006-03-02 Michael Smith <msmith@fluendo.com>
17175 * gst/gstregistryxml.c: (load_feature):
17176 Asserting on a failure to read part of the registry is Not Cool.
17177 Just log a warning and return NULL (which is already handled)
17179 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17181 * win32/common/libgstbase.def:
17182 added export of gst_type_find_helper_for_buffer
17183 * win32/common/libgstbase.def:
17184 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17185 gst_ghost_pad_get_target
17187 2006-02-28 Wim Taymans <wim@fluendo.com>
17189 * docs/design/draft-klass.txt:
17191 Added Connector to mark elements that are only used to
17192 allow pipeline connections.
17193 Moved Debug to extra feature since most of them are
17194 functionally something else.
17196 2006-02-28 Wim Taymans <wim@fluendo.com>
17198 * docs/design/draft-klass.txt:
17199 Some updates and clarifications.
17201 2006-02-28 Wim Taymans <wim@fluendo.com>
17203 * docs/design/draft-klass.txt:
17204 Proposal for klass field values.
17206 * docs/design/part-streams.txt:
17207 Start of a doc describing stream anatomy.
17209 2006-02-28 Wim Taymans <wim@fluendo.com>
17211 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17212 Help the compiler a bit with type registration.
17213 Use existing forward cod path instead of duplicating it when
17214 handling a message.
17216 * gst/gstbus.c: (gst_bus_get_type):
17217 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17218 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17219 * gst/gstclock.c: (gst_clock_get_type):
17220 * gst/gstelement.c: (gst_element_get_type),
17221 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17222 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17223 * gst/gstminiobject.c: (gst_mini_object_get_type):
17224 * gst/gstpad.c: (gst_pad_get_type):
17225 * gst/gstsegment.c: (gst_segment_get_type):
17226 * gst/gststructure.c: (gst_structure_get_type):
17227 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17228 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17230 Help compiler with type registration.
17232 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17235 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17237 * plugins/elements/gsttypefindelement.c:
17238 (gst_type_find_element_handle_event):
17239 When we get an EOS event and have not found a type yet
17240 (most likely because we had not yet accumulated
17241 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17242 type given the data we have so far. Fixes typefinding
17243 for very short streams again, most notably quicktime
17244 redirections as used on Apple's trailer site (#331701).
17246 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17248 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17249 (gst_type_find_helper):
17250 Try typefinding factories with the highest rank first.
17252 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17254 * docs/libs/gstreamer-libs-docs.sgml:
17255 * docs/libs/gstreamer-libs-sections.txt:
17256 * libs/gst/base/gsttypefindhelper.c:
17257 Add section for typefind helper and add documentation
17258 for the old and the new function.
17260 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17262 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17263 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17264 (gst_type_find_helper_for_buffer):
17265 * libs/gst/base/gsttypefindhelper.h:
17266 New API: gst_type_find_helper_for_buffer() (#332723).
17268 2006-02-27 Michael Smith <msmith@fluendo.com>
17270 Patch by: Loïc Minier
17273 * docs/Makefile.am:
17274 * docs/slides/Makefile.am:
17275 prevent CVS directories getting disted.
17277 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17279 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17280 Use the REFCOUNTING category for caps refcounting.
17282 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17284 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17285 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17287 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17289 * plugins/elements/gsttypefindelement.c:
17290 (gst_type_find_element_activate):
17291 Use gst_pad_check_pull_range() before _activate_pull()
17292 to avoid unnecessary open/close (see #331690).
17294 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17297 Docs enhancement: make it crystal clear what the
17298 gst_pad_add_*_probe() callbacks should look like.
17300 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17302 * libs/gst/base/gstbasesrc.c:
17303 Document how applications can stop recording from
17304 live sources (see #330996).
17306 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17308 * tests/check/Makefile.am:
17309 * tests/check/libs/basesrc.c: (eos_event_counter),
17310 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17311 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17312 (gst_basesrc_suite), (main):
17313 ... and add some tests for the base source EOS stuff.
17315 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17317 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17318 Test case originally showed the problem fixed below,
17319 but was then amended. Add checks back at the place
17320 where they used to be.
17322 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17324 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17325 (gst_base_src_init), (gst_base_src_loop),
17326 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17327 (gst_base_src_change_state):
17328 * libs/gst/base/gstbasesrc.h:
17329 Don't unconditionally send EOS when going from PAUSED to
17330 READY state, esp. make sure we don't send two EOS events
17331 in some cases (e.g. one when reaching EOS and one when
17332 going from PAUSED to READY). Also, we don't want to send
17333 EOS events when operating in pull mode. However, we do
17334 want to send an EOS event when shutting down a live
17335 source explicitly, for example (fixes #330996).
17337 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17339 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17340 Update src->read_position after a seek when not using mmap.
17341 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17343 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17349 Make things work with --disable-parse as they do with
17350 --disable-load-save - the symbols involved disappear, but the
17351 header is still installed and GST_DISABLE_PARSE is included via
17354 2006-02-20 Julien MOUTTE <julien@moutte.net>
17356 * libs/gst/base/gstbasetransform.c:
17357 (gst_base_transform_change_state): Fix a stupid bug. I was
17358 sure I compiled that.
17360 2006-02-20 Julien MOUTTE <julien@moutte.net>
17362 * gst/gstpad.c: (gst_pad_set_blocked_async):
17363 * gst/gstutils.c: (gst_pad_add_data_probe),
17364 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17365 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17366 (gst_pad_remove_buffer_probe): Make those function act on the
17367 ghostpad target when it's a ghostpad. (Closes #331727)
17369 2006-02-20 Julien MOUTTE <julien@moutte.net>
17371 * libs/gst/base/gstbasetransform.c:
17372 (gst_base_transform_change_state): Make basetransform reusable.
17375 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17377 * docs/random/release:
17378 Move the current documentation of how to do a release to the top
17381 * gst/gstbin.c: (gst_bin_class_init),
17382 (gst_bin_handle_message_func):
17383 Allow multiple state-recalculation threads. (Closes #328873)
17385 2006-02-19 Julien MOUTTE <julien@moutte.net>
17387 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17388 * gst/gstpad.c: (gst_pad_set_event_function),
17389 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17390 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17391 2 strings. You can't use the STR_NULL macro on that.
17393 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17395 * gst/gstpad.c: (gst_pad_set_event_function),
17396 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17397 (gst_pad_set_getcaps_function)
17398 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17399 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17400 So now, we can use --gst-debug-level=5 on Windows
17401 * win32/common/libgstcontroller.def:
17402 Added export of gst_controller_init
17403 * win32/vs6/libgstcontroller.dsp:
17404 Fixed Release post build configuration
17406 2006-02-17 Wim Taymans <wim@fluendo.com>
17408 * tests/check/gst/gstquery.c: (GST_START_TEST):
17409 Added another check.
17411 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17413 * plugins/elements/gsttypefindelement.c: (find_peek):
17414 We can do peeks at non-zero offsets, as long as they
17415 fall within the buffer we have.
17417 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17419 * tests/check/Makefile.am:
17420 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17421 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17422 (parse_suite), (main):
17423 Add testsuite for parse launch syntax
17425 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17427 * plugins/elements/gsttypefindelement.c:
17428 (gst_type_find_element_chain):
17429 When typefinding is unsuccessful in the chain function, don't
17430 error out immediately. Only error out with NO_CAPS_FOUND if
17431 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17432 otherwise simply wait for more data so we can try typefinding
17433 again with more data later. Also, don't attempt to typefind
17434 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17435 this should improve typefinding from network sources where the
17436 size of the first buffer can be somewhat random.
17438 2006-02-14 Wim Taymans <wim@fluendo.com>
17440 * docs/gst/gstreamer-sections.txt:
17441 * gst/gstpadtemplate.c:
17442 * gst/gstpadtemplate.h:
17443 Fix padtemplate docs, fixes #328805.
17445 2006-02-14 Wim Taymans <wim@fluendo.com>
17447 * tools/gst-launch.c: (main):
17448 NO_PREROLL is not an ERROR so don't send confusing messages
17451 2006-02-14 Wim Taymans <wim@fluendo.com>
17453 Patch by: Torsten Schoenfeld
17455 * gst/gstregistry.c: (gst_registry_get_default),
17456 (_gst_registry_cleanup):
17457 Protect default registry with lock and ref/sink it.
17460 2006-02-14 Wim Taymans <wim@fluendo.com>
17463 * gst/gstquery.c: (gst_query_list_add_format),
17464 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17465 (gst_query_parse_formats_nth):
17466 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17469 2006-02-14 Wim Taymans <wim@fluendo.com>
17471 * docs/gst/gstreamer-sections.txt:
17472 Reworked query docs.
17474 * gst/gstquery.c: (gst_query_new_formats),
17475 (gst_query_list_add_format), (gst_query_set_formats),
17476 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17477 (gst_query_parse_formats_nth):
17479 Flesh out formats query, added some new methods.
17480 Fix part of #324398.
17482 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17483 Added query creation tests.
17485 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17487 * gst/gstpad.c: (fixate_value):
17488 Add a default fixation for fraction lists.
17490 2006-02-13 Wim Taymans <wim@fluendo.com>
17492 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17493 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17496 Detect and warn for obvious deadlocks. fixes #320340
17497 Fix error case where lock was not released.
17499 * tests/check/Makefile.am:
17500 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17501 (task_func), (gst_element_suite), (main):
17504 2006-02-13 Wim Taymans <wim@fluendo.com>
17506 * docs/gst/gstreamer-sections.txt:
17508 Add new functions to docs.
17510 2006-02-13 Wim Taymans <wim@fluendo.com>
17512 * docs/design/part-TODO.txt:
17513 Updated TODO list, basesrc supports seeking to non-bytes
17516 * docs/design/part-element-sink.txt:
17519 * gst/gstbin.c: (bin_replace_message),
17520 (gst_bin_handle_message_func):
17521 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17522 * gst/gstevent.c: (gst_event_finalize):
17523 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17524 (gst_pad_send_event):
17525 Use shiny new _TYPE_NAME macros.
17527 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17528 Move debug statement up.
17530 * gst/gstelement.c: (gst_element_set_locked_state):
17531 Add some debugging.
17533 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17535 * docs/gst/gstreamer-sections.txt:
17536 * gst/gstmessage.h:
17538 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17539 macros (#330906). Also, document the already existing
17540 GST_QUERY_TYPE macro.
17542 2006-02-13 Wim Taymans <wim@fluendo.com>
17544 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17545 (event_probe), (GST_START_TEST):
17546 Only events up to the pipeline EOS are counted, there are
17547 some more when going to NULL currently which we don't care
17550 2006-02-13 Wim Taymans <wim@fluendo.com>
17552 * gst/gstpad.c: (gst_pad_send_event):
17553 Correctly check flushing and emit probes. fixes #330125
17555 2006-02-10 Andy Wingo <wingo@pobox.com>
17557 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17559 (gst_bus_init): Cache the location of the private data in the
17560 instance structure.
17561 (gst_bus_enable_sync_message_emission)
17562 (gst_bus_disable_sync_message_emission): Implement new public
17564 (gst_bus_post): Emit the sync-message signal if the user asked for
17567 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17568 location of the bus-private structure.
17569 (gst_bus_enable_sync_message_emission)
17570 (gst_bus_disable_sync_message_emission): API addition
17572 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17574 Patch by: Vincent Torri
17576 * docs/pwg/building-boiler.xml:
17577 PWG patch from #326800
17579 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17582 * docs/Makefile.am:
17583 * docs/design/Makefile.am:
17586 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17591 === release 0.10.3 ===
17593 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17596 releasing 0.10.3, "Like a virgin"
17598 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17601 2nd prerelease of 0.10.3
17602 Bump libtool versioning.
17604 2006-02-07 Andy Wingo <wingo@pobox.com>
17606 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17607 update last_stop if we're in TIME format and the timestamp is
17610 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17611 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17612 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17613 If we get a new newsegment with a different format, adapt
17616 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17617 of 0. Not a problem, really.
17619 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17622 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17627 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17630 project files updated to the default vs7 configuration
17631 * win32/common/libgstbase.def:
17632 * win32/common/libgstreamer.def:
17634 removed empty lines,
17635 sorted all exported symbols alphabetically
17636 * win32/common/dirent.c:
17637 * win32/common/dirent.h:
17638 * win32/common/gchar.h:
17639 use windows line end.
17641 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17643 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17644 Send EOS event when stopping.
17646 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17649 Tell folks what to do if the plugin-foobar.xml file
17650 hasn't been generated for a newly-added plugin.
17652 2006-02-05 Julien MOUTTE <julien@moutte.net>
17654 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17655 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17656 (gst_collect_pads_start), (gst_collect_pads_stop),
17657 (gst_collect_pads_event): Collectpads now holds a reference
17658 to the GstPad that was added. Indeed we don't want to look
17659 at pads that might just go away with no warning...
17661 2006-02-05 Julien MOUTTE <julien@moutte.net>
17663 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17664 (gst_collect_pads_start), (gst_collect_pads_stop),
17665 (gst_collect_pads_event), (gst_collect_pads_chain):
17666 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17667 Mark Nauwelaerts's patch on bug #328491.
17669 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17671 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17673 Add some simple tests for gst_parse_bin_from_description() and
17674 gst_bin_find_unconnected_pad() (#329069).
17676 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17678 * tools/gst-launch.c: (event_loop), (main):
17679 Catch errors during preroll (#320084).
17681 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17683 * plugins/elements/gsttypefindelement.c:
17684 (gst_type_find_element_activate):
17685 Post TYPE_NOT_FOUND error message when typefinding
17686 is unsuccessful in the activate function as well.
17688 2006-02-02 Wim Taymans <wim@fluendo.com>
17690 * docs/design/part-element-sink.txt:
17693 2006-02-02 Wim Taymans <wim@fluendo.com>
17695 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17696 (gst_base_sink_render_object),
17697 (gst_base_sink_queue_object_unlocked):
17698 Only keep track of prerollable items when we are
17700 Before rendering after preroll, always check if we
17702 Added some more debugging.
17704 2006-02-02 Wim Taymans <wim@fluendo.com>
17706 * gst/gstelement.c: (gst_element_continue_state),
17707 (gst_element_set_state_func), (gst_element_change_state):
17708 Fixed #326576, been running this for quite some time with
17709 no regressions at all.
17711 2006-02-02 Wim Taymans <wim@fluendo.com>
17714 Added more suppressions
17716 2006-02-02 Wim Taymans <wim@fluendo.com>
17718 * docs/design/part-element-sink.txt:
17721 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17722 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17723 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17724 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17725 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17726 (gst_base_sink_preroll_object),
17727 (gst_base_sink_queue_object_unlocked),
17728 (gst_base_sink_queue_object), (gst_base_sink_event),
17729 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17730 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17731 (gst_base_sink_get_position), (gst_base_sink_change_state):
17732 * libs/gst/base/gstbasesink.h:
17733 Totally refactored matching the design doc.
17734 Use two segments, one to clip incomming buffers and another to
17736 Handle queueing correctly, bypass the queue when playing.
17737 Make EOS cancelable.
17738 Handle errors correctly when operating in pull based mode.
17740 * tests/check/elements/fakesink.c: (GST_START_TEST),
17742 Added new check for sinks.
17744 2006-02-02 Wim Taymans <wim@fluendo.com>
17746 * gst/gstsegment.c: (gst_segment_clip):
17747 No reason to refuse to clip when start == -1
17749 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17752 * docs/manual/intro-basics.xml:
17753 * docs/manual/intro-preface.xml:
17754 * docs/manual/manual.xml:
17755 * docs/pwg/advanced-dparams.xml:
17756 * docs/pwg/intro-basics.xml:
17757 * docs/pwg/intro-preface.xml:
17758 * docs/pwg/pwg.xml:
17759 describe dparams (controller) for plugins
17760 unify docs a little more
17762 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17764 * docs/gst/gstreamer-sections.txt:
17765 * gst/gstutils.c: (element_find_unconnected_pad),
17766 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17768 Add new API: gst_parse_bin_from_description() and
17769 gst_bin_find_unconnected_pad() (#329069).
17771 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17773 * docs/manual/README:
17774 uncover a nasty detail of the docs build
17776 2006-01-31 Wim Taymans <wim@fluendo.com>
17778 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17779 Don't cache duration messages if we're not going to use or
17782 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17784 * docs/manual/advanced-dparams.xml:
17785 * docs/pwg/advanced-dparams.xml:
17789 * libs/gst/controller/lib.c: (gst_controller_init):
17792 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17794 * gst/gstelement.c: (gst_element_message_full):
17795 also show file/line/func if no additional debug was given
17797 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17799 * win32/vs7/grammar.vcproj:
17800 activate copy of autogenerated files for Release mode
17802 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17804 * win32/common/libgstreamer.def:
17805 export gst_value_compare
17807 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17809 * plugins/elements/Makefile.am:
17810 * plugins/elements/gstelements.c:
17811 * plugins/elements/gstfdsink.c: (_do_init),
17812 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17813 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17814 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17815 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17816 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17817 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17818 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17819 * plugins/elements/gstfdsink.h:
17820 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17822 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17824 * docs/manual/advanced-dparams.xml:
17825 describe controller
17826 * docs/manual/advanced-position.xml:
17827 * docs/manual/basics-init.xml:
17828 * docs/manual/manual.xml:
17829 * docs/manual/titlepage.xml:
17830 * docs/pwg/pwg.xml:
17831 * docs/pwg/titlepage.xml:
17832 cleanup xml (more to come)
17833 * libs/gst/controller/gstcontroller.c:
17836 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17838 * win32/vs6/grammar.dsp:
17839 add autogen of gstmarshal.c,h for Release mode
17841 2006-01-30 Wim Taymans <wim@fluendo.com>
17843 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17844 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17845 (gst_base_sink_handle_object), (gst_base_sink_event),
17846 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17847 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17848 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17849 (gst_base_sink_deactivate), (gst_base_sink_activate),
17850 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17851 (gst_base_sink_query), (gst_base_sink_change_state):
17852 Basesink cleanups, remove some old code.
17853 Handle the case where a subclass can preroll in the render
17854 method (mostly audiosinks).
17855 Handle more events.
17856 Remove some locks around variables that are now protected
17857 with the PREROLL_LOCK (clock_id, flushing, ..).
17858 Optimize position query some more, do correct locking.
17859 Remove old code to push queue in state change, this is not
17860 needed anymore since preroll blocks on all prerollable items
17862 Almost implemented as described in design doc.
17864 2006-01-30 Wim Taymans <wim@fluendo.com>
17866 * tests/check/gst/gstbin.c: (GST_START_TEST):
17867 Wait for refcount to settle down before checking.
17869 2006-01-30 Wim Taymans <wim@fluendo.com>
17871 * docs/design/part-element-sink.txt:
17872 Pseudo code overview of desired sink behaviour regarding
17875 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17876 * win32/vs6/grammar.dsp:
17877 fix some bugs in Release mode for autogenerated files
17879 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17880 * win32/common/libgstbase.def:
17881 * win32/common/libgstreamer.def:
17882 export some new symbols: gst_base_src_set_format,
17883 gst_iterator_next, gst_structure_set_valist
17885 2006-01-29 Julien MOUTTE <julien@moutte.net>
17887 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17888 Set pad functions unconditionally. Fixes #329105.
17890 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17892 add vs8 project files created by Sergey Scobich
17894 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17896 * gst/gstutils.c: (gst_element_unlink_pads):
17897 Don't leak pad references.
17899 * tests/check/elements/fakesink.c: (GST_START_TEST):
17900 * tests/check/generic/sinks.c: (GST_START_TEST):
17901 * tests/check/generic/states.c: (GST_START_TEST):
17902 * tests/check/gst/gstbin.c: (GST_START_TEST):
17903 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17904 * tests/check/gst/gstelement.c: (GST_START_TEST):
17905 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17906 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17907 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17908 Fix a bunch of leaks. Make generic/sinks.c
17909 use a bit less cpu by slowing the buffer rate
17910 between fakesrc and fakesink.
17912 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17914 * gst/gstelement.c: (gst_element_send_event):
17917 * gst/gstiterator.c:
17918 * gst/gstiterator.h:
17919 * gst/gstpad.c: (gst_pad_send_event):
17920 * gst/gststructure.c:
17924 * libs/gst/base/gstadapter.c:
17925 doc fixes, to link to function, just write gst_cool_function(), don't
17928 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17930 * plugins/elements/gsttee.c: (gst_tee_do_push),
17931 (gst_tee_handle_buffer):
17932 Always prefer an actual return value from a src
17933 pad in place of NOT_LINKED. This means we return
17934 WRONG_STATE when all src pads are WRONG_STATE
17935 instead of NOT_LINKED.
17937 Lock when replacing the last message to prevent
17938 racing with the get_property method.
17942 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17944 * tests/check/Makefile.am:
17945 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17947 Add a very simple check that should have caught the memleak I fixed
17948 last night (if not for the slice allocator hiding it)
17950 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17952 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17953 (gst_bin_remove_func), (gst_bin_handle_message_func),
17954 (bin_query_duration_fold), (bin_query_generic_fold):
17955 Clean up references to the clock provider when disposed or when
17956 handling a clock-lost message from it.
17958 Unref sinks when performing a query via gst_iterator_fold, as the
17959 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17961 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17962 (gst_clock_set_master):
17963 Drop our reference to the master clock, if any, when we are disposed.
17965 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17966 Chain up in dispose.
17968 2006-01-26 Wim Taymans <wim@fluendo.com>
17970 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17971 Add some debugging.
17973 2006-01-26 Julien MOUTTE <julien@moutte.net>
17975 * plugins/elements/gsttee.c: (gst_tee_do_push),
17976 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17977 handles pad being NOT_LINKED or in WRONG_STATE.
17979 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17984 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17987 remove obsolete entry
17989 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17991 * docs/gst/gstreamer-sections.txt:
17992 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17993 (gst_bin_iterate_sources), (gst_bin_send_event):
17995 * gst/gstelement.c: (gst_element_send_event):
17997 * gst/gstpad.c: (gst_pad_send_event):
17998 added code for downstream events, reviewed docs in gstevent.c
18000 2006-01-25 Julien MOUTTE <julien@moutte.net>
18002 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18003 We only query position using the clock in the playing state.
18004 Query peer in the other cases.
18005 * win32/common/config.h: Updates.
18007 2006-01-24 Wim Taymans <wim@fluendo.com>
18009 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18010 A clock entry that is scheduled for the exact time of the
18011 clock is still in time.
18013 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18014 (gst_base_sink_do_sync):
18015 Add some more debug info.
18017 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18020 Add new vs7 project files and solution.
18022 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18025 all files removed as they were out-dated.
18027 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18029 * docs/random/release:
18031 * gst/gstbin.c: (gst_bin_init):
18032 * gst/gstbus.c: (gst_bus_new):
18034 * gst/gstpipeline.c: (gst_pipeline_init):
18035 use gst_bus_new(), improve logging, fix docs
18036 * win32/common/config.h:
18037 update for cvs build
18039 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18042 up required version of automake to 1.7
18044 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18046 * win32/common/libgstreamer.def:
18047 export gst_buffer_is_metadata_writable
18049 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18051 * docs/gst/gstreamer-sections.txt:
18053 Add gst_event_replace() (#327001)
18055 2006-01-20 Wim Taymans <wim@fluendo.com>
18057 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18058 Make it actually compile too..
18060 2006-01-20 Wim Taymans <wim@fluendo.com>
18063 Clarify behaviour of _is_equal() when passing NULL parameters.
18065 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18066 (gst_pad_set_caps):
18067 Cleanups. Don't unref NULL caps.
18068 When setting the same caps, protect caps of the pad with
18070 Use full functionality of _is_equal() when comparing caps.
18072 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18074 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18075 Don't loop infinitely if there are no buffers to present. Partially
18076 fixes #327197, but collectpads is just broken for reusing elements
18077 to do multiple encodes atm.
18079 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18081 * tools/gst-inspect.c: (print_element_features):
18082 * tools/gst-xmlinspect.c: (main):
18083 URL_HANDLER is not a plugin feature we can search for in
18086 2006-01-19 Edward Hervey <edward@fluendo.com>
18088 * gst/gstelement.c: (gst_element_pads_activate):
18089 When activating, do src pads first, then sink pads.
18090 When de-activating, do sink pads first, then src pads.
18092 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18094 * docs/gst/gstreamer-sections.txt:
18095 Add gst_index_add_associationv to the docs
18097 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18102 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18103 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18104 Do some refactoring. Doesn't actually change functionality,
18105 but makes landing the DRAIN event easier later.
18107 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18109 * docs/pwg/advanced-scheduling.xml:
18110 Update from 0.9.x to 0.10 API and make example a bit
18113 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18115 * docs/gst/gstreamer-sections.txt:
18116 Add gst_buffer_(is|make)_metadata_writable methods.
18118 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18120 * docs/design/part-sparsestreams.txt:
18121 Update sparse streams doc, hopefully for greater clarity
18123 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18125 * docs/design/part-events.txt:
18126 Remove mention of FILLER events.
18129 * docs/design/part-sparsestreams.txt:
18130 Write some things about using NEWSEGMENT to keep sparse streams
18133 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18135 * gst/gstbin.c: (gst_bin_dispose):
18136 Guard gst_object_unref call against a NULL object (dispose
18137 can theoretically be called multiple times).
18139 2006-01-18 Wim Taymans <wim@fluendo.com>
18141 * gst/gstbin.c: (gst_bin_element_set_state):
18142 * gst/gstclock.c: (gst_clock_id_wait):
18143 Added some more debug info.
18145 * libs/gst/base/gstadapter.c:
18148 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18149 (gst_base_sink_do_sync), (gst_base_sink_chain):
18150 Added some comments.
18152 2006-01-18 Wim Taymans <wim@fluendo.com>
18154 * tests/check/Makefile.am:
18155 * tests/check/elements/fakesink.c: (chain_async_buffer),
18156 (chain_async), (chain_async_return), (GST_START_TEST),
18157 (fakesink_suite), (main):
18158 Added fakesink test that checks prerolling and clipping
18161 * tests/check/gst/gstutils.c: (GST_START_TEST):
18162 Make check run faster so that buildbots don't timeout.
18164 2006-01-18 Wim Taymans <wim@fluendo.com>
18166 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18167 (gst_base_sink_do_sync):
18169 When the sink finishes blocking on the preroll buffer, it can
18170 immediatly render it instead of rendering when the next buffer
18173 2006-01-18 Wim Taymans <wim@fluendo.com>
18175 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18176 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18177 (gst_base_sink_chain):
18179 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18180 Don't store _last_stop if the buffer is dropped.
18182 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18184 * plugins/elements/gsttypefindelement.c:
18185 (gst_type_find_element_class_init):
18186 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18187 object method handler that sets the caps on the pad and we want
18188 that to happen before we emit the signal (fixes e.g. feeding a
18189 plain text file to decodebin).
18191 2006-01-18 Christian Schaller <Christian@fluendo.com>
18193 * gst/gstplugin.c: Add MPL and Proprietary as license options
18195 2006-01-18 Andy Wingo <wingo@pobox.com>
18197 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18198 symbol was exported before, it appears this was just an oversight.
18200 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18202 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18203 prototype to gint. OK since this prototype was not in the header.
18205 2006-01-17 Andy Wingo <wingo@pobox.com>
18207 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18208 registry while we remove plugins.
18210 * tools/gst-inspect.c (print_element_info): Don't unref the
18211 factory arg, that should be the responsibility of whatever code
18212 received the ref. Fixes a double-free when called from
18213 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18214 (main): Unref the factory if we have one.
18215 (print_element_list): No change -- relies on the
18216 plugin_feature_list_free to free the list of features.
18218 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18220 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18221 (gst_buffer_make_metadata_writable):
18223 * libs/gst/base/gstbasetransform.c:
18224 (gst_base_transform_prepare_output_buf):
18225 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18226 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18227 Replace gst_buffer_(make|is)_metadata_writable patch now
18228 that the release is out.
18230 2006-01-17 Andy Wingo <wingo@pobox.com>
18232 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18233 in the present tense without reference to versions.
18235 * gst/gstregistry.c (gst_registry_add_plugin)
18236 (gst_registry_remove_plugin, gst_registry_remove_feature)
18237 (gst_registry_find_feature, gst_registry_get_feature_list)
18238 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18239 (gst_registry_lookup, gst_registry_scan_path)
18240 (_gst_registry_remove_cache_plugins)
18241 (gst_registry_get_feature_list_by_plugin): Add argument
18244 === release 0.10.2 ===
18246 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18249 releasing 0.10.2, "If man is five"
18251 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18255 * libs/gst/base/gstbasetransform.c:
18256 (gst_base_transform_prepare_output_buf):
18257 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18258 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18259 Back out patch until after the release.
18261 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18263 * gst/gstminiobject.c:
18264 Spelling fix in docs.
18265 * ChangeLog - remove conflict indicator
18267 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18269 Reviewed By: Andy Wingo
18271 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18272 (gst_buffer_make_metadata_writable):
18274 Add gst_buffer_(is|make)_metadata_writable as analogues of
18275 gst_buffer_(is|make)_writable.
18277 * libs/gst/base/gstbasetransform.c:
18278 (gst_base_transform_prepare_output_buf):
18279 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18280 Use name gst_buffer_(is|make)_metadata_writable functions.
18282 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18283 Test gst_buffer_(is|make)_metadata_writable
18287 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18289 * docs/manual/Makefile.am:
18290 don't do parallel make
18293 * win32/common/config.h.in:
18294 add generations for HOST_CPU and GST_MAJORMINOR
18295 * win32/common/config.h:
18296 commit generated result
18298 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18300 * docs/manual/appendix-integration.xml:
18301 Update GNOME integration section to use gst_init_get_option_group()
18302 instead of the old popt stuff (#322911). Also, GNOME applications
18303 should now use gconf*sink and gconf*src instead of the old gconf
18306 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18309 * docs/gst/gstreamer-docs.sgml:
18310 * docs/gst/gstreamer-sections.txt:
18311 * docs/libs/gstreamer-libs-sections.txt:
18312 add new API entries to the docs
18313 * libs/gst/controller/Makefile.am:
18314 * libs/gst/controller/gstcontroller.c:
18315 * libs/gst/controller/gstcontroller.h:
18316 * libs/gst/controller/gstcontrollerprivate.h:
18317 * libs/gst/controller/gsthelper.c:
18318 * libs/gst/controller/gstinterpolation.c:
18319 move private structs to private header
18321 gstreamer-0.7 -> gstreamer-0.10
18322 * tests/check/libs/struct_i386.h:
18323 remove private structs
18325 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18327 * plugins/indexers/Makefile.am:
18328 Fixes as part of #317048
18330 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18332 * plugins/indexers/Makefile.am:
18333 fix #316086 - compilation when mmap is missing
18335 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18337 * libs/gst/base/gstbasesink.c:
18338 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18339 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18340 * win32/common/config.h:
18341 added some defines GST_MAJORMINOR and HOST_CPU
18342 * win32/common/libgstbase.def:
18343 * win32/common/libgstreamer.def:
18344 added some exported functions.
18346 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18348 * libs/gst/controller/gstcontroller.c:
18349 (gst_controlled_property_set_interpolation_mode),
18350 (gst_controlled_property_new):
18351 * libs/gst/controller/gstcontroller.h:
18352 * libs/gst/controller/gstinterpolation.c:
18353 (interpolate_none_get_string_value_array):
18354 make G_TYPE_STRING controlable
18356 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18359 * tools/gst-feedback.1.in:
18360 * tools/gst-inspect.1.in:
18361 * tools/gst-launch.1.in:
18362 * tools/gst-md5sum.1.in:
18363 * tools/gst-typefind.1.in:
18364 * tools/gst-xmlinspect.1.in:
18365 * tools/gst-xmllaunch.1.in:
18366 cleanup man-pages, remove reference to gst-register, document env-vars
18368 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18370 * gst/gstbuffer.c: (gst_buffer_span):
18371 gst_buffer_span should copy the timestamp of the first buffer
18372 if they were both originally overlapping subbuffers of the
18373 same parent, using the same logic as the 'slow copy' case.
18375 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18377 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18378 Need to awaken ALL the pads when we pop a buffer, otherwise
18379 collectpads only works when there is 2 input streams.
18381 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18383 * docs/random/ensonic/media-device-daemon.txt:
18386 fix doc example, add clarification
18387 * tools/gst-launch.1.in:
18388 add initial info about GST_PLUGIN_PATH, needs more work
18390 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18392 * docs/manual/basics-bins.xml:
18393 * docs/manual/basics-elements.xml:
18394 * docs/manual/intro-basics.xml:
18395 Some more minor docs additions and updates.
18397 2006-01-11 Wim Taymans <wim@fluendo.com>
18399 * docs/manual/basics-bins.xml:
18400 * docs/manual/basics-elements.xml:
18401 Some small fixes as pointed out by Ser-ver on IRC.
18403 2006-01-10 Edward Hervey <edward@fluendo.com>
18405 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18406 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18407 the single-segment mode.
18409 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18411 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18413 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18414 (gst_base_src_perform_seek), (gst_base_src_send_event),
18415 (gst_base_src_set_property), (gst_base_src_get_property),
18416 (gst_base_src_loop), (gst_base_src_start),
18417 (gst_base_src_activate_push):
18418 * libs/gst/base/gstbasesrc.h:
18419 Name (private) union; makes Sun's Forte compiler happy (#324900).
18421 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18424 gst-register is gone.
18426 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18428 * gst/gstvalue.c: (_gst_value_initialize):
18429 make the G_TYPE_DATE instantiation work if debug is disabled
18431 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18433 * gst/gstmessage.c: (gst_message_parse_tag),
18434 (gst_message_parse_error), (gst_message_parse_warning):
18435 Don't crash when return location for error/warning debug
18436 string is NULL; add fact that return locations can be
18437 NULL to docs where appropriate.
18439 2006-01-05 Wim Taymans <wim@fluendo.com>
18441 * gst/gstplugin.c: (gst_plugin_load_file):
18442 Replace strdup by g_strdup.
18444 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18446 * docs/pwg/advanced-types.xml:
18449 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18451 submitted by: Abel Cheung
18455 Added Chinese (traditional) translation
18457 2006-01-04 Wim Taymans <wim@fluendo.com>
18459 * docs/manual/basics-pads.xml:
18460 * docs/plugins/Makefile.am:
18461 * docs/plugins/gstreamer-plugins-docs.sgml:
18462 * docs/plugins/gstreamer-plugins-sections.txt:
18463 * docs/pwg/advanced-clock.xml:
18464 * docs/pwg/advanced-scheduling.xml:
18465 * docs/pwg/advanced-types.xml:
18466 * plugins/elements/gstfdsink.c:
18467 * plugins/elements/gstfdsrc.c:
18468 * plugins/elements/gstfdsrc.h:
18469 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18470 * plugins/elements/gstidentity.h:
18471 * plugins/elements/gstqueue.h:
18472 * plugins/elements/gsttee.c:
18473 * plugins/elements/gsttee.h:
18474 * plugins/elements/gsttypefindelement.c:
18475 (gst_type_find_element_class_init):
18476 * plugins/elements/gsttypefindelement.h:
18477 Small updates to various docs.
18478 Added core plugins to docs.
18480 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18483 add a suppression for liboil's uninitialized variable
18485 2006-01-02 James Livingston <jrl at ids dot org dot au>
18487 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18490 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18491 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18492 compiler switch is being used (#325429).
18494 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18496 * gst/gstbin.c: (gst_bin_query):
18497 Disable duration query caching in bins until it gets
18498 fixed (see #324807).
18500 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18502 * tools/gst-inspect.c: (print_element_properties_info):
18503 Handle properties of POINTER and BOXED type.
18505 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18507 * gst/gst.c: (init_post):
18508 Init tags stuff and some other things before loading
18509 any static plugins (there may be other static plugins
18510 than just the GStreamer ones, and they may want to
18511 register their own tags or formats or whatever, and
18512 preferably without segfaulting).
18514 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18515 Print at least a warning in the debug logs if we drop a
18516 query just because we don't know how to adjust the value
18517 in the particular format.
18519 2005-12-24 David Schleef <ds@schleef.org>
18521 * tools/gstreamer-completion:
18522 Replacement for gst-complete written in sh and sed. Only
18523 completes names of features, but that's 90% of what I want
18524 it for. Properties are not available in registry.xml. (Maybe
18527 === release 0.10.1 ===
18529 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18532 releasing 0.10.1, "Nollaig chridheil"
18534 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18536 * docs/faq/cvs.xml:
18537 Add missing quote, should be make ERROR_CFLAGS="".
18539 2005-12-20 Wim Taymans <wim@fluendo.com>
18541 * docs/design/part-trickmodes.txt:
18542 More documentation on trickmodes.
18544 2005-12-20 Edward Hervey <edward@fluendo.com>
18546 * gst/gstcaps.c: (gst_static_caps_get_type):
18548 API addition: GST_TYPE_STATIC_CAPS
18549 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18550 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18551 * gst/gstpadtemplate.h:
18552 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18553 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18556 2005-12-18 Wim Taymans <wim@fluendo.com>
18558 * libs/gst/base/gstadapter.c:
18559 * libs/gst/base/gstadapter.h:
18560 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18561 (gst_base_sink_get_position):
18562 * libs/gst/base/gstbasesink.h:
18563 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18564 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18565 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18566 (gst_base_src_send_event), (gst_base_src_update_length),
18567 (gst_base_src_get_range), (gst_base_src_loop),
18568 (gst_base_src_start):
18569 * libs/gst/base/gstbasesrc.h:
18570 * libs/gst/base/gstbasetransform.h:
18571 * libs/gst/base/gstcollectpads.h:
18572 * libs/gst/base/gstpushsrc.c:
18573 * libs/gst/base/gstpushsrc.h:
18574 * libs/gst/dataprotocol/dataprotocol.c:
18575 * libs/gst/dataprotocol/dataprotocol.h:
18576 * libs/gst/net/gstnetclientclock.h:
18577 * libs/gst/net/gstnettimeprovider.h:
18578 Documentation updates.
18580 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18582 * docs/manual/basics-helloworld.xml:
18583 Remove superfluous closing bracket in helloworld example.
18585 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18587 * tools/gst-launch.1.in:
18588 Update gst-launch man page; add a section with useful
18589 environment variables. Fixes #323882.
18591 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18594 * gst/gst_private.h:
18595 change some char* into char[]
18597 2005-12-16 Wim Taymans <wim@fluendo.com>
18599 * gst/gstregistryxml.c: (load_feature):
18601 Don't use g_object_unref on GstObjects so that we avoid
18602 leaks on unsafe glibs.
18604 2005-12-16 Wim Taymans <wim@fluendo.com>
18606 * gst/gstbin.c: (gst_bin_recalc_state):
18609 2005-12-16 Wim Taymans <wim@fluendo.com>
18611 * common/check.mak:
18612 Added make forever target for check.
18614 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18616 * gst/gst.c: (init_post):
18617 make the registry cache file HOST_CPU-dependent
18619 2005-12-16 Andy Wingo <wingo@pobox.com>
18621 * plugins/elements/gstbufferstore.c
18622 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18625 * tests/check/gst/gstobject.c
18626 (test_fake_object_name_threaded_unique): Pay attention to
18627 g_list_sort return value.
18629 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18631 * tools/gst-feedback-m.m:
18632 Update for 0.9/0.10 (fixes #323870).
18634 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18636 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18637 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18639 * tests/check/gst/gstminiobject.c: (my_foo_init),
18640 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18641 (test_value_collection), (gst_mini_object_suite):
18642 Add test to ensure refcounts end up as expected when passing
18643 GstMiniObjects through g_object_get() and g_object_set().
18645 2005-12-14 Julien MOUTTE <julien@moutte.net>
18647 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18648 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18649 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18650 of collectpads. This version removes a lot of races without
18651 touching API/ABI. Yay !
18653 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18655 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18656 Don't allow activation of a srcpad in pull_range if it has no
18658 Change some debug statements to be a little clearer
18660 * plugins/elements/gsttypefindelement.c:
18661 (gst_type_find_handle_src_query):
18662 Check that we have a peer before executing queries thereupon.
18664 * tests/examples/metadata/read-metadata.c: (message_loop):
18665 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18666 immediately return us any available message with 0 timeout.
18668 2005-12-12 Michael Smith <msmith@fluendo.com>
18670 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18671 Don't unref factories after calling them.
18672 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18673 * plugins/elements/gsttypefindelement.c:
18674 (gst_type_find_element_chain):
18675 Free lists of factories after using them. Fixing typefinding memory
18678 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18680 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18681 (gst_plugin_feature_load):
18682 more meaningful debug output
18684 * tests/Makefile.am:
18685 * tests/old/examples/Makefile.am:
18686 make make distcheck happy again
18688 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18690 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18691 Catch the special case where we are operating chain-based,
18692 but the downstream peer pad has no chain function. Emit a
18693 custom error message in this case instead of letting the
18694 core generate one implying that this is some sort of core
18695 bug. It's not, it just means that whatever got plugged
18696 into the pipeline downstream when we announced the type
18697 can only operate pull-based, while our source can only
18698 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18699 Error string has not been marked for translation yet, as
18700 it probably needs some more work first.
18702 (gst_type_find_element_get_best_possibility):
18703 Add helper function to find the best of all available
18704 found possibilities that qualify given the min. threshold.
18706 (gst_type_find_element_handle_event):
18707 Fix the case where we get an EOS while still in TYPEFIND
18708 mode (we want to chose the best of all possible types,
18709 not just the first type that happens to be in our unsorted
18710 list of possible types).
18712 (gst_type_find_element_chain):
18713 Make sure we return GST_FLOW_ERROR when we errored out
18714 in stop_typefinding(); also, don't just find the best of
18715 all found type entries and then use the last examined
18716 type entry, but actually use the best entry.
18718 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18720 * tests/examples/typefind/typefind.c: (type_found):
18721 * tests/examples/xml/runxml.c: (xml_loaded):
18722 More gcc4 fixes and a mem leak fix.
18724 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18726 * tests/examples/xml/createxml.c: (object_saved):
18729 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18731 * tests/Makefile.am:
18732 enable the examples even more
18734 2005-12-12 Andy Wingo <wingo@pobox.com>
18736 * libs/gst/net/gstnettimeprovider.c
18737 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18738 (gst_net_time_provider_set_property)
18739 (gst_net_time_provider_get_property):
18740 API addition: Export "active" as a GObject property.
18741 (gst_net_time_provider_thread): Only respond to time queries if
18742 the time provider is active.
18744 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18745 NetTimeProvider, preserving binary compat.
18747 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18749 * tests/examples/controller/audio-example.c: (main):
18750 * tests/examples/launch/Makefile.am:
18751 convert comments again
18753 2005-12-12 Wim Taymans <wim@fluendo.com>
18755 * libs/gst/base/gstpushsrc.c:
18758 2005-12-12 Wim Taymans <wim@fluendo.com>
18760 * docs/libs/gstreamer-libs-sections.txt:
18761 Added new symbol to docs.
18763 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18764 (gst_base_src_init), (gst_base_src_set_format),
18765 (gst_base_src_default_query), (gst_base_src_query),
18766 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18767 (gst_base_src_perform_seek), (gst_base_src_send_event),
18768 (gst_base_src_default_event), (gst_base_src_event_handler),
18769 (gst_base_src_set_property), (gst_base_src_get_property),
18770 (gst_base_src_wait), (gst_base_src_do_sync),
18771 (gst_base_src_update_length), (gst_base_src_get_range),
18772 (gst_base_src_check_get_range), (gst_base_src_loop),
18773 (gst_base_src_default_negotiate), (gst_base_src_start),
18774 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18775 (gst_base_src_change_state):
18776 * libs/gst/base/gstbasesrc.h:
18777 Implement seeking to other formats than _BYTES.
18778 Implement more seeking methods correctly.
18780 Added query vmethod.
18781 Added do_seek vmethod to make life easier for subclasses
18783 API addition: gst_base_src_set_format()
18785 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18787 * tests/examples/Makefile.am:
18790 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18793 * docs/random/ensonic/media-device-daemon.txt:
18794 * tests/examples/controller/.cvsignore:
18795 * tests/examples/controller/Makefile.am:
18796 * tests/examples/controller/audio-example.c: (main):
18797 * tests/examples/helloworld/.cvsignore:
18798 * tests/examples/helloworld/Makefile.am:
18799 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18800 * tests/examples/launch/.cvsignore:
18801 * tests/examples/launch/Makefile.am:
18802 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18803 * tests/examples/metadata/.cvsignore:
18804 * tests/examples/metadata/Makefile.am:
18805 * tests/examples/metadata/read-metadata.c: (message_loop),
18806 (make_pipeline), (print_tag), (main):
18807 * tests/examples/queue/.cvsignore:
18808 * tests/examples/queue/Makefile.am:
18809 * tests/examples/queue/queue.c: (event_loop), (main):
18810 * tests/examples/typefind/.cvsignore:
18811 * tests/examples/typefind/Makefile.am:
18812 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18814 * tests/examples/xml/.cvsignore:
18815 * tests/examples/xml/Makefile.am:
18816 * tests/examples/xml/createxml.c: (object_saved), (main):
18817 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18818 * tests/old/examples/Makefile.am:
18819 * tests/old/examples/TODO:
18820 * tests/old/examples/controller/.cvsignore:
18821 * tests/old/examples/controller/Makefile.am:
18822 * tests/old/examples/controller/audio-example.c:
18823 * tests/old/examples/helloworld/.cvsignore:
18824 * tests/old/examples/helloworld/Makefile.am:
18825 * tests/old/examples/helloworld/helloworld.c:
18826 * tests/old/examples/launch/.cvsignore:
18827 * tests/old/examples/launch/Makefile.am:
18828 * tests/old/examples/launch/mp3parselaunch.c:
18829 * tests/old/examples/launch/mp3play:
18830 * tests/old/examples/manual/Makefile.am:
18831 * tests/old/examples/metadata/Makefile.am:
18832 * tests/old/examples/metadata/read-metadata.c:
18833 * tests/old/examples/queue/.cvsignore:
18834 * tests/old/examples/queue/Makefile.am:
18835 * tests/old/examples/queue/queue.c:
18836 * tests/old/examples/typefind/.cvsignore:
18837 * tests/old/examples/typefind/Makefile.am:
18838 * tests/old/examples/typefind/typefind.c:
18839 * tests/old/examples/xml/.cvsignore:
18840 * tests/old/examples/xml/Makefile.am:
18841 * tests/old/examples/xml/createxml.c:
18842 * tests/old/examples/xml/runxml.c:
18843 applied some simple fixing to some examples
18844 re-enabled the working examples
18846 2005-12-12 Wim Taymans <wim@fluendo.com>
18848 * gst/gstsegment.c: (gst_segment_init),
18849 (gst_segment_set_last_stop), (gst_segment_set_seek),
18850 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18851 (gst_segment_to_running_time):
18852 Added more documentation.
18853 Make sure the last_pos value is updated properly.
18854 Make sure to_stream_time and to_running_time don't
18855 operate on wrong values.
18857 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18860 2005-12-12 Michael Smith <msmith@fluendo.com>
18862 * plugins/elements/gsttypefindelement.c: (free_entry),
18863 (gst_type_find_element_chain):
18864 Now that we're not leaking factories, make sure we keep references
18865 to them while we need them.
18867 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18869 * tests/check/gst/struct_i386.h:
18870 ifdef out the XML structs
18872 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18874 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18875 floor is not needed, F is always positive; this obviates the
18876 need for adding -lm when building without libxml
18878 2005-12-12 Wim Taymans <wim@fluendo.com>
18880 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18881 Take current playback rate into account when reporting
18884 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18886 * docs/manual/mime-world.fig:
18887 Let's try this again, this time with a file that is
18888 actually in XFig format.
18890 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18892 * docs/manual/mime-world.fig:
18893 Add audioconvert element to diagram so that it
18894 matches the text and the code (fixes #319526).
18896 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18898 * docs/pwg/building-chainfn.xml:
18899 * docs/pwg/building-pads.xml:
18900 * docs/pwg/building-state.xml:
18901 * docs/pwg/other-source.xml:
18902 Update state change stuff for 0.10 (fixes #322969).
18904 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18906 * docs/manual/advanced-dataaccess.xml:
18907 * docs/manual/appendix-checklist.xml:
18908 * docs/manual/appendix-programs.xml:
18909 * docs/manual/basics-pads.xml:
18910 * docs/manual/highlevel-components.xml:
18911 * docs/manual/manual.xml:
18912 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18913 add converters in front of pipelines; remove curly
18914 brackets for threads stuff, they no longer exist; use
18915 GST_TYPE_FRACTION for framerates; update some pieces of
18916 code to 0.10, but there's plenty more to do.
18918 * docs/manual/appendix-porting.xml:
18919 Expand on asynchroneous state changes; s/0.9/0.10/;
18920 mention disappearance of gst_init_get_popt_table()
18923 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18925 * docs/faq/using.xml:
18926 Spider no longer exists, and neither does gst-launch-ext.
18927 Update examples to use decodebin and playbin and put
18928 converters in front of sinks (fixes #323726).
18930 2005-12-09 Michael Smith <msmith@fluendo.com>
18932 * plugins/elements/gsttypefindelement.c: (find_peek),
18933 (gst_type_find_element_chain):
18934 Fix leaking element factories in typefinding.
18935 Fix problem where we forgot about a probable type on non-seekable
18936 files, and thus later mis-typefound it.
18938 2005-12-09 Michael Smith <msmith@fluendo.com>
18940 * common/m4/gst-makecontext.m4:
18941 * common/m4/gst-mcsc.m4:
18943 * win32/common/config.h:
18944 * win32/common/config.h.in:
18945 Remove makecontext stuff; not used in 0.10 and causes problems on
18946 HPUX according to bug #322441
18948 2005-12-07 Wim Taymans <wim@fluendo.com>
18950 * tests/check/Makefile.am:
18951 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18953 * tests/check/libs/struct_i386.h:
18954 Added ABI check for libs
18956 2005-12-07 Wim Taymans <wim@fluendo.com>
18958 * tests/check/Makefile.am:
18959 And add the struct_i386.h to dist.
18961 2005-12-07 Wim Taymans <wim@fluendo.com>
18963 * tests/check/Makefile.am:
18964 * tests/check/gst/.cvsignore:
18965 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18967 * tests/check/gst/struct_i386.h:
18968 Added check for ABI compatibility.
18970 2005-12-07 Wim Taymans <wim@fluendo.com>
18972 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18973 (gst_fake_src_get_times), (gst_fake_src_create):
18974 Fix broken sync option, fixes #323259
18976 2005-12-07 Wim Taymans <wim@fluendo.com>
18981 * gst/gstcaps.c: (gst_caps_is_equal):
18982 Don't assert on NULL <--> X. Fixes #323260
18984 * gst/gstminiobject.c: (gst_mini_object_replace):
18985 If we're doing atomic operations, we might just as well use
18986 the proper way to get an atomic pointer.
18988 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18989 Clean up debugging.
18991 2005-12-07 Michael Smith <msmith@fluendo.com>
18993 * gst/parse/grammar.y:
18994 Remove handling of { } for threads.
18996 2005-12-06 David Schleef <ds@schleef.org>
18998 * libs/gst/base/gstbasetransform.c: speling fix.
19000 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19002 * docs/libs/tmpl/gstdataprotocol.sgml:
19003 * docs/random/omega/testing/gstobject.c:
19006 * gst/gstelement.c:
19007 * gst/gstelementfactory.c:
19010 * gst/gstghostpad.c:
19012 * gst/gstpadtemplate.c:
19013 * gst/gstregistryxml.c:
19014 * gst/gsttaglist.c:
19015 * gst/gsttagsetter.c:
19016 * gst/gsttypefind.c:
19018 * libs/gst/base/gstbasesrc.c:
19019 * libs/gst/net/gstnetclientclock.c:
19020 * libs/gst/net/gstnettimeprovider.c:
19021 * plugins/elements/gstfakesrc.c:
19022 * plugins/elements/gstfdsrc.c:
19023 * plugins/elements/gstfilesrc.c:
19024 * plugins/elements/gstidentity.c:
19025 * plugins/elements/gstqueue.c:
19026 * plugins/elements/gsttypefindelement.c:
19027 * plugins/indexers/gstfileindex.c:
19028 * plugins/indexers/gstmemindex.c:
19029 * tests/check/gst/gsttag.c:
19030 * tests/old/examples/cutter/cutter.c:
19031 * tests/old/examples/mixer/mixer.c:
19032 * tests/old/examples/xml/runxml.c: (main):
19033 * tests/old/testsuite/caps/normalisation.c:
19034 * tests/old/testsuite/debug/global.c:
19035 * tests/old/testsuite/parse/parse1.c:
19036 * tools/gst-xmlinspect.c:
19037 * win32/common/dirent.c:
19040 === release 0.10.0 ===
19042 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19045 releasing 0.10.0, "Maroilles"
19047 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19049 submitted by: Funda Wang <fundawang@linux.net.cn>
19053 added Chinese (Traditional) translation
19055 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19057 * docs/gst/gstreamer-sections.txt:
19058 * docs/libs/tmpl/gstdataprotocol.sgml:
19059 * docs/random/thomasvs/TODO:
19064 2005-12-05 Andy Wingo <wingo@pobox.com>
19066 patch by: Wim Taymans <wim@fluendo.com>
19068 * libs/gst/base/gstbasetransform.c
19069 (gst_base_transform_prepare_output_buf)
19070 (gst_base_transform_buffer_alloc):
19071 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19072 alloc_buffer_and_set_caps.
19074 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19075 set_caps on the source pad.
19076 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19077 alloc_buffer used to do. Fixes #322874.
19079 * docs/gst/gstreamer-sections.txt:
19080 * docs/design/part-negotiation.txt:
19081 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19084 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19086 patch by: Sebastien Moutte
19089 * win32/common/config.h.in:
19090 * win32/vs6/libgstcontroller.dsp:
19093 2005-12-05 Wim Taymans <wim@fluendo.com>
19095 * gst/gstcaps.c: (gst_caps_is_equal):
19096 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19097 (gst_fake_src_create):
19098 Back out previous code changes, leave doc updates, file bugs
19101 2005-12-05 Wim Taymans <wim@fluendo.com>
19103 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19104 (gst_fake_src_get_times), (gst_fake_src_create):
19105 * plugins/elements/gstfakesrc.h:
19106 Fix broken sync code.
19108 2005-12-05 Wim Taymans <wim@fluendo.com>
19110 * gst/gstcaps.c: (gst_caps_is_equal):
19111 Comparing NULL against !NULL yields different caps, not a
19114 2005-12-05 Wim Taymans <wim@fluendo.com>
19116 * gst/gstpipeline.c:
19117 Fix small typo in docs.
19119 2005-12-05 Andy Wingo <wingo@pobox.com>
19121 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19123 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19124 registries/plugins with a MAJORMINOR one.
19125 (plugin_desc): Rename library from gstcoreleements to
19126 staticelements. Fixes #323222.
19128 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19130 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19131 Change debug category to 'collectpads' from 'collect_pads'
19134 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19136 patch by: Sebastien Moutte
19138 * libs/gst/controller/gstinterpolation.c:
19139 use convert function for uint64/double
19140 * win32/vs6/libgstcontroller.dsp:
19143 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19145 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19146 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19148 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19149 add tests that seem to show that the guint64/gdouble conversions
19152 2005-12-02 Wim Taymans <wim@fluendo.com>
19154 * gst/gstregistry.c: (gst_registry_add_path):
19155 * gst/gstregistry.h:
19156 * gst/gstregistryxml.c:
19159 2005-12-02 Wim Taymans <wim@fluendo.com>
19161 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19162 (gst_util_uint64_scale_int):
19165 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19166 Add debug log line.
19168 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19171 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19174 * win32/common/config.h:
19175 * win32/vs6/gstreamer.dsw:
19176 * win32/vs6/libgstcoreelements.dsp:
19177 * win32/vs6/libgstelements.dsp:
19178 renamed core elements plugin
19180 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19182 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19184 do piece-wise major/minor comparison so 0.9 < 0.10
19185 also allow .exe extensions for tools
19187 2005-12-02 Michael Smith <msmith@fluendo.com>
19190 Escape a % to make gtkdoc happier; bug 322958.
19192 === release 0.9.7 ===
19194 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19197 releasing 0.9.7, "My Dog Has No Nose"
19199 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19201 * common/gst-xmlinspect.py:
19203 * docs/libs/tmpl/gstdataprotocol.sgml:
19204 * docs/random/release:
19223 * win32/common/config.h:
19224 * win32/common/config.h.in:
19225 * win32/vs6/gst_inspect.dsp:
19226 * win32/vs6/gst_launch.dsp:
19227 * win32/vs6/libgstbase.dsp:
19228 * win32/vs6/libgstelements.dsp:
19229 * win32/vs6/libgstreamer.dsp:
19230 * win32/vs7/GStreamer.vcproj:
19231 * win32/vs7/gst-inspect.vcproj:
19232 * win32/vs7/gst-launch.vcproj:
19233 * win32/vs7/libgstbase.vcproj:
19234 bump GST_MAJORMINOR to 0.10
19235 reset libtool version
19237 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19241 Added Bulgarian translation by (Alexander Shopov)
19243 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19245 * tests/check/gst/gstplugin.c:
19248 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19250 * common/gst-xmlinspect.py:
19251 * common/gtk-doc-plugins.mak:
19253 * docs/Makefile.am:
19254 * docs/gst/Makefile.am:
19255 * docs/gst/gstreamer-docs.sgml:
19256 * docs/gst/gstreamer-sections.txt:
19257 * docs/gst/gstreamer.types:
19258 * docs/gst/gstreamer.types.in:
19259 * docs/plugins/Makefile.am:
19260 * docs/plugins/gstreamer-plugins-docs.sgml:
19261 * docs/plugins/gstreamer-plugins-sections.txt:
19262 * docs/plugins/gstreamer-plugins.types:
19263 * docs/plugins/inspect.stamp:
19264 * docs/plugins/inspect/plugin-coreelements.xml:
19265 * docs/plugins/inspect/plugin-coreindexers.xml:
19266 * docs/plugins/scanobj-build.stamp:
19267 * gstreamer.spec.in:
19268 * plugins/elements/Makefile.am:
19269 * plugins/elements/gstelements.c:
19270 * plugins/elements/gstfakesink.c:
19271 * plugins/elements/gstfakesrc.c:
19272 * plugins/elements/gstfilesink.c:
19273 * plugins/elements/gstfilesrc.c:
19274 * plugins/elements/gstqueue.c:
19275 * plugins/indexers/Makefile.am:
19276 * plugins/indexers/gstindexers.c:
19277 document core plugins in a separate document just like all the
19279 rename these plugins to something starting with core
19281 2005-12-01 Andy Wingo <wingo@pobox.com>
19283 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19284 padding here before, but it missed the commit.
19286 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19288 * libs/gst/controller/gstinterpolation.c:
19289 whitespace prices have crashed, we should feel free to use some now
19290 use gst_guint64_to_gdouble
19292 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19294 * libs/gst/controller/gstcontroller.c:
19295 * libs/gst/controller/gsthelper.c:
19296 * libs/gst/controller/gstinterpolation.c:
19297 * libs/gst/controller/lib.c:
19298 wrap config.h include
19300 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19302 * docs/gst/gstreamer-sections.txt:
19305 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19307 * plugins/elements/gstelements.c:
19308 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19309 (gst_fd_sink__class_init), (gst_fd_sink__init),
19310 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19311 (gst_fd_sink__get_property):
19312 * plugins/elements/gstfdsink.h:
19313 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19314 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19315 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19316 (gst_fd_src_unlock), (gst_fd_src_set_property),
19317 (gst_fd_src_get_property), (gst_fd_src_create),
19318 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19319 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19320 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19321 (gst_fd_src_uri_handler_init):
19322 * plugins/elements/gstfdsrc.h:
19323 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19326 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19328 * docs/gst/Makefile.am:
19329 * docs/gst/gstreamer.types.in:
19333 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19339 * gst/gstregistry.h:
19340 * tests/benchmarks/complexity.c:
19341 * tests/benchmarks/mass-elements.c:
19342 * tests/check/Makefile.am:
19343 * tools/Makefile.am:
19344 * tools/gst-inspect.c:
19345 * tools/gst-xmlinspect.c:
19346 various fixes to make
19347 --disable-nls --disable-registry --disable-loadsave
19348 --disable-parse --disable-gst-debug
19349 work and get the core .so down to 360444 bytes after stripping
19351 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19356 * docs/random/thomasvs/TODO:
19357 * tests/Makefile.am:
19361 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19363 * win32/GStreamer.vcproj:
19366 * win32/Makefile.inspect:
19367 * win32/Makefile.launch:
19368 * win32/Makefile.register:
19369 * win32/README.txt:
19370 * win32/gst-inspect.vcproj:
19371 * win32/gst-launch.vcproj:
19372 * win32/gst-register.vcproj:
19373 * win32/gstelements.vcproj:
19374 * win32/gstgetbits.def:
19375 * win32/gstgetbits.vcproj:
19376 * win32/gstreamer-dbg.def:
19377 * win32/gstreamer.def:
19378 * win32/libgstbase.def:
19379 * win32/libgstbase.vcproj:
19380 * win32/link_oldruntime.c:
19384 * win32/msvc71.sln:
19385 move even more stuff, win32/ is nice and clean now
19387 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19389 * libs/gst/control/.cvsignore:
19394 * win32/gstbytestream.def:
19395 * win32/gstbytestream.vcproj:
19396 * win32/gstconfig.h:
19397 * win32/gstenumtypes.c:
19398 * win32/gstenumtypes.h:
19399 * win32/gstoptimalscheduler.vcproj:
19400 * win32/gstversion.h:
19402 * win32/testsuite/bins.vcproj:
19403 * win32/testsuite/bytestream.vcproj:
19404 * win32/testsuite/caps.vcproj:
19405 * win32/testsuite/cleanup.vcproj:
19406 * win32/testsuite/clock.vcproj:
19407 * win32/testsuite/debug.vcproj:
19408 * win32/testsuite/dlopen.vcproj:
19409 * win32/testsuite/dynparams.vcproj:
19410 * win32/testsuite/elements.vcproj:
19411 * win32/testsuite/ghostpads.vcproj:
19412 * win32/testsuite/indexers.vcproj:
19413 * win32/testsuite/negotiation.vcproj:
19414 * win32/testsuite/parse.vcproj:
19415 * win32/testsuite/plugin.vcproj:
19416 * win32/testsuite/refcounting.vcproj:
19417 * win32/testsuite/schedulers.vcproj:
19418 * win32/testsuite/states.vcproj:
19419 * win32/testsuite/tags.vcproj:
19420 * win32/testsuite/threads.vcproj:
19421 remove old win32 stuff that isn't maintained and should be
19424 2005-11-30 Andy Wingo <wingo@pobox.com>
19426 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19427 loading the gst.interfaces python module bork.
19429 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19430 available since GLib 2.2. Fixes #318031.
19432 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19435 * check/.cvsignore:
19436 * check/Makefile.am:
19437 * check/elements/.cvsignore:
19438 * check/elements/fakesrc.c:
19439 * check/elements/fdsrc.c:
19440 * check/elements/identity.c:
19441 * check/generic/.cvsignore:
19442 * check/generic/states.c:
19443 * check/gst-libs/.cvsignore:
19444 * check/gst-libs/controller.c:
19445 * check/gst-libs/gdp.c:
19446 * check/gst/.cvsignore:
19447 * check/gst/capslist.h:
19449 * check/gst/gstbin.c:
19450 * check/gst/gstbuffer.c:
19451 * check/gst/gstbus.c:
19452 * check/gst/gstcaps.c:
19453 * check/gst/gstelement.c:
19454 * check/gst/gstevent.c:
19455 * check/gst/gstghostpad.c:
19456 * check/gst/gstiterator.c:
19457 * check/gst/gstmessage.c:
19458 * check/gst/gstminiobject.c:
19459 * check/gst/gstobject.c:
19460 * check/gst/gstpad.c:
19461 * check/gst/gstpipeline.c:
19462 * check/gst/gstplugin.c:
19463 * check/gst/gstsegment.c:
19464 * check/gst/gststructure.c:
19465 * check/gst/gstsystemclock.c:
19466 * check/gst/gsttag.c:
19467 * check/gst/gstutils.c:
19468 * check/gst/gstvalue.c:
19469 * check/net/.cvsignore:
19470 * check/net/gstnetclientclock.c:
19471 * check/net/gstnettimeprovider.c:
19472 * check/pipelines/.cvsignore:
19473 * check/pipelines/cleanup.c:
19474 * check/pipelines/simple_launch_lines.c:
19475 * check/pipelines/stress.c:
19476 * check/states/.cvsignore:
19477 * check/states/sinks.c:
19479 * examples/Makefile.am:
19480 * examples/appreader/.cvsignore:
19481 * examples/appreader/Makefile.am:
19482 * examples/appreader/appreader.c:
19483 * examples/controller/.cvsignore:
19484 * examples/controller/Makefile.am:
19485 * examples/controller/audio-example.c:
19486 * examples/cutter/.cvsignore:
19487 * examples/cutter/Makefile.am:
19488 * examples/cutter/cutter.c:
19489 * examples/cutter/cutter.h:
19490 * examples/events/Makefile.am:
19491 * examples/events/seek.c:
19492 * examples/helloworld/.cvsignore:
19493 * examples/helloworld/Makefile.am:
19494 * examples/helloworld/helloworld.c:
19495 * examples/helloworld2/.cvsignore:
19496 * examples/helloworld2/Makefile.am:
19497 * examples/helloworld2/helloworld2.c:
19498 * examples/launch/.cvsignore:
19499 * examples/launch/Makefile.am:
19500 * examples/launch/mp3parselaunch.c:
19501 * examples/launch/mp3play:
19502 * examples/manual/.cvsignore:
19503 * examples/manual/Makefile.am:
19504 * examples/manual/extract.pl:
19505 * examples/metadata/Makefile.am:
19506 * examples/metadata/read-metadata.c:
19507 * examples/mixer/.cvsignore:
19508 * examples/mixer/Makefile.am:
19509 * examples/mixer/mixer.c:
19510 * examples/mixer/mixer.h:
19511 * examples/pingpong/.cvsignore:
19512 * examples/pingpong/Makefile.am:
19513 * examples/pingpong/pingpong.c:
19514 * examples/plugins/.cvsignore:
19515 * examples/plugins/Makefile.am:
19516 * examples/plugins/example.c:
19517 * examples/plugins/example.h:
19518 * examples/pwg/.cvsignore:
19519 * examples/pwg/Makefile.am:
19520 * examples/pwg/extract.pl:
19521 * examples/queue/.cvsignore:
19522 * examples/queue/Makefile.am:
19523 * examples/queue/queue.c:
19524 * examples/queue2/.cvsignore:
19525 * examples/queue2/Makefile.am:
19526 * examples/queue2/queue2.c:
19527 * examples/queue3/.cvsignore:
19528 * examples/queue3/Makefile.am:
19529 * examples/queue3/queue3.c:
19530 * examples/queue4/.cvsignore:
19531 * examples/queue4/Makefile.am:
19532 * examples/queue4/queue4.c:
19533 * examples/retag/.cvsignore:
19534 * examples/retag/Makefile.am:
19535 * examples/retag/retag.c:
19536 * examples/retag/transcode.c:
19537 * examples/thread/.cvsignore:
19538 * examples/thread/Makefile.am:
19539 * examples/thread/thread.c:
19540 * examples/typefind/.cvsignore:
19541 * examples/typefind/Makefile.am:
19542 * examples/typefind/typefind.c:
19543 * examples/xml/.cvsignore:
19544 * examples/xml/Makefile.am:
19545 * examples/xml/createxml.c:
19546 * examples/xml/runxml.c:
19547 * tests/Makefile.am:
19548 * tests/check/Makefile.am:
19549 * testsuite/.cvsignore:
19550 * testsuite/Makefile.am:
19552 * testsuite/caps/.cvsignore:
19553 * testsuite/caps/Makefile.am:
19554 * testsuite/caps/app_fixate.c:
19555 * testsuite/caps/audioscale.c:
19556 * testsuite/caps/caps.c:
19557 * testsuite/caps/caps.h:
19558 * testsuite/caps/caps_strings:
19559 * testsuite/caps/compatibility.c:
19560 * testsuite/caps/deserialize.c:
19561 * testsuite/caps/enumcaps.c:
19562 * testsuite/caps/eratosthenes.c:
19563 * testsuite/caps/filtercaps.c:
19564 * testsuite/caps/fixed.c:
19565 * testsuite/caps/fraction-convert.c:
19566 * testsuite/caps/fraction-multiply-and-zero.c:
19567 * testsuite/caps/intersect2.c:
19568 * testsuite/caps/intersection.c:
19569 * testsuite/caps/normalisation.c:
19570 * testsuite/caps/random.c:
19571 * testsuite/caps/renegotiate.c:
19572 * testsuite/caps/sets.c:
19573 * testsuite/caps/simplify.c:
19574 * testsuite/caps/string-conversions.c:
19575 * testsuite/caps/structure.c:
19576 * testsuite/caps/subtract.c:
19577 * testsuite/caps/union.c:
19578 * testsuite/debug/.cvsignore:
19579 * testsuite/debug/Makefile.am:
19580 * testsuite/debug/category.c:
19581 * testsuite/debug/commandline.c:
19582 * testsuite/debug/global.c:
19583 * testsuite/debug/output.c:
19584 * testsuite/debug/printf_extension.c:
19585 * testsuite/dlopen/.cvsignore:
19586 * testsuite/dlopen/Makefile.am:
19587 * testsuite/dlopen/dlopen_gst.c:
19588 * testsuite/dlopen/loadgst.c:
19589 * testsuite/elements/.cvsignore:
19590 * testsuite/elements/Makefile.am:
19591 * testsuite/elements/gst-inspect-check.in:
19592 * testsuite/elements/struct_i386.h:
19593 * testsuite/elements/struct_size.c:
19594 * testsuite/indexers/.cvsignore:
19595 * testsuite/indexers/Makefile.am:
19596 * testsuite/indexers/cache1.c:
19597 * testsuite/indexers/indexdump.c:
19598 * testsuite/parse/.cvsignore:
19599 * testsuite/parse/Makefile.am:
19600 * testsuite/parse/parse1.c:
19601 * testsuite/parse/parse2.c:
19602 * testsuite/plugin/.cvsignore:
19603 * testsuite/plugin/Makefile.am:
19604 * testsuite/plugin/README:
19605 * testsuite/plugin/dynamic.c:
19606 * testsuite/plugin/linked.c:
19607 * testsuite/plugin/loading.c:
19608 * testsuite/plugin/registry.c:
19609 * testsuite/plugin/static.c:
19610 * testsuite/plugin/static2.c:
19611 * testsuite/plugin/testplugin.c:
19612 * testsuite/plugin/testplugin2.c:
19613 * testsuite/plugin/testplugin2_s.c:
19614 * testsuite/plugin/testplugin_s.c:
19615 * testsuite/refcounting/.cvsignore:
19616 * testsuite/refcounting/Makefile.am:
19617 * testsuite/refcounting/bin.c:
19618 * testsuite/refcounting/element.c:
19619 * testsuite/refcounting/element_pad.c:
19620 * testsuite/refcounting/mainloop.c:
19621 * testsuite/refcounting/mem.c:
19622 * testsuite/refcounting/mem.h:
19623 * testsuite/refcounting/object.c:
19624 * testsuite/refcounting/pad.c:
19625 * testsuite/refcounting/sched.c:
19626 * testsuite/refcounting/thread.c:
19627 * testsuite/states/.cvsignore:
19628 * testsuite/states/Makefile.am:
19629 * testsuite/states/bin.c:
19630 * testsuite/states/locked.c:
19631 * testsuite/states/parent.c:
19632 * testsuite/threads/.cvsignore:
19633 * testsuite/threads/159566.c:
19634 * testsuite/threads/159852.c:
19635 * testsuite/threads/Makefile.am:
19636 * testsuite/threads/queue.c:
19637 * testsuite/threads/signals.c:
19638 * testsuite/threads/staticrec.c:
19639 * testsuite/threads/thread.c:
19640 * testsuite/threads/threadb.c:
19641 * testsuite/threads/threadc.c:
19642 * testsuite/threads/threadd.c:
19643 * testsuite/threads/threade.c:
19644 * testsuite/threads/threadf.c:
19645 * testsuite/threads/threadg.c:
19646 * testsuite/threads/threadh.c:
19647 * testsuite/threads/threadi.c:
19648 move all of these under tests
19650 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19653 * tests/Makefile.am:
19656 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19658 * docs/gst/gstreamer-sections.txt:
19659 * tests/sched/.cvsignore:
19660 * tests/sched/Makefile.am:
19661 * tests/sched/cases/(fs-fs).xml:
19662 * tests/sched/cases/(fs-i-fs).xml:
19663 * tests/sched/cases/(fs-i-i-fs).xml:
19664 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19665 * tests/sched/dynamic-pipeline.c:
19666 * tests/sched/interrupt1.c:
19667 * tests/sched/interrupt2.c:
19668 * tests/sched/interrupt3.c:
19669 * tests/sched/runtestcases:
19670 * tests/sched/runxml.c:
19671 * tests/sched/sched-stress.c:
19672 * tests/sched/sort.c:
19673 * tests/sched/testcases:
19674 * tests/sched/testcases1.tc:
19675 * tests/seeking/.cvsignore:
19676 * tests/seeking/Makefile.am:
19677 * tests/seeking/seeking1.c:
19678 * tests/threadstate/.cvsignore:
19679 * tests/threadstate/Makefile.am:
19680 * tests/threadstate/test1.c:
19681 * tests/threadstate/test2.c:
19682 * tests/threadstate/threadstate1.c:
19683 * tests/threadstate/threadstate2.c:
19684 * tests/threadstate/threadstate3.c:
19685 * tests/threadstate/threadstate4.c:
19686 * tests/threadstate/threadstate5.c:
19687 remove obsolete tests
19689 * tests/bench-complexity.scm:
19690 * tests/bench-mass_elements.scm:
19691 * tests/complexity.c:
19692 * tests/complexity.gnuplot:
19693 * tests/instantiate/.cvsignore:
19694 * tests/instantiate/Makefile.am:
19695 * tests/instantiate/caps.c:
19696 * tests/mass_elements.c:
19697 * tests/network-clock-utils.scm:
19698 * tests/network-clock.scm:
19700 First pass at cleaning up tests/ dir before moving the rest
19701 Combined with CVS surgery
19703 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19706 queue has moved, update
19708 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19710 * docs/gst/gstreamer-sections.txt:
19711 remove double entries from the docs
19712 * gst/gst_private.h:
19713 * gst/gstinfo.c: (_gst_debug_init):
19714 remove the THREAD debug category
19718 * docs/gst/gstreamer.types:
19719 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19720 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19721 completely move queue and fix up debugging categories
19723 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19725 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19726 make initialization portable, using LL is not
19728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19730 * win32/common/gstconfig.h:
19733 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19735 * win32/common/libgstreamer.def:
19736 rename symbols; sort base section
19738 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19740 * gst/gstclock.c: (do_linear_regression):
19741 remove crack non-portable handrolled DEBUG macro
19743 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19745 * docs/random/release:
19747 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19748 (gst_object_flags_get_type), (register_gst_bin_flags),
19749 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19750 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19751 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19752 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19753 (gst_caps_flags_get_type), (register_gst_clock_return),
19754 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19755 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19756 (gst_clock_flags_get_type), (register_gst_state),
19757 (gst_state_get_type), (register_gst_state_change_return),
19758 (gst_state_change_return_get_type), (register_gst_state_change),
19759 (gst_state_change_get_type), (register_gst_element_flags),
19760 (gst_element_flags_get_type), (register_gst_core_error),
19761 (gst_core_error_get_type), (register_gst_library_error),
19762 (gst_library_error_get_type), (register_gst_resource_error),
19763 (gst_resource_error_get_type), (register_gst_stream_error),
19764 (gst_stream_error_get_type), (register_gst_event_type_flags),
19765 (gst_event_type_flags_get_type), (register_gst_event_type),
19766 (gst_event_type_get_type), (register_gst_seek_type),
19767 (gst_seek_type_get_type), (register_gst_seek_flags),
19768 (gst_seek_flags_get_type), (register_gst_format),
19769 (gst_format_get_type), (register_gst_index_certainty),
19770 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19771 (gst_index_entry_type_get_type),
19772 (register_gst_index_lookup_method),
19773 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19774 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19775 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19776 (gst_index_flags_get_type), (register_gst_debug_level),
19777 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19778 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19779 (gst_iterator_result_get_type), (register_gst_iterator_item),
19780 (gst_iterator_item_get_type), (register_gst_message_type),
19781 (gst_message_type_get_type), (register_gst_mini_object_flags),
19782 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19783 (gst_pad_link_return_get_type), (register_gst_flow_return),
19784 (gst_flow_return_get_type), (register_gst_activate_mode),
19785 (gst_activate_mode_get_type), (register_gst_pad_direction),
19786 (gst_pad_direction_get_type), (register_gst_pad_flags),
19787 (gst_pad_flags_get_type), (register_gst_pad_presence),
19788 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19789 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19790 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19791 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19792 (gst_plugin_flags_get_type), (register_gst_rank),
19793 (gst_rank_get_type), (register_gst_query_type),
19794 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19795 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19796 (gst_tag_flag_get_type), (register_gst_task_state),
19797 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19798 (gst_alloc_trace_flags_get_type),
19799 (register_gst_type_find_probability),
19800 (gst_type_find_probability_get_type), (register_gst_uri_type),
19801 (gst_uri_type_get_type), (register_gst_parse_error),
19802 (gst_parse_error_get_type):
19803 * win32/common/gstenumtypes.h:
19804 * win32/common/gstversion.h:
19805 update visual studio generated files
19807 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19809 * win32/vs6/libgstbase.dsp:
19810 * win32/vs6/libgstelements.dsp:
19811 update project files for new locations
19813 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19818 reinstate and update
19823 * docs/random/LICENSE:
19826 2005-11-30 Edward Hervey <edward@fluendo.com>
19828 * gst/gsttypefind.c: (gst_type_find_register):
19829 * gst/gsttypefind.h:
19830 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19831 (gst_type_find_factory_dispose):
19832 * gst/gsttypefindfactory.h:
19833 Fix memory leak in GstTypeFindFactory.
19835 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19838 * plugins/elements/Makefile.am:
19839 * plugins/elements/gstelements.c:
19840 * plugins/elements/gstqueue.c:
19841 move queue from core to the elements plugin
19843 2005-11-29 Andy Wingo <wingo@pobox.com>
19845 * libs/gst/base/gstbasetransform.h:
19846 * libs/gst/base/gstbasesrc.h:
19847 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19849 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19850 of pointers by which to pad very extensible base classes (like the
19851 ones in libs/gst/base).
19853 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19855 * docs/gst/gstreamer-docs.sgml:
19856 * docs/gst/gstreamer-sections.txt:
19857 * docs/libs/gstreamer-libs-docs.sgml:
19858 * docs/libs/gstreamer-libs-sections.txt:
19859 moving documentation from core to lib
19861 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19863 * check/Makefile.am:
19865 * docs/gst/Makefile.am:
19867 * gst/base/.cvsignore:
19868 * gst/base/Makefile.am:
19870 * gst/base/gstadapter.c:
19871 * gst/base/gstadapter.h:
19872 * gst/base/gstbasesink.c:
19873 * gst/base/gstbasesink.h:
19874 * gst/base/gstbasesrc.c:
19875 * gst/base/gstbasesrc.h:
19876 * gst/base/gstbasetransform.c:
19877 * gst/base/gstbasetransform.h:
19878 * gst/base/gstcollectpads.c:
19879 * gst/base/gstcollectpads.h:
19880 * gst/base/gstpushsrc.c:
19881 * gst/base/gstpushsrc.h:
19882 * gst/base/gsttypefindhelper.c:
19883 * gst/base/gsttypefindhelper.h:
19884 * gst/check/Makefile.am:
19885 * gst/check/gstcheck.c:
19886 * gst/check/gstcheck.h:
19887 * gst/net/Makefile.am:
19888 * gst/net/gstnet.h:
19889 * gst/net/gstnetclientclock.c:
19890 * gst/net/gstnetclientclock.h:
19891 * gst/net/gstnettimepacket.c:
19892 * gst/net/gstnettimepacket.h:
19893 * gst/net/gstnettimeprovider.c:
19894 * gst/net/gstnettimeprovider.h:
19895 * libs/gst/Makefile.am:
19896 * libs/gst/base/Makefile.am:
19897 * libs/gst/base/gstbasetransform.c:
19898 * libs/gst/check/Makefile.am:
19899 * plugins/elements/Makefile.am:
19901 CVS surgery + support to move base, check, and net out of gst
19904 2005-11-29 Andy Wingo <wingo@pobox.com>
19906 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19908 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19911 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19913 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19915 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19917 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19918 padding; reduces object size by about 30%. We don't expect
19919 anything else to go into gstobject.
19921 * gst/gstminiobject.h (struct _GstMiniObject)
19922 (struct _GstMiniObjectClass): Only one pointer of padding; the
19923 payload is only a pointer and two ints anyway. For the class there
19924 are only two methods as well.
19926 * gst/gstelement.h (struct _GstElementClass): Removed
19927 the state_changed signal callback, it is not used.
19929 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19931 * docs/gst/gstreamer.types:
19932 fix includes, though they are a little dinky
19934 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19936 * check/Makefile.am:
19937 look in the right place for elements, a lot more chance of
19940 remove indexers and elements subdirs
19941 * plugins/Makefile.am:
19942 make indexers conditional
19944 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19948 * plugins/elements/Makefile.am:
19949 * plugins/elements/gstcapsfilter.c:
19950 * plugins/elements/gstfilesink.c:
19951 * plugins/elements/gstfilesrc.c:
19952 * plugins/elements/gstidentity.c:
19953 * plugins/indexers/Makefile.am:
19954 do CVS surgery and related build fixery to move elements
19955 and indexers in a new gstreamer/plugins directory, out of the
19958 2005-11-29 Andy Wingo <wingo@pobox.com>
19960 * check/Makefile.am:
19961 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19962 * pkgconfig/gstreamer-net.pc.in:
19963 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19966 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19968 * tools/Makefile.am:
19969 * tools/gst-complete.1.in:
19970 * tools/gst-complete.c:
19971 * tools/gst-compprep.1.in:
19972 * tools/gst-compprep.c:
19973 removing -compprep and -complete
19975 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19977 * gst/gstevent.c: (gst_event_new_new_segment),
19978 (gst_event_parse_new_segment):
19980 fix #320529 - clean up new_segment API and structure.
19981 Let's hope everyone was using the methods, and not the structure.
19983 2005-11-29 Edward Hervey <edward@fluendo.com>
19985 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19986 (gst_base_sink_event), (gst_base_sink_do_sync),
19987 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19988 Properly handle non GST_FORMAT_TIME segment
19989 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19990 Properly handle non GST_FORMAT_TIME segment
19991 * gst/gstsegment.c:
19992 This function is valid if the accumulator is 0 and the format
19993 is different from the requested format.
19995 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19997 * docs/gst/gstreamer-sections.txt:
19998 Add gst_query_new_seeking and gst_query_parse_seeking to the
20001 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20003 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20004 Treat a pad alloc with new caps the same as if we were not
20005 negotiated, in order to allow a changing upstream output
20006 to produce a new format of data.
20008 2005-11-29 Edward Hervey <edward@fluendo.com>
20010 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20011 (gst_base_transform_event), (gst_base_transform_eventfunc):
20012 The event virtual method is now properly implemented, with a default
20014 Sub classes should call the parent_class event method. They should
20015 return FALSE if they had a problem handling the given event, or don't
20016 want GstBaseTransform to send that even downstream
20017 * gst/elements/gstidentity.c: (gst_identity_class_init),
20018 (gst_identity_init), (gst_identity_event),
20019 (gst_identity_transform_ip), (gst_identity_set_property),
20020 (gst_identity_get_property):
20021 * gst/elements/gstidentity.h:
20022 Added the single-segment boolean property.
20023 If set to TRUE, it will output a single segment of data, starting from
20024 0, will eat up all incoming newsegment, and modify the timestamp of the
20025 buffers accordingly
20027 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20029 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20030 Don't ref NULL target pad (#322751). Improve docs.
20032 2005-11-29 Michael Smith <msmith@fluendo.com>
20034 * gst/gstregistryxml.c: (load_plugin):
20035 Don't crash if we failed to load a feature from a plugin.
20037 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20039 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20041 use more check API and less GLib API
20043 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20046 don't run checks if we don't have check
20047 * common/check.mak:
20048 remove the registry when running make torture
20049 * docs/gst/gstreamer-sections.txt:
20050 remove second multiply
20051 * gst/gstqueue.c: (gst_queue_loop):
20052 fix a compile warning when disabling debug
20054 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20057 Hey! Let's print the pad name if the pointer != NULL instead
20058 of when it == NULL :-)
20060 2005-11-28 Wim Taymans <wim@fluendo.com>
20062 * check/gst/gstutils.c: (GST_START_TEST):
20063 Updated check, add some scaling accuracy checking code.
20065 * gst/gstutils.c: (gst_util_div128_64),
20066 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20067 (gst_util_uint64_scale_int):
20068 Fix 6 times faster division code. Optimize for common
20069 1/1 and less common X/1 cases.
20071 2005-11-28 Wim Taymans <wim@fluendo.com>
20073 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20076 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20077 (do_linear_regression), (gst_clock_add_observation):
20079 Release lock when the clock cannot be slaved.
20080 Catch the case where the regression returned an invalid denominator.
20082 * gst/gstutils.c: (gst_util_div128_64_iterate),
20083 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20084 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20085 Add protentially more performant non-iterative 128/64 divide function
20086 that unfortunatly does not work yet.
20087 Shortcut the trivial 0/X = 0 case.
20088 Remove the warnings on overflow.
20090 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20092 * gst/gstplugin.c: (gst_plugin_register_func):
20093 everything causing a plugin not to load should be at least a WARNING
20095 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20097 * docs/random/ensonic/dparams.txt:
20098 some TODOs for the next dev cycle
20099 * libs/gst/controller/gstcontroller.c:
20100 (gst_controlled_property_set_interpolation_mode),
20101 (gst_controlled_property_new):
20102 * libs/gst/controller/gstcontroller.h:
20103 use base type to assign acccessor functions
20105 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20107 * check/Makefile.am:
20108 Oops, that should have been top_srcdir
20110 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20112 * check/Makefile.am:
20113 * check/elements/fdsrc.c: (GST_START_TEST):
20114 Use a cmdline define to specify the location of a file to use for
20115 testing, to avoid breaking distcheck.
20117 2005-11-28 Andy Wingo <wingo@pobox.com>
20119 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20121 2005-11-28 Edward Hervey <edward@fluendo.com>
20123 * tools/gst-launch.c: (main):
20124 Clarify the output strings, makes it easier to translate.
20127 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20130 don't try and build net if we don't even have <sys/socket.h>
20132 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20134 * check/Makefile.am:
20135 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20136 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20137 Add tests for fdsrc seekability
20139 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20140 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20141 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20142 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20143 * gst/elements/gstfdsrc.h:
20144 fdsrc should not be a 'live' source.
20145 Implement seeking on seekable fd's.
20147 * gst/gstquery.c: (gst_query_new_seeking),
20148 (gst_query_parse_seeking):
20150 Implement SEEKING query functions:
20151 *_new_seeking and *_parse_seeking
20153 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20155 * gst/gstelement.c: (gst_element_dispose):
20158 * gst/gstiterator.c:
20159 * gst/gststructure.c:
20162 * libs/gst/controller/gstcontroller.c:
20163 (gst_controlled_property_set_interpolation_mode):
20164 * libs/gst/controller/gstcontroller.h:
20165 * libs/gst/controller/gstinterpolation.c:
20166 (interpolate_none_get_enum_value_array):
20167 support controlling enums
20169 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20172 Improve documentation for gst_value_union().
20175 Change return value for union, intersect and subtract functions
20176 from gint to gboolean.
20178 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20180 * gst/gstvalue.c: (gst_value_serialize_any_list),
20181 (gst_value_transform_any_list_string),
20182 (gst_value_deserialize_list), (gst_value_deserialize_array),
20183 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20184 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20185 (gst_value_set_fraction_range_full),
20186 (gst_value_deserialize_fraction_range),
20187 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20188 (gst_value_deserialize_boolean),
20189 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20190 (gst_value_serialize_float), (gst_value_deserialize_float),
20191 (gst_string_wrap), (gst_value_deserialize_string),
20192 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20193 (gst_value_union_int_range_int_range),
20194 (gst_value_intersect_int_range_int_range),
20195 (gst_value_intersect_double_range_double_range),
20196 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20197 (gst_value_subtract_int_range_int_range),
20198 (gst_value_subtract_double_double_range),
20199 (gst_value_subtract_double_range_double_range),
20200 (gst_value_deserialize_fraction):
20202 Use gint, gdouble and gchar in our API instead of int, double and
20203 char (and make usage in gstvalue.c more consistent).
20205 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20207 * check/Makefile.am:
20208 * libs/gst/controller/Makefile.am:
20209 * libs/gst/dataprotocol/Makefile.am:
20210 fix up Makefile.am and remove GST_ENABLE_NEW
20212 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20216 * gst/base/Makefile.am:
20217 * gst/check/Makefile.am:
20218 * gst/elements/Makefile.am:
20219 * gst/net/Makefile.am:
20220 update LDFLAGS use some more
20222 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20224 * common/m4/gst-doc.m4:
20227 2005-11-26 Edward Hervey <edward@fluendo.com>
20229 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20230 This shouldn't issue a g_warning since it returns NULL if it
20231 couldn't find the plugin, and all functions using this behave
20232 properly on a NULL return. Switching to a GST_WARNING.
20234 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20236 * gst/gstbin.c: (gst_bin_handle_message_func):
20237 Don't leak clock messages.
20239 2005-11-25 Wim Taymans <wim@fluendo.com>
20241 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20242 (gst_util_uint64_scale_int):
20243 Optimisations, remove unneeded vars.
20245 2005-11-25 Wim Taymans <wim@fluendo.com>
20247 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20248 Added more checks for the high precision uint64 cases.
20250 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20251 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20252 Implement high precision (guint64 * guint64) / guint64.
20254 2005-11-24 Wim Taymans <wim@fluendo.com>
20256 * gst/base/gstbasesrc.c: (gst_base_src_query):
20257 Fix wrong percentage query.
20259 * gst/gstutils.c: (gst_util_uint64_scale),
20260 (gst_util_uint64_scale_int):
20261 Add some more common cases that can be handled
20262 efficiently to _scale.
20264 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20266 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20267 (gst_mini_object_suite):
20268 don't use check calls from threads; check probably isn't
20269 threadsafe and using a lock to make it threadsafe would
20270 defeat the purpose of this check
20271 * gst/check/gstcheck.c:
20272 * gst/check/gstcheck.h:
20273 use GST_DEBUG some more
20275 2005-11-24 Wim Taymans <wim@fluendo.com>
20277 * gst/gstutils.c: (gst_util_uint64_scale),
20278 (gst_util_uint64_scale_int):
20279 Chain trivial case to _scale_int.
20281 2005-11-24 Wim Taymans <wim@fluendo.com>
20283 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20284 Added test for scaling.
20289 * gst/gstutils.c: (gst_util_uint64_scale_int):
20290 Implemented high precision scaling code.
20292 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20295 do not crash on pad==NULL
20297 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20299 Patch by: Stefan Kost
20301 * common/gtk-doc.mak:
20302 * docs/gst/Makefile.am:
20303 * docs/libs/Makefile.am:
20304 Fix distcheck issues for the libraries docs build
20307 2005-11-24 Michael Smith <msmith@fluendo.com>
20309 * docs/manual/basics-helloworld.xml:
20310 Fix bug #315027: memory leak in example code in docs.
20312 2005-11-24 Michael Smith <msmith@fluendo.com>
20314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20315 Unlock the PREROLL_LOCK in a failure case.
20317 2005-11-24 Wim Taymans <wim@fluendo.com>
20319 * docs/gst/gstreamer-sections.txt:
20320 * gst/base/gstadapter.h:
20321 * gst/base/gstbasesink.h:
20322 * gst/base/gstbasesrc.h:
20323 * gst/base/gstbasetransform.h:
20324 * gst/base/gstpushsrc.h:
20325 * gst/elements/gstfakesink.h:
20326 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20327 * gst/elements/gstfakesrc.h:
20328 * gst/elements/gstfilesink.h:
20329 * gst/elements/gstfilesrc.h:
20332 * gst/gstbuffer.c: (_gst_buffer_copy):
20335 * gst/gstchildproxy.c:
20337 * gst/gstelement.c:
20338 * gst/gstelementfactory.c:
20339 * gst/gstelementfactory.h:
20341 * gst/gstghostpad.h:
20343 * gst/gstinterface.h:
20344 * gst/gstminiobject.c:
20345 * gst/gstminiobject.h:
20348 * gst/gstpadtemplate.h:
20349 * gst/gstpipeline.h:
20350 * gst/gstpluginfeature.h:
20353 * gst/gsttaglist.c:
20354 * gst/gsttaglist.h:
20355 * gst/gsttagsetter.c:
20356 * gst/gsttagsetter.h:
20359 * gst/gsttypefind.h:
20362 * gst/net/gstnetclientclock.c:
20363 * gst/net/gstnetclientclock.h:
20364 * gst/net/gstnettimepacket.c:
20365 * gst/net/gstnettimeprovider.c:
20366 * gst/net/gstnettimeprovider.h:
20369 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20371 * configure.ac: back to HEAD
20373 === release 0.9.6 ===
20375 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20378 releasing 0.9.6, "Always On Time"
20380 2005-11-23 Wim Taymans <wim@fluendo.com>
20382 * docs/gst/gstreamer-sections.txt:
20383 * gst/glib-compat.c:
20384 * gst/gsttagsetter.c:
20386 * gst/net/gstnetclientclock.c:
20387 * gst/net/gstnettimepacket.h:
20390 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20392 * docs/faq/using.xml:
20393 * docs/libs/tmpl/gstcontrol.sgml:
20394 * docs/manual/advanced-dparams.xml:
20395 * docs/manual/appendix-checklist.xml:
20396 * docs/manual/basics-elements.xml:
20397 * docs/pwg/other-source.xml:
20398 * docs/random/moving-plugins:
20400 * tools/gst-launch.1.in:
20401 remove mentions of sinesrc
20403 2005-11-23 Michael Smith <msmith@fluendo.com>
20405 * docs/gst/gstreamer-sections.txt:
20406 Update for new API and API changes.
20408 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20410 Documentation typo fix.
20411 * gst/net/gstnettimepacket.c:
20412 Documentation fixes for arguments.
20414 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20416 * gst/gststructure.c: (gst_structure_get_fraction),
20417 (gst_structure_parse_value),
20418 (gst_structure_fixate_field_nearest_fraction):
20419 * gst/gststructure.h:
20420 * gst/gstutils.c: (gst_util_uint64_scale_int):
20422 * scripts/update-funcnames:
20424 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20425 Make gst_structure_fixate_field_nearest_fraction take a numerator
20426 and denominator argument instead of a GValue
20427 add gst_structure_get_fraction helper function.
20429 2005-11-23 Wim Taymans <wim@fluendo.com>
20431 * docs/design/part-TODO.txt:
20434 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20435 * gst/net/gstnetclientclock.h:
20436 Use parent fields for timeout and window_size.
20438 2005-11-23 Andy Wingo <wingo@pobox.com>
20440 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20441 rate_num/rate_denom change.
20443 * gst/net/gstnetclientclock.c
20444 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20445 OBJECT_LOCK. Don't call add_observation with the lock.
20447 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20449 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20451 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20452 deal with rate as a fraction whose numerator and denominator are
20453 GstClockTime values.
20454 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20455 master; the other fields are protected by the SLAVE_LOCK.
20456 (do_linear_regression): Note that this must be called with the
20458 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20459 OBJECT_LOCK. Call set_calibration instead of touching the
20460 variables directly.
20461 (gst_clock_set_property, gst_clock_get_property): Protect
20462 master/slave parameters with the SLAVE_LOCK.
20464 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20465 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20466 note that all of the instance variables that add_observation and
20467 the set_master functions use are protected by that lock and not
20469 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20471 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20472 the caller to take the object lock.
20474 2005-11-23 Wim Taymans <wim@fluendo.com>
20476 * gst/gsterror.c: (_gst_core_errors_init):
20478 Add error for clock stuff.
20480 * gst/gstpipeline.c: (gst_pipeline_change_state),
20481 (gst_pipeline_set_clock):
20482 Post clock error when clock cannot be used in a pipeline.
20484 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20486 * docs/gst/gstreamer-sections.txt:
20487 make two symbols from gstinfo private for the docs
20488 * gst/base/gstcollectpads.h:
20490 fix doc typos, update docs
20492 2005-11-22 Wim Taymans <wim@fluendo.com>
20494 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20495 (gst_base_sink_wait), (gst_base_sink_do_sync),
20496 (gst_base_sink_handle_event):
20497 * gst/base/gstbasesink.h:
20498 No need to store the clock, the parent element class already
20501 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20502 Updates for clock_set returning a gboolean
20504 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20505 (gst_clock_id_wait_async), (gst_clock_class_init),
20506 (gst_clock_init), (gst_clock_finalize),
20507 (gst_clock_get_internal_time), (gst_clock_get_time),
20508 (gst_clock_slave_callback), (gst_clock_set_master),
20509 (gst_clock_get_master), (do_linear_regression),
20510 (gst_clock_add_observation), (gst_clock_set_property),
20511 (gst_clock_get_property):
20513 Implement master/slave. When setting a clock as a slave, a
20514 periodic timeout is scheduled to sample master and slave times.
20515 Then the slave clock is recalibrated to match offset and rate
20516 of the master clock.
20517 Update logging a bit.
20518 Add flag so that a clock can state that is cannot be slaved to
20521 * gst/gstelement.c: (gst_element_set_clock):
20522 * gst/gstelement.h:
20523 The set clock returns a gboolean for when an element cannot
20524 deal with the selected clock in the pipeline.
20526 * gst/gstpipeline.c: (gst_pipeline_change_state),
20527 (gst_pipeline_set_clock):
20528 * gst/gstpipeline.h:
20529 Handle the case where the selected clock cannot be set on
20532 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20533 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20534 (gst_net_client_clock_set_property),
20535 (gst_net_client_clock_get_property),
20536 (gst_net_client_clock_observe_times):
20537 * gst/net/gstnetclientclock.h:
20538 Use regression code in GstClock parent, remove duplicated
20541 2005-11-22 Michael Smith <msmith@fluendo.com>
20543 * gst/gstutils.c: (gst_util_clock_time_scale):
20545 * docs/gst/gstreamer-sections.txt:
20546 Rename method to have extra underscore.
20548 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20550 * gst/elements/Makefile.am:
20551 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20552 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20553 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20554 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20555 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20556 * gst/elements/gstfakesrc.h:
20557 * gst/gstqueue.c: (queue_leaky_get_type):
20558 correctly fix GEnumValues so that nick is the short lowercase
20560 * tools/gst-inspect.c: (print_element_properties_info):
20561 also show the nick, since it's useful to use from parse_launch
20565 2005-11-22 Michael Smith <msmith@fluendo.com>
20567 * gst/gstutils.c: (gst_util_clocktime_scale):
20569 * docs/gst/gstreamer-sections.txt:
20570 Add util method for scaling a clocktime by a fraction. Useful
20571 implementation is left as an exercise for the reader.
20573 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20575 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20576 If needed, allocate storage in the destination value during
20579 2005-11-22 Edward Hervey <edward@fluendo.com>
20581 * docs/gst/gstreamer-sections.txt:
20584 * gst/gsturitype.c:
20585 * gst/gsturitype.h:
20586 * gst/gstutils.c: (gst_util_set_object_arg):
20587 * tools/gst-compprep.c: (main):
20588 * tools/gst-inspect.c: (print_element_properties_info):
20589 Removed GstURI, closes bug #321061
20591 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20593 * check/gst/gststructure.c: (GST_START_TEST):
20594 * gst/gststructure.c: (gst_structure_parse_value):
20595 Oops, broke automatic string type parsing.
20596 Add a test to catch it in future.
20598 2005-11-22 Andy Wingo <wingo@pobox.com>
20600 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20601 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20602 Actually rename the function implementations. Grr.
20604 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20606 * check/gst/capslist.h:
20608 * check/gst/gststructure.c: (GST_START_TEST),
20609 (gst_structure_suite):
20610 Test automatic value type detection in gst_structure_from_string.
20611 * gst/gststructure.c: (gst_structure_parse_value):
20612 Add fraction as a type we try and guess automatically in
20613 caps/structure strings.
20615 2005-11-22 Andy Wingo <wingo@pobox.com>
20617 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20619 * gst/gsttagsetter.h:
20620 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20621 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20622 (gst_tag_setter_add_tag_valist)
20623 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20624 _add_values, _add_valist, and _add_valist_values. Since this is an
20625 interface the function suffixes should be more explicit so
20626 language binding don't end up with element.add_valist ->
20627 gst_tag_setter_add_valist, for example. Fixes #322069.
20629 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20631 * check/gst/gstcaps.c: (GST_START_TEST):
20632 Extend caps string tests to check that a caps to string
20633 conversion is reversible and produces the same caps.
20635 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20636 Output "fraction" as the generic type fraction range, so caps
20637 serialisation and deserialisation works.
20638 * check/gst/capslist.h:
20639 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20640 Support 'MIN' and 'MAX' for deserialising fractions.
20642 2005-11-22 Andy Wingo <wingo@pobox.com>
20644 * gst/gstevent.h (gst_event_new_new_segment)
20645 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20646 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20647 Renamed from *_newsegment, *_buffersize, *_notarget.
20649 * scripts/update-funcnames: New script, performs the changes
20652 2005-11-22 Wim Taymans <wim@fluendo.com>
20654 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20655 Make sure the GstFlowReturn is returned.
20657 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20658 (gst_bus_add_signal_watch):
20660 add gst_bus_add_signal_watch_full.
20662 * gst/gstplugin.c: (gst_plugin_load_file):
20663 Small style cleanup.
20665 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20667 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20668 Block the fakesrc srcpad when we send an event, to avoid
20669 contention on the stream_lock causing random test failures.
20671 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20673 * check/gst/gstvalue.c: (GST_START_TEST):
20674 * gst/gstvalue.c: (gst_value_fraction_subtract):
20677 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20680 include "gstchildproxy.h"
20681 * gst/gstchildproxy.h:
20682 * libs/gst/controller/gstcontroller.h:
20683 use G_GNUC_NULL_TERMINATED
20685 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20687 * check/gst/capslist.h:
20688 * check/gst/gstcaps.c: (GST_START_TEST):
20689 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20690 * gst/gststructure.c: (gst_structure_parse_range),
20691 (gst_structure_fixate_field_nearest_fraction):
20692 * gst/gststructure.h:
20693 * gst/gstvalue.c: (gst_value_init_fraction_range),
20694 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20695 (gst_value_collect_fraction_range),
20696 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20697 (gst_value_set_fraction_range_full),
20698 (gst_value_get_fraction_range_min),
20699 (gst_value_get_fraction_range_max),
20700 (gst_value_serialize_fraction_range),
20701 (gst_value_transform_fraction_range_string),
20702 (gst_value_compare_fraction_range),
20703 (gst_value_deserialize_fraction_range),
20704 (gst_value_intersect_fraction_fraction_range),
20705 (gst_value_intersect_fraction_range_fraction_range),
20706 (gst_value_subtract_fraction_fraction_range),
20707 (gst_value_subtract_fraction_range_fraction),
20708 (gst_value_subtract_fraction_range_fraction_range),
20709 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20710 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20711 (gst_value_transform_string_fraction), (_gst_value_initialize):
20713 Implement fraction ranges and extend GstFraction to support
20714 arithmetic subtraction, as well as deserialization from integer
20715 strings such as "100"
20716 Add a testsuite as for int and double range set operations
20718 2005-11-21 Andy Wingo <wingo@pobox.com>
20720 * gst/gsttaglist.h:
20722 * gst/gststructure.h: Add glib-compat.h.
20724 2005-11-21 Wim Taymans <wim@fluendo.com>
20726 * gst/gstbin.c: (gst_bin_change_state_func):
20729 2005-11-21 Wim Taymans <wim@fluendo.com>
20731 * gst/gstsegment.h:
20732 And add a nice define too.
20734 2005-11-21 Wim Taymans <wim@fluendo.com>
20736 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20737 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20738 (gst_segment_set_duration), (gst_segment_set_last_stop),
20739 (gst_segment_set_seek), (gst_segment_set_newsegment),
20740 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20741 (gst_segment_clip):
20742 * gst/gstsegment.h:
20743 Make binding friendly.
20745 2005-11-21 Andy Wingo <wingo@pobox.com>
20747 * gst/gsttagsetter.h:
20748 * gst/gsttaglist.h:
20749 * gst/gststructure.h:
20751 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20754 * gst/gsterror.c (_gst_core_errors_init):
20755 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20758 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20759 (noinst_HEADERS): noinst the -private.
20761 2005-11-21 Michael Smith <msmith@fluendo.com>
20764 * gst/gstregistry.h:
20765 Remove unimplemented declarations for which we can see no sensible
20768 2005-11-21 Andy Wingo <wingo@pobox.com>
20770 * gst/gst.h: Include glib-compat.h.
20772 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20774 * gst/glib-compat.c: Include the public and the private header.
20776 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20780 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20782 * check/gst/gstevent.c (create_custom_events): Check that
20783 FLUSH_STOP is serialized.
20785 * check/elements/identity.c (event_func):
20786 * check/elements/fakesrc.c (event_func): No stream lock, the core
20789 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20790 stream lock taking, yay.
20792 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20793 ensure that core takes the stream lock.
20795 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20798 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20799 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20800 it already. For the flush start we do take it though so we get the
20801 right preroll state change messages.
20803 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20804 the stream lock here, the core does it for us.
20806 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20807 GST_STREAM_GET_LOCK.
20808 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20809 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20810 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20811 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20812 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20813 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20815 * gst/gstpad.c: Update for stream lock name change.
20817 * gst/base/gstbasesink.c: Update for preroll lock name change.
20819 2005-11-21 Wim Taymans <wim@fluendo.com>
20821 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20822 (gst_clock_get_master):
20824 * gst/gstsystemclock.c: (gst_system_clock_init):
20825 Convert Clock flags to object flags.
20826 Added methods to manage master/slave clocks.
20828 2005-11-21 Wim Taymans <wim@fluendo.com>
20830 * check/gst/gstsegment.c: (GST_START_TEST):
20831 * docs/design/part-TODO.txt:
20832 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20833 (gst_base_sink_event), (gst_base_sink_do_sync),
20834 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20835 (gst_base_sink_query), (gst_base_sink_change_state):
20836 * gst/base/gstbasesink.h:
20837 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20838 (gst_base_src_default_newsegment),
20839 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20840 (gst_base_src_get_range), (gst_base_src_loop),
20841 (gst_base_src_change_state):
20842 * gst/base/gstbasesrc.h:
20843 * gst/base/gstbasetransform.c:
20844 (gst_base_transform_prepare_output_buf),
20845 (gst_base_transform_event), (gst_base_transform_change_state):
20846 * gst/base/gstbasetransform.h:
20847 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20848 (gst_collect_pads_event):
20849 * gst/base/gstcollectpads.h:
20850 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20851 (gst_fake_src_create):
20852 * gst/elements/gstfakesrc.h:
20853 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20854 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20855 (gst_segment_set_last_stop), (gst_segment_set_seek),
20856 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20857 (gst_segment_to_running_time), (gst_segment_clip):
20858 * gst/gstsegment.h:
20859 More segment updates, replace code in plugins with segment
20862 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20864 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20865 Don't ignore sscanf results
20867 2005-11-21 Andy Wingo <wingo@pobox.com>
20869 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20872 * *.c: Ran scripts/update-macros. Oh yes.
20874 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20875 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20878 * scripts/update-macros: New script. Run it on your files to
20879 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20882 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20884 * docs/gst/Makefile.am:
20885 * docs/gst/gstreamer-docs.sgml:
20886 * docs/gst/gstreamer-sections.txt:
20887 * docs/gst/gstreamer.types:
20889 more docs fixes, add new api to the docs
20891 2005-11-21 Andy Wingo <wingo@pobox.com>
20893 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20894 state_broadcast call.
20896 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20898 2005-11-21 Julien MOUTTE <julien@moutte.net>
20900 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20901 function calls for arrays.
20903 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20905 * docs/random/ensonic/media-device-daemon.txt:
20906 wild idea, can this be done?
20907 * docs/gst/gstreamer-sections.txt:
20912 * gst/gstpluginfeature.c:
20916 doc fixes and additions
20918 2005-11-21 Andy Wingo <wingo@pobox.com>
20920 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20921 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20922 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20923 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20924 private to the basesrc implementation.
20926 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20927 behalf of event function if necessary. It should no longer be
20928 necessary to take the stream lock in pad's event functions. Fixes
20931 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20932 * docs/gst/gstreamer-sections.txt:
20933 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20934 (gst_structure_fixate_field_nearest_double),
20935 (gst_structure_fixate_field_boolean):
20936 * gst/gststructure.h:
20937 * win32/common/libgstreamer.def:
20938 * win32/gstreamer.def:
20940 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20943 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20945 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20946 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20947 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20948 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20949 (gst_fdsrc_uri_handler_init):
20950 * gst/elements/gstfdsrc.h:
20951 Port fd:// URI handler from 0.8 to fdsrc
20953 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20955 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20956 (gst_value_serialize_fourcc):
20958 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20959 consistent with our other format defines (#320324).
20961 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20963 * gst/gstvalue.c: (gst_value_is_fixed):
20964 Revert previous commit. Value lists are by definition
20965 not fixed, as they are a list of possible values.
20967 2005-11-21 Andy Wingo <wingo@pobox.com>
20969 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20970 during the stable series if we need it. Fixes #319178.
20972 * gst/gstevent.c (gst_event_new_filler): Removed.
20974 * check/gst/gstevent.c: Update comment about filler events.
20976 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20978 * gst/gstvalue.c: (gst_value_is_fixed):
20979 Should handle both value arrays and value lists.
20981 2005-11-21 Andy Wingo <wingo@pobox.com>
20983 patch by: Alessandro Dessina <alessandro nnva org>
20985 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20986 functions to access arrays. Fixes #321962.
20988 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20990 * docs/gst/gstreamer.types:
20991 gst_collectpads_get_type => gst_collect_pads_get_type.
20993 * gst/base/gstbasetransform.c:
20994 Remove unused SIGNAL_HANDOFF enum.
20996 2005-11-21 Andy Wingo <wingo@pobox.com>
20998 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20999 the event type (upstream, downstream, serialized). Renamed
21000 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21001 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21002 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21004 * gst/gstevent.c: Update for new CUSTOM event names.
21006 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21009 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21012 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21014 * docs/gst/gstreamer-sections.txt:
21015 * win32/common/libgstbase.def:
21016 * win32/libgstbase.def:
21017 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21018 (gst_collect_pads_class_init), (gst_collect_pads_init),
21019 (gst_collect_pads_finalize), (gst_collect_pads_new),
21020 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21021 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21022 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21023 (gst_collect_pads_start), (gst_collect_pads_stop),
21024 (gst_collect_pads_peek), (gst_collect_pads_pop),
21025 (gst_collect_pads_available), (gst_collect_pads_read),
21026 (gst_collect_pads_flush), (gst_collect_pads_event),
21027 (gst_collect_pads_chain):
21028 * gst/base/gstcollectpads.h:
21029 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21030 unimplemented functions as unimplemented. Add padding to
21031 GstCollectData. (#320766, #320423)
21033 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21035 * gst/gstmessage.c:
21036 Improve docs for DURATION message (usage of duration parameter)
21039 2005-11-20 Wim Taymans <wim@fluendo.com>
21041 * check/Makefile.am:
21042 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21046 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21047 (gst_segment_set_seek), (gst_segment_set_newsegment),
21048 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21049 (gst_segment_clip):
21050 * gst/gstsegment.h:
21051 Added segment helper structure and methods. Not fully implemented
21053 Added segment check.
21055 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21057 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21058 Add a deserialisation test for fractions
21059 * examples/metadata/read-metadata.c: (message_loop),
21060 (make_pipeline), (main):
21061 Fix up metadata reading sample.
21062 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21064 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21065 Don't try and fixate empty caps
21066 * gst/gst_private.h:
21067 Wrap in G_BEGIN_DECLS/G_END_DECLS
21068 * gst/gstvalue.c: (gst_value_collect_fraction),
21069 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21070 (gst_value_transform_string_fraction),
21071 (gst_value_compare_fraction):
21072 Add some extra guards to ensure that we don't end up
21073 with an invalid denominator of 0 in a gstfraction and
21074 that fractions always get reduced.
21076 2005-11-20 Wim Taymans <wim@fluendo.com>
21078 * docs/gst/gstreamer-sections.txt:
21080 * gst/gstelement.c:
21089 2005-11-20 Wim Taymans <wim@fluendo.com>
21091 * docs/design/part-TODO.txt:
21093 Make a proper enum of the flag.
21095 2005-11-19 Wim Taymans <wim@fluendo.com>
21097 * docs/design/part-TODO.txt:
21098 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21099 (gst_format_to_quark), (gst_format_register):
21101 * gst/gstquery.c: (_gst_query_initialize),
21102 (gst_query_type_get_name), (gst_query_type_to_quark),
21103 (gst_query_type_register):
21105 Add type to quark and type to string conversions.
21107 2005-11-19 Andy Wingo <wingo@pobox.com>
21109 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21112 2005-11-19 Wim Taymans <wim@fluendo.com>
21114 * docs/design/part-TODO.txt:
21115 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21116 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21117 (gst_bin_handle_message_func):
21119 Make message handling overridable.
21121 2005-11-19 Andy Wingo <wingo@pobox.com>
21123 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21126 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21128 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21129 is a GstClockTime. Fixes #321710.
21131 * gst/gstclock.h (GstClock): Remove offset property. Add
21132 internal_calibration and external_calibration. Fix padding. Pad
21133 also by GstClockTime so we don't run into problems.
21135 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21136 (gst_clock_get_rate_offset): Remove.
21137 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21140 * gst/gstutils.c (g_static_rec_cond_wait)
21141 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21143 * gst/gstbin.c: Remove terrible continue_state prototype.
21145 * gst/gstelement.h (gst_element_continue_state): Make public.
21147 * gst/gstelement.h:
21148 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21149 by continue_state. Fixes #319389.
21151 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21152 Really fixes #168438. However I don't see anywhere where the
21153 filter function is called... stupid GStreamer...
21155 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21156 don't have a dispose function, so it won't get called when the
21157 object is unreffed, but oh well!
21159 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21160 allows a destroy function to be set so user_data can be freed.
21162 (gst_index_set_filter): Call gst_index_set_filter_full.
21164 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21166 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21167 string should produce an error, given the lack of a way to
21168 represent NULL strings. Fixes #165650.
21171 * gst/gstvalue.c (gst_value_array_append_value)
21172 (gst_value_array_prepend_value, gst_value_array_get_size)
21173 (gst_value_array_get_value): New API, copied from
21174 gst_value_list_*, only operates on arrays.
21175 (gst_value_list_append_value, gst_value_list_prepend_value)
21176 (gst_value_list_concat, gst_value_list_get_size)
21177 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21179 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21180 init_list, because it works on both.
21181 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21182 (gst_value_copy_list_or_array): Renamed from copy_list.
21183 (gst_value_free_list_or_array): Renamed from free_list.
21184 (gst_value_collect_list_or_array): Renamed from collect_list.
21185 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21186 (gst_value_list_or_array_peek_pointer): Renamed from
21188 (_gst_value_array_value_table, _gst_value_list_value_table):
21189 Update value table functions.
21190 (gst_value_compare_list_or_array): Renamed from compare_list.
21192 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21195 * gst/gsttaglist.c:
21196 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21197 GstTagList*. Fixes #143472.
21199 * gst/gststructure.h: Clarify what the foreach/map functions can
21200 or can't do to their arguments.
21202 2005-11-18 Wim Taymans <wim@fluendo.com>
21204 * gst/gstclock.c: (gst_clock_set_calibration),
21205 (gst_clock_get_calibration):
21207 Calibration can be set with internal time equal to current
21210 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21216 2005-11-18 Andy Wingo <wingo@pobox.com>
21219 * pkgconfig/gstreamer-net.pc.in:
21220 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21221 * pkgconfig/Makefile.am: Add net pkgconfig files.
21223 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21226 * gst/gstghostpad.c:
21232 2005-11-18 Andy Wingo <wingo@pobox.com>
21234 * gst/net/gstnetclientclock.c: Turn off debugging.
21236 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21237 times connverge somewhat. Can't make a real test.
21239 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21240 integer arithmetic. Return the minimum of the domain, which can be
21241 set as "internal" for gst_clock_set_calibration.
21242 (gst_net_client_clock_observe_times): Call _set_calibration.
21243 (gst_net_client_clock_new): Call _set_calibration instead of
21246 * check/net/gstnetclientclock.c (test_functioning): Use the right
21250 * gst/gstclock.c (gst_clock_get_calibration)
21251 (gst_clock_set_calibration): New functions, obsolete the ones I
21252 added yesterday. Doh. Precision issues mean we have to extrapolate
21253 from a point in the more recent past than 1970.
21254 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21256 (gst_clock_adjust_unlocked): Use the right calibration data.
21258 2005-11-18 Edward Hervey <edward@fluendo.com>
21260 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21261 Also reset the ->current_* values in READY->PAUSED
21263 2005-11-18 Andy Wingo <wingo@pobox.com>
21265 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21266 Whoops, check the right fd. Also add some debugging.
21267 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21268 (do_linear_regression): Add a crapload of debugging. Subtract off
21269 the minimum values from the input series to discard unneeded bits.
21270 Use only int arithmetic. There is still double arithmetic when
21271 calculating the intercept that needs fixing. Return boolean to
21272 indicate success; FALSE would mean the domain or range is too
21273 great. Still needs fixes.
21275 2005-11-18 Wim Taymans <wim@fluendo.com>
21277 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21278 For the current position in stream time, we need to subtract
21281 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21282 Release lock before calling the callback function of async
21285 2005-11-18 Andy Wingo <wingo@pobox.com>
21287 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21288 Port goes all the way to MAXUINT16.
21290 * gst/net/gstnettimeprovider.c: Make the port range the same as
21291 for the kernel: 0 assigns, otherwise ports are less than
21294 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21297 * check/net/gstnetclientclock.c (test_functioning): Add the start
21300 2005-11-18 Wim Taymans <wim@fluendo.com>
21302 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21303 (gst_bin_remove_func), (bin_bus_handler):
21305 Removing a clock provider from a bin, triggers a clock lost message
21306 so that a new clock will be selected.
21307 Adding a clock to a bin triggers a clock provider message.
21308 Make sure we reselect a clock when we received a clock lost message.
21309 Keep a reference to the element that provided the clock.
21311 2005-11-18 Andy Wingo <wingo@pobox.com>
21313 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21314 the clock initially so it produces values around the base time.
21315 (gst_net_client_clock_class_init): Typo fix.
21316 (gst_net_client_clock_thread): Add note on when the socket gets
21319 2005-11-17 Wim Taymans <wim@fluendo.com>
21321 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21322 Free remote and local time arrays.
21324 2005-11-17 Wim Taymans <wim@fluendo.com>
21326 * gst/net/gstnetclientclock.c: (do_linear_regression),
21327 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21328 Fix compilation, uninitialized vars and a forgotten continue.
21330 2005-11-17 Andy Wingo <wingo@pobox.com>
21332 * check/Makefile.am (check_PROGRAMS):
21333 * check/net/gstnetclientclock.c: Add a most minimal test for the
21334 net client clock. More to come later.
21336 * gst/net/gstnet.h:
21337 * gst/net/Makefile.am: Add netclientclock.
21339 * gst/net/gstnetclientclock.h:
21340 * gst/net/gstnetclientclock.c: New files, implement an untested
21341 GstClock that takes its time from a network time provider.
21342 Implements the algorithm in network-clock.scm.
21344 * tests/network-clock.scm (*window-size*): Rename from
21346 * tests/network-clock.scm (network-time):
21347 * tests/network-clock-utils.scm (q-push): Update callers.
21349 2005-11-17 Wim Taymans <wim@fluendo.com>
21351 * gst/gstbin.c: (gst_bin_provide_clock_func),
21352 (gst_bin_sort_iterator_new):
21353 And unref the child too..
21355 2005-11-17 Wim Taymans <wim@fluendo.com>
21357 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21358 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21359 Refactor the sort iterator so it can be used while holding the
21361 Make clock selection select a clock closest to the source.
21363 2005-11-17 Michael Smith <msmith@fluendo.com>
21365 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21366 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21368 Anonymous structs are a gcc (and some other compilers) extension, so
21369 don't use them. Since this is only for ABI-compatibility, and our
21370 API/ABI freeze is over in a few days, this whole thing will only
21371 last a few days, so don't bother trying to think up a meaningful
21372 name for the struct.
21374 2005-11-17 Andy Wingo <wingo@pobox.com>
21376 * gst/gstclock.h (GstClock): Add rate and offset properties,
21377 preserving ABI stability. Add rate/offset accessors. Will file bug
21378 for the freeze break.
21380 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21381 and offset, trying to keep precision and avoiding
21382 underflow/overflow.
21383 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21384 functions. Make gst_clock_set_time_adjust obsolete.
21385 (gst_clock_set_time_adjust): Note that this function is obsolete.
21386 Will file bug soon.
21388 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21389 greppable by using GST_PADDING-1+1.
21391 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21393 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21395 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21396 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21398 * gst/gstpadtemplate.h:
21399 * gst/gstpluginfeature.h:
21400 Don't use c++ style comments in headers (#321638).
21402 2005-11-16 Andy Wingo <wingo@pobox.com>
21404 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21407 * check/net/gstnettimeprovider.c: Check to see that the time
21408 provider actually provides times. Works, yo!
21410 2005-11-16 Wim Taymans <wim@fluendo.com>
21412 * check/Makefile.am:
21415 * check/elements/fakesrc.c: (GST_START_TEST):
21416 Set element to NULL before disposing it.
21418 2005-11-16 Andy Wingo <wingo@pobox.com>
21420 * gst/net/Makefile.am:
21421 * gst/net/gstnet.h:
21422 * gst/net/gstnettimeprovider.c:
21423 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21424 provider, include it from gstnet.h, and add it to the build.
21426 * gst/net/gstnettimepacket.h:
21427 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21428 sending and receiving.
21430 2005-11-16 Wim Taymans <wim@fluendo.com>
21432 * check/Makefile.am:
21433 Enable valgrind check.
21435 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21436 (gst_fake_src_alloc_buffer):
21439 2005-11-16 Wim Taymans <wim@fluendo.com>
21441 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21442 Call parent finalize too.
21444 2005-11-16 Wim Taymans <wim@fluendo.com>
21446 * check/Makefile.am:
21447 Enable valgrind check that should work fine now.
21449 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21450 * gst/gstqueue.c: (gst_queue_init):
21451 Fix memleaks in pad allocation.
21453 2005-11-16 Andy Wingo <wingo@pobox.com>
21455 * gst/net/Makefile.am:
21456 * gst/net/gstnet.h: New part of core to hold network elements and
21457 objects. Put in core because it exposes API that applications want
21458 to use. The library is named libgstnet-tempname right now because
21459 of the existing libgstnet in gst-plugins-base. Solution is
21460 probably to rename the one in plugins-base; will file a bug for
21463 * gst/net/gstnettimeprovider.c:
21464 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21465 get_time call over the network.
21468 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21470 * check/Makefile.am:
21471 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21472 get additions shortly.
21474 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21476 * gst/gstpad.c: (gst_pad_new_from_static_template):
21478 add gst_pad_new_from_static_template functions
21479 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21480 (gst_check_setup_sink_pad):
21481 * gst/elements/gsttee.c: (gst_tee_init):
21484 2005-11-16 Wim Taymans <wim@fluendo.com>
21486 * gst/gstpad.c: (gst_pad_pause_task):
21487 Removed warning, it's not really an error either.
21489 2005-11-16 Wim Taymans <wim@fluendo.com>
21491 * gst/base/gstbasetransform.c:
21492 (gst_base_transform_prepare_output_buf),
21493 (gst_base_transform_event):
21494 Check if the caps are NULL, this can happen if the element
21495 is shutting down and the pad caps are set to NULL.
21497 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21499 * gst/elements/gsttee.c: (gst_tee_init):
21500 fix pad template leak in tee
21502 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21504 * gst/glib-compat.c: (g_value_dup_gst_object):
21505 * gst/glib-compat.h:
21506 * gst/gstpad.c: (gst_pad_set_property):
21507 use gst_object_ref when setting the pad template; this will
21508 trigger the pad template leaks on GLib 2.6 and the slaves
21510 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21512 * gst/glib-compat.c: (gst_flags_get_first_value):
21513 * gst/glib-compat.h:
21514 * gst/gstregistryxml.c:
21515 remove functions copied from GLib 2.6
21517 2005-11-16 Michael Smith <msmith@fluendo.com>
21520 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21521 do, but only breaks with newer valgrind versions. We're not a
21522 valgrind tool, we have no link-time dependencies on libcoregrind.
21524 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21526 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21528 * gst/gstmessage.h:
21531 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21533 * gst/base/gstbasesrc.c: (gst_base_src_init):
21534 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21535 * gst/gstqueue.c: (gst_queue_init):
21536 * gst/gstregistryxml.c: (load_feature):
21537 Revert all these unrefs, they don't even pass make check !
21539 2005-11-15 Johan Dahlin <johan@gnome.org>
21541 * gst/base/gstbasesrc.c: (gst_base_src_init):
21542 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21543 * gst/gstqueue.c: (gst_queue_init):
21544 Free pad templates, fixes a couple of leaks.
21546 2005-11-15 Daniel Fischer <dan at f3c dot com>
21548 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21550 * gst/gstpad.c: (gst_pad_get_property):
21551 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21552 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21555 2005-11-15 Wim Taymans <wim@fluendo.com>
21560 2005-11-15 Andy Wingo <wingo@pobox.com>
21562 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21564 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21565 using GST_CLOCK_TIME_NONE to disable base time management.
21566 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21567 time if it was NONE before.
21568 (gst_pipeline_change_state): Only munge the base time if
21569 stream_time != GST_CLOCK_TIME_NONE.
21571 * check/gst/gstpipeline.c (test_base_time): Punt around the
21572 problem of the probe not being called, because that's not the
21573 issue I'm looking at. Add a check that setting stream_time to NONE
21574 disables base time management.
21576 2005-11-15 Wim Taymans <wim@fluendo.com>
21578 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21579 segment_stop == -1 at startup.
21581 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21582 (gst_base_transform_change_state):
21583 Init segment values at start.
21585 2005-11-15 Wim Taymans <wim@fluendo.com>
21587 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21588 0 segment values are 0 in any format.
21590 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21591 * gst/base/gstbasetransform.h:
21592 Parse newsegment correctly in basetransform
21594 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21595 Sync to clock using updated segment values.
21597 2005-11-15 Andy Wingo <wingo@pobox.com>
21599 * check/gst/gstpipeline.c (test_base_time): Add check that the
21600 base time and stream time are reset correctly.
21602 2005-11-15 Wim Taymans <wim@fluendo.com>
21604 * docs/design/part-TODO.txt:
21605 Some more TODO items.
21607 2005-11-15 Andy Wingo <wingo@pobox.com>
21609 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21610 error if the user selected "no clock" as the clocking method.
21612 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21613 timestamps with live capture.
21615 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21616 is 0 but we are a live source, timestamp the buffers using the
21619 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21621 * docs/gst/gstreamer-sections.txt:
21623 * gst/gstghostpad.c:
21628 2005-11-14 Wim Taymans <wim@fluendo.com>
21631 add suppressions from Wim's Debian machine
21633 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21636 add suppressions from Andy's AMD64 Ubuntu machine
21638 2005-11-14 Andy Wingo <wingo@pobox.com>
21640 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21641 STATE_LOCK not necessary. Fixes #311489.
21643 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21646 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21647 this function is not implemented.
21649 2005-11-14 Julien MOUTTE <julien@moutte.net>
21651 * gst/base/gstbasetransform.c:
21652 (gst_base_transform_prepare_output_buf):
21653 Ref the source pad caps while we need them.
21656 2005-11-11 Wim Taymans <wim@fluendo.com>
21658 * docs/gst/gstreamer-sections.txt:
21659 Added some docs for GstCollectData.
21661 * gst/base/gstadapter.c:
21662 Some small code example fix.
21664 * gst/base/gstcollectpads.c:
21665 * gst/base/gstcollectpads.h:
21666 Document some more.
21668 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21670 * configure.ac: back to HEAD
21672 === release 0.9.5 ===
21674 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21677 releasing 0.9.5, "Bike Lunch Day"
21679 2005-11-11 Wim Taymans <wim@fluendo.com>
21681 * gst/gstbuffer.c: (_gst_buffer_copy):
21684 * gst/gstcaps.c: (gst_caps_is_equal):
21686 Make _is_equal fast in the trivial cases.
21688 * gst/gstminiobject.c:
21689 * gst/gstminiobject.h:
21690 More docs. Spifify .h file.
21695 2005-11-11 Wim Taymans <wim@fluendo.com>
21697 * gst/base/gstbasetransform.c:
21698 (gst_base_transform_prepare_output_buf),
21699 (gst_base_transform_handle_buffer):
21701 If we're processing a buffer and need to allocate an output
21702 buffer, we cannot accept a format change. If we did get a
21703 format change, we have to alloc a buffer ourselves of the
21706 2005-11-11 Wim Taymans <wim@fluendo.com>
21708 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21709 While checking the flag for reentrancy in the gstcaps function
21710 is nice to detect recursive invocations, it also makes it
21711 impossible to call getcaps from multiple threads, which must be
21712 possible. So, checking for recursive calls has to go.
21714 2005-11-11 Michael Smith <msmith@fluendo.com>
21716 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21717 Don't sync on buffers that fall partially outside our current
21718 segment. Prevents an assertion failure/abort playing some files.
21720 2005-11-10 Andy Wingo <wingo@pobox.com>
21722 * check/gst/gstbin.c (test_message_state_changed_children): Style
21725 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21726 gst_bus_poll with the signal watch. Ensures that poll and a signal
21727 watch see the same messages.
21729 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21730 a poll and a watch at the same time get the same messages.
21732 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21734 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21735 * gst/gstcaps.c: (gst_caps_intersect):
21736 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21737 and it's not needed.
21739 2005-11-10 Wim Taymans <wim@fluendo.com>
21741 * docs/design/part-TODO.txt:
21744 2005-11-10 Wim Taymans <wim@fluendo.com>
21746 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21747 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21748 (gst_base_src_do_sync), (gst_base_src_get_range):
21749 Implement clock sync in base class.
21751 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21753 patch by: Tim-Philipp Müller <tim at centricular dot net>
21755 * gst/gststructure.c: (gst_structure_parse_field),
21756 (gst_structure_from_string):
21757 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21758 so that gst_parse_launch() can deal with spaces in filtered link
21759 caps (fixes #164479)
21760 * check/gst/capslist.h:
21761 * check/gst/gststructure.c: (GST_START_TEST):
21762 add unit tests for this change
21764 2005-11-10 Wim Taymans <wim@fluendo.com>
21766 * docs/gst/gstreamer-sections.txt:
21767 * gst/gstelement.c:
21768 * gst/gstelement.h:
21769 Fix docs, move some STATE macros to private.
21771 2005-11-10 Wim Taymans <wim@fluendo.com>
21773 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21774 Added check for bug #317341
21778 Some more spiffifying.
21780 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21781 Call peer linkfunction if we are a source pad. Totally fixes
21785 Update docs, source pads should call the peer linkfunction
21786 so they can atomically perform the pad link.
21788 2005-11-09 Wim Taymans <wim@fluendo.com>
21792 Uber-spiffy-spiffify some more.
21794 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21796 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21797 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21798 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21799 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21800 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21801 * gst/gstpad.c: (gst_pad_init):
21802 Use GST_DEBUG_FUNCPTR() more extensively.
21804 2005-11-09 Wim Taymans <wim@fluendo.com>
21806 * gst/gstobject.c: (gst_object_class_init):
21808 Documentation fixes.
21810 2005-11-09 Edward Hervey <edward@fluendo.com>
21812 * gst/gsttypefindfactory.c:
21815 2005-11-09 Edward Hervey <edward@fluendo.com>
21817 * gst/base/gsttypefindhelper.c:
21818 * gst/gsttypefind.c:
21819 * gst/gsttypefind.h:
21822 2005-11-09 Wim Taymans <wim@fluendo.com>
21824 * gst/gstiterator.c:
21831 2005-11-09 Wim Taymans <wim@fluendo.com>
21837 2005-11-09 Wim Taymans <wim@fluendo.com>
21839 * docs/gst/gstreamer-sections.txt:
21840 Moved the message async delivery private lock and cond
21841 to the private section.
21843 * gst/gstmessage.c:
21844 * gst/gstmessage.h:
21847 2005-11-09 Edward Hervey <edward@fluendo.com>
21849 * docs/gst/gstreamer-sections.txt:
21852 Document GstURIHandler
21854 2005-11-09 Wim Taymans <wim@fluendo.com>
21856 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21857 (gst_iterator_find_custom):
21858 * gst/gstiterator.h:
21861 2005-11-09 Wim Taymans <wim@fluendo.com>
21864 Document another field.
21866 * gst/gststructure.c:
21867 * gst/gststructure.h:
21870 2005-11-09 Wim Taymans <wim@fluendo.com>
21873 Documented structs.
21875 2005-11-09 Wim Taymans <wim@fluendo.com>
21877 * docs/gst/gstreamer-sections.txt:
21878 Added some new macros.
21885 2005-11-09 Wim Taymans <wim@fluendo.com>
21887 * docs/design/part-TODO.txt:
21888 Some more items for the TODO
21894 2005-11-09 Andy Wingo <wingo@pobox.com>
21896 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21897 to work on something else now tho...
21899 * gst/base/gstadapter.c: More adapter docs.
21901 * gst/elements/gstfilesink.c (gst_file_sink_start)
21902 (gst_file_sink_stop): New functions, replace the state change
21904 (gst_file_sink_class_init): Hook up the start and stop functions.
21905 (gst_file_sink_base_init): Don't set the state change handler any
21906 more. It was a bit ugly too, being set from here...
21907 (gst_file_sink_get_property, gst_file_sink_set_property):
21909 (gst_file_sink_set_location): More robust check that doesn't call
21910 GST_STATE. Ugggggg.
21912 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21914 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21915 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21917 2005-11-08 Wim Taymans <wim@fluendo.com>
21919 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21920 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21921 (gst_base_sink_chain), (gst_base_sink_change_state):
21922 * gst/base/gstbasesink.h:
21923 * gst/base/gstbasesrc.h:
21924 * gst/gstelement.h:
21926 Avoid excessive typechecking in macros.
21928 * gst/gstminiobject.c: (gst_mini_object_get_type),
21929 (gst_mini_object_init), (gst_mini_object_new),
21930 (gst_mini_object_free):
21931 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21932 (gst_object_finalize):
21933 Remove cruft code, optimize alloc_trace.
21935 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21937 * docs/faq/gst-uninstalled:
21938 fix up PS1 for systems that try to reset it
21940 2005-11-07 Wim Taymans <wim@fluendo.com>
21942 * gst/base/gstbasesrc.c: (gst_base_src_init),
21943 (gst_base_src_get_range):
21944 Set the segment_end to -1 initially. Fixed typefind.
21946 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21948 * gst/base/gstadapter.c:
21949 Debug category should be 'adapter', not 'GstAdapter'.
21951 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21952 (gst_collectpads_class_init), (gst_collectpads_init),
21953 (gst_collectpads_peek), (gst_collectpads_pop),
21954 (gst_collectpads_event), (gst_collectpads_chain):
21955 Add debug category and some debugging output. Use boilerplate
21956 macros. Remove some extraneous words from docs.
21958 2005-11-05 Andy Wingo <wingo@pobox.com>
21960 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21963 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21965 * docs/gst/gstreamer-sections.txt:
21968 * gst/gstminiobject.h:
21973 2005-11-04 Wim Taymans <wim@fluendo.com>
21975 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21976 Small update to stop at the configured segment_end
21979 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21981 * gst/gstregistry.c:
21982 * gst/gstregistry.h:
21985 2005-11-04 Edward Hervey <edward@fluendo.com>
21987 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21988 Check if we are doing a segment seek and have arrived at the
21989 end of that segment.
21991 2005-11-04 Wim Taymans <wim@fluendo.com>
21993 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21994 Don't leak a mutex unlock in case of an error.
21999 2005-11-04 Wim Taymans <wim@fluendo.com>
22001 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22003 Get the context to wake up only once.
22005 2005-11-03 Wim Taymans <wim@fluendo.com>
22007 * check/states/sinks.c: (GST_START_TEST):
22008 Uncomment fixed check.
22010 * docs/design/part-TODO.txt:
22013 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22014 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22015 (gst_base_sink_get_position):
22016 If we are going to PLAYING, post the right pending state
22017 when we post the intermediate paused message.
22019 * gst/gstelement.c: (gst_element_continue_state),
22020 (gst_element_set_state_func), (gst_element_change_state):
22021 Don't post state changes that were between the same state
22022 and were not ASYNC.
22024 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22026 * docs/gst/gstreamer-sections.txt:
22029 * gst/gstminiobject.h:
22032 more docs and doc style fixes
22034 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22036 * docs/gst/gstreamer-sections.txt:
22037 * gst/gstelement.c:
22038 * gst/gstminiobject.c:
22041 2005-11-03 Andy Wingo <wingo@pobox.com>
22043 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22044 state-changed messages actually have the right order and the right
22047 2005-11-03 Wim Taymans <wim@fluendo.com>
22049 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22050 Added some more checks. Specifically the case where NO_PREROLL
22051 elements are in the pipeline.
22053 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22054 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22055 (gst_base_sink_get_position):
22056 Post READY->PAUSED state change messages too.
22057 Fix bug where VOID was posted as pending state...
22059 * gst/gstbin.c: (gst_bin_recalc_state):
22060 use _element_continue_state() to continue the state change.
22062 * gst/gstelement.c: (gst_element_continue_state),
22063 (gst_element_commit_state), (gst_element_set_state_func),
22064 (gst_element_change_state), (gst_element_change_state_func):
22065 Lots of state change cleanups, assign the STATE_RETURN in
22066 a new continue_state() function that also propagates the
22067 last return value from a state change to the app.
22068 Update some debug statements with proper category.
22070 2005-11-03 Wim Taymans <wim@fluendo.com>
22072 * docs/design/part-events.txt:
22073 * docs/design/part-gstpipeline.txt:
22074 * docs/design/part-messages.txt:
22075 * docs/design/part-overview.txt:
22076 * docs/design/part-seeking.txt:
22077 * docs/design/part-states.txt:
22078 * docs/design/part-trickmodes.txt:
22079 * docs/manual/advanced-position.xml:
22080 Small docs updates.
22083 People think !! is ugly, this looks better.
22085 * gst/gstpad.c: (gst_pad_set_blocked_async):
22086 Remove !! since it's fixed elsewhere now.
22088 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22090 * gst/gstminiobject.h:
22092 Add !! to _FLAG_IS_SET macros to make the result boolean.
22094 2005-11-03 Edward Hervey <edward@fluendo.com>
22096 * gst/gstpad.c: (gst_pad_set_blocked_async):
22097 comparing a flag and a gboolean rarely returns coherent results...
22098 Added two characters (!!) to make that work correctly.
22100 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22102 * gst/gstbus.c: (gst_bus_class_init):
22105 * gst/gstqueue.c: (gst_queue_loop):
22106 Don't assume a miniobject that isn't a buffer is an
22107 event (it could be that there is a refcounting
22108 problem somewhere and the pointer is stale and
22109 refers to an already destroyed miniobject).
22111 2005-11-03 Julien MOUTTE <julien@moutte.net>
22113 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22115 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22117 * docs/manual/advanced-position.xml:
22118 Update seek example and explanations to current 0.9 API.
22120 * gst/elements/gsttypefindelement.c:
22121 (gst_type_find_element_activate):
22122 Remove FIXME comment now that the found caps
22125 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22127 * gst/gstregistryxml.c: (load_feature):
22128 Add another GST_STR_NULL instance
22130 2005-11-02 Edward Hervey <edward@fluendo.com>
22132 * gst/gstpad.c: (handle_pad_block):
22133 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22135 2005-11-02 Wim Taymans <wim@fluendo.com>
22140 * gst/gstelement.c: (gst_element_commit_state):
22141 Remove unused value.
22143 * gst/gstiterator.c:
22144 Mention that the returned element is reffed in the docs.
22146 2005-11-02 Wim Taymans <wim@fluendo.com>
22148 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22149 (gst_pad_push), (gst_pad_push_event):
22150 Unlock blocked pads when they are flushed.
22152 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22155 * docs/gst/gstreamer-sections.txt:
22158 * gst/gstregistry.c: (gst_registry_scan_path_level):
22159 fix for a nasty little missed situation where an installed plug-in
22160 which was in the cache did not get overridden by an uninstalled one
22161 which was earlier in the plugin path because the newly created plugin
22162 for the uninstalled one (not in the registry) didn't get its
22163 ->registered set to TRUE
22165 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22167 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22168 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22169 (gst_collectpads_is_active), (gst_collectpads_collect),
22170 (gst_collectpads_collect_range), (gst_collectpads_start),
22171 (gst_collectpads_stop), (gst_collectpads_peek),
22172 (gst_collectpads_pop), (gst_collectpads_available),
22173 (gst_collectpads_read), (gst_collectpads_flush):
22174 Guard public API with assertions.
22177 Fix docs for gst_pad_set_link_function().
22179 2005-11-02 Johan Dahlin <johan@gnome.org>
22181 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22182 Unref found_caps after we used it.
22184 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22186 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22187 Don't try to ref NULL.
22189 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22191 * win32/common/config.h.in:
22192 provide a GST_FUNCTION that just gives a string for now
22194 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22196 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22197 (gst_object_flags_get_type), (register_gst_bin_flags),
22198 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22199 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22200 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22201 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22202 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22203 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22204 (gst_clock_flags_get_type), (register_gst_state),
22205 (gst_state_get_type), (register_gst_state_change_return),
22206 (gst_state_change_return_get_type), (register_gst_state_change),
22207 (gst_state_change_get_type), (register_gst_element_flags),
22208 (gst_element_flags_get_type), (register_gst_core_error),
22209 (gst_core_error_get_type), (register_gst_library_error),
22210 (gst_library_error_get_type), (register_gst_resource_error),
22211 (gst_resource_error_get_type), (register_gst_stream_error),
22212 (gst_stream_error_get_type), (register_gst_event_type),
22213 (gst_event_type_get_type), (register_gst_seek_type),
22214 (gst_seek_type_get_type), (register_gst_seek_flags),
22215 (gst_seek_flags_get_type), (register_gst_format),
22216 (gst_format_get_type), (register_gst_index_certainty),
22217 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22218 (gst_index_entry_type_get_type),
22219 (register_gst_index_lookup_method),
22220 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22221 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22222 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22223 (gst_index_flags_get_type), (register_gst_debug_level),
22224 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22225 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22226 (gst_iterator_result_get_type), (register_gst_iterator_item),
22227 (gst_iterator_item_get_type), (register_gst_message_type),
22228 (gst_message_type_get_type), (register_gst_mini_object_flags),
22229 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22230 (gst_pad_link_return_get_type), (register_gst_flow_return),
22231 (gst_flow_return_get_type), (register_gst_activate_mode),
22232 (gst_activate_mode_get_type), (register_gst_pad_direction),
22233 (gst_pad_direction_get_type), (register_gst_pad_flags),
22234 (gst_pad_flags_get_type), (register_gst_pad_presence),
22235 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22236 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22237 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22238 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22239 (gst_plugin_flags_get_type), (register_gst_rank),
22240 (gst_rank_get_type), (register_gst_query_type),
22241 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22242 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22243 (gst_tag_flag_get_type), (register_gst_task_state),
22244 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22245 (gst_alloc_trace_flags_get_type),
22246 (register_gst_type_find_probability),
22247 (gst_type_find_probability_get_type), (register_gst_uri_type),
22248 (gst_uri_type_get_type), (register_gst_parse_error),
22249 (gst_parse_error_get_type):
22250 * win32/common/gstversion.h:
22251 update win32 copies
22253 2005-11-01 Luca Ognibene <luogni@tin.it>
22256 fix docs. popt is dead, long live GOption.
22258 2005-10-31 Wim Taymans <wim@fluendo.com>
22263 2005-10-31 Andy Wingo <wingo@pobox.com>
22267 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22269 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22270 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22271 the possibility of deadlocks here if code calling notify() or
22272 set() has a lock that can be taken in another notify handler (ABBA
22273 with class lock and e.g. python GIL state lock).
22275 2005-10-28 Julien MOUTTE <julien@moutte.net>
22277 * gst/gstbus.c: Doc updates.
22279 2005-10-28 Wim Taymans <wim@fluendo.com>
22281 * docs/design/part-TODO.txt:
22282 * gst/gstiterator.c:
22283 * gst/gstsystemclock.c:
22284 * gst/gstsystemclock.h:
22287 2005-10-28 Edward Hervey <edward@fluendo.com>
22289 * docs/gst/gstreamer-docs.sgml:
22290 * docs/gst/gstreamer-sections.txt:
22291 the GstURIType documentation page is private, it only defines GstURIType
22292 which should be defined in the GstURIHandler page
22294 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22296 * gst/gstbin.c: (gst_bin_class_init):
22299 Documentation updates.
22301 2005-10-28 Wim Taymans <wim@fluendo.com>
22303 * docs/gst/gstreamer-sections.txt:
22306 Documented the clocks.
22308 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22310 * docs/gst/gstreamer-sections.txt:
22311 move some macros to private sections
22312 * gst/gstminiobject.c:
22313 * gst/gstminiobject.h:
22314 add descriptions provided by ds and some more
22316 mark macro as to be removed
22318 2005-10-28 Wim Taymans <wim@fluendo.com>
22320 * docs/design/part-TODO.txt:
22321 Add an item to TODO.
22323 * gst/gstiterator.c: (gst_iterator_fold),
22324 (gst_iterator_find_custom):
22325 * gst/gstiterator.h:
22328 2005-10-28 Wim Taymans <wim@fluendo.com>
22330 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22331 (gst_base_transform_init):
22334 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22335 An EOS event marks the queue as completely filled.
22337 2005-10-27 Wim Taymans <wim@fluendo.com>
22339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22340 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22341 Some more debugging.
22343 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22344 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22345 (gst_base_transform_event), (gst_base_transform_getrange),
22346 (gst_base_transform_chain):
22347 * gst/base/gstbasetransform.h:
22349 Protect transform and concurrent buffer alloc with a new lock.
22350 Try not to break ABI/API.
22352 2005-10-27 Wim Taymans <wim@fluendo.com>
22354 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22355 (gst_base_src_init), (gst_base_src_query),
22356 (gst_base_src_default_newsegment),
22357 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22358 (gst_base_src_send_event), (gst_base_src_event_handler),
22359 (gst_base_src_pad_get_range), (gst_base_src_loop),
22360 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22361 (gst_base_src_start), (gst_base_src_deactivate),
22362 (gst_base_src_activate_push), (gst_base_src_change_state):
22363 Move some stuff around and cleanup things.
22365 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22367 * gst/base/gstbasesrc.c: (gst_base_src_query):
22368 Add missing break statements.
22370 2005-10-27 Wim Taymans <wim@fluendo.com>
22372 * check/gst/gstbin.c: (GST_START_TEST):
22373 An extra refcount is taken in basesrc.
22375 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22376 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22377 (gst_base_src_loop):
22378 Small cleanups, check for flushing after being unlocked from the
22379 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22380 Don't send out EOS when going to READY.
22382 2005-10-27 Wim Taymans <wim@fluendo.com>
22384 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22385 (gst_base_sink_get_position):
22388 * gst/gstbin.c: (message_check), (bin_replace_message),
22389 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22390 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22391 (bin_query_duration_init), (bin_query_duration_fold),
22392 (bin_query_duration_done), (bin_query_generic_fold),
22394 * tools/gst-launch.c: (main):
22397 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22399 * examples/controller/audio-example.c: (main):
22400 * examples/queue/queue.c: (event_loop):
22401 * gst/base/gstbasetransform.h:
22402 * gst/gstelement.c: (gst_element_send_event):
22404 * gst/gstpad.c: (gst_pad_send_event):
22407 changing log priority in error situations
22409 2005-10-25 Wim Taymans <wim@fluendo.com>
22411 * gst/gstbin.c: (message_check), (bin_replace_message),
22412 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22413 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22414 (bin_query_duration_init), (bin_query_duration_fold),
22415 (bin_query_duration_done), (bin_query_generic_fold),
22417 Some doc and debug updates.
22418 Cache previously requested query DURATION for speed. invalidate
22419 cached duration if element posts a DURATION message.
22421 2005-10-25 Wim Taymans <wim@fluendo.com>
22423 * docs/design/part-TODO.txt:
22426 * gst/gstbin.c: (message_check), (bin_replace_message),
22427 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22428 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22429 (bin_query_duration_init), (bin_query_duration_fold),
22430 (bin_query_duration_done), (bin_query_generic_fold),
22432 Handle SEGMENT_START/DONE messages correctly.
22433 More evolved query algorithm that handles duration queries
22436 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22437 (gst_element_get_state_func), (gst_element_abort_state),
22438 (gst_element_commit_state), (gst_element_lost_state):
22439 Some more debugging.
22441 * gst/gstmessage.h:
22444 2005-10-25 Wim Taymans <wim@fluendo.com>
22446 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22447 Don't use invalid stream_time.
22449 * gst/gstevent.c: (gst_event_new_newsegment):
22450 stream_time in newsegment cannot be undefined.
22452 2005-10-24 Wim Taymans <wim@fluendo.com>
22457 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22459 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22461 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22463 * docs/libs/tmpl/gstdparam.sgml:
22464 * docs/libs/tmpl/gstdplinint.sgml:
22465 * docs/libs/tmpl/gstdpman.sgml:
22466 * docs/libs/tmpl/gstdpsmooth.sgml:
22467 * docs/libs/tmpl/gstunitconvert.sgml:
22470 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22475 === release 0.9.4 ===
22477 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22480 releasing 0.9.4, "Tyrannosaurus Rex"
22482 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22484 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22485 (gst_file_sink_get_current_offset):
22486 Use fseeko() and ftello() if available. When falling back on
22487 lseek() to get the current offset, fflush() first to make sure
22488 everything is up-to-date and we get the right offset.
22490 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22493 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22494 * gst/gsterror.c: (_gst_stream_errors_init):
22496 * gst/gstqueue.c: (gst_queue_loop):
22498 remove prematurely added error category and clean up the instances
22500 2005-10-21 Wim Taymans <wim@fluendo.com>
22502 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22503 (gst_base_sink_get_position), (gst_base_sink_query),
22504 (gst_base_sink_change_state):
22505 Simply set the right flag when going to playing, that's all
22506 we need to do instead of calling a function inside the object
22507 lock (that could take the lock as well and deadlock)
22509 2005-10-21 Wim Taymans <wim@fluendo.com>
22511 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22512 (gst_base_src_loop):
22513 Don't warn, the peer element knows what to do best when
22514 the seek failed, it might try something else.
22516 2005-10-21 Wim Taymans <wim@fluendo.com>
22518 * gst/base/gstbasesrc.c: (gst_base_src_init),
22519 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22522 2005-10-21 Wim Taymans <wim@fluendo.com>
22524 * docs/design/part-segments.txt:
22527 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22528 Correctly set caps, even on the subbufer.
22530 2005-10-21 Wim Taymans <wim@fluendo.com>
22532 * docs/gst/gstreamer-docs.sgml:
22533 * docs/gst/gstreamer-sections.txt:
22534 * gst/gstelement.h:
22537 * gst/gstmessage.h:
22540 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22544 And 2% more doc coverage.
22546 2005-10-21 Andy Wingo <wingo@pobox.com>
22548 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22549 position reporting.
22551 2005-10-20 Wim Taymans <wim@fluendo.com>
22553 * gst/gsterror.c: (gst_error_get_message):
22556 * gst/gststructure.c:
22561 2005-10-20 Wim Taymans <wim@fluendo.com>
22566 Another 1% more coverage.
22568 2005-10-20 Wim Taymans <wim@fluendo.com>
22570 * docs/gst/gstreamer-sections.txt:
22571 * gst/gstelement.c: (gst_element_get_state_func),
22572 (gst_element_abort_state), (gst_element_commit_state),
22573 (gst_element_lost_state):
22575 * gst/gstquery.c: (gst_query_set_position),
22576 (gst_query_parse_position), (gst_query_set_duration),
22577 (gst_query_parse_duration), (gst_query_new_convert):
22579 Yay! 1% more docs coverage.
22581 2005-10-20 Wim Taymans <wim@fluendo.com>
22584 * gst/gstquery.c: (gst_query_set_position),
22585 (gst_query_parse_position), (gst_query_set_duration),
22586 (gst_query_parse_duration), (gst_query_new_convert):
22588 * gst/gstutils.c: (gst_element_query_convert):
22590 Docs and consistency fixes.
22592 2005-10-20 Wim Taymans <wim@fluendo.com>
22598 2005-10-20 Wim Taymans <wim@fluendo.com>
22600 * gst/gstbin.c: (message_check), (bin_replace_message),
22601 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22602 (update_degree), (gst_bin_sort_iterator_next),
22603 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22604 Reworked the message handling a bit, cache the messages instead of
22605 only the senders. alows us to do more in the future.
22607 2005-10-20 Wim Taymans <wim@fluendo.com>
22609 * docs/design/part-TODO.txt:
22612 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22613 (gst_base_sink_query):
22614 Don't use clock time to report position when in EOS.
22616 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22618 * tools/gst-inspect.c: (print_interfaces),
22619 (print_element_properties_info), (print_element_info):
22620 Fix interface output with gst-inspect -a; don't print
22621 newlines after double/float properties.
22623 2005-10-20 Wim Taymans <wim@fluendo.com>
22625 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22626 (gst_base_sink_query):
22627 Speed up current position calculation.
22629 * gst/base/gstbasesrc.c: (gst_base_src_query),
22630 (gst_base_src_default_newsegment):
22631 Correctly set stream position in newsegment.
22633 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22634 (update_degree), (gst_bin_sort_iterator_next),
22635 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22636 * gst/gstmessage.c: (gst_message_new_custom):
22637 Clean up debugging info
22639 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22640 (gst_queue_loop), (gst_queue_handle_src_query):
22643 2005-10-19 Wim Taymans <wim@fluendo.com>
22645 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22646 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22647 Fix query handling again.
22649 2005-10-19 Wim Taymans <wim@fluendo.com>
22651 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22652 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22653 * gst/base/gstbasesrc.c: (gst_base_src_query):
22654 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22655 * gst/elements/gsttypefindelement.c:
22656 (gst_type_find_handle_src_query), (find_element_get_length),
22657 (gst_type_find_element_activate):
22660 * gst/gstquery.c: (gst_query_new_position),
22661 (gst_query_set_position), (gst_query_parse_position),
22662 (gst_query_new_duration), (gst_query_set_duration),
22663 (gst_query_parse_duration), (gst_query_set_segment),
22664 (gst_query_parse_segment):
22666 Bundling query position/duration is not a good idea since duration
22667 does not change much and we don't want to recalculate it for every
22668 position query, so they are separated again..
22669 Base value in segment query is not needed.
22671 * gst/gstqueue.c: (gst_queue_handle_src_query):
22672 * gst/gstutils.c: (gst_element_query_position),
22673 (gst_element_query_duration), (gst_pad_query_position),
22674 (gst_pad_query_duration):
22676 Updates for query API change.
22677 Added some docs here and there.
22679 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22681 * check/gst/gstbin.c: (GST_START_TEST):
22682 * check/gst/gstghostpad.c: (GST_START_TEST):
22683 * check/pipelines/cleanup.c: (GST_START_TEST):
22684 wait on thread to die so we can check refcount correctly
22686 2005-10-18 Wim Taymans <wim@fluendo.com>
22688 * check/pipelines/stress.c: (GST_START_TEST):
22689 Make check a little more time consuming.
22691 2005-10-18 Wim Taymans <wim@fluendo.com>
22693 * check/Makefile.am:
22694 * check/pipelines/stress.c: (GST_START_TEST),
22695 (simple_launch_lines_suite), (main):
22696 Small state change torture test.
22698 * docs/design/part-states.txt:
22699 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22700 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22701 (gst_base_sink_change_state):
22702 Never take state lock from streaming thread, clean up ugly
22703 hacks. Unfortunatly core does not yet support nice ways to
22704 async commit state.
22706 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22708 Start state recalc if a STATE_DIRTY message is posted, but only
22709 on the toplevel bin.
22711 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22712 (gst_element_get_state_func), (gst_element_abort_state),
22713 (gst_element_commit_state), (gst_element_lost_state),
22714 (gst_element_set_state_func), (gst_element_change_state):
22715 * gst/gstelement.h:
22716 State variables are now protected with the LOCK, the state
22717 lock is only used to serialize _set_state().
22719 2005-10-18 Wim Taymans <wim@fluendo.com>
22721 * check/gst/gstbin.c: (GST_START_TEST):
22722 * check/gst/gstmessage.c: (GST_START_TEST):
22723 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22724 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22726 * gst/gstelement.c: (gst_element_abort_state),
22727 (gst_element_commit_state), (gst_element_lost_state):
22728 * gst/gstmessage.c: (gst_message_new_state_changed),
22729 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22730 (gst_message_new_segment_done), (gst_message_new_duration),
22731 (gst_message_parse_state_changed),
22732 (gst_message_parse_segment_start),
22733 (gst_message_parse_segment_done), (gst_message_parse_duration):
22734 * gst/gstmessage.h:
22735 * tools/gst-launch.c: (event_loop):
22736 Seriously, this is better than a previous commit as we only need
22737 to notify the fact that an element changed state in a streaming
22738 thread, marking the state of the parents dirty, hence the
22739 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22742 2005-10-18 Wim Taymans <wim@fluendo.com>
22744 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22745 (gst_bin_recalc_func):
22746 * gst/gstelement.c: (gst_element_set_clock),
22747 (gst_element_abort_state), (gst_element_lost_state):
22748 Cleanups, prepare for state change fixes.
22750 2005-10-18 Wim Taymans <wim@fluendo.com>
22753 * gst/gstelement.c: (gst_element_class_init),
22754 (gst_element_set_state), (gst_element_set_state_func):
22755 * gst/gstelement.h:
22756 Pending ABI changes.
22757 GThreadPool in GstBinClass to monitor async state changes.
22758 state_cookie in GstElement to detect concurrent gst/set state.
22759 set_state is now virtual too in case a very complicated element
22760 has to be constructed.
22762 2005-10-18 Wim Taymans <wim@fluendo.com>
22764 * check/gst/gstbin.c: (GST_START_TEST):
22765 * check/gst/gstmessage.c: (GST_START_TEST):
22766 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22767 * gst/gstbin.c: (bin_bus_handler):
22768 * gst/gstelement.c: (gst_element_commit_state),
22769 (gst_element_lost_state):
22770 * gst/gstmessage.c: (gst_message_new_state_changed),
22771 (gst_message_new_segment_start), (gst_message_new_segment_done),
22772 (gst_message_new_duration), (gst_message_parse_state_changed),
22773 (gst_message_parse_segment_start),
22774 (gst_message_parse_segment_done), (gst_message_parse_duration):
22775 * gst/gstmessage.h:
22776 * tools/gst-launch.c: (event_loop):
22777 Make messages future proof.
22778 state-change gets a flag if it was a message comming from the
22780 segment-start/stop can also be specified in other formats.
22781 A message to notify an app that a pipeline changed playback
22783 Also fix a GstMessage leak in -launch
22785 2005-10-18 Andy Wingo <wingo@pobox.com>
22787 * gst/gstelement.c (gst_element_dispose): More helpful message.
22789 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22791 reviewed by: <delete if not using a buddy>
22793 * common/gtk-doc.mak:
22795 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22797 * gst/gstregistry.c: (gst_registry_scan_path_level):
22798 unref a plug-in we get that was already initialized
22800 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22802 * docs/gst/gstreamer-sections.txt:
22803 * docs/libs/gstreamer-libs-sections.txt:
22804 * gst/gstelement.h:
22805 add new api entries
22806 hide internal macro
22808 2005-10-17 Andy Wingo <wingo@pobox.com>
22810 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22813 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22815 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22817 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22818 (gst_element_get_state_func): Better debug message.
22819 (gst_element_commit_state): s/INFO/DEBUG/.
22820 (gst_element_lost_state, gst_element_change_state):
22822 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22823 (gst_message_new_custom): s/INFO/LOG/.
22825 2005-10-17 Michael Smith <msmith@fluendo.com>
22827 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22828 Check if end time is valid using end time, not start time.
22830 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22832 * check/gst-libs/controller.c: (GST_START_TEST),
22833 (gst_controller_suite):
22834 * libs/gst/controller/gstcontroller.c:
22835 (gst_controlled_property_set_interpolation_mode):
22836 * libs/gst/controller/gstcontroller.h:
22837 * libs/gst/controller/gstinterpolation.c:
22838 * testsuite/controller/.cvsignore:
22839 * testsuite/controller/Makefile.am:
22840 * testsuite/controller/interpolator.c:
22841 merge controller testsuites
22843 remove mem-chunk from docs
22845 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22847 * gst/gstmemchunk.c:
22848 * gst/gstmemchunk.h:
22849 * gst/gsttrashstack.c:
22850 * gst/gsttrashstack.h:
22851 out. get out. you're fired. to the Attic !
22853 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22855 * gst/gstcaps.c: (gst_caps_intersect):
22856 fix signedness issues in a (hopefully) correct way
22857 * gst/gstelement.c: (gst_element_pads_activate):
22859 * gst/gstobject.c: (gst_object_set_parent):
22862 2005-10-17 Julien MOUTTE <julien@moutte.net>
22864 * gst/gstvalue.h: Fix prototypes.
22866 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22868 * docs/gst/gstreamer-sections.txt:
22869 * gst/gst.c: (gst_version_string):
22871 * gst/gstversion.h.in:
22872 * win32/common/libgstreamer.def:
22873 add gst_version_string ()
22875 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22879 * gst/gst.c: (init_post):
22880 * win32/common/config.h.in:
22882 * gst/gstcaps.c: (gst_caps_intersect):
22883 use gint64, the range could be bigger than a guint
22885 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22888 document potential problem in 2038
22890 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22892 * gst/gstcaps.c: (gst_caps_intersect):
22893 Fix guint j diving under 0
22895 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22898 * win32/common/config.h:
22899 * win32/common/config.h.in:
22900 check for process.h, declares getpid() on Windows
22902 include process.h if we have it
22903 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22904 * gst/gstmemchunk.h:
22905 fix signedness issues
22906 * win32/common/libgstreamer.def:
22909 2005-10-16 Julien MOUTTE <julien@moutte.net>
22911 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22912 fix. Because of unsigned ints, caps intersection was going nuts and
22913 trying to access structures with G_MAXUINT index. That fixes
22914 videotestsrc ! ffmpegcolorspace ! fakesink
22915 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22918 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22921 use the gettext macro
22922 * gst/elements/gstelements.c:
22924 * gst/indexers/gstindexers.c:
22925 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22926 * win32/common/config.h:
22928 * win32/common/config.h.in:
22929 add the template to generate config.h
22930 * win32/common/gstenumtypes.c:
22931 * win32/common/gstversion.h:
22934 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22936 * gst/gst.c: (gst_version):
22937 * gst/gstversion.h.in:
22940 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22943 Oops, add missing closing bracket.
22945 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22948 use common m4's for argument checking
22950 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22952 * docs/gst/gstreamer-sections.txt:
22954 Add GST_EVENT_TYPE_NAME() macro.
22956 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22959 * gst/gstpluginfeature.c:
22961 privatize more symbols
22963 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22966 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22967 everything that uses GStreamer API should have the includes
22969 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22971 * docs/gst/gstreamer-sections.txt:
22972 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22974 give each value a _get_type, removes the DATA exports
22976 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22980 remove _gst_registry_auto_load, not used anymore
22981 * gst/gstbin.c: (gst_bin_get_type):
22983 * gst/gstelement.c: (gst_element_get_type):
22984 * gst/gstelement.h:
22985 * gst/gstobject.c: (gst_object_get_type):
22987 * gst/gstpad.c: (gst_pad_get_type):
22989 make _get_type functions similar, fixes data export from library
22991 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22994 correctly make conditionals
22995 * gst/elements/Makefile.am:
22996 * gst/elements/gstelements.c:
22997 fix typo causing fdsrc not to build
22999 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23001 * testsuite/Makefile.am:
23002 * testsuite/bytestream/.cvsignore:
23003 * testsuite/bytestream/Makefile.am:
23004 * testsuite/bytestream/filepadsink.c:
23005 * testsuite/bytestream/gstbstest.c:
23006 * testsuite/bytestream/test1.c:
23007 * testsuite/bytestream/testfile1:
23008 * testsuite/caps/normalisation.c:
23009 * testsuite/caps/random.c: (main):
23010 * testsuite/cleanup/.cvsignore:
23011 * testsuite/cleanup/Makefile.am:
23012 * testsuite/cleanup/cleanup1.c:
23013 * testsuite/cleanup/cleanup2.c:
23014 * testsuite/cleanup/cleanup3.c:
23015 * testsuite/cleanup/cleanup4.c:
23016 * testsuite/cleanup/cleanup5.c:
23017 * testsuite/controller/interpolator.c:
23018 * testsuite/debug/printf_extension.c: (main):
23019 * testsuite/elements/tee.c:
23020 * testsuite/negotiation/.cvsignore:
23021 * testsuite/negotiation/Makefile.am:
23022 * testsuite/negotiation/pad_link.c:
23023 * testsuite/pad/Makefile.am:
23024 * testsuite/pad/chainnopull.c:
23025 * testsuite/pad/getnopush.c:
23026 * testsuite/pad/link.c:
23027 * testsuite/refcounting/sched.c: (create_pipeline):
23028 * testsuite/registry/Makefile.am:
23029 * testsuite/registry/gst-print-formats.c:
23030 * testsuite/schedulers/.cvsignore:
23031 * testsuite/schedulers/142183-2.c:
23032 * testsuite/schedulers/142183.c:
23033 * testsuite/schedulers/143777-2.c:
23034 * testsuite/schedulers/143777.c:
23035 * testsuite/schedulers/147713.c:
23036 * testsuite/schedulers/147819.c:
23037 * testsuite/schedulers/147894-2.c:
23038 * testsuite/schedulers/147894.c:
23039 * testsuite/schedulers/Makefile.am:
23040 * testsuite/schedulers/group_link.c:
23041 * testsuite/schedulers/queue_link.c:
23042 * testsuite/schedulers/relink.c:
23043 * testsuite/schedulers/unlink.c:
23044 * testsuite/schedulers/unref.c:
23045 * testsuite/schedulers/useless_iteration.c:
23046 * testsuite/states/bin.c:
23047 clean out/remove some stuff from the testsuite directories
23049 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23052 check for some headers
23053 * gst/elements/Makefile.am:
23054 * gst/elements/gstelements.c:
23055 don't compile fdsrc without sys/socket.h
23056 * gst/indexers/Makefile.am:
23057 * gst/indexers/gstindexers.c: (plugin_init):
23058 don't compile fileindex without mmap
23060 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23067 * check/Makefile.am:
23068 * docs/gst/Makefile.am:
23069 * examples/helloworld/Makefile.am:
23071 * gst/base/Makefile.am:
23072 * gst/check/Makefile.am:
23073 * gst/elements/Makefile.am:
23074 * gst/indexers/Makefile.am:
23075 * gst/parse/Makefile.am:
23076 * libs/gst/controller/Makefile.am:
23077 * libs/gst/dataprotocol/Makefile.am:
23078 * examples/helloworld/helloworld.c: (event_loop):
23079 compile fixes, though it's not being compiled currently
23081 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23083 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23084 Add some simple tests for the new taglist date API.
23086 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23088 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23089 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23090 Beautify 'last-message' output: print 'none' for buffer timestamps
23091 and durations if none is set; improve alignment with next messages.
23093 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23095 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23096 * gst/gstpluginfeature.h:
23097 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23098 * gst/gstregistry.h:
23099 * docs/gst/gstreamer-sections.txt:
23100 Add new API to check plugin feature version requirements.
23102 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23103 Some basic tests for the above.
23105 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23107 * gst/gststructure.c: (gst_structure_to_string):
23108 guard against NULL printf - happens when for example
23109 a message structure with GstClock gets serialized
23111 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23113 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23114 Fix presumable copy'n'pasto.
23116 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23118 * gst/elements/gstfakesrc.h:
23119 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23120 * gst/elements/gsttypefindelement.c:
23121 fix some signedness
23122 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23123 I wonder if this could actually write +2GB files before
23125 2005-10-13 Andy Wingo <wingo@pobox.com>
23127 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23128 Fix Timmeke Waymans bug.
23129 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23130 string of the proper length to gst_caps_from_string. There's a
23131 potential for, before this fix, that this could cause someone
23132 connecting over the network to cause a segfault if the payload is
23133 not NUL-terminated.
23135 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23137 * docs/design/draft-push-pull.txt:
23138 * docs/design/part-overview.txt:
23139 * docs/random/TODO-pre-0.9:
23140 * docs/random/old/ChangeLog.gstreamer:
23141 * gst/base/gstpushsrc.c:
23145 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23147 * gst/glib-compat.c: (gst_flags_get_first_value):
23148 * gst/glib-compat.h:
23149 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23150 (gst_value_compare_double), (gst_value_serialize_flags):
23151 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23154 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23156 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23157 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23159 * tools/gst-launch.c: (event_loop):
23160 print out clock nicely
23162 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23164 * docs/gst/gstreamer-sections.txt:
23165 * gst/gsttaglist.h:
23166 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23167 (gst_tag_list_get_date_index):
23168 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23169 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23171 2005-10-13 Julien MOUTTE <julien@moutte.net>
23173 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23174 (gst_collectpads_chain):
23175 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23178 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23180 * docs/gst/gstreamer-sections.txt:
23183 * tools/gst-inspect.c: (main):
23184 * tools/gst-launch.c: (main):
23185 * tools/gst-run.c: (main):
23186 * tools/gst-xmlinspect.c: (main):
23187 fix GOption context leaks
23190 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23194 * win32/common/config.h:
23196 * win32/vs6/grammar.dsp:
23197 * win32/vs6/libgstelements.dsp:
23198 * win32/vs6/libgstreamer.dsp:
23201 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23204 * gst/base/gstbasesrc.c: (gst_base_src_query):
23205 fix more guint64<->gdouble conversions
23207 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23210 add win32-update target
23211 * win32/common/gstconfig.h:
23212 * win32/common/gstenumtypes.c:
23213 * win32/common/gstenumtypes.h:
23214 * win32/common/gstversion.h:
23215 add files that visual studio can't generate
23217 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23220 add a win32-update target
23223 2005-10-12 Wim Taymans <wim@fluendo.com>
23225 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23226 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23227 * gst/gstelement.c: (gst_element_commit_state),
23228 (gst_element_set_state):
23229 Protect flags with proper lock.
23230 unref provided cached clock in dispose.
23232 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23235 * gst/gstminiobject.h:
23237 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23238 removed unused flags from miniobject
23241 2005-10-12 Wim Taymans <wim@fluendo.com>
23243 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23244 (gst_file_sink_event), (gst_file_sink_render):
23245 Flush before seeking.
23247 2005-10-12 Andy Wingo <wingo@pobox.com>
23249 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23250 always been the case.
23252 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23254 * check/gst/gstbin.c: (GST_START_TEST):
23255 * docs/gst/gstreamer-sections.txt:
23256 * gst/base/gstbasesink.c: (gst_base_sink_init):
23257 * gst/base/gstbasesrc.c: (gst_base_src_init),
23258 (gst_base_src_get_range), (gst_base_src_check_get_range),
23259 (gst_base_src_start), (gst_base_src_stop):
23260 * gst/base/gstbasesrc.h:
23261 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23262 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23263 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23267 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23269 * gst/gstelement.c: (gst_element_is_locked_state),
23270 (gst_element_set_locked_state), (gst_element_commit_state),
23271 (gst_element_set_state):
23272 * gst/gstelement.h:
23273 * gst/gstindex.c: (gst_index_init):
23275 * gst/gstminiobject.h:
23276 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23277 (gst_object_set_parent):
23279 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23280 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23282 * gst/gstpadtemplate.h:
23283 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23284 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23285 * gst/gstpipeline.h:
23286 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23287 (gst_file_index_commit):
23288 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23289 * testsuite/pad/link.c: (gst_test_src_init),
23290 (gst_test_filter_init), (gst_test_sink_init):
23291 * testsuite/states/locked.c: (main):
23292 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23293 moved bitshift from macro to enum definition
23295 2005-10-12 Wim Taymans <wim@fluendo.com>
23297 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23298 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23299 (gst_file_sink_render):
23300 Some more debugging info.
23302 2005-10-12 Wim Taymans <wim@fluendo.com>
23304 * docs/design/part-states.txt:
23305 * tools/gst-launch.c: (main):
23307 Revert non-intentional change.
23309 2005-10-12 Wim Taymans <wim@fluendo.com>
23311 * check/gst/gstbin.c: (GST_START_TEST):
23312 * check/gst/gstelement.c: (GST_START_TEST):
23313 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23314 * check/gst/gstghostpad.c: (GST_START_TEST):
23315 * check/gst/gstpipeline.c: (GST_START_TEST):
23316 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23317 * check/states/sinks.c: (GST_START_TEST):
23318 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23319 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23320 (gst_bin_remove_func), (gst_bin_get_state_func),
23321 (gst_bin_recalc_state), (gst_bin_change_state_func),
23323 * gst/gstelement.c: (gst_element_get_state_func),
23324 (gst_element_get_state), (gst_element_abort_state),
23325 (gst_element_commit_state), (gst_element_set_state),
23326 (gst_element_change_state), (gst_element_change_state_func):
23327 * gst/gstelement.h:
23328 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23329 (gst_pipeline_provide_clock_func):
23330 * gst/gstutils.c: (gst_element_link_pads_filtered):
23331 * tools/gst-launch.c: (main):
23332 * tools/gst-typefind.c: (main):
23333 Use GstClockTime in _get_state() instead of GTimeVal.
23334 Remove old code in gstutils.c
23336 2005-10-12 Andy Wingo <wingo@pobox.com>
23338 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23341 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23342 there is no task. Shouldn't affect any code, as nothing in our
23343 plugins checks this return value.
23344 (gst_pad_stop_task): Also take the stream lock if the pad has no
23345 task. Docs updated.
23347 2005-10-12 Wim Taymans <wim@fluendo.com>
23349 * gst/gstpad.c: (pre_activate), (post_activate),
23350 (gst_pad_activate_pull), (gst_pad_activate_push):
23351 Cleanup activation code. Reset old state if
23354 2005-10-12 Wim Taymans <wim@fluendo.com>
23356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23357 (gst_base_sink_change_state):
23358 No need to prerol after receiving EOS.
23360 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23361 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23362 * gst/elements/gstidentity.c: (gst_identity_event):
23363 Print events more verbosely.
23365 2005-10-12 Wim Taymans <wim@fluendo.com>
23367 * check/Makefile.am:
23368 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23369 * check/states/sinks2.c:
23370 Moved sinks2 testcode in sinks check.
23372 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23373 (gst_bin_remove_func), (gst_bin_recalc_state),
23374 (gst_bin_change_state_func), (bin_bus_handler):
23375 Fix potential race condition when _get_state() iterated over an
23376 ASYNC element right before it posted a state completion.
23379 Do proper cast here.
23381 * gst/gstevent.c: (gst_event_new_newsegment),
23382 (gst_event_parse_newsegment):
23383 A playback rate of 0.0 is not allowed.
23385 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23387 * win32/common/config.h:
23388 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23389 (_trewinddir), (_ttelldir), (_tseekdir):
23390 * win32/common/dirent.h:
23391 * win32/common/gtchar.h:
23392 * win32/common/libgstbase.def:
23393 * win32/common/libgstreamer.def:
23394 * win32/vs6/grammar.dsp:
23395 * win32/vs6/gst_inspect.dsp:
23396 * win32/vs6/gst_launch.dsp:
23397 * win32/vs6/gstreamer.dsw:
23398 * win32/vs6/libgstbase.dsp:
23399 * win32/vs6/libgstelements.dsp:
23400 * win32/vs6/libgstreamer.dsp:
23401 Visual Studio 6 project files, and a new common directory.
23404 2005-10-11 Wim Taymans <wim@fluendo.com>
23406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23407 (gst_base_sink_do_sync), (gst_base_sink_query),
23408 (gst_base_sink_change_state):
23409 * gst/base/gstbasesink.h:
23410 Correctly parse newsegment info.
23412 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23414 * gst/gst.c: (init_post):
23415 split plugin paths correctly
23417 2005-10-11 Wim Taymans <wim@fluendo.com>
23419 * check/gst/gstevent.c: (GST_START_TEST):
23420 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23421 (gst_base_sink_change_state):
23422 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23423 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23424 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23425 * gst/gstevent.c: (gst_event_new_newsegment),
23426 (gst_event_parse_newsegment):
23428 Added extra flag to newsegment for future API freeze.
23429 Updated check and base elements.
23431 2005-10-11 Julien MOUTTE <julien@moutte.net>
23433 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23434 (gst_collectpads_add_pad), (gst_collectpads_pop),
23435 (gst_collectpads_event), (gst_collectpads_chain):
23436 * gst/base/gstcollectpads.h: Handle EOS correctly.
23438 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23440 * tools/gst-launch.c: (main):
23441 more null protecting
23443 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23445 * gst/gst-i18n-lib.h:
23446 check for ENABLE_NLS, not GETTEXT_PACKAGE
23447 * gst/gstregistry.c: (gst_registry_add_plugin),
23448 (gst_registry_scan_path_level),
23449 (_gst_registry_remove_cache_plugins):
23450 protect possibly NULL strings
23451 * gst/parse/types.h:
23452 config.h already included before
23453 * tools/gst-inspect.c: (main):
23454 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23455 check for ENABLE_NLS, not GETTEXT_PACKAGE
23456 * tools/gst-launch.c: (main):
23457 check for ENABLE_NLS, not GETTEXT_PACKAGE
23459 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23462 if we don't have glib, fail before testing 2.8
23463 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23464 fix a leak, should fix plugins-base testsuite
23466 2005-10-11 Andy Wingo <wingo@pobox.com>
23468 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23469 take the mode we're going to as an arg. Go head and set the mode
23470 and flushing flags now, so that if the activate function starts a
23471 thread all the flags will be in the right state.
23472 (post_activate): Renamed also. Just handle making sure streaming
23473 finishes for the deactivation case, and setting the deactivated
23475 (gst_pad_set_active): Complain loudly if deactivation fails.
23476 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23477 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23478 remove the terrible hack.
23480 2005-10-11 Wim Taymans <wim@fluendo.com>
23482 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23483 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23484 (gst_bin_recalc_state), (gst_bin_change_state_func),
23485 (gst_bin_dispose), (bin_bus_handler):
23487 Prepare to make current EOS message queue more generic.
23490 * gst/gstevent.c: (gst_event_new_newsegment),
23491 (gst_event_parse_newsegment):
23493 Rename base to stream_time.
23495 * gst/gstmessage.h:
23498 2005-10-11 Wim Taymans <wim@fluendo.com>
23500 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23501 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23502 (gst_bin_change_state_func), (bin_bus_handler):
23504 Work on proper clock selection.
23506 2005-10-11 Edward Hervey <edward@fluendo.com>
23508 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23509 * libs/gst/controller/gstcontroller.h:
23510 Added GList* version of _remove_properties() in order to be able to wrap
23513 2005-10-11 Wim Taymans <wim@fluendo.com>
23515 * docs/design/part-states.txt:
23518 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23519 (gst_bin_change_state_func), (bin_bus_handler):
23520 Doc updates. Don't distribute the same clock over and over again.
23526 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23527 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23528 (gst_pad_send_event):
23530 Make probe emission threadsafe again.
23531 Register quarks and move _get_name() from utils.
23534 * gst/gstpipeline.c: (gst_pipeline_class_init),
23535 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23536 Only redistribute the clock of it changed.
23538 * gst/gstsystemclock.h:
23543 Moved the _flow_get_name() to GstPad.
23545 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23547 * check/gst-libs/gdp.c: (GST_START_TEST):
23548 * check/gst/gstcaps.c: (GST_START_TEST):
23549 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23550 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23551 (gst_dp_packet_from_caps):
23552 fix more valgrind warnings before turning up the heat
23554 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23556 * gst/parse/grammar.y:
23557 some cleanup before the hacking
23559 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23561 * gst/base/gstbasesrc.c: (gst_base_src_query):
23563 * gst/gstutils.c: (gst_guint64_to_gdouble),
23564 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23566 externalize, basesrc uses it
23567 obviously the implementation needs testing
23569 2005-10-10 Wim Taymans <wim@fluendo.com>
23571 * tests/sched/Makefile.am:
23572 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23573 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23575 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23577 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23578 apparently converting from guint64 to double is not implemented
23581 2005-10-10 Wim Taymans <wim@fluendo.com>
23583 * check/Makefile.am:
23584 * check/generic/states.c: (GST_START_TEST):
23585 * check/gst/gstbin.c: (GST_START_TEST):
23586 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23587 * check/states/sinks.c: (GST_START_TEST):
23588 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23590 Check fixes, use API as stated in design docs, remove hacks.
23592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23593 (gst_base_sink_change_state):
23594 Catch stopping our task while we're shutting down.
23596 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23597 (gst_bin_remove_func), (gst_bin_get_state_func),
23598 (gst_bin_recalc_state), (gst_bin_change_state_func),
23601 * gst/gstelement.c: (gst_element_init),
23602 (gst_element_get_state_func), (gst_element_abort_state),
23603 (gst_element_commit_state), (gst_element_lost_state),
23604 (gst_element_set_state), (gst_element_change_state),
23605 (gst_element_change_state_func):
23606 * gst/gstelement.h:
23607 New state change algorithm (see #318116)
23609 * gst/gstpipeline.c: (gst_pipeline_class_init),
23610 (gst_pipeline_init), (gst_pipeline_set_property),
23611 (gst_pipeline_get_property), (do_pipeline_seek),
23612 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23613 * gst/gstpipeline.h:
23614 Remove crude state change hacks.
23617 Remove crude hacks.
23619 * tools/gst-launch.c: (main):
23620 Fixes for state change. Needs some more work to fully use the
23623 2005-10-10 Andy Wingo <wingo@pobox.com>
23625 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23627 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23628 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23631 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23633 * gst/gstiterator.c: (gst_iterator_new):
23634 Fix my previous commit: GTypes passed to gst_iterator_new()
23635 can be fundamental types.
23637 2005-10-10 Wim Taymans <wim@fluendo.com>
23639 * gst/gstelement.c: (gst_element_iterate_pad_list),
23640 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23641 (gst_element_iterate_sink_pads):
23642 Use src/sink pads lists for the respective iterators instead
23645 2005-10-10 Andy Wingo <wingo@pobox.com>
23647 Merged in popt removal + GOption addition patch from Ronald, bug
23650 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23651 GstElement macros around, remove popt-related symbols, add goption
23654 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23656 * docs/gst/Makefile.am:
23657 * docs/libs/Makefile.am: No POPT_CFLAGS.
23659 * examples/manual/Makefile.am:
23660 * docs/manual/basics-init.xml: Doc updates with an example.
23662 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23663 (gst_init), (parse_one_option), (parse_goption_arg):
23664 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23665 bit of hand merging and debugging to get the GOption stuff working
23668 * tests/Makefile.am:
23669 * tools/Makefile.am:
23670 * tools/gst-inspect.c: (main):
23671 * tools/gst-launch.c: (main):
23672 * tools/gst-run.c: (main):
23673 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23675 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23677 * gst/gstiterator.c: (gst_iterator_new):
23678 Add assertions to make sure passed GType is likely to really
23679 be a GType (as the compiler won't catch it if the size and
23680 GType arguments get mixed up, see #318447).
23682 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23684 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23686 * gst/gstbin.c: (gst_bin_iterate_sorted):
23687 Pass GType and size arguments to gst_iterator_new() in the right
23688 order (maybe we should make _new() take the GType as first argument
23689 just like _new_list()?) (#318447).
23692 2005-10-10 Wim Taymans <wim@fluendo.com>
23694 * gst/gstelement.c: (gst_element_finalize):
23695 And free the GStaticRecMutex too
23697 2005-10-10 Andy Wingo <wingo@pobox.com>
23699 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23700 Allocate and free the mutex properly.
23702 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23704 (GstElement): The state_lock is now recursive. Rebuild your
23705 plugins, suckers. Old macros adapted.
23707 * docs/gst/gstreamer-sections.txt: Doc updates.
23710 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23711 (g_static_rec_cond_wait): Ported from state changes patch, while
23712 we wait on bug #317802 to be solved in a well-distributed GLib.
23714 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23715 gst_element_change_state, variable name changes.
23716 (gst_element_change_state): Split out of gst_element_set_state in
23717 preparation for the state change merge. Doesn't pay attention to
23718 the 'transition' argument.
23719 (gst_element_set_state): Updates, hopefully purely cosmetic.
23720 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23721 state change patch.
23722 (gst_element_get_state_func): Renamed from get_state, cosmetic
23725 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23727 * gst/elements/gstelements.c:
23728 * win32/GStreamer.vcproj:
23730 * win32/dirent.c: (_tseekdir):
23731 * win32/gst-inspect.vcproj:
23732 * win32/gst-launch.vcproj:
23733 * win32/gstconfig.h:
23734 * win32/gstelements.vcproj:
23735 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23736 * win32/gstreamer.def:
23737 * win32/msvc71.sln:
23738 updates for the win32 build (patch from Sebastien Moutte)
23740 2005-10-10 Andy Wingo <wingo@pobox.com>
23742 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23743 gst_bin_get_state, cleaned up (but no logic changes).
23744 (bin_element_is_sink): Comment updates.
23745 (sink_iterator_filter): Remove needless cast.
23746 (gst_bin_iterate_sinks): Doc update.
23747 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23748 cleaned up (but no logic changes).
23750 * check/states/sinks.c (test_src_sink): Cleanups from the state
23752 (test_livesrc_sink): Sync on the state.
23754 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23755 the state change patch.
23757 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23760 * check/gst/gstbin.c: Merge in some style fixes and additional
23761 checks from Wim's state change patch.
23763 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23765 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23766 (gst_type_find_helper):
23767 Check whether we have the requested data already in our list of
23768 cached buffers before pulling a new buffer; also make the buffer
23769 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23771 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23776 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23777 don't use long long, it's not portable. Replacing with
23778 gint64 seems to work; let's hope no skeletons fall out of the closet.
23780 2005-10-10 Andy Wingo <wingo@pobox.com>
23782 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23784 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23786 * docs/gst/gstreamer-sections.txt:
23791 * gst/gstmessage.c: (gst_message_parse_state_changed):
23794 more docs, fix compilation
23796 2005-10-09 Philippe Khalaf <burger@speedy.org>
23797 * gst/gstmessage.c:
23798 Fixed a few forgotten variables on previous commit
23800 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23802 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23803 Fix evil typefind crasher: getrange() might return a short
23804 buffer at the end of a file, but gst_type_find_peek() must
23805 either return the full data as requested or NULL, but
23806 never a short buffer.
23808 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23810 * gst/gstmessage.c: (gst_message_new_state_changed),
23811 (gst_message_parse_state_changed):
23812 * gst/gstmessage.h:
23813 don't use "new", it's a C++ keyword
23815 2005-10-08 Wim Taymans <wim@fluendo.com>
23817 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23818 * gst/gstelement.c: (gst_element_post_message):
23819 * gst/gstpipeline.c: (gst_pipeline_change_state):
23820 Small docs and debug updates.
23822 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23824 * docs/gst/gstreamer-sections.txt:
23825 * gst/gstelementfactory.c:
23827 * gst/gsttaglist.c:
23830 2005-10-08 Wim Taymans <wim@fluendo.com>
23832 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23833 (gst_bin_dispose), (bin_bus_handler):
23834 Fix typos, add comments.
23835 Clear EOS list when going to PAUSED from any direction and do it
23836 in a threadsafe way.
23837 Get base time in a threadsafe way too.
23838 Fix confusing debug in the change_state function.
23839 Various other small cleanups.
23841 * gst/gstelement.c: (gst_element_post_message):
23842 Fix very verbose bus posting code.
23844 * gst/gstpipeline.c: (gst_pipeline_class_init),
23845 (gst_pipeline_set_property), (gst_pipeline_get_property),
23846 (gst_pipeline_change_state):
23847 Small ARG_ -> PROP_ cleanup
23849 2005-10-08 Wim Taymans <wim@fluendo.com>
23851 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23852 Do a less CPU demanding EOS check because we can.
23854 2005-10-08 Wim Taymans <wim@fluendo.com>
23856 * libs/gst/dataprotocol/dataprotocol.c:
23857 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23858 (gst_dp_packet_from_event):
23859 * libs/gst/dataprotocol/dataprotocol.h:
23860 * libs/gst/dataprotocol/dp-private.h:
23861 It's about time we bump the version number.
23862 Since event types don't fit in the guint8 anymore describing
23863 the payload type, make payload type 16 bits wide.
23865 2005-10-08 Wim Taymans <wim@fluendo.com>
23867 * docs/design/part-TODO.txt:
23868 * docs/design/part-clocks.txt:
23869 * docs/design/part-events.txt:
23870 * docs/design/part-gstbin.txt:
23871 * docs/design/part-gstelement.txt:
23872 * docs/design/part-gstpipeline.txt:
23873 * docs/design/part-live-source.txt:
23874 * docs/design/part-messages.txt:
23875 * docs/design/part-overview.txt:
23876 * docs/design/part-states.txt:
23879 2005-10-08 Wim Taymans <wim@fluendo.com>
23883 Fix event quark registration.
23884 Add some space between events so we can insert them in the
23887 2005-10-08 Wim Taymans <wim@fluendo.com>
23889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23890 (gst_base_sink_handle_buffer):
23891 Better log message.
23894 * gst/gstelement.h:
23897 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23898 (gst_queue_set_property), (gst_queue_get_property):
23900 Remove old unused properties.
23902 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23903 * docs/gst/gstreamer-sections.txt:
23904 * gst/gstmessage.c:
23905 * gst/gstmessage.h:
23906 * gst/gstminiobject.c:
23907 * gst/gstminiobject.h:
23911 lots of new docs and doc fixes
23913 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23915 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23917 * gst/gstregistry.c: (gst_registry_lookup_locked),
23918 (gst_registry_scan_path_level):
23919 * gst/gstregistryxml.c: (load_plugin):
23920 Only ever load one plugin for a given plugin basename.
23921 This ensures correct overriding of GST_PLUGIN_PATH over
23922 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23923 system installed plugins.
23925 2005-10-08 Wim Taymans <wim@fluendo.com>
23927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23928 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23929 Prepare for doing QOS.
23931 2005-10-08 Wim Taymans <wim@fluendo.com>
23933 * check/gst/gstbin.c: (GST_START_TEST):
23934 * check/pipelines/cleanup.c: (GST_START_TEST):
23935 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23936 Allow new clock message too.
23938 2005-10-08 Wim Taymans <wim@fluendo.com>
23940 * gst/gstmessage.c: (gst_message_new_error),
23941 (gst_message_new_warning), (gst_message_new_tag),
23942 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23943 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23944 (gst_message_new_segment_start), (gst_message_new_segment_done),
23945 (gst_message_parse_state_changed),
23946 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23947 (gst_message_parse_new_clock):
23948 * gst/gstmessage.h:
23949 Also carry the clock in question.
23951 2005-10-08 Wim Taymans <wim@fluendo.com>
23953 * gst/gstmessage.c: (gst_message_new_custom),
23954 (gst_message_new_eos), (gst_message_new_error),
23955 (gst_message_new_warning), (gst_message_new_tag),
23956 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23957 (gst_message_new_new_clock), (gst_message_new_segment_start),
23958 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23959 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23960 * gst/gstmessage.h:
23962 Added clock related messages.
23964 * gst/gstpipeline.c: (gst_pipeline_change_state):
23965 Post message when the clock changed.
23967 * tools/gst-launch.c: (event_loop):
23970 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23972 * tools/gst-inspect.c: (print_element_properties_info):
23973 Can't pass NULL strings to g_print() on windows.
23975 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23977 * docs/Makefile.am:
23978 * docs/gst/Makefile.am:
23979 * docs/gst/gstreamer-docs.sgml:
23980 * docs/gst/running.xml:
23981 * docs/version.entities.in:
23982 add a chapter on running GStreamer.
23983 document GST_DEBUG and GST_PLUGIN* env vars
23985 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23990 remove PLUGINS_BUILDDIR stuff
23991 * gst/gst.c: (init_post):
23992 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23994 remove, it was condescending and not needed
23996 2005-10-08 Wim Taymans <wim@fluendo.com>
23998 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23999 (gst_base_sink_handle_object), (gst_base_sink_event),
24000 (gst_base_sink_wait), (gst_base_sink_handle_event),
24001 (gst_base_sink_change_state):
24002 * gst/base/gstbasesink.h:
24003 Repost EOS message while going to PLAYING if still EOS.
24004 Make sure that when receiving a FLUSH_START we don't attempt
24005 to sync on the clock anymore.
24007 2005-10-08 Wim Taymans <wim@fluendo.com>
24009 * tools/gst-launch.c: (event_loop):
24010 Better message printout.
24012 2005-10-08 Wim Taymans <wim@fluendo.com>
24014 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24015 (gst_bin_child_proxy_get_children_count):
24016 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24017 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24018 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24019 (gst_child_proxy_set_valist):
24020 * gst/parse/grammar.y:
24021 Make ChildProxy threadsafe and fix mem leaks.
24023 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24025 * gst/gst.c: (init_post):
24026 debug the GST_PLUGIN_ env vars
24028 2005-10-08 Wim Taymans <wim@fluendo.com>
24030 * check/gst/gstbin.c: (GST_START_TEST):
24031 * check/gst/gstmessage.c: (GST_START_TEST):
24032 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24033 * gst/gstelement.c: (gst_element_commit_state),
24034 (gst_element_lost_state):
24035 * gst/gstmessage.c: (gst_message_new_state_changed),
24036 (gst_message_parse_state_changed):
24037 * gst/gstmessage.h:
24038 * tools/gst-launch.c: (event_loop):
24039 Added extra field to STATE_CHANGE message with the pending
24040 state, which will be different from the new state soon.
24042 2005-10-08 Wim Taymans <wim@fluendo.com>
24044 * gst/gstbus.c: (gst_bus_pop):
24046 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24047 Small cleanups and doc updates.
24049 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24051 * gst/gst.c: (init_pre):
24052 * gst/gstbin.c: (gst_bin_add_func):
24053 log distributing clocks and base time
24054 * gst/gstregistry.c: (gst_registry_add_plugin),
24055 (gst_registry_scan_path_level), (gst_registry_scan_path):
24056 clean up the debugging output a little
24057 * gst/gstutils.c: (gst_element_state_get_name):
24058 warn about a memleak (I've actually seen this be used, though
24059 it was probably a bug)
24061 2005-10-07 Wim Taymans <wim@fluendo.com>
24063 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24064 (gst_base_src_init), (gst_base_src_default_newsegment),
24065 (gst_base_src_newsegment), (gst_base_src_do_seek),
24066 (gst_base_src_loop), (gst_base_src_start):
24067 * gst/base/gstbasesrc.h:
24068 Make the newsegment event customizable by subclasses.
24070 2005-10-07 Wim Taymans <wim@fluendo.com>
24072 * gst/gstevent.c: (gst_event_new_buffersize),
24073 (gst_event_parse_buffersize):
24075 New event for future idea.
24077 2005-10-07 Andy Wingo <wingo@pobox.com>
24079 * gst/gstelement.c (gst_element_post_message): Doc update.
24081 * docs/gst/gstreamer-sections.txt: Update.
24083 * gst/gstmessage.c (gst_message_new_application): Made into a
24084 function like honest API calls.
24085 (gst_message_new_element): New message type.
24087 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24089 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24090 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24093 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24094 NO_PREROLL from gst_element_change_state to fall through.
24096 2005-10-07 Wim Taymans <wim@fluendo.com>
24098 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24099 (gst_ghost_pad_do_activate_push):
24100 Activating a ghostpad with no internal pad in push mode
24103 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24106 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24107 Fixes compilation on Windows.
24109 2005-10-07 Michael Smith <msmith@fluendo.com>
24111 * tools/gst-inspect.c:
24112 Print out feature and plugin count at the end when printing out
24115 2005-10-04 Michael Smith <msmith@fluendo.com>
24117 * gst/gsterror.c: (_gst_stream_errors_init):
24118 Add another error string used in a few existing plugins.
24121 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24122 * tools/gst-inspect.c: (print_element_info):
24123 When a feature disappears from a plugin (and the feature exists in
24124 the cached registry file), things went horribly wrong. This isn't a
24125 complete fix, we should actually be removing the 'missing' features
24126 from the features list when we load the actual plugin. That's not
24129 2005-10-04 Johan Dahlin <johan@gnome.org>
24131 * check/gst/gstiterator.c: (GST_START_TEST):
24132 * gst/gstbin.c: (gst_bin_iterate_elements),
24133 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24134 * gst/gstelement.c: (gst_element_iterate_pads):
24135 * gst/gstformat.c: (gst_format_iterate_definitions):
24136 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24137 (gst_iterator_new_list), (gst_iterator_filter):
24138 * gst/gstiterator.h:
24139 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24140 Add a GType to GstIterator, update callsites and tests.
24142 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24144 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24145 give events a chance to be handled by event probes when the pad
24148 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24150 * gst/gstevent.c: (gst_event_type_get_name),
24151 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24153 add string representations for event types
24155 2005-10-06 Wim Taymans <wim@fluendo.com>
24157 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24158 Don't use NULL pointers.
24160 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24162 * gst/gst_private.h:
24164 * gst/gstelement.c:
24166 * gst/gstpluginfeature.c:
24167 widen the debug category in output to fit the biggest one we have
24168 add a bus category and use it
24169 play with the colors
24170 fix up some categories
24172 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24174 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24175 add push activation of sink ghost pads.
24176 Andye, please verify
24178 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24180 * gst/gstutils.c: (gst_element_link_pads):
24181 fix a bug in the case where neither element has a pad
24182 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24183 add a test for that case
24185 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24187 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24188 emit have-data before checking for peers. This allows
24189 for probe handlers to connect elements. This helps autopluggers.
24190 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24192 add six checks, linked/unlinked with no/true/false probe
24194 2005-10-04 Wim Taymans <wim@fluendo.com>
24196 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24197 (gst_fake_sink_event), (gst_fake_sink_preroll),
24198 (gst_fake_sink_render), (gst_fake_sink_change_state):
24199 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24200 (gst_fake_src_get_property), (gst_fake_src_create),
24201 (gst_fake_src_stop):
24202 * gst/elements/gstidentity.c: (gst_identity_stop):
24203 Protect last_message with lock.
24205 2005-10-04 Edward Hervey <edward@fluendo.com>
24208 Added precision in the comments for GST_FORMAT_DEFAULT
24210 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24212 * tools/gst-launch.c: (main):
24213 Don't try to run erroneous pipelines.
24215 2005-10-04 Julien MOUTTE <julien@moutte.net>
24217 * gst/gstbus.c: We don't need this header.
24219 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24222 back to development
24224 === release 0.9.3 ===
24226 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24230 Releasing 0.9.3, "Unregistered"
24232 2005-10-03 Andy Wingo <wingo@pobox.com>
24234 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24235 whereby calling a pad's activatepush() function can start a thread
24236 that starts to push or pull before the pad gets the FLUSHING flag
24237 unset. Hack around it by holding the stream lock until the flag is
24238 set. Need to replace this with a proper solution. Together with
24239 the ghost pad fixes, this fixes mp3 playing/tagreading.
24241 * docs/design/part-gstghostpad.txt: Add a note about activation of
24242 proxy pads outside of ghost pads.
24244 * gst/gstghostpad.c: Implement the ghost pad activation design.
24246 2005-10-02 Andy Wingo <wingo@pobox.com>
24248 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24249 It is volatile, after all.
24251 * docs/design/part-gstghostpad.txt: Flesh out activation with
24254 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24257 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24260 Fix (unused) AM_CONDITIONAL tests.
24262 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24264 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24266 * gst/gstutils.c: (gst_pad_query_convert):
24267 Add assertion that makes sure src_val is >=0, just like
24268 gst_query_new_convert() has. (#315895)
24270 2005-09-30 Edward Hervey <edward@fluendo.com>
24272 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24273 Let's not iterate pads we're not interested in, it avoids getting
24274 sky-high refcounts on sinkpad.
24276 2005-09-30 Wim Taymans <wim@fluendo.com>
24278 * gst/gstelement.c: (gst_element_set_state),
24279 (gst_element_change_state):
24280 Small tweak, element in ASYNC remains ASYNC.
24282 2005-09-30 Wim Taymans <wim@fluendo.com>
24284 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24285 Only error is an error.
24287 * gst/gstbin.c: (gst_bin_change_state):
24290 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24291 Also call pad_block in pad alloc.
24293 * gst/gstutils.c: (gst_flow_get_name):
24296 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24298 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24299 (gst_base_src_get_range):
24300 Fix documentation typos. Add some more debug info.
24302 2005-09-29 David Schleef <ds@schleef.org>
24304 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24305 more end-user friendly.
24306 * tools/gst-inspect.c: (main): Check if command-line argument is
24307 a file and attempt to load that file as a plugin.
24309 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24311 * check/gst/gstbin.c:
24312 * check/states/sinks.c:
24313 fix tests for the new warning
24314 * check/gst/gstpipeline.c:
24315 add a test for pipeline and bus interaction
24316 * gst/gstelement.c:
24317 elements should be NULL if they get disposed; add a warning if not
24319 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24322 for 2.6 refcounting, make debug log more correct by printing
24323 the actual refcounts at the time of swap (Wim)
24325 2005-09-29 Andy Wingo <wingo@pobox.com>
24327 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24328 removes signal watches previously added via
24329 gst_bus_add_signal_watch.
24330 (gst_bus_add_signal_watch): Don't return the source id, just store
24331 it on the bus if there wasn't an id already.
24333 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24334 add_signal_watch and remove_signal_watch.
24336 2005-09-29 Edward Hervey <edward@fluendo.com>
24338 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24339 Better if we actually iterate the list :)
24341 2005-09-29 Wim Taymans <wim@fluendo.com>
24343 * check/gst/gstbin.c: (GST_START_TEST):
24344 Change for new bus API.
24346 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24347 (send_messages), (GST_START_TEST), (gstbus_suite):
24348 Change for new bus signal API.
24350 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24351 (gst_bus_source_prepare), (gst_bus_source_check),
24352 (gst_bus_create_watch), (gst_bus_add_watch_full),
24353 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24354 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24356 Remove support for multiple GSources operating on different
24357 message types as it is too complex and unneeded when using
24359 Added support for receiving signals from the bus.
24361 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24363 * docs/libs/tmpl/gstdataprotocol.sgml:
24364 * docs/manual/advanced-dataaccess.xml:
24365 * gst/elements/gstcapsfilter.c:
24367 rename filter-caps to caps property
24369 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24371 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24372 More robust fraction string parsing.
24374 * docs/pwg/appendix-porting.xml:
24375 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24377 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24379 * gst/gstcaps.c: (gst_caps_do_simplify):
24380 Thou shalt not free a structure and then continue using it
24381 in the next loop iteration.
24383 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24385 Add test case for caps simplification.
24387 2005-09-29 Wim Taymans <wim@fluendo.com>
24389 * check/gst/gstbin.c: (GST_START_TEST):
24392 2005-09-29 Wim Taymans <wim@fluendo.com>
24394 * check/gst/gstbin.c: (GST_START_TEST):
24397 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24398 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24399 (find_element), (gst_bin_sort_iterator_next),
24400 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24401 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24402 (gst_bin_change_state), (gst_bin_dispose):
24403 A bin does not have a bus, it gets the bus from the parent.
24405 * gst/gstelement.c: (gst_element_requires_clock),
24406 (gst_element_provides_clock), (gst_element_is_indexable),
24407 (gst_element_is_locked_state), (gst_element_change_state),
24408 (gst_element_set_bus_func):
24411 * gst/gstpipeline.c: (gst_pipeline_class_init),
24412 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24413 The pipeline provides a bus.
24415 2005-09-28 Johan Dahlin <johan@gnome.org>
24417 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24418 gst_structure_get_enum instead of gst_structure_get_int
24420 * gst/gststructure.c (gst_structure_get_enum): Impl.
24422 * gst/gststructure.h (gst_structure_get_enum): Add
24424 * docs/gst/gstreamer-sections.txt: Ditto
24426 * gst/gstmessage.c (gst_message_new_state_changed): Use
24427 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24428 which does introspection.
24429 Reviewed by Christian Schaller
24431 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24433 * gst/gstinfo.c: (gst_debug_log_default):
24434 don't do dummy g_strdup()s
24435 * libs/gst/controller/gstcontroller.c:
24436 (on_object_controlled_property_changed),
24437 (gst_controlled_property_new), (gst_controller_new_valist),
24438 (gst_controller_new_list),
24439 (gst_controller_remove_properties_valist), (gst_controller_set),
24440 (gst_controller_get), (gst_controller_sync_values),
24441 (gst_controller_get_value_array), (_gst_controller_class_init),
24442 (gst_controller_get_type):
24443 * libs/gst/controller/gstcontroller.h:
24444 * libs/gst/controller/gstinterpolation.c:
24445 (gst_controlled_property_find_timed_value_node):
24446 convert // to /**/ comments
24448 2005-09-28 Wim Taymans <wim@fluendo.com>
24450 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24451 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24452 (gst_bus_sync_signal_handler):
24454 Added async-message and sync-message signals to the bus.
24455 Added helper BusFunc to emit signals for all posted messages.
24457 * gst/gstmessage.c: (gst_message_type_get_name),
24458 (gst_message_type_to_quark), (gst_message_get_type):
24459 * gst/gstmessage.h:
24460 Register quarks for message names.
24462 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24464 * docs/libs/gstreamer-libs-sections.txt:
24465 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24466 (gst_controller_new_list):
24467 * libs/gst/controller/gstcontroller.h:
24468 added another constructor for language bindings
24470 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24472 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24476 * gst/gstinfo.c: (_gst_debug_init):
24477 slightly more readable color for refcount debugging
24479 2005-09-28 Wim Taymans <wim@fluendo.com>
24481 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24482 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24483 (find_element), (gst_bin_sort_iterator_next),
24484 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24485 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24486 (gst_bin_change_state), (gst_bin_dispose):
24487 Small doc fixes. get_clock -> provide_clock.
24489 * gst/gstelement.c: (gst_element_class_init),
24490 (gst_element_provides_clock), (gst_element_provide_clock),
24491 (gst_element_get_clock), (gst_element_commit_state),
24492 (gst_element_lost_state):
24493 * gst/gstelement.h:
24494 Make get/set_clock() symetric. Add provide_clock vmethod since
24495 that is actually what this function does.
24497 * gst/gstpipeline.c: (gst_pipeline_class_init),
24498 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24499 (gst_pipeline_get_clock):
24500 get_clock -> provide_clock.
24502 2005-09-28 Andy Wingo <wingo@pobox.com>
24504 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24505 lieu of real docs...
24507 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24509 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24511 * gst/elements/gstcapsfilter.c:
24512 * gst/elements/gstfakesink.c:
24513 * gst/elements/gstfakesrc.c:
24514 * gst/elements/gstfdsink.c:
24515 * gst/elements/gstfdsrc.c:
24516 * gst/elements/gstfilesink.c:
24517 * gst/elements/gstfilesrc.c:
24518 * gst/elements/gstidentity.c:
24519 * gst/elements/gsttee.c:
24520 * gst/elements/gsttypefindelement.c:
24521 Make element details static.
24523 2005-09-28 Wim Taymans <wim@fluendo.com>
24525 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24526 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24527 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24528 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24529 (gst_bin_change_state), (gst_bin_dispose):
24530 Some documentation updates.
24531 Clean up dispose handlers.
24533 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24534 * gst/gstpad.c: (gst_pad_dispose):
24535 Clean up dispose handler.
24537 * gst/gstpipeline.c: (gst_pipeline_change_state):
24538 Removed spurious UNLOCK.
24540 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24542 * docs/gst/gstreamer-sections.txt:
24543 * gst/base/gstbasesrc.h:
24544 * gst/gstelement.h:
24548 * gst/gstpipeline.c:
24549 * gst/gstpipeline.h:
24552 added two new functions to the docs
24553 documents all undocumented GstXXXFlags
24554 completed some incomplete docs
24556 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24558 * gst/gstbin.c: (gst_bin_dispose):
24559 * gst/gstelement.c: (gst_element_dispose):
24560 remove now useless and leaky resurrection code in dispose
24561 * gst/base/gstbasesrc.c: (gst_base_src_init):
24562 * gst/gstelementfactory.c: (gst_element_factory_create):
24563 * gst/gstobject.c: (gst_object_set_parent):
24566 2005-09-27 Wim Taymans <wim@fluendo.com>
24568 * docs/design/part-TODO.txt:
24571 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24572 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24573 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24574 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24575 (gst_bin_change_state):
24576 * gst/gstelement.h:
24577 Remove element variable, we keep element info in the iterator now.
24579 2005-09-27 Andy Wingo <wingo@pobox.com>
24581 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24584 2005-09-27 Wim Taymans <wim@fluendo.com>
24586 * check/gst/gstbin.c: (GST_START_TEST):
24587 Enable check that works now.
24589 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24590 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24591 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24592 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24593 (gst_bin_change_state):
24595 Redid the state change algorithm using a topological sort algo.
24596 Handles all cases correctly.
24597 Exposed iterator for state change order.
24599 * gst/gstelement.h:
24600 Temp storage for state changes. Need to get rid of this soon.
24602 2005-09-27 Wim Taymans <wim@fluendo.com>
24604 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24605 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24606 (link_fold_func), (gst_pad_proxy_setcaps):
24607 Leak fixes, the fold functions need to unref the passed object and
24608 _get_parent_*() returns ref to parent.
24610 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24612 * check/gst/gstbuffer.c: (test_make_writable):
24613 Plug leak in test case and fix 'make check-valgrind'
24615 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24617 * gst/gstbuffer.c: (gst_subbuffer_init):
24618 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24619 works correctly in all circumstances (we could have just copied
24620 the parent buffer's readonly flag, but conceptually it seems
24621 cleaner to mark all subbuffers as read-only). (based on patch
24622 by Alessandro Decina, #314710).
24624 * check/gst/gstbuffer.c: (create_read_only_buffer),
24625 (test_make_writable), (test_subbuffer_make_writable),
24627 Add some tests for gst_buffer_make_writable().
24629 2005-09-27 Wim Taymans <wim@fluendo.com>
24631 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24632 use gst_object_has_ancestor().
24634 * gst/gstobject.c: (gst_object_has_ancestor):
24636 gst_object_has_ancestor() copied from gstbin.c as it is a
24639 * tests/instantiate/create.c: (create_all_elements):
24640 * tests/lat.c: (handoff_src), (handoff_sink):
24641 * tests/sched/runxml.c: (main):
24642 * tests/seeking/seeking1.c: (main):
24643 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24645 Fix compilation of some tests.
24647 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24650 Remove comment. GST_TYPE_G_ERROR is here to stay,
24651 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24652 (#316961, #300610).
24654 2005-09-26 Wim Taymans <wim@fluendo.com>
24656 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24657 Added check that shows error in state change order.
24659 2005-09-26 Wim Taymans <wim@fluendo.com>
24661 * gst/gstbin.c: (gst_bin_change_state):
24662 Make state change function use 3 queues again, we were
24663 adding elements in the wrong order.
24665 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24668 * gst/gstpad.c: (gst_pad_dispose):
24669 Added some debug info first.
24671 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24673 * docs/design/draft-push-pull.txt:
24674 * docs/design/part-events.txt:
24675 * docs/design/part-overview.txt:
24676 * docs/design/part-scheduling.txt:
24677 Replace all _pull_region() with _pull_range()
24679 2005-09-26 Andy Wingo <wingo@pobox.com>
24681 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24683 * check/gst-libs/controller.c: Update for controller api change.
24686 * tests/Makefile.am:
24687 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24688 over by GLib bug 118439.
24690 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24691 routines to a function.
24693 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24695 * libs/gst/controller/gsthelper.c:
24696 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24697 (gst_object_sync_values): Renamed from sink_values. Ugh.
24699 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24701 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24702 Renamed from controller_key, as it is exported.
24704 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24706 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24711 * gst/gstpadtemplate.h:
24714 * gst/gstqueryutils.c:
24715 * gst/gstqueryutils.h:
24716 remove queryutils headers after moving the two used functions
24717 to gstquery. also fixes build problem for gstsiddec
24719 2005-09-26 Michael Smith <msmith@fluendo.com>
24721 * tools/gst-launch.1.in:
24722 Correct documentation in manpage of debug syntax
24724 2005-09-26 Wim Taymans <wim@fluendo.com>
24726 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24727 (gst_base_src_is_seekable), (gst_base_src_change_state):
24728 Some more debugging info.
24730 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24732 * docs/gst/gstreamer-sections.txt:
24733 * gst/base/gstbasetransform.h:
24737 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24739 * docs/gst/.cvsignore:
24740 * docs/gst/tmpl/.cvsignore:
24741 * docs/gst/tmpl/gstpipeline.sgml:
24742 * docs/gst/tmpl/gstplugin.sgml:
24743 * gst/gstpipeline.c:
24746 inlined the last two docs files
24747 removed the tmpl directory from cvs (no more conflicts here!)
24749 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24751 * docs/gst/gstreamer-sections.txt:
24752 * docs/gst/tmpl/.cvsignore:
24753 * docs/gst/tmpl/gstpad.sgml:
24754 * docs/gst/tmpl/gstpadtemplate.sgml:
24756 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24757 (gst_pad_finalize), (gst_pad_set_pad_template):
24759 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24760 (gst_pad_template_class_init), (gst_pad_template_init),
24761 (gst_pad_template_dispose), (name_is_valid),
24762 (gst_static_pad_template_get), (gst_pad_template_new),
24763 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24764 (gst_pad_template_pad_created):
24765 * gst/gstpadtemplate.h:
24766 inlined two more docs
24767 factored gstpadtemplate out of gstpad
24769 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24771 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24772 (test_children_state_change_order_semi_sink):
24773 Fix test case: we can't rely on a fixed state change order when
24774 going from READY => PAUSED because the sink might commit its
24775 new state first when the first buffer created by the source
24776 reaches the sink before the source has finished its change state.
24777 (Test case still fails at times, see #316856, comment 5 onwards)
24779 2005-09-24 Wim Taymans <wim@fluendo.com>
24781 * docs/design/part-events.txt:
24782 * docs/design/part-gstbus.txt:
24783 * docs/design/part-gstpipeline.txt:
24784 * docs/design/part-messages.txt:
24785 * docs/design/part-overview.txt:
24786 * docs/design/part-segments.txt:
24790 * gst/gstelement.c:
24793 * gst/gstiterator.c:
24794 Various documentation updates.
24796 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24799 Well, that's embarassing. Luckily we weren't using
24800 GST_CLOCK_DIFF anywhere.
24802 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24804 * common/gtk-doc.mak:
24805 don't fail on building XML, FC4 slave shows a bunch of doc
24806 missing bits that I don't get
24808 * gst/gstpipeline.c:
24809 * gst/gststructure.c:
24812 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24814 * docs/design/part-gstbin.txt:
24815 * docs/design/part-gstbus.txt:
24817 Add blurb about how the bus goes into flushing mode and
24818 drops all messages when its bin goes from READY into NULL
24821 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24823 * docs/gst/gstreamer-sections.txt:
24824 * gst/gststructure.c: (gst_structure_get_clock_time):
24825 * gst/gststructure.h:
24826 add a method to get a GstClockTime out of a structure
24828 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24830 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24831 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24832 Added test to check state change order in bins (can still be made
24833 to fail here under heavy disk load; bails out with 'Push on pad
24834 fakesink:sink0, but it was not activated in push mode').
24836 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24837 Fix state change order when there is only a semi sink (#316856)
24839 * gst/gstbus.c: (gst_bus_class_init):
24840 Use _class_peek_parent(), not _class_ref(); fix docs to say
24841 'default main context' instead of 'mainloop' where that is
24844 * gst/gstelement.c: (gst_element_commit_state),
24845 (gst_element_set_state):
24846 Fix typos in debug messages
24848 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24851 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24852 * gst/gstpluginfeature.c:
24854 various doc updates
24855 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24856 change an assert into an error until it gets fixed properly
24858 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24860 * docs/gst/gstreamer-sections.txt:
24861 * docs/gst/tmpl/.cvsignore:
24862 * docs/gst/tmpl/gstelement.sgml:
24863 * docs/gst/tmpl/gstinfo.sgml:
24864 * docs/gst/tmpl/gstobject.sgml:
24865 * gst/gstelement.c:
24866 * gst/gstelement.h:
24869 * gst/gstobject.c: (gst_object_class_init):
24871 inlined 3 more biiiig doc files and added some missing docs on the fly
24873 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24875 * check/gst/.cvsignore:
24876 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24877 * gst/gstregistryxml.c: (load_plugin),
24878 (gst_registry_xml_save_plugin):
24879 put back source in registry. add checks for find_plugin.
24880 * testsuite/states/bin.c: (assert_state), (empty_bin),
24881 (test_adding_one_element), (main):
24882 * testsuite/states/locked.c: (main):
24883 some compile/run fixes
24885 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24887 * check/gst/gstvalue.c: (GST_START_TEST):
24888 fix leaks in the test itself
24890 2005-09-22 Wim Taymans <wim@fluendo.com>
24892 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24893 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24894 (gst_base_sink_query):
24895 Prepare for more accurate position reporting and query
24898 * gst/gstelement.c: (gst_element_send_event),
24899 (gst_element_set_state):
24902 2005-09-22 Wim Taymans <wim@fluendo.com>
24904 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24905 (gst_query_parse_segment):
24907 More documentation.
24908 Add segment query for future use.
24910 2005-09-22 Wim Taymans <wim@fluendo.com>
24912 * gst/gstbin.c: (gst_bin_add_func):
24913 Some more debug info.
24915 * gst/gstelement.c: (gst_element_send_event):
24916 Simplify send_event
24918 * gst/gstelement.h:
24919 Don't know how flags got broken.
24924 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24926 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24927 Add simplistic test suite for GST_TYPE_DATE serialisation and
24930 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24932 * docs/gst/gstreamer-sections.txt:
24933 * gst/gststructure.c: (gst_structure_set_valist),
24934 (gst_structure_get_date):
24935 * gst/gststructure.h:
24936 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24937 (gst_date_copy), (gst_value_compare_date),
24938 (gst_value_serialize_date), (gst_value_deserialize_date),
24939 (gst_value_transform_date_string),
24940 (gst_value_transform_string_date), (_gst_value_initialize):
24942 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24943 bunch of utility functions along with a hack that checks that
24944 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24945 is required. Part of the grand scheme in #170777.
24947 2005-09-22 Andy Wingo <wingo@pobox.com>
24949 * gst/gstconfig.h.in: Psych out gtk-doc.
24951 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24953 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24955 * tools/gst-inspect.c (print_element_list): Plug some
24956 inconsequential leaks.
24958 * gst/gstregistry.c (gst_registry_get_default): Doc.
24960 * check/gst/gstplugin.c:
24961 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24962 * gst/gstelementfactory.c (gst_element_factory_create):
24963 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24966 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24967 (gst_plugin_feature_load): Doc, don't eat refs.
24969 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24970 (gst_plugin_list_free): Doc.
24971 (gst_plugin_load_file): Doc updates.
24973 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24974 accessors returning refcounted objects, return a ref.
24976 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24977 accessor for caps. IDEMPOTENCE. Oh yes.
24979 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24981 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24983 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24984 (_gst_debug_register_funcptr):
24985 Add mutex to serialise access to the hash table with
24986 the function pointer => function name string mapping;
24987 make that hash table static scope (#316809).
24989 * gst/registries/.cvsignore:
24990 Remove left-over file.
24992 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24994 * docs/pwg/appendix-porting.xml:
24995 And something about newsegment events and caps-on-buffers to
24996 the porting guide (feel free to improve).
24998 2005-09-21 Andy Wingo <wingo@pobox.com>
25000 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25001 data and event probes on the same pad.
25002 (test_buffer_probe_once): Test that removing probes from within
25003 the probe functions works.
25005 2005-09-21 Andy Wingo <wingo@pobox.com>
25007 * check/gst/gstutils.c: New file.
25008 (test_buffer_probe_n_times): A simple buffer probe test. More to
25011 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25012 have-data::buffer, not have-data.
25013 (gst_pad_add_event_probe): Likewise for have-data::event.
25014 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25015 peer' isn't quite right yet though.
25016 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25017 (gst_pad_remove_data_probe): Change to take the guint handler_id
25018 as their arg, not the function+data, which is more glib-like.
25020 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25021 the signal emission to indicate if the data is a buffer or an
25023 (gst_pad_get_type): Initialize buffer and event quarks.
25024 (gst_pad_class_init): have-data is now a detailed signal, yes it
25027 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25029 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25030 * gst/gstutils.c: (gst_util_set_value_from_string),
25031 (gst_util_set_object_arg):
25032 Don't put functional code in g_return_if_fail() or
25033 g_return_val_if_fail() statements, otherwise things will
25034 break when G_DISABLE_CHECKS is defined during compilation.
25036 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25038 * docs/gst/tmpl/.cvsignore:
25039 * docs/gst/tmpl/gstvalue.sgml:
25042 inlied another one and added some obvious docs
25044 2005-09-21 Wim Taymans <wim@fluendo.com>
25046 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25047 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25048 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25049 (gst_fdsrc_get_property), (gst_fdsrc_create):
25050 * gst/elements/gstfdsrc.h:
25051 Properly implement fdsrc. Removed signal and timeout,
25052 better implemented somewhere else.
25054 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25056 * docs/gst/tmpl/.cvsignore:
25057 * docs/gst/tmpl/gstimplementsinterface.sgml:
25058 * gst/gstinterface.c:
25061 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25063 * docs/gst/gstreamer-sections.txt:
25064 * docs/gst/tmpl/.cvsignore:
25065 * docs/gst/tmpl/gstenumtypes.sgml:
25066 remove obsolete doc file
25068 2005-09-21 David Schleef <ds@schleef.org>
25070 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25071 little beer, fix a little leak.
25073 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25075 * docs/gst/gstreamer-docs.sgml:
25076 * docs/gst/gstreamer-sections.txt:
25077 * docs/gst/tmpl/.cvsignore:
25081 * gst/gstelement.h:
25082 * gst/gstindex.c: (gst_index_class_init):
25084 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25085 (gst_index_factory_class_init), (gst_index_factory_init),
25086 (gst_index_factory_finalize), (gst_index_factory_new),
25087 (gst_index_factory_destroy), (gst_index_factory_find),
25088 (gst_index_factory_create), (gst_index_factory_make):
25089 * gst/gstindexfactory.h:
25090 * gst/gstpluginfeature.c:
25091 * gst/gstpluginfeature.h:
25092 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25093 more docs inlined, splitted gstindex.{c,h}
25095 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25097 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25100 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25102 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25103 Set sync to FALSE by default.
25105 2005-09-20 Wim Taymans <wim@fluendo.com>
25107 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25108 (gst_base_sink_init):
25109 Make sync property settable from subclass.
25111 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25112 (gst_fake_sink_change_state):
25113 Set sync to FALSE by default.
25115 2005-09-20 Wim Taymans <wim@fluendo.com>
25117 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25118 * tools/gst-launch.c: (main):
25119 The timeout handler should have lower priority than the source
25120 so we don't timeout before popping a message with 0 timeout.
25121 Dump error messages after failed state change.
25123 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25125 * tools/gst-inspect.c: (print_element_properties_info):
25128 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25130 * check/gst/gstevent.c:
25131 * gst/elements/gstfakesink.c:
25132 * gst/elements/gstfakesink.h:
25133 remove the sync property from fakesink.
25134 has the side effect of setting sync TRUE
25135 for fakesink, which is a change. Anyone who knows how
25136 to fix this nicely in a GObject-y way, feel free.
25138 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25140 * docs/gst/gstreamer-docs.sgml:
25141 remove probe refsection
25143 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25145 * check/Makefile.am:
25146 disable valgrinding the controller test again
25147 * docs/gst/gstreamer-sections.txt:
25148 update for api-changes
25150 2005-09-20 Wim Taymans <wim@fluendo.com>
25152 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25153 (gst_base_sink_set_property), (gst_base_sink_get_property),
25154 (gst_base_sink_do_sync):
25155 * gst/base/gstbasesink.h:
25156 Added sync property to basesink to disable clock sync.
25158 2005-09-20 Andy Wingo <wingo@pobox.com>
25160 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25161 eating the caller's refcount.
25163 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25164 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25167 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25168 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25169 of GLib 2.8 public, so we can know which refcount to check in
25172 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25173 (gst_object_init): Only set the gst refcount if we're going ahead
25174 with the refcount hack.
25176 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25178 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25179 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25180 more leaks plumbed, added more debug-logging
25184 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25186 * gst/gstmessage.c:
25187 remove include of gstmemchunk.h
25189 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25191 * gst/gstclock.c: (_gst_clock_id_free):
25192 Commit from the Political Party For More Atomic CVS Commits,
25193 so that people don't waste too much of their day fishing
25194 out obvious leaks out of massive commits.
25195 Oh, and fix a pretty damn obvious leak in the memchunk
25198 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25200 * check/Makefile.am:
25201 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25202 plug mem-leak, re-add to valgrindable tests
25204 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25207 unbreak the build for those who have chronic arthritis
25208 and typing "make check" is just too taxing on the hands
25210 2005-09-20 Andy Wingo <wingo@pobox.com>
25212 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25213 really want it out, you should fix plugins at the same time.
25215 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25218 * docs/gst/gstreamer-sections.txt:
25220 added missing symbols to api docs
25221 disable ref-count hack if we have glib >= 2.8
25223 2005-09-19 David Schleef <ds@schleef.org>
25225 * docs/gst/Makefile.am: Ignore a few more internal headers
25226 * docs/gst/gstreamer-docs.sgml: Remove old sections
25227 * docs/gst/gstreamer-sections.txt: Remove old sections
25228 * docs/gst/tmpl/gstobject.sgml: update
25229 * docs/gst/tmpl/gstplugin.sgml: update
25230 * docs/gst/tmpl/gstpluginfeature.sgml: update
25231 * docs/random/ds/0.9-suggested-changes: update.
25232 * gst/Makefile.am: remove memchunk and trashstack, since they're
25234 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25235 * gst/gst.h: don't include some headers
25236 * gst/gstchildproxy.c: add gstmarshal.h
25237 * gst/gstclock.c: Don't use memchunks
25238 * gst/gstminiobject.c: Add some docs
25239 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25240 * gst/gstobject.h: same
25241 * gst/gstplugin.c: include gstmacros.h
25242 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25243 * gst/gstquery.c: don't use memchunks
25244 * gst/gstregistry.c: rename gst_registry_deinit()
25245 * gst/gstregistry.h: same
25247 2005-09-19 David Schleef <ds@schleef.org>
25249 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25250 * docs/libs/gstreamer-libs-sections.txt:
25251 * docs/libs/tmpl/gstgetbits.sgml:
25252 * docs/libs/tmpl/gstputbits.sgml:
25254 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25256 * win32/gstenumtypes.c:
25257 * win32/gstenumtypes.h:
25260 2005-09-19 Wim Taymans <wim@fluendo.com>
25262 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25263 Automatically PAUSE and RESUME a pipeline when a flushing seek
25266 2005-09-19 Andy Wingo <wingo@pobox.com>
25268 * gst/gstregistry.h: Spacing fixen.
25270 2005-09-19 Wim Taymans <wim@fluendo.com>
25272 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25273 Handle state change failure more correctly.
25275 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25277 * check/Makefile.am:
25278 * check/pipelines/cleanup.c: (run_pipeline):
25279 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25281 enable cleanup again after fixing the leak
25283 some more info on docs
25285 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25287 * check/Makefile.am:
25288 re-enable tests now that leaks are plugged
25290 * check/gst/gstbin.c:
25291 * check/gst/gstpipeline.c:
25292 add some more tests while fixing leaks
25293 * common/check.mak:
25294 make sure binaries are uptodate when valgrinding/gdbing
25296 * gst/gstelementfactory.c:
25297 remove a ref too many, and add a FIXME for when we get
25298 round to disposing of classes
25300 fix the refcounting when loading a plugin from a file and
25301 the code pretends that the pointer is the same even though
25302 of course it can change
25303 * gst/gstpluginfeature.c:
25304 unref plugins marked cached (a bit confusing as a name)
25305 as the docs state should be done
25306 various doc additions to explain refcounting
25307 * gst/gstregistry.c:
25308 * gst/gstregistryxml.c:
25311 2005-09-19 Wim Taymans <wim@fluendo.com>
25313 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25314 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25315 (send_messages), (GST_START_TEST), (gstbus_suite):
25316 * check/gst/gstpipeline.c: (GST_START_TEST):
25317 * check/pipelines/cleanup.c: (run_pipeline):
25318 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25320 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25321 (gst_bus_source_check), (gst_bus_source_dispatch),
25322 (gst_bus_create_watch), (gst_bus_add_watch_full),
25323 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25325 * tools/gst-launch.c: (event_loop):
25326 * tools/gst-md5sum.c: (event_loop):
25327 GstBusHandler -> GstBusFunc, return value has the same meaning as
25328 any other GSource (FALSE == remove source).
25329 _add_watch() and _add_watch_full() now take a MessageType mask to
25330 only handle specific types of messages.
25331 _poll() returns the GstMessage instead of the message type to avoid
25333 _have_pending() takes a MessageType mask now too.
25334 Added testsuite for multiple bus watches.
25335 Fix testsuites and applications for new bus API.
25337 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25339 * check/Makefile.am:
25340 mark a bunch of the tests as to fix until we fix them
25342 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25344 * common/check.mak:
25345 use GST_PLUGIN settings for valgrind tests as well, so we're
25346 valgrinding the correct thing
25347 * gst/gst.c: (init_post):
25350 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25352 * gst/gst.c: (init_post), (gst_deinit):
25353 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25354 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25355 * gst/gstindex.c: (gst_index_factory_class_init),
25356 (gst_index_factory_finalize):
25357 * gst/gstobject.c: (gst_object_dispose):
25358 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25359 (gst_plugin_load_file), (gst_plugin_desc_free):
25360 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25361 (gst_plugin_feature_finalize):
25362 * gst/gstregistry.c: (gst_registry_class_init),
25363 (gst_registry_init), (gst_registry_finalize),
25364 (gst_registry_get_default), (gst_registry_deinit):
25365 * gst/gstregistry.h:
25366 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25367 various cleanups and memleak plugging. make valgrind is happy now.
25369 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25371 * common/check.mak:
25372 add a check-valgrind target
25374 2005-09-18 David Schleef <ds@schleef.org>
25376 * tools/gst-inspect.c: Revert the GOption code.
25378 2005-09-17 David Schleef <ds@schleef.org>
25380 * check/Makefile.am: Fix environment variables.
25381 * check/gst/gstplugin.c: Fix for API changes.
25382 * tools/gst-inspect.c: Fix for API changes.
25383 * tools/gst-xmlinspect.c: Fix for API changes.
25384 * gst/gstelementfactory.c:
25387 * gst/gstpluginfeature.c:
25388 * gst/gstpluginfeature.h:
25389 * gst/gstregistry.c:
25390 * gst/gstregistry.h:
25391 * gst/gstregistryxml.c:
25392 * gst/gsttypefind.c:
25393 * gst/gsttypefindfactory.c:
25394 * gst/indexers/gstfileindex.c:
25395 * gst/indexers/gstmemindex.c:
25396 * gst/schedulers/Makefile.am:
25397 Change registry to keep track of both plugins and features,
25398 removing the feature tracking from plugins themselves.
25400 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25402 * check/Makefile.am:
25403 * tools/gst-register.1.in:
25404 remove gst-register
25406 2005-09-15 David Schleef <ds@schleef.org>
25408 * check/gst/gstplugin.c:
25409 * gst/gstelementfactory.c:
25411 * gst/gstpluginfeature.c:
25412 * gst/gstregistry.c:
25413 Getting tired of debugging. Disabled all the unreffing of
25414 plugins and features, which fixes the segfaults, but of
25415 course leaks like crazy. At least playbin works.
25417 2005-09-15 David Schleef <ds@schleef.org>
25419 * check/gst/gstplugin.c: (register_check_elements),
25420 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25422 * gst/elements/gsttypefindelement.c: Fix refcounting.
25423 * gst/gsttypefind.c:
25424 * gst/gsttypefindfactory.c:
25425 * gst/gsttypefindfactory.h:
25427 2005-09-15 David Schleef <ds@schleef.org>
25429 * gst/gstindex.c: get refcounting correct.
25430 * gst/gstregistry.c: Handle the case where a feature/plugin is
25433 2005-09-15 David Schleef <ds@schleef.org>
25435 * check/Makefile.am:
25436 * check/gst/gstplugin.c: Add test
25437 * gst/gstplugin.c: Fix problems noticed by testsuite
25439 * gst/gstregistry.c:
25440 * gst/gstregistry.h:
25442 2005-09-15 David Schleef <ds@schleef.org>
25444 * gst/gstplugin.c: Implement semi-decent recounting and locking
25445 in plugins and plugin features.
25447 * gst/gstpluginfeature.c:
25448 * gst/gstpluginfeature.h:
25449 * gst/gstregistry.c:
25451 2005-09-15 Michael Smith <msmith@fluendo.com>
25453 * gst/gstregistry.c: (gst_registry_get_feature_list):
25454 Implement this. Makes oggdemux work; decodebin still broken.
25456 2005-09-14 David Schleef <ds@schleef.org>
25458 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25460 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25461 * gst/check/Makefile.am:
25462 * libs/gst/controller/Makefile.am:
25463 * libs/gst/dataprotocol/Makefile.am:
25465 2005-09-14 David Schleef <ds@schleef.org>
25467 * configure.ac: Remove getbits library. Nothing uses it, and
25468 it should be in something like liboil if someone did want
25470 * libs/gst/Makefile.am:
25471 * libs/gst/getbits/Makefile.am:
25472 * libs/gst/getbits/gbtest.c:
25473 * libs/gst/getbits/getbits.c:
25474 * libs/gst/getbits/getbits.h:
25475 * libs/gst/getbits/gstgetbits_generic.c:
25476 * libs/gst/getbits/gstgetbits_i386.s:
25477 * libs/gst/getbits/gstgetbits_inl.h:
25479 2005-09-14 David Schleef <ds@schleef.org>
25481 * gst/Makefile.am: Dist glib-compat.h
25483 2005-09-14 David Schleef <ds@schleef.org>
25485 * configure.ac: Remove gst/registries, since it's no longer used.
25486 * gst/registries/Makefile.am:
25487 * gst/registries/gstlibxmlregistry.c:
25488 * gst/registries/gstlibxmlregistry.h:
25489 * gst/registries/gstxmlregistry.c:
25490 * gst/registries/gstxmlregistry.h:
25491 * gst/registries/registrytest.c:
25493 2005-09-14 David Schleef <ds@schleef.org>
25495 * gst/glib-compat.h:
25496 * gst/gstregistryxml.c:
25497 Convergence is near. Seriously.
25499 2005-09-14 David Schleef <ds@schleef.org>
25501 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25502 * gst/glib-compat.h:
25503 Attempt #4 to appease the buildbots.
25505 2005-09-14 David Schleef <ds@schleef.org>
25507 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25510 2005-09-14 David Schleef <ds@schleef.org>
25512 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25515 2005-09-14 David Schleef <ds@schleef.org>
25517 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25520 2005-09-14 David Schleef <ds@schleef.org>
25522 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25523 * gst/glib-compat.h: Add some functions that are in newer versions
25524 of glib than we care to require.
25525 * gst/gstregistryxml.c: Use them.
25527 2005-09-14 David Schleef <ds@schleef.org>
25529 * po/POTFILES.in: remove gst-register.c
25531 2005-09-14 David Schleef <ds@schleef.org>
25533 * docs/gst/gstreamer-docs.sgml:
25534 * docs/gst/gstreamer-sections.txt:
25535 * docs/gst/gstreamer.types:
25536 * docs/gst/tmpl/gstelement.sgml:
25537 * docs/gst/tmpl/gstplugin.sgml:
25538 * docs/gst/tmpl/gstpluginfeature.sgml:
25539 Documentation updates for registry changes.
25541 2005-09-14 David Schleef <ds@schleef.org>
25543 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25544 because we don't require glib-2.8.
25546 2005-09-14 David Schleef <ds@schleef.org>
25548 * gst/gstregistryxml.c: Added. Essentially moved out of the
25549 registries directory.
25551 2005-09-14 David Schleef <ds@schleef.org>
25553 * check/Makefile.am:
25554 * check/generic/states.c:
25558 * gst/gst_private.h:
25559 * gst/gstelementfactory.c:
25564 * gst/gstpluginfeature.c:
25565 * gst/gstpluginfeature.h:
25566 * gst/gstregistry.c:
25567 * gst/gstregistry.h:
25568 * gst/gstregistrypool.c: remove
25569 * gst/gstregistrypool.h: remove
25570 * gst/gsttypefind.c:
25571 * gst/gsttypefindfactory.c:
25573 * tools/Makefile.am:
25574 * tools/gst-compprep.c:
25575 * tools/gst-inspect.c:
25576 * tools/gst-register.c: remove
25577 * tools/gst-xmlinspect.c:
25578 Registry rewrite. Changes registry from being a file created
25579 by a tool into a simple cache file created automatically by
25580 libgstreamer. Removed gst-register (because it's no longer
25581 needed). Remove registry pools, because we only have one
25582 registry implementation (XML). Fix up other subsystems as
25585 2005-09-13 Michael Smith <msmith@fluendo.com>
25587 * gst/gstconfig.h.in:
25588 Don't Use windows linking attributes for MinGW. Fixes #316157
25590 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25592 * gst/gstutils.c: (set_state_async_thread_func),
25593 (gst_element_set_state_async):
25594 Apparently people think it's better if this function doesn't
25595 try to set the state to whatever state was asked for on the first
25596 call to this function for any object. Seriously.
25598 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25600 * check/gst/gstpipeline.c: (GST_START_TEST):
25601 * docs/gst/gstreamer-sections.txt:
25602 * gst/gstutils.c: (set_state_async_thread_func),
25603 (gst_element_set_state_async):
25605 add a "gst_element_set_state_async" method that
25606 sets the state and starts a thread to make sure the state
25607 change completes as best as it can
25609 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25611 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25612 codify design+behaviour in testsuite after discussion
25614 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25616 * docs/gst/tmpl/gstelement.sgml:
25617 * docs/manual/appendix-quotes.xml:
25619 * gst/gstelement.c: (gst_element_set_state):
25622 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25624 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25625 (gst_base_transform_prepare_output_buf),
25626 (gst_base_transform_handle_buffer):
25627 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25628 (gst_capsfilter_prepare_buf):
25629 Remove the requirement for sub-classes to call the parent
25630 implementation of prepare_output_buffer with a wrapper function.
25632 * gst/gsttaglist.h:
25633 * gst/gsttagsetter.h:
25634 Fix #define wrapper
25636 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25638 * docs/gst/gstreamer-sections.txt:
25641 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25643 * docs/gst/gstreamer-sections.txt:
25644 * docs/gst/tmpl/gstelement.sgml:
25645 * docs/gst/tmpl/gstplugin.sgml:
25646 * gst/gstminiobject.c:
25648 docs now stop throwing warnings
25650 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25652 * docs/gst/gstreamer-sections.txt:
25653 * docs/gst/gstreamer.types:
25654 * docs/gst/tmpl/gstpad.sgml:
25655 * docs/gst/tmpl/gsttypes.sgml:
25656 * gst/base/gstadapter.h:
25657 * gst/base/gstbasesink.h:
25658 * gst/base/gstbasesrc.h:
25664 * gst/gstelement.h:
25666 * gst/gstmessage.h:
25668 * gst/gststructure.c:
25669 * gst/registries/gstlibxmlregistry.h:
25670 various documentation fixes
25672 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25674 * docs/gst/gstreamer-sections.txt:
25675 * docs/gst/tmpl/gstvalue.sgml:
25676 rearrange gstvalue section
25677 * gst/gstutils.c: (gst_element_state_get_name):
25679 * gst/gstvalue.c: (_gst_value_initialize):
25683 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25685 * check/gst-libs/controller.c:
25686 Header include fix.
25687 * gst/base/gstbasetransform.c:
25688 (gst_base_transform_default_prepare_buf),
25689 (gst_base_transform_handle_buffer):
25690 * gst/base/gstbasetransform.h:
25691 Some more basetransform changes and fixes to enable sub-classes
25692 that modify buffer metadata only.
25693 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25694 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25695 (gst_capsfilter_prepare_buf):
25696 If the output pad has fixed allowed caps and input buffers
25697 don't have any, set the fixed caps on outgoing buffers.
25699 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25700 * check/elements/identity.c: (GST_START_TEST):
25701 Make the error a little clearer when the test fails because
25702 identity made a copy of the buffer.
25703 * docs/gst/gstreamer-sections.txt:
25704 New symbols in gstbasetransform.h
25705 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25706 (gst_base_transform_init), (gst_base_transform_transform_size),
25707 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25708 (gst_base_transform_default_prepare_buf),
25709 (gst_base_transform_get_unit_size),
25710 (gst_base_transform_buffer_alloc),
25711 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25712 (gst_base_transform_change_state),
25713 (gst_base_transform_set_passthrough),
25714 (gst_base_transform_set_in_place),
25715 (gst_base_transform_is_in_place):
25716 * gst/base/gstbasetransform.h:
25717 Change BaseTransform to separate in_place operate from same_caps
25718 output. in_place implies that the element can perform the transform
25719 on incoming buffers in-place, even if the caps on the output are
25721 Sub-class elements can now implement special buffer allocation
25722 methods for outgoing buffers if they wish to.
25723 Big documentation addition.
25724 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25725 * gst/elements/gstelements.c:
25726 Changes for basetransform modifications.
25727 * gst/elements/Makefile.am:
25728 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25729 Compile fix. Extra debug output.
25731 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25733 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25735 add tests for valid pad naming
25736 * gst/check/gstcheck.c: (gst_check_log_message_func),
25737 (gst_check_log_critical_func):
25739 remove printing of code, it is fragile when the code contains
25740 % and the line number is enough info
25741 * gst/check/gstcheck.h:
25742 * gst/gstpad.c: (gst_pad_template_new):
25745 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25748 say what CHECK flags we use
25749 * docs/libs/gstreamer-libs.types:
25750 * libs/gst/controller/Makefile.am:
25751 * libs/gst/controller/gst-controller.c:
25752 * libs/gst/controller/gst-controller.h:
25753 * libs/gst/controller/gst-helper.c:
25754 * libs/gst/controller/gst-interpolation.c:
25755 * libs/gst/controller/gstcontroller.c:
25756 * libs/gst/controller/gsthelper.c:
25757 * libs/gst/controller/gstinterpolation.c:
25758 * tools/gst-inspect.c: (print_plugin_info):
25759 we don't use dashes in header names
25761 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25763 * check/Makefile.am:
25764 * check/gst/.cvsignore:
25765 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25766 (gst_pipeline_suite), (main):
25767 adding a test for pipelines and state changes
25768 * gst/gstutils.c: (get_state_func):
25770 * gstreamer.spec.in:
25773 2005-09-08 Michael Smith <msmith@fluendo.com>
25775 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25776 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25777 (gst_file_src_is_seekable), (gst_file_src_get_size),
25778 (gst_file_src_start):
25779 * gst/elements/gstfilesrc.h:
25780 Various fixes for unseekable, unmmapable, and non-normal files, so
25781 that fallback to read() rather than mmap() works.
25782 * gst/gstevent.c: (gst_event_new_newsegment):
25783 Allow newsegment events with segment_start == segment_end, as will
25784 correctly happen if you use filesrc on a zero-size file, for
25787 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25789 * gst/gstplugin.c: (gst_plugin_load_file):
25790 Call g_module_close when we don't load the module
25792 * gst/registries/gstlibxmlregistry.c:
25793 (gst_xml_registry_get_property):
25794 Port leak fix from 0.8
25796 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25798 * docs/gst/gstreamer-docs.sgml:
25799 * docs/gst/tmpl/.cvsignore:
25800 * docs/gst/tmpl/gsttrace.sgml:
25801 * docs/gst/tmpl/gsttrashstack.sgml:
25804 * gst/gstelement.h:
25806 * gst/gstmessage.c:
25807 * gst/gstmessage.h:
25810 * gst/gsttaginterface.c:
25811 * gst/gsttaginterface.h:
25812 * gst/gsttaglist.c:
25813 * gst/gsttaglist.h:
25814 * gst/gsttagsetter.c:
25815 * gst/gsttagsetter.h:
25818 * gst/gsttrashstack.c:
25819 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25820 inlined docs for gsttrace, gsttrashstack
25822 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25825 * gst/elements/gstbufferstore.h:
25826 * gst/elements/gsttypefindelement.c:
25827 * gst/elements/gsttypefindelement.h:
25829 * gst/gsttypefind.c:
25830 * gst/gsttypefind.h:
25831 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25832 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25833 (gst_type_find_factory_dispose),
25834 (gst_type_find_factory_unload_thyself),
25835 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25836 (gst_type_find_factory_get_caps),
25837 (gst_type_find_factory_get_extensions),
25838 (gst_type_find_factory_call_function):
25839 * gst/gsttypefindfactory.h:
25840 * gst/registries/gstlibxmlregistry.c:
25841 * gst/registries/gstxmlregistry.c:
25842 splitted gsttypefind into gsttypefind, gsttypefindfactory
25844 2005-09-07 Andy Wingo <wingo@pobox.com>
25846 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25847 condition whereby the pad's task function is entered before the
25848 pad_mode variable was set.
25850 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25852 * gst/gstpad.c: (gst_pad_alloc_buffer):
25853 Catch misbehaving pad_alloc functions that don't
25854 set up caps and do it for them.
25856 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25858 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25859 test for pipe!=NULL
25860 * docs/gst/tmpl/.cvsignore:
25861 * docs/gst/tmpl/gstmemchunk.sgml:
25862 * docs/gst/tmpl/gstparse.sgml:
25863 * docs/gst/tmpl/gsttaglist.sgml:
25864 * docs/gst/tmpl/gsttagsetter.sgml:
25865 * docs/gst/tmpl/gsttypefind.sgml:
25866 * docs/gst/tmpl/gsttypefindfactory.sgml:
25867 * gst/gstmemchunk.c:
25870 * gst/gsttaginterface.c:
25871 * gst/gsttypefind.c:
25872 * gst/gsttypefind.h:
25875 === release 0.9.2 ===
25877 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25882 releasing 0.9.2, "South"
25884 2005-09-05 Andy Wingo <wingo@pobox.com>
25886 * gst/registries/gstxmlregistry.h:
25887 * gst/registries/gstxmlregistry.c: Um... resurrect...
25889 * gst/registries/gstxmlregistry.h:
25890 * gst/registries/gstxmlregistry.c: and update to newer API.
25891 Incidentally they should be a bit faster now that they don't have
25894 2005-09-05 Andy Wingo <wingo@pobox.com>
25896 * gst/registries/gstxmlregistry.h:
25897 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25898 replaced by the libxml registry a while back
25900 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25902 * docs/gst/tmpl/gstplugin.sgml:
25903 * gst/elements/gstelements.c:
25905 * gst/gstplugin.c: (gst_plugin_register_func),
25906 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25907 (gst_plugin_get_source):
25909 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25910 (gst_xml_registry_save_plugin):
25911 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25912 (gst_xml_registry_save_plugin):
25913 * tools/gst-inspect.c: (print_plugin_info):
25914 add a "source" plugin description field, to represent the source
25915 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25916 will set it to PACKAGE, which is automake's idea of the name of
25917 the source project.
25919 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25924 * docs/Makefile.am:
25925 * docs/faq/Makefile.am:
25926 * docs/gst/tmpl/gstelement.sgml:
25927 * docs/gst/tmpl/gsttypes.sgml:
25928 * docs/htmlinstall.mak:
25929 * docs/manual/Makefile.am:
25930 * docs/pwg/Makefile.am:
25931 reorganize doc build a little
25932 split out docbook and gtk-doc stuff
25933 have two separate --enable's and enable them through autogen
25934 but disable by default in configure (to be similar to other
25936 * gstreamer.spec.in:
25937 clean up docs install
25955 translation updates
25957 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25959 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25962 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25963 (gst_fake_sink_change_state):
25964 Make state change function thread-safe.
25966 * gst/gstpad.c: (gst_pad_alloc_buffer):
25967 Set offset on generic buffer allocated by fallback.
25969 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25971 * docs/gst/gstreamer-sections.txt:
25972 * docs/gst/tmpl/gstelement.sgml:
25974 * libs/gst/controller/gst-controller.c:
25975 (gst_controlled_property_set_interpolation_mode),
25976 (gst_controlled_property_new),
25977 (gst_controller_find_controlled_property):
25978 run the wingo-magic script against the docs
25980 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25982 * docs/gst/gstreamer-docs.sgml:
25983 * docs/gst/gstreamer-sections.txt:
25984 * docs/gst/tmpl/.cvsignore:
25985 * docs/gst/tmpl/gstelementdetails.sgml:
25986 * docs/gst/tmpl/gstelementfactory.sgml:
25989 * gst/gstelementfactory.c:
25990 * gst/gstelementfactory.h:
25991 merged elementdetails docs into elementfactory docs
25994 2005-09-02 Andy Wingo <wingo@pobox.com>
25996 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25997 consider this enum an enum and not a flags.
25999 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26001 * docs/gst/gstreamer-docs.sgml:
26002 * docs/gst/tmpl/.cvsignore:
26003 * docs/gst/tmpl/gstghostpad.sgml:
26004 * docs/gst/tmpl/gstiterator.sgml:
26005 * docs/gst/tmpl/gstmacros.sgml:
26006 * docs/gst/tmpl/gstrealpad.sgml:
26007 * docs/gst/tmpl/gstregistry.sgml:
26008 * docs/gst/tmpl/gstregistrypool.sgml:
26009 * docs/gst/tmpl/gststructure.sgml:
26010 * docs/gst/tmpl/gstsystemclock.sgml:
26011 * docs/gst/tmpl/gsttrace.sgml:
26012 * gst/gstghostpad.c:
26014 * gst/gstmemchunk.c:
26015 * gst/gstmemchunk.h:
26017 * gst/gstregistry.c:
26018 * gst/gstregistrypool.c:
26019 * gst/gststructure.c:
26020 * gst/gstsystemclock.c:
26023 2005-09-02 Andy Wingo <wingo@pobox.com>
26025 * gst/gstelement.h (GstState): Renamed from GstElementState,
26026 changed to be a normal enum instead of flags.
26027 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26028 munged to be GST_STATE_CHANGE_*.
26029 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26030 work with the new state representation.
26031 (GstStateChange): New enumeration of possible state transitions.
26032 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26033 (GstElementClass::change_state): Pass the GstStateChange along as
26034 an argument. Helps language bindings, so they don't have to use
26035 tricky lock-needing macros like GST_STATE_CHANGE ().
26037 * scripts/update-states (file): New script. Run it on a file to
26038 update it for state naming and API changes. Updates files in
26041 * All files updated for the new API.
26043 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26045 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26046 * gst/gstutils.c: (gst_util_set_value_from_string),
26047 (gst_util_set_object_arg):
26048 fix a bunch of unchecked return values
26049 * tools/gst-complete.c: (main):
26050 * gstreamer.spec.in:
26053 2005-09-01 Wim Taymans <wim@fluendo.com>
26055 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26056 (gst_base_sink_event), (gst_base_sink_do_sync),
26057 (gst_base_sink_handle_event):
26058 * gst/base/gstbasesink.h:
26059 Handle newsegments more correctly.
26064 * gst/gstevent.c: (gst_event_new_newsegment):
26065 A newsegment cannot have a start_time of -1
26067 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26069 * win32/gstenumtypes.c:
26070 * win32/gstenumtypes.h:
26073 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26075 * libs/gst/controller/gst-controller.c:
26076 (gst_controlled_property_set_interpolation_mode),
26077 (gst_controlled_property_new):
26078 fixed boolean again
26080 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26082 * docs/faq/gst-uninstalled:
26087 * gst/gstutils.c: (gst_element_link_filtered):
26089 add gst_element_link_filtered
26091 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26093 * docs/gst/gstreamer-docs.sgml:
26094 * docs/gst/gstreamer-sections.txt:
26095 * docs/gst/tmpl/.cvsignore:
26096 * docs/gst/tmpl/gsterror.sgml:
26097 * docs/gst/tmpl/gstfilter.sgml:
26098 * docs/gst/tmpl/gsturihandler.sgml:
26099 * docs/gst/tmpl/gsturitype.sgml:
26100 * docs/gst/tmpl/gstutils.sgml:
26101 * docs/gst/tmpl/gstxml.sgml:
26106 * gst/gsturitype.c:
26109 inlined more docs, fixed double id-ref
26111 2005-08-31 Wim Taymans <wim@fluendo.com>
26113 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26114 (gst_base_transform_handle_buffer):
26115 Passthrough elements don't need the caps as they don't care.
26117 2005-08-31 Wim Taymans <wim@fluendo.com>
26119 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26120 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26121 Don't leak refcounts on buffers.
26123 2005-08-31 Wim Taymans <wim@fluendo.com>
26125 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26126 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26127 (gst_base_transform_chain), (gst_base_transform_change_state):
26128 * gst/base/gstbasetransform.h:
26129 Handle the case where we are not negotiated more gracefully.
26131 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26133 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26134 (gst_file_src_map_region):
26135 Set READONLY flag on mmap'ed buffers, otherwise
26136 gst_buffer_make_writable() won't work properly (#314708).
26138 2005-08-31 Wim Taymans <wim@fluendo.com>
26140 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26141 passthrough elements can even do inplace on non writable
26142 buffers (as they don't touch them).
26144 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26146 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26147 (gst_test_mono_source_set_property),
26148 (gst_test_mono_source_class_init), (GST_START_TEST),
26149 (gst_controller_suite):
26150 more tests (hehe I have the most)
26152 describe popping messages whenusing mulltiple sources
26153 * libs/gst/controller/gst-controller.c:
26154 (gst_controlled_property_set_interpolation_mode),
26155 (gst_controlled_property_new):
26156 * libs/gst/controller/gst-controller.h:
26157 * libs/gst/controller/gst-interpolation.c:
26158 implement boolean properties
26160 2005-08-31 Wim Taymans <wim@fluendo.com>
26162 * gst/gstminiobject.c: (gst_mini_object_ref):
26163 Cannot assert that the refcount has to be positive
26164 since a disposed object can be resurrected.
26166 2005-08-31 Wim Taymans <wim@fluendo.com>
26168 * gst/gstpad.c: (gst_pad_init):
26169 Revert change, need to first fix badly behaving
26172 2005-08-30 Wim Taymans <wim@fluendo.com>
26174 * check/elements/fakesrc.c: (setup_fakesrc):
26175 * check/elements/identity.c: (setup_identity):
26176 Activate pads before using them.
26178 2005-08-30 Wim Taymans <wim@fluendo.com>
26180 * gst/base/gstadapter.c: (gst_adapter_flush):
26181 Flushing out 0 bytes is ok for this function.
26183 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26184 no newsegment gives a warning and sets the start/stop to
26187 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26188 (gst_base_transform_set_passthrough):
26191 * gst/gstminiobject.c: (gst_mini_object_ref):
26192 Check refcount here too.
26194 * gst/gstpad.c: (gst_pad_init):
26195 Pads are initially flushing and refusing data.
26197 * gst/gstutils.c: (gst_element_link_pads_filtered):
26198 When adding a capsfilter element make sure it has the
26199 same state as the parent bin.
26201 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26203 * docs/gst/tmpl/.cvsignore:
26204 * docs/gst/tmpl/gstformat.sgml:
26205 * docs/gst/tmpl/gstversion.sgml:
26209 * gst/gstversion.h.in:
26210 more docs and two more inlined
26212 2005-08-30 Wim Taymans <wim@fluendo.com>
26214 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26215 Don't sync to clock.
26217 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26219 * docs/gst/gstreamer-sections.txt:
26220 ultral33t func10ns deserve to appear in the docs actually
26221 * docs/gst/tmpl/.cvsignore:
26222 * docs/gst/tmpl/gstcompat.sgml:
26223 * docs/gst/tmpl/gstconfig.sgml:
26224 * gst/check/gstcheck.c:
26226 * gst/gstconfig.h.in:
26229 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26231 * docs/gst/tmpl/.cvsignore:
26232 * docs/gst/tmpl/gstquery.sgml:
26233 * docs/gst/tmpl/gstutils.sgml:
26236 inlined and extended docs
26238 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26240 * check/gst-libs/controller.c: (GST_START_TEST),
26241 (gst_controller_suite):
26243 * docs/gst/tmpl/gstutils.sgml:
26244 * docs/libs/gstreamer-libs-sections.txt:
26245 * docs/libs/tmpl/gstdataprotocol.sgml:
26247 * examples/controller/audio-example.c: (main):
26248 controller example works now
26251 * tools/gst-inspect.c: (print_element_properties_info):
26252 show param spec flags
26254 2005-08-29 Andy Wingo <wingo@pobox.com>
26256 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26258 2005-08-28 Andy Wingo <wingo@pobox.com>
26260 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26261 as having two arguments instead of just one. Allows superclasses
26262 to access information on subclasses -- see the terrible for() loop
26263 in gtype.c:g_type_create_instance for the reason why. All callers
26266 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26268 * docs/design/part-messages.txt:
26270 * docs/gst/tmpl/.cvsignore:
26271 * docs/gst/tmpl/gstcaps.sgml:
26272 * docs/gst/tmpl/gstclock.sgml:
26278 * gst/gstmessage.c:
26279 added descriptions for bus and message
26280 inline caps and clock docs
26282 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26284 * gst/gstmessage.c:
26285 * gst/gstmessage.h:
26288 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26290 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26293 2005-08-26 Andy Wingo <wingo@pobox.com>
26295 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26296 element_set_state's return val.
26297 (test_2_elements): Add test that's been disabled for months.
26299 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26300 can-activate-pull properties.
26302 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26303 can-activate-pull properties. Implement is_seekable so fakesrc can
26304 operate in pull mode.
26306 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26308 (gst_base_sink_activate, gst_base_sink_activate_pull)
26309 (gst_base_sink_activate_push): Make activation mode choosing work.
26311 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26312 is right. Make pull mode work. Post an eos before pausing in pull
26314 (gst_base_sink_change_state): Pay attention to the core's
26315 change_state() return val.
26317 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26318 has-getrange properties. Cleanups.
26320 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26321 has_getrange and replace with can_activate_pull and
26324 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26325 locking comments. Remove has_loop, has_chain and replace with
26326 can_activate_pull and can_activate_push.
26328 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26331 * examples/Makefile.am:
26332 * examples/metadata/Makefile.am:
26333 * examples/metadata/read-metadata.c: (message_loop),
26334 (have_pad_handler), (make_pipeline), (print_tag), (main):
26335 Add metadata reading example that loops over a list of filenames,
26336 dumping any tags found.
26338 * gst/gstbus.c: (gst_bus_dispose):
26339 * gst/gstelement.c: (gst_element_dispose):
26340 Release a few potentially-held references in dispose.
26342 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26344 * docs/gst/tmpl/gstminiobject.sgml:
26345 do *not* add tmpl/*.sgml files to CVS!
26347 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26349 * libs/gst/bytestream/.cvsignore:
26350 * libs/gst/bytestream/Makefile.am:
26351 * libs/gst/bytestream/adapter.c:
26352 * libs/gst/bytestream/adapter.h:
26353 * libs/gst/bytestream/bytestream.c:
26354 * libs/gst/bytestream/bytestream.h:
26355 * libs/gst/bytestream/filepad.c:
26356 * libs/gst/bytestream/filepad.h:
26357 removing obsolete files
26359 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26361 * docs/gst/gstreamer-docs.sgml:
26362 * docs/libs/gstreamer-libs-docs.sgml:
26363 disabed additional index entries again, as this makes docs-gen just
26364 slow and they aren't useful yet
26365 * docs/libs/gstreamer-libs-sections.txt:
26366 little -section.txt cleanup for libs
26368 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26371 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26372 fix up some debugging
26373 (gst_base_transform_get_unit_size),
26374 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26375 (gst_base_transform_handle_buffer):
26376 * gst/base/gstbasetransform.h:
26377 handle and store timed NEWSEGMENT events so that subclasses that
26378 calculate time by counting samples have a segment_start time they
26379 need to add to their timestamps - see audioresample
26381 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26384 removed ';' from the end of macro defs
26385 * docs/gst/gstreamer-docs.sgml:
26386 * docs/gst/gstreamer-sections.txt:
26387 * docs/gst/tmpl/.cvsignore:
26389 * gst/gstelement.c: (gst_element_class_init),
26390 (gst_element_set_state), (activate_pads),
26391 (gst_element_save_thyself):
26392 * gst/gstevent.c: (gst_event_new_newsegment):
26394 * gst/gstiterator.c:
26395 * gst/gstiterator.h:
26398 * gst/gstutils.c: (gst_pad_query_convert):
26400 fixed parameter name mismatches between source, header and docs
26401 added some more docs, resolved the last batch of unused elements in
26402 docs (now someone needs to doc them)
26404 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26406 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26407 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26408 don't walk through the plugins backwards. Where is all this
26409 reversed logic coming from ?
26411 2005-08-25 Wim Taymans <wim@fluendo.com>
26413 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26414 (gst_base_transform_transform_size),
26415 (gst_base_transform_configure_caps),
26416 (gst_base_transform_get_unit_size),
26417 (gst_base_transform_buffer_alloc),
26418 (gst_base_transform_change_state):
26419 * gst/base/gstbasetransform.h:
26420 Cache caps unit_size.
26421 Make sure we cannot negotiate up and downstream at the
26424 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26426 * gst/gst.c: (init_pre), (init_post):
26427 register the installed plugin path after the env var
26428 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26429 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26430 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26431 directories, so the tests can prefer uninstalled over installed
26433 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26435 * gst/base/gstbasetransform.h:
26440 2005-08-25 Wim Taymans <wim@fluendo.com>
26442 * gst/gstbin.c: (bin_bus_handler):
26443 Be a bit more conservative about the posted message.
26445 * gst/gstbus.c: (gst_bus_post):
26446 Some cleanups, warn wrong return values.
26448 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26450 * check/gst/gstbin.c: (GST_START_TEST):
26451 * gst/gstbin.c: (bin_bus_handler):
26452 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26453 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26454 (gst_message_new_warning), (gst_message_new_tag),
26455 (gst_message_new_state_changed), (gst_message_new_segment_start),
26456 (gst_message_new_segment_done), (gst_message_new_custom):
26457 * gst/gstmessage.h:
26458 * tools/gst-launch.c: (event_loop):
26459 * tools/gst-md5sum.c: (event_loop):
26460 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26462 2005-08-25 Wim Taymans <wim@fluendo.com>
26464 * check/generic/states.c: (GST_START_TEST):
26465 Cleanup can be done at the end.
26467 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26468 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26469 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26470 Oh boy.. Thanks for finding this, Thomas.
26472 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26474 * docs/gst/gstreamer.types:
26475 added missing types
26477 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26479 * docs/gst/gstreamer-docs.sgml:
26480 * docs/gst/gstreamer-sections.txt:
26481 * docs/gst/tmpl/.cvsignore:
26483 * gst/gstiterator.c:
26485 * gst/registries/gstxmlregistry.h:
26486 added missing classes and symbols (123 more to go)
26487 removed removed symbols from section file
26488 fixed many doc-comments
26490 2005-08-24 Wim Taymans <wim@fluendo.com>
26492 * check/generic/states.c: (GST_START_TEST):
26493 Make sure all tasks are stopped.
26495 * check/gst/gstbin.c: (GST_START_TEST):
26496 Unref after usage for proper valgrinding.
26498 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26499 Really wait for the task to stop before destroying the
26502 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26503 (gst_queue_src_activate_push):
26504 Small cleanups. Don't stop the task when we did not start
26507 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26508 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26509 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26512 Protect the stream lock with the object lock.
26513 Disallow setting the stream lock when running.
26514 Add cleanup_all to wait for the threadpool to finish.
26515 Remove code to autoallocate a mutex if none was provided.
26516 Add _join() to wait for a task to stop.
26517 Protect the thread pool with a global lock.
26519 2005-08-24 Wim Taymans <wim@fluendo.com>
26521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26522 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26523 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26524 * gst/base/gstbasesink.h:
26525 Handle newsegment events correctly.
26526 Drop buffers out of the segment range.
26528 2005-08-22 Andy Wingo <wingo@pobox.com>
26530 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26531 macro, implements an interface and gstimplementsinterface for a
26534 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26536 * check/Makefile.am:
26537 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26538 add a test that does a bunch of state changes on elements
26539 needs some fixing for valgrind
26540 * check/states/sinks.c: (gst_object_suite):
26543 add prototype for gst_caps_is_equal_fixed
26545 * gst/gstregistrypool.c:
26548 2005-08-24 Andy Wingo <wingo@pobox.com>
26550 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26551 convert a negative value. Doesn't make much sense. Mostly this is
26552 here to force callers to ensure -1 maps to -1.
26554 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26556 * docs/pwg/advanced-types.xml:
26557 Well done to Michael for catching my deliberate introduction
26558 of this spelling mistake.
26559 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26560 * gst/gstelement.h:
26561 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26562 unlink pads before removing the element from the bin.
26564 2005-08-24 Andy Wingo <wingo@pobox.com>
26566 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26567 the same thing as GST_DEBUG=*:4.
26568 (parse_debug_level, parse_debug_category): New helper parsers.
26570 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26572 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26573 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26574 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26575 (gst_base_transform_buffer_alloc),
26576 (gst_base_transform_handle_buffer):
26577 use gboolean return values and pointers to size so we can use the
26578 full GST_BUFFER_SIZE range (guint) for buffer sizes
26579 use GstPadDirection for transform_caps
26580 * gst/base/gstbasetransform.h:
26581 rename get_size to get_unit_size since that's what it is
26582 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26583 use GstPadDirection for transform_caps
26584 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26586 cleanup and debugging
26588 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26590 * gst/gstelement.c: (gst_element_class_init),
26591 (gst_element_set_state), (activate_pads),
26592 (gst_element_save_thyself):
26593 * tools/gst-compprep.c: (main):
26594 * tools/gst-inspect.c: (print_element_properties_info):
26595 * tools/gst-xmlinspect.c: (print_element_properties):
26596 Fixed long standing mem-leak
26598 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26600 * check/gst/gstbin.c: (GST_START_TEST):
26601 * gst/gstbin.c: (bin_bus_handler):
26602 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26603 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26604 (gst_message_new_warning), (gst_message_new_tag),
26605 (gst_message_new_state_changed), (gst_message_new_segment_start),
26606 (gst_message_new_segment_done), (gst_message_new_custom):
26607 * gst/gstmessage.h:
26608 * tools/gst-launch.c: (event_loop):
26609 * tools/gst-md5sum.c: (event_loop):
26610 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26611 that applications can sensibly post custom messages with references
26612 to their own objects.
26614 2005-08-24 Andy Wingo <wingo@pobox.com>
26616 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26619 2005-08-24 Wim Taymans <wim@fluendo.com>
26621 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26622 (gst_base_transform_transform_caps),
26623 (gst_base_transform_transform_size),
26624 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26625 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26626 (gst_base_transform_handle_buffer):
26627 * gst/base/gstbasetransform.h:
26628 Many fixes and new features added by Thomas. Can now also do
26629 transforms with variable sizes and a custom fixate_caps function.
26631 2005-08-24 Wim Taymans <wim@fluendo.com>
26633 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26637 Cast to ClockTime before formatting to time.
26642 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26644 * check/gst-libs/controller.c: (GST_START_TEST),
26645 (gst_controller_suite):
26646 * docs/gst/tmpl/gstcaps.sgml:
26647 * docs/gst/tmpl/gstghostpad.sgml:
26648 * docs/gst/tmpl/gstquery.sgml:
26649 * docs/gst/tmpl/gstutils.sgml:
26650 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26651 (gst_object_sink_values), (gst_object_get_value_arrays),
26652 (gst_object_get_value_array):
26653 gracefully handle helper method calls to objects that are not beeing
26654 controlled, added test case for that
26656 2005-08-23 Wim Taymans <wim@fluendo.com>
26658 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26659 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26660 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26661 (gst_event_parse_qos), (gst_event_new_seek),
26662 (gst_event_parse_seek):
26664 Some more debugging output and doc cleanups.
26666 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26667 Fix possible deadlock.
26669 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26671 * docs/gst/gstreamer-docs.sgml:
26672 * docs/gst/gstreamer-sections.txt:
26673 * docs/gst/gstreamer.types:
26674 * docs/gst/tmpl/.cvsignore:
26677 * gst/gstelement.c:
26679 added 100 symbols from gstreamer-unused.txt to the right sections
26680 fixed more broken comments
26681 added GstBus to docs
26683 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26685 * docs/gst/gstreamer-sections.txt:
26686 * docs/gst/tmpl/.cvsignore:
26687 * docs/gst/tmpl/gstbin.sgml:
26688 * docs/gst/tmpl/gstbuffer.sgml:
26689 * gst/base/gstbasesrc.c:
26690 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26693 * tools/gst-launch.1.in:
26694 inlined more doc comments, added missing comments and fixed comments
26697 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26699 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26703 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26705 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26706 * gst/gststructure.h:
26707 add a fixate function for booleans; add a FIXME that these func
26708 names should probably be gst_structure_fixate_*
26710 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26712 * docs/gst/gstreamer-docs.sgml:
26713 * docs/gst/gstreamer-sections.txt:
26715 * gst/gstbin.c: (gst_bin_get_type),
26716 (gst_bin_child_proxy_get_child_by_index),
26717 (gst_bin_child_proxy_get_children_count),
26718 (gst_bin_child_proxy_init):
26719 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26720 (gst_child_proxy_get_child_by_index),
26721 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26722 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26723 (gst_child_proxy_get), (gst_child_proxy_set_property),
26724 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26725 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26726 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26727 * gst/gstchildproxy.h:
26728 * gst/parse/grammar.y:
26729 * tools/gst-inspect.c: (print_interfaces),
26730 (print_element_properties_info), (print_element_info):
26731 ported gstchildproxy over from 0.8
26732 ported gst-inspect fixes and enhancements over from 0.8
26734 2005-08-22 Wim Taymans <wim@fluendo.com>
26736 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26737 (gst_base_transform_handle_buffer):
26738 Also call the transform function if we have ANY caps.
26740 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26743 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26745 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26746 Don't pretend to handle seek events if the source is not seekable
26748 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26750 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26751 Remove extra parameter to debug output
26753 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26754 (gst_base_src_do_seek), (gst_base_src_activate_push):
26755 Fix seek event handling.
26757 * gst/gstpipeline.c: (gst_pipeline_change_state):
26758 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26759 (gst_queue_src_activate_push):
26760 Don't start the src pad task on FLUSH_STOP if the pad
26764 2005-08-22 Wim Taymans <wim@fluendo.com>
26766 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26767 Added check for gst_static_caps_get() refcounting.
26769 2005-08-22 Wim Taymans <wim@fluendo.com>
26771 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26772 Make _static_caps_get() refcounting sane.
26774 * gst/gstelement.c: (gst_element_set_state):
26775 Add g_return_val_if_fail() to protect against segfaults.
26777 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26779 * docs/gst/tmpl/gstevent.sgml:
26782 inlined remaining docs, added missing doc comments
26784 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26786 * check/gst/gstbin.c: (GST_START_TEST):
26787 since we don't know when preroll is done, use refcount range
26789 * gst/check/gstcheck.h:
26790 add macro for checking refcount range
26792 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26794 * check/Makefile.am:
26795 clean up environment for when registry gets built versus
26796 when actual tests are run; valgrind seems to not report
26797 leaks if GST_PLUGIN_PATH is set to some specific values
26798 * check/gst/gstbin.c: (GST_START_TEST):
26799 add more refcounting checks; maybe this exposes a
26801 * common/check.mak:
26802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26803 * gst/check/gstcheck.h:
26804 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26805 (gst_bin_change_state):
26806 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26807 add/fix debugging/whitespace
26809 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26811 * check/gst/gstevent.c: (event_probe), (test_event),
26813 Er, don't call gst_bin_watch_for_state_change you idiot.
26815 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26817 * check/Makefile.am:
26818 Use CHECK_CFLAGS and CHECK_LIBS
26819 * check/gst/gstevent.c: (event_probe), (test_event),
26822 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26823 (gst_base_src_start), (gst_base_src_stop),
26824 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26825 (gst_base_src_change_state):
26826 Sprinkle gst_base_src_stop liberally around error paths to fix
26827 problems reusing a source after failed state changes.
26828 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26829 (helper_find_suggest), (gst_type_find_helper):
26830 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26832 * docs/gst/tmpl/gstevent.sgml:
26833 Migrate part of the docs from the SGML file. Wait for ensonic to
26834 tell me how I did it wrong ;)
26835 * tools/gst-typefind.c: (main):
26836 Extra robustness to state changes between files.
26838 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26840 * check/Makefile.am:
26841 don't valgrind the controller test - it's leaking - Stefan, HELP
26842 * gst/check/gstcheck.c: (gst_check_message_error),
26843 (gst_check_chain_func), (gst_check_setup_element),
26844 (gst_check_teardown_element), (gst_check_setup_src_pad),
26845 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26846 (gst_check_teardown_sink_pad):
26847 * gst/check/gstcheck.h:
26848 add a bunch of methods to set up elements, and src and sink pads
26849 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26850 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26853 * gst/gstmessage.c:
26855 whitespace/doc fixes
26857 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26859 * gst/gstelement.h:
26860 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26861 be handled by the application and not always printed as well
26863 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26865 * check/Makefile.am:
26867 * gst/check/gstcheck.c: (gst_check_message_error):
26868 * gst/check/gstcheck.h:
26869 add a fail_unless_equals_int
26870 add fail_unless for error messages
26872 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26874 * check/Makefile.am:
26876 * common/Makefile.am:
26877 * common/check.mak:
26879 factor out some of the common stuff so we can use it
26881 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26883 * check/Makefile.am:
26884 * check/gst/gstiterator.c: (GST_START_TEST):
26885 * check/gst/gstsystemclock.c: (GST_START_TEST),
26886 (gst_systemclock_suite):
26887 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26889 valgrind more tests
26891 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26893 * check/elements/.cvsignore:
26894 * check/elements/gstfakesrc.c:
26895 rename to name of element
26896 * check/elements/identity.c: (chain_func), (event_func),
26897 (setup_identity), (cleanup_identity), (GST_START_TEST),
26898 (identity_suite), (main):
26899 add a test for identity
26900 * check/Makefile.am:
26901 * pkgconfig/Makefile.am:
26902 * pkgconfig/gstreamer-check.pc.in:
26903 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26907 move the check stuff to a library that gets installed
26908 * check/gst-libs/controller.c: (GST_START_TEST):
26909 * check/gst-libs/gdp.c:
26910 * check/gst/gst.c: (GST_START_TEST):
26911 * check/gst/gstbin.c:
26912 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26913 * check/gst/gstbus.c:
26914 * check/gst/gstcaps.c: (GST_START_TEST):
26915 * check/gst/gstelement.c:
26916 * check/gst/gstghostpad.c:
26917 * check/gst/gstiterator.c:
26918 * check/gst/gstmessage.c:
26919 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26920 * check/gst/gstobject.c:
26921 * check/gst/gstpad.c: (GST_START_TEST):
26922 * check/gst/gststructure.c: (GST_START_TEST):
26923 * check/gst/gstsystemclock.c: (GST_START_TEST),
26924 (gst_systemclock_suite):
26925 * check/gst/gsttag.c: (gst_tag_suite):
26926 * check/gst/gstvalue.c:
26927 * check/pipelines/cleanup.c:
26928 * check/pipelines/simple_launch_lines.c:
26929 * check/states/sinks.c:
26930 change include statement
26932 * docs/gst/gstreamer-sections.txt:
26933 * docs/gst/tmpl/gstpad.sgml:
26934 document more pad stuff
26935 * gst/gstminiobject.c: (gst_mini_object_ref),
26936 (gst_mini_object_unref):
26939 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26941 * docs/gst/tmpl/gst.sgml:
26943 eliminate another tmpl file, fix spelling in the long-description
26945 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26947 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26948 (test_event), (timediff), (gstevents_suite):
26949 Should fix build on 64-bit arch's
26951 2005-08-18 Andy Wingo <wingo@pobox.com>
26953 Make sure that when a pipeline goes to PLAYING, that data has
26954 actually hit the sink.
26956 * check/states/sinks.c (test_sink): A sink that doesn't get any
26957 data shouldn't return SUCCESS for going to either PLAYING or
26958 PAUSED. Test also the return values on the way back down.
26960 * gst/gstelement.c (gst_element_set_state): When changing the
26961 state of an element currently changing state asynchronously, go to
26962 lost-state after commiting the pending state. Makes future calls
26963 to get_state continue to return ASYNC.
26965 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26966 ASYNC when going to PLAYING if we still don't have preroll, as can
26967 happen with live sources.
26969 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26971 * docs/pwg/advanced-types.xml:
26972 Hack long paragraph into 2 chunks as a workaround for buggy
26973 jadetex version in sid and breezy that loops infinitely and
26976 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26978 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26979 (test_event), (timediff), (gstevents_suite):
26980 Provide more error margin in clock measurements to allow for
26981 g_get_current_time inaccuracies.
26983 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26985 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26986 (test_event), (timediff), (gstevents_suite):
26987 Fix error message output so I might be able to tell why the
26988 test works here but fails on the build farm.
26990 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26992 * check/Makefile.am:
26993 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26994 (test_event), (timediff), (gstevents_suite), (main):
26997 * docs/design/part-seeking.txt:
26998 Spelling correction
27000 * docs/gst/tmpl/gstevent.sgml:
27001 * docs/gst/tmpl/gstfakesrc.sgml:
27004 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27005 Treat a buffer-without-newsegment the same as a receiving
27006 a newsegment not in time format, and disable syncing to the clock
27009 * gst/gstbus.c: (gst_bus_set_sync_handler):
27010 Assert if anyone tries to replace the existing sync_handler for bus,
27011 as only the owner should be setting it.
27014 Have a fixed set of custom event enums with events identified by
27015 their structure name (as in 0.8), rather than a free-for-all
27016 allowing collisions between enum values from different plugins.
27018 * gst/gstpad.c: (gst_pad_class_init):
27021 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27022 Handle out-of-band downstream events from the sending thread.
27024 2005-08-17 Andy Wingo <wingo@pobox.com>
27026 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27027 play-timeout==0 to mean no timeout at all. In that case, don't
27028 bother with a get_state or a warning, just return directly, even
27031 * gst/base/gstbasetransform.c: Debug changes.
27034 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27035 ensure bins post state change messages. A bit of a hack but I can't
27036 think of a way to avoid it.
27038 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27040 2005-08-16 Andy Wingo <wingo@pobox.com>
27042 * gst/base/gstadapter.h:
27043 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27044 peek() but you own the data. Not terribly efficient atm.
27046 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27048 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27049 (gst_element_found_tags):
27051 Add two utility functions for tag handling.
27053 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27055 * docs/manual/advanced-dataaccess.xml:
27056 * docs/manual/basics-helloworld.xml:
27057 Fix docs to use _bin_add() before _link(), which fixes the examples
27058 with recent core versions (reported by Madhan Raj M
27059 <raj_madan@rediffmail.com>, #313199).
27061 2005-08-16 Wim Taymans <wim@fluendo.com>
27063 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27064 Added subtract checks.
27066 * docs/design/part-events.txt:
27067 Some more docs about newsegment
27069 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27072 * gst/gstcaps.c: (gst_caps_to_string):
27073 Add comments, cleanups.
27075 * gst/gstelement.c: (gst_element_save_thyself):
27078 * gst/gstvalue.c: (gst_value_collect_int_range),
27079 (gst_string_unwrap), (gst_value_union_int_int_range),
27080 (gst_value_union_int_range_int_range),
27081 (gst_value_intersect_int_int_range),
27082 (gst_value_intersect_int_range_int_range),
27083 (gst_value_intersect_double_double_range),
27084 (gst_value_intersect_double_range_double_range),
27085 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27086 (gst_value_subtract_int_range_int),
27087 (gst_value_subtract_double_range_double),
27088 (gst_value_subtract_double_range_double_range),
27089 (gst_value_subtract_from_list), (gst_value_subtract_list),
27090 (gst_value_can_compare), (gst_value_compare_fraction):
27091 Cleanups, add comments, remove unneeded asserts.
27093 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27095 * tools/gst-launch.c: (event_loop):
27096 don't convert NULL structures to strings
27098 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27100 * docs/gst/gstreamer-sections.txt:
27101 made some defines private
27102 * docs/gst/tmpl/gstconfig.sgml:
27103 * docs/gst/tmpl/gstqueue.sgml:
27104 * docs/gst/tmpl/gsttaglist.sgml:
27105 * docs/gst/tmpl/gsttypes.sgml:
27106 * docs/gst/tmpl/gstutils.sgml:
27107 * docs/pwg/appendix-porting.xml:
27108 * gst/base/gstbasesink.h:
27109 * gst/base/gstbasesrc.c:
27110 * gst/base/gstbasesrc.h:
27111 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27112 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27113 * gst/gstelement.c: (gst_element_class_init):
27114 * gst/gstpad.c: (gst_pad_class_init):
27115 * gst/gstqueue.c: (gst_queue_class_init):
27116 * gst/gstxml.c: (gst_xml_class_init):
27117 documented all undocumented signal inline
27118 * libs/gst/controller/gst-controller.h:
27121 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27123 * docs/pwg/appendix-porting.xml:
27124 Document _set_link_function -> _set_setcaps_function.
27126 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27128 * check/Makefile.am:
27129 add a .check target for running the check
27130 * check/gst-libs/controller.c: (GST_START_TEST):
27132 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27133 complete checks for gstbuffer; would be nice if I could get the
27134 gcov stuff to work so I can see if I actually completed gstbuffer.c
27135 * check/gstcheck.h:
27136 add ASSERT_BUFFER_REFCOUNT
27138 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27140 * docs/gst/gstreamer-sections.txt:
27141 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27143 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27144 spew out a warning if a tag that is already registered
27145 is re-registered, unless it is re-registered with a
27146 different type (#308438).
27148 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27150 * docs/pwg/appendix-porting.xml:
27151 * docs/pwg/building-state.xml:
27152 Add some paragraphs about state changes in 0.9 to the PWG
27153 and the porting guide, in particular about the new meaning
27154 of GST_STATE_PAUSED and how to write state change functions
27155 with concurrent access by multiple threads in mind.
27157 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27159 * docs/gst/gstreamer-docs.sgml:
27160 * docs/libs/gstreamer-libs-docs.sgml:
27161 added deprecation and since indexes
27162 * libs/gst/controller/gst-controller.c:
27163 * libs/gst/controller/gst-helper.c:
27167 2005-08-11 Wim Taymans <wim@fluendo.com>
27169 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27170 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27171 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27172 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27173 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27174 (gst_ghost_pad_set_target):
27175 Actually implement (re)setting the target on a ghostpad
27176 as described in the docs.
27178 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27180 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27181 Check whether GST_DEBUG_NO_COLOR environment variable is
27182 set and disable coloured debug output if that is the case.
27184 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27186 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27187 (gst_type_find_helper):
27188 The memory returned by gst_type_find_peek() needs to
27189 stay valid until the end of a typefind function, and
27190 typefind functions may keep results from different
27191 offsets around, so we can't just unref the buffer from
27192 the previous _peek(), but have to save all buffers
27193 returned by _peek() until typefinding is done and only
27196 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27198 * docs/gst/gstreamer-sections.txt:
27200 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27202 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27204 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27205 Fix a pretty good memleak.
27207 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27209 * gst/gstiterator.h:
27210 Fix wrong include and 'make distcheck'.
27212 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27214 * gst/gstbin.c: (bin_bus_handler):
27215 Use gst_element_post_message() instead.
27217 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27219 * gst/base/gstadapter.h:
27220 * gst/base/gstbasesink.h:
27221 * gst/base/gstbasesrc.h:
27222 * gst/base/gstbasetransform.h:
27223 * gst/base/gstcollectpads.h:
27224 * gst/base/gstpushsrc.h:
27225 * gst/gstiterator.h:
27226 Add padding to our base elements' class and instance structs and
27227 to GstIterator (you will need to rebuild all plugins and apps!)
27229 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27231 * gst/gstbin.c: (bin_bus_handler):
27232 Make default message forwarding from child->bus to bin->bus
27233 threadsafe and make it not emit warnings if the parent has no bus.
27235 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27237 * gst/gstelement.c: (activate_pads):
27238 On paused->ready, set pad->caps to NULL, as is the documented
27239 behaviour in this state change. Fixes playback of series of
27240 media files when visualization is enabled in Totem.
27242 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27244 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27245 Allow NULL as filter-caps (which means "any").
27247 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27249 * docs/libs/gstreamer-libs-sections.txt:
27250 * libs/gst/controller/gst-controller.c:
27251 * libs/gst/controller/gst-controller.h:
27252 * libs/gst/controller/gst-helper.c:
27253 adding more entries to the docs and fix small doc-bugs
27255 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27257 * docs/gst/gstreamer-docs.sgml:
27258 * docs/gst/gstreamer-sections.txt:
27259 * docs/gst/gstreamer.types:
27260 * docs/gst/tmpl/gstbasesink.sgml:
27261 * docs/gst/tmpl/gstbasesrc.sgml:
27262 * docs/gst/tmpl/gstbasetransform.sgml:
27263 * docs/gst/tmpl/gstfakesrc.sgml:
27264 * gst/base/gstcollectpads.c:
27265 * gst/base/gstcollectpads.h:
27266 * libs/gst/controller/gst-controller.c:
27267 * libs/gst/controller/gst-controller.h:
27268 * libs/gst/controller/gst-helper.c:
27269 * libs/gst/controller/gst-interpolation.c:
27270 * libs/gst/controller/lib.c:
27271 added long/short desc for controller docs
27272 added collectpads base class docs
27273 added correct includes to base-class docs
27275 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27277 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27278 (gst_test_mono_source_set_property),
27279 (gst_test_mono_source_class_init), (GST_START_TEST),
27280 (gst_controller_suite):
27281 * docs/gst/gstreamer-docs.sgml:
27282 * docs/gst/gstreamer-sections.txt:
27283 * docs/gst/gstreamer.types:
27284 * docs/libs/gstreamer-libs-docs.sgml:
27285 * docs/libs/gstreamer-libs-sections.txt:
27286 * gst/base/gstadapter.c:
27287 * libs/gst/controller/gst-controller.c:
27288 (gst_controlled_property_new), (gst_controlled_property_free),
27289 (gst_controller_new_valist),
27290 (gst_controller_remove_properties_valist),
27291 (gst_controller_sink_values), (_gst_controller_finalize):
27292 * libs/gst/controller/gst-controller.h:
27293 * libs/gst/controller/gst-helper.c:
27294 (gst_object_control_properties), (gst_object_uncontrol_properties),
27295 (gst_object_get_controller), (gst_object_set_controller),
27296 (gst_object_sink_values), (gst_object_get_value_arrays),
27297 (gst_object_get_value_array):
27298 more tests (and fixes) for the controller
27299 more docs for the controller
27300 integrated companies docs for the adapter
27302 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27304 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27305 (GST_START_TEST), (fakesrc_suite):
27306 add tests for sizetype
27308 2005-08-04 Andy Wingo <wingo@pobox.com>
27310 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27311 fixes buffer_alloc proxying among other things.
27313 * gst/base/gstbasetransform.c:
27314 * gst/base/gstbasetransform.h:
27315 Revert patch to gstbasetransform from 7-28 removing
27318 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27319 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27320 Semantics changed, should return not the size of the output buffer
27321 but the byte size of a buffer with a given caps.
27323 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27325 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27326 out) are not the pad caps until setcaps finishes.
27327 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27328 not-in-place case as well. Deal with changing from in-place to
27329 not-in-place within calling pad_alloc_buffer. Still a bit
27330 concerned about the overhead here...
27332 2005-08-03 Andy Wingo <wingo@pobox.com>
27334 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27335 fixating is an error.
27337 2005-08-04 Edward Hervey <edward@fluendo.com>
27339 * gst/base/gstadapter.h:
27340 Added gst_adapter_get_type() to the header
27342 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27344 * check/Makefile.am:
27345 * check/gst-libs/controller.c:
27346 * libs/gst/controller/gst-controller.c:
27347 (gst_controller_new_valist):
27348 added check test suite for the controller
27349 * gst/base/gstpushsrc.c:
27352 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27354 * docs/gst/Makefile.am:
27355 * docs/gst/gstreamer-docs.sgml:
27356 * docs/gst/gstreamer-sections.txt:
27357 * docs/gst/gstreamer.types:
27358 * docs/gst/tmpl/gstfakesrc.sgml:
27360 * gst/base/gstbasesink.c:
27361 * gst/base/gstbasesink.h:
27362 * gst/base/gstbasesrc.c:
27363 * gst/base/gstbasesrc.h:
27364 * gst/base/gstbasetransform.c:
27365 * gst/base/gstpushsrc.c:
27366 * gst/base/gstpushsrc.h:
27367 add short/long description docs to base classes
27368 add pushsrc to the docs
27369 remove consolidated doc fragments
27371 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27374 * docs/libs/Makefile.am:
27375 * docs/libs/gstreamer-libs-docs.sgml:
27376 * docs/libs/gstreamer-libs-sections.txt:
27377 * docs/libs/gstreamer-libs.types:
27378 * examples/Makefile.am:
27379 * examples/controller/.cvsignore:
27380 * examples/controller/Makefile.am:
27381 * examples/controller/audio-example.c: (main):
27382 * libs/gst/Makefile.am:
27383 * libs/gst/controller/.cvsignore:
27384 * libs/gst/controller/Makefile.am:
27385 * libs/gst/controller/gst-controller.c:
27386 (on_object_controlled_property_changed), (gst_timed_value_compare),
27387 (gst_timed_value_find),
27388 (gst_controlled_property_set_interpolation_mode),
27389 (gst_controlled_property_new), (gst_controlled_property_free),
27390 (gst_controller_find_controlled_property),
27391 (gst_controller_new_valist), (gst_controller_new),
27392 (gst_controller_remove_properties_valist),
27393 (gst_controller_remove_properties), (gst_controller_set),
27394 (gst_controller_set_from_list), (gst_controller_unset),
27395 (gst_controller_get), (gst_controller_get_all),
27396 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27397 (gst_controller_get_value_array),
27398 (gst_controller_set_interpolation_mode),
27399 (_gst_controller_finalize), (_gst_controller_init),
27400 (_gst_controller_class_init), (gst_controller_get_type):
27401 * libs/gst/controller/gst-controller.h:
27402 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27403 (g_object_uncontrol_properties), (g_object_get_controller),
27404 (g_object_set_controller), (g_object_sink_values),
27405 (g_object_get_value_arrays), (g_object_get_value_array):
27406 * libs/gst/controller/gst-interpolation.c:
27407 (gst_controlled_property_find_timed_value_node),
27408 (interpolate_none_get), (interpolate_trigger_get),
27409 (interpolate_trigger_get_value_array):
27410 * libs/gst/controller/lib.c: (gst_controller_init):
27411 * pkgconfig/Makefile.am:
27412 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27413 * pkgconfig/gstreamer-control.pc.in:
27414 * testsuite/Makefile.am:
27415 * testsuite/controller/.cvsignore:
27416 * testsuite/controller/Makefile.am:
27417 * testsuite/controller/interpolator.c: (main):
27418 added controller code
27419 removed dparam pc files
27421 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27422 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27423 (gst_collectpads_stop):
27424 Broadcast the condition when shutting down, to make sure we wake all
27425 threads up. Shut down pads on finalize, for safety.
27427 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27428 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27429 (gst_base_transform_handle_buffer),
27430 (gst_base_transform_change_state):
27431 Handle PAUSED->READY->PAUSED transition after negotiation
27433 * gst/gstmessage.c: (gst_message_init):
27434 Extra piece of debug for new messages.
27436 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27439 * docs/gst/tmpl/gstbasesrc.sgml:
27440 * docs/gst/tmpl/gstelement.sgml:
27441 * docs/gst/tmpl/gstevent.sgml:
27442 * docs/gst/tmpl/gstfakesrc.sgml:
27443 * docs/gst/tmpl/gstformat.sgml:
27444 * docs/gst/tmpl/gstghostpad.sgml:
27445 * docs/gst/tmpl/gstpad.sgml:
27446 * docs/gst/tmpl/gstquery.sgml:
27447 * docs/gst/tmpl/gststructure.sgml:
27448 * docs/gst/tmpl/gsttaglist.sgml:
27449 * docs/gst/tmpl/gstvalue.sgml:
27450 * docs/libs/gstreamer-libs-docs.sgml:
27451 * docs/libs/gstreamer-libs-sections.txt:
27452 * docs/libs/gstreamer-libs.types:
27453 * libs/gst/Makefile.am:
27454 * libs/gst/control/.cvsignore:
27455 * libs/gst/control/Makefile.am:
27456 * libs/gst/control/control.c:
27457 * libs/gst/control/control.h:
27458 * libs/gst/control/dparam.c:
27459 * libs/gst/control/dparam.h:
27460 * libs/gst/control/dparam_smooth.c:
27461 * libs/gst/control/dparam_smooth.h:
27462 * libs/gst/control/dparamcommon.h:
27463 * libs/gst/control/dparammanager.c:
27464 * libs/gst/control/dparammanager.h:
27465 * libs/gst/control/dplinearinterp.c:
27466 * libs/gst/control/dplinearinterp.h:
27467 * libs/gst/control/unitconvert.c:
27468 * libs/gst/control/unitconvert.h:
27469 * testsuite/Makefile.am:
27470 * testsuite/dynparams/.cvsignore:
27471 * testsuite/dynparams/Makefile.am:
27472 * testsuite/dynparams/dparamstest.c:
27473 * tools/Makefile.am:
27474 * tools/gst-inspect.c: (print_element_info), (main):
27475 * tools/gst-xmlinspect.c: (print_element_info), (main):
27476 deactivate and remove dparams (libgstcontrol)
27478 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27480 * gst/elements/gsttypefindelement.c:
27481 (gst_type_find_element_have_type), (gst_type_find_element_init),
27482 (stop_typefinding), (gst_type_find_element_handle_event),
27483 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27484 * gst/elements/gsttypefindelement.h:
27485 Set caps on all outgoing buffers, not just the first one.
27487 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27489 * gst/elements/gsttypefindelement.c:
27490 (gst_type_find_element_have_type),
27491 (gst_type_find_element_check_set_buffer_caps),
27492 (gst_type_find_element_init), (stop_typefinding),
27493 (gst_type_find_element_handle_event),
27494 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27495 * gst/elements/gsttypefindelement.h:
27496 Set caps on first outgoing buffer when we've found the type.
27498 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27500 * docs/gst/gstreamer-docs.sgml:
27501 * docs/gst/gstreamer-sections.txt:
27502 * docs/gst/tmpl/gstscheduler.sgml:
27503 * docs/gst/tmpl/gstschedulerfactory.sgml:
27504 Remove some old cruft from docs.
27506 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27509 Fix inline docs for GstPadLinkReturn.
27511 * gst/gststructure.c: (gst_structure_has_name):
27512 * gst/gststructure.h:
27513 * docs/gst/gstreamer-sections.txt:
27514 New API: gst_structure_has_name().
27516 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27519 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27520 and _LARGEFILE_SOURCE in config.h as required. Do not
27521 export those flags in our .pc files any longer (#142209).
27523 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27525 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27526 (gst_file_sink_do_seek), (gst_file_sink_event),
27527 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27528 Redo seek/tell calls with large file support in mind; add some
27529 debugging messages; add log message that tells us when large
27530 file support is unavailable or not enabled for some reason.
27532 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27533 Add log message that tells us when large file support
27534 is unavailable or not enabled for some reason.
27536 2005-07-29 Wim Taymans <wim@fluendo.com>
27538 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27539 Added test for removing an element with ghostpad from a bin.
27540 Fixed test as current implementation does the right thing.
27542 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27543 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27544 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27545 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27546 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27547 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27548 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27549 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27550 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27551 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27552 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27553 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27554 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27555 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27556 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27557 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27558 * gst/gstghostpad.h:
27559 Clean up ghostpads, remove properties for internal stuff.
27562 Prepare for switching targets, not all use cases work yet.
27564 2005-07-29 Wim Taymans <wim@fluendo.com>
27566 * docs/design/part-gstghostpad.txt:
27569 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27570 (gst_bin_remove_func):
27571 Unlinking pads while holding the bin LOCK is not a good
27574 * gst/gstpad.c: (gst_pad_class_init),
27575 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27576 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27577 No prob setting template after creating the pad.
27579 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27581 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27582 (gst_bus_peek), (gst_bus_source_dispatch),
27583 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27584 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27585 gst_bus_poll may be called from other threads. Handle
27586 this nicely by not making poll_data disappear off the
27587 stack once gst_bus_poll returns.
27588 gst_bus_peek now increments the refcount on the returned
27591 2005-07-29 Wim Taymans <wim@fluendo.com>
27593 * docs/design/part-gstghostpad.txt:
27594 Overview of current GhostPad datastructures and use
27595 cases for changing the target.
27597 2005-07-28 Wim Taymans <wim@fluendo.com>
27599 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27600 Added checks for hierarchy consistency whan adding linked
27603 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27604 Added check to test element scheduling without bin/pipeline.
27606 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27607 First add elements to bin, then link.
27609 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27610 (gst_bin_remove_func):
27611 Unlink pads from elements added/removed from bin to maintain
27612 hierarchy consistency.
27614 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27616 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27617 (gst_base_transform_handle_buffer):
27618 * gst/base/gstbasetransform.h:
27619 Remove broken delay_configure (fixes renegotiation of software
27620 scaling pipelines); remove some leftover printf()s.
27622 2005-07-28 Wim Taymans <wim@fluendo.com>
27624 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27625 Added some more tests for wrong hierarchy
27627 * docs/design/part-overview.txt:
27630 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27633 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27634 (gst_element_dispose):
27635 Some more cleanups.
27637 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27638 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27639 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27640 (gst_pad_set_caps), (gst_pad_send_event):
27641 Check for correct hierarchy when linking pads. Moving to
27642 strict requirement for ghostpads when linking elements in
27646 Clean ups. Added WRONG_HIERARCHY return value.
27648 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27650 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27651 Better debug if no transform is possible.
27653 2005-07-27 Wim Taymans <wim@fluendo.com>
27655 * docs/random/wtay/network-transp:
27656 Some old doc I had.
27658 2005-07-27 Wim Taymans <wim@fluendo.com>
27660 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27661 (gst_dp_event_from_packet):
27662 Fix serialization of seek events.
27664 2005-07-27 Wim Taymans <wim@fluendo.com>
27666 * check/gst-libs/gdp.c: (GST_START_TEST):
27667 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27668 Fix compilation and fix event serialization.
27670 2005-07-27 Wim Taymans <wim@fluendo.com>
27673 * docs/design/part-TODO.txt:
27674 * docs/design/part-events.txt:
27677 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27678 (gst_base_sink_event), (gst_base_sink_do_sync),
27679 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27680 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27681 (gst_base_src_do_seek), (gst_base_src_event_handler),
27682 (gst_base_src_loop):
27683 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27684 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27685 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27686 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27687 (gst_base_transform_set_passthrough),
27688 (gst_base_transform_is_passthrough):
27689 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27690 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27696 * gst/gstelement.c: (gst_element_seek):
27697 * gst/gstelement.h:
27698 Update gst_element_seek.
27700 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27701 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27702 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27703 (gst_event_new_eos), (gst_event_new_newsegment),
27704 (gst_event_parse_newsegment), (gst_event_new_tag),
27705 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27706 (gst_event_parse_qos), (gst_event_new_seek),
27707 (gst_event_parse_seek), (gst_event_new_navigation):
27709 Make GstEvent use GstStructure. Add parsing code, make sure the
27710 API is sufficiently generic.
27711 Mark possible directions of events and serialization.
27713 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27714 (_gst_message_copy), (gst_message_new_segment_start),
27715 (gst_message_new_segment_done), (gst_message_new_custom),
27716 (gst_message_parse_segment_start),
27717 (gst_message_parse_segment_done):
27720 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27721 (gst_pad_set_caps), (gst_pad_send_event):
27722 Update for new events.
27723 Catch events sent in wrong directions.
27725 * gst/gstqueue.c: (gst_queue_link_src),
27726 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27727 (gst_queue_handle_src_query):
27732 Remove event code from this file.
27734 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27735 (gst_dp_event_from_packet):
27738 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27740 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27741 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27742 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27743 Make debugging actually useful.
27745 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27747 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27748 (gst_pad_fixate_caps):
27749 Implement default fixation once again, so that gst_pad_fixate()
27750 actually does anything at all. This probably needs to be some
27751 sort of a last resort, and use profile-based fixation first, but
27752 since that doesn't exist yet, this is the best we have. Fixes
27753 visualization in Totem.
27755 2005-07-22 Wim Taymans <wim@fluendo.com>
27757 * docs/design/part-events.txt:
27760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27761 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27762 (gst_base_sink_activate_pull):
27763 Some more comments.
27765 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27766 (gst_fake_src_create):
27767 Fix handoff marshall.
27769 * gst/elements/gstidentity.c: (gst_identity_class_init),
27770 (gst_identity_transform_ip):
27771 We're a real inplace element.
27773 * gst/gstbus.c: (gst_bus_post):
27774 Added some comments.
27776 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27777 * tests/muxing/case1.c: (main):
27778 * tests/sched/dynamic-pipeline.c: (main):
27779 * tests/sched/interrupt1.c: (main):
27780 * tests/sched/interrupt2.c: (main):
27781 * tests/sched/interrupt3.c: (main):
27782 * tests/sched/runxml.c: (main):
27783 * tests/sched/sched-stress.c: (main):
27784 * tests/seeking/seeking1.c: (event_received), (main):
27785 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27787 * tests/threadstate/threadstate3.c: (main):
27788 * tests/threadstate/threadstate4.c: (main):
27789 * tests/threadstate/threadstate5.c: (main):
27792 2005-07-21 Wim Taymans <wim@fluendo.com>
27794 * docs/design/part-seeking.txt:
27795 Some small additions.
27797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27798 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27799 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27800 * gst/base/gstbasesink.h:
27801 discont values are gint64, handle the math correctly.
27803 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27804 Make the basesrc report error if the source pad is not linked.
27806 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27807 (gst_queue_loop), (gst_queue_handle_src_query),
27808 (gst_queue_src_activate_push):
27809 Make queue collect data even if the srcpad is not linked.
27810 Start pushing out data as soon as it is linked.
27812 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27814 Added gst_flow_get_name() to ease error reporting.
27816 2005-07-20 Wim Taymans <wim@fluendo.com>
27818 * gst/gstmessage.c: (gst_message_new_segment_start),
27819 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27820 (gst_message_parse_segment_done):
27821 * gst/gstmessage.h:
27822 Added a bunch of messages for advanced seeking.
27824 * gst/parse/grammar.y:
27825 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27826 (gst_dpman_state_changed):
27827 Fix some new-pad -> pad-added signals
27829 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27831 * docs/manual/appendix-porting.xml:
27832 * docs/pwg/appendix-porting.xml:
27833 Document new-pad/state-change signal renames and the FixedList
27836 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27838 * docs/manual/advanced-autoplugging.xml:
27839 * docs/manual/basics-helloworld.xml:
27840 * docs/manual/basics-pads.xml:
27841 * docs/random/ds/0.9-suggested-changes:
27842 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27843 * gst/gstelement.h:
27847 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27848 (gst_structure_parse_array), (gst_structure_parse_value):
27849 * gst/gstvalue.c: (gst_type_is_fixed),
27850 (gst_value_list_prepend_value), (gst_value_list_append_value),
27851 (gst_value_list_get_size), (gst_value_list_get_value),
27852 (gst_value_transform_array_string), (gst_value_serialize_array),
27853 (gst_value_deserialize_array), (gst_value_intersect_array),
27854 (gst_value_is_fixed), (_gst_value_initialize):
27856 GstElement::new-pad -> pad-added, GstElement::state-change ->
27857 state-changed, GstValueFixedList -> GstValueArray, add format and
27858 flags as their own arguments in gst_element_seek() (should improve
27859 "bindeability"), remove function generators since they don't work
27860 under a whole bunch of compilers (they were deprecated already
27863 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27865 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27866 (_gst_debug_register_funcptr):
27868 Fix illegal cast on some platforms (#309253).
27870 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27872 * gst/gstmessage.c: (gst_message_new_custom):
27873 * gst/gstmessage.h:
27874 Add _new_custom, make _new_application a macro to _new_custom.
27876 2005-07-20 Wim Taymans <wim@fluendo.com>
27878 * gst/base/gstbasesrc.c: (gst_base_src_init),
27879 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27880 * gst/base/gstbasesrc.h:
27881 Add a gboolean to decide when to push out a discont.
27883 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27884 (gst_queue_loop), (gst_queue_handle_src_query),
27885 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27886 (gst_queue_set_property), (gst_queue_get_property):
27889 * tests/threadstate/threadstate1.c: (main):
27890 Make a thread test compile and run... very silly..
27893 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27895 * docs/manual/appendix-porting.xml:
27896 Mention removal of libgstgconf-0.9.la and existence of gconf
27899 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27901 * docs/pwg/advanced-clock.xml:
27902 * docs/pwg/appendix-porting.xml:
27903 * docs/pwg/intro-preface.xml:
27904 * docs/pwg/other-base.xml:
27905 * docs/pwg/other-manager.xml:
27906 * docs/pwg/other-nton.xml:
27907 * docs/pwg/other-ntoone.xml:
27908 * docs/pwg/other-oneton.xml:
27909 * docs/pwg/pwg.xml:
27910 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27911 demuxer), remove n-to-n (was never written), fix some code examples
27912 and links and update the porting section to include all this.
27914 2005-07-19 Wim Taymans <wim@fluendo.com>
27916 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27917 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27918 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27919 (gst_queue_src_activate_push), (gst_queue_change_state),
27920 (gst_queue_get_property):
27922 Propagate GstFlowReturn more intelligently upstream and output
27923 an ERROR/EOS when streaming stopped due to fatal error.
27925 2005-07-19 Wim Taymans <wim@fluendo.com>
27927 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27928 Don't block forever for the state change to complete, the
27929 pipeline already did with a sensible timeout.
27931 2005-07-19 Wim Taymans <wim@fluendo.com>
27933 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27934 Make sure we never call the create function is we
27937 2005-07-19 Andy Wingo <wingo@pobox.com>
27939 * gst/parse/parse.l: Attempt to solve bug #172815.
27941 2005-07-19 Wim Taymans <wim@fluendo.com>
27943 * docs/design/part-clocks.txt:
27944 * docs/design/part-events.txt:
27945 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27946 Small docs updates.
27947 Only update the seeking values when we are not
27950 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27952 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27953 Oops, ignore the result of gst_pad_push_event here.
27955 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27957 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27958 (gst_base_src_activate_push):
27959 Send discont event from the loop function, as pads
27960 aren't activated yet in the activate_push handler.
27962 * gst/gstbin.c: (bin_bus_handler):
27963 Don't leak element name.
27965 2005-07-18 Andy Wingo <wingo@pobox.com>
27967 * configure.ac: Use AS_LIBTOOL_TAGS.
27969 2005-07-18 Wim Taymans <wim@fluendo.com>
27971 * docs/gst/gstreamer.types:
27972 Remove deleted types.
27974 2005-07-18 Wim Taymans <wim@fluendo.com>
27976 * check/elements/gstfakesrc.c: (GST_START_TEST):
27979 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27980 (init_popt_callback):
27982 * gst/gst_private.h:
27983 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27984 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27987 * gst/gstconfig.h.in:
27988 * gst/gstelement.c: (gst_element_class_init),
27989 (gst_element_set_base_time), (gst_element_get_base_time),
27990 (iterator_fold_with_resync), (gst_element_change_state),
27991 (gst_element_dispose), (gst_element_get_bus):
27992 * gst/gstelement.h:
27993 * gst/gstelementfactory.h:
27994 * gst/gsterror.c: (_gst_core_errors_init):
27997 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27999 * gst/gstinfo.c: (_gst_debug_init):
28000 * gst/gstmessage.c: (_gst_message_copy):
28001 * gst/gstmessage.h:
28002 * gst/gstminiobject.h:
28005 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28006 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28009 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28010 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28011 (gst_pipeline_get_last_stream_time):
28012 * gst/gstpipeline.h:
28013 * gst/gstpluginfeature.h:
28015 * gst/gstscheduler.c:
28016 * gst/gstscheduler.h:
28017 * gst/gststructure.h:
28018 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28019 (gst_task_finalize), (gst_task_func), (gst_task_create),
28020 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28021 (gst_task_stop), (gst_task_pause):
28023 * gst/gsttypefind.h:
28025 * gst/registries/gstlibxmlregistry.c: (load_feature),
28026 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28027 * gst/registries/gstxmlregistry.c:
28028 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28029 * gst/schedulers/threadscheduler.c:
28030 * libs/gst/control/dparammanager.h:
28031 * tools/gst-inspect.c: (print_element_list),
28032 (print_plugin_features), (print_element_features):
28033 * tools/gst-xmlinspect.c: (print_element_list),
28034 (print_plugin_info), (main):
28035 Removed plugable schedulers.
28036 Removed Scheduler/Manager from elements.
28037 Removed gsttypes.h, rearranged includes.
28038 Removed dependency pad<->element, element<>pipeline, and
28039 various others, fix includes.
28040 implement gst_pad_get_parent() with gst_object_get_parent()
28041 Make GstTask sefcontained.
28042 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28044 Fix endless loop in iterator_fold_with_resync.
28047 2005-07-18 Wim Taymans <wim@fluendo.com>
28053 2005-07-18 Wim Taymans <wim@fluendo.com>
28056 No more cothreads.h
28058 2005-07-18 Wim Taymans <wim@fluendo.com>
28062 Let's remove these.
28064 2005-07-18 Wim Taymans <wim@fluendo.com>
28066 * docs/design/part-dynamic.txt:
28067 * docs/design/part-events.txt:
28068 * docs/design/part-seeking.txt:
28069 Some more docs in the works.
28071 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28072 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28073 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28074 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28075 (gst_base_transform_handle_buffer),
28076 (gst_base_transform_sink_activate_push),
28077 (gst_base_transform_src_activate_pull),
28078 (gst_base_transform_set_passthrough),
28079 (gst_base_transform_is_passthrough):
28082 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28085 * gst/gstevent.c: (gst_event_finalize):
28088 * gst/gstutils.c: (gst_element_unlink),
28089 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28090 (gst_pad_proxy_setcaps):
28092 Add _get_parent_element() to get a pads parent as an element.
28094 2005-07-18 Wim Taymans <wim@fluendo.com>
28096 * check/gst/gstbin.c: (GST_START_TEST):
28099 2005-07-18 Wim Taymans <wim@fluendo.com>
28101 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28102 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28103 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28104 (gst_base_sink_event), (gst_base_sink_do_sync),
28105 (gst_base_sink_chain), (gst_base_sink_loop),
28106 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28107 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28109 Fix logic for returning ASYNC when not prerolled.
28111 2005-07-18 Wim Taymans <wim@fluendo.com>
28113 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28114 Fix nasty refcount bug.
28116 2005-07-16 Philippe Khalaf <burger@speedy.org>
28118 * gst/elements/gstfdsrc.c:
28119 * gst/elements/gstfdsrc.h:
28120 * gst/elements/gstelements.c:
28121 * gst/elements/Makefile.am:
28122 Ported fdsrc to 0.9.
28124 2005-07-16 Wim Taymans <wim@fluendo.com>
28126 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28127 (gst_base_sink_do_sync):
28130 2005-07-16 Wim Taymans <wim@fluendo.com>
28132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28133 (gst_base_sink_event), (gst_base_sink_get_times),
28134 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28135 * gst/base/gstbasesink.h:
28136 Store and use discont values when syncing buffers as described
28139 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28140 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28141 (gst_base_src_activate_push):
28142 Push discont event when starting.
28144 * gst/elements/gstidentity.c: (gst_identity_transform):
28147 * gst/gstbin.c: (gst_bin_change_state):
28148 Small cleanups in base_time distribution.
28150 * gst/gstelement.c: (gst_element_set_base_time),
28151 (gst_element_get_base_time), (gst_element_change_state):
28152 * gst/gstelement.h:
28153 Added methods for the base_time of the element.
28156 * gst/gstpipeline.c: (gst_pipeline_send_event),
28157 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28158 (gst_pipeline_get_last_stream_time):
28159 * gst/gstpipeline.h:
28161 Handle seeking as described in design doc, remove stream_time
28163 Cleanups clock and stream_time selection code. Added accessors
28164 for the stream_time.
28167 2005-07-16 Andy Wingo <wingo@pobox.com>
28169 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28172 2005-07-16 Wim Taymans <wim@fluendo.com>
28174 * check/gst/gstbin.c: (GST_START_TEST):
28175 Make elements silent as the deep_notify refs the
28176 parent, which might make the test fail.
28178 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28179 Don't hold the lock for too long.
28181 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28183 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28184 Don't unref the caps we passed to gst_caps_make_writable() after
28185 passing them. gst_caps_make_writable() will do that for us.
28187 2005-07-15 Andy Wingo <wingo@pobox.com>
28189 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28192 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28193 own marshalling function for the handoff signal. Properly type the
28194 buffer as a buffer. Fixes some warnings. Should do a more general
28196 (gst_identity_class_init): Plug into the right marshaller.
28198 2005-07-15 Wim Taymans <wim@fluendo.com>
28200 * docs/design/part-TODO.txt:
28201 * docs/design/part-clocks.txt:
28202 * docs/design/part-element-sink.txt:
28203 * docs/design/part-events.txt:
28204 * docs/design/part-gstpipeline.txt:
28205 Updated docs, mostly DISCONT related.
28207 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28209 * docs/pwg/building-pads.xml:
28210 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28212 2005-07-15 Andy Wingo <wingo@pobox.com>
28214 * tools/gst-typefind.c: Update, add copyright block.
28216 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28217 Normalize and truncate caps before fixation.
28220 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28221 discards all but the first structure from its argument.
28223 2005-07-15 Wim Taymans <wim@fluendo.com>
28225 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28226 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28227 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28228 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28229 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28230 (gst_base_transform_chain), (gst_base_transform_change_state),
28231 (gst_base_transform_set_passthrough),
28232 (gst_base_transform_is_passthrough):
28233 * gst/base/gstbasetransform.h:
28234 Make passthrough work using the bufferpools.
28235 Changed API a bit, subclasses have to write into a buffer
28236 provided by the base class.
28237 More debug info in nego functions.
28239 * gst/elements/gstidentity.c: (gst_identity_init),
28240 (gst_identity_transform):
28241 Port to new base class.
28243 2005-07-15 Wim Taymans <wim@fluendo.com>
28245 * gst/gstmessage.c: (gst_message_new_state_changed):
28246 * tools/gst-launch.c: (event_loop), (main):
28247 Totally dump messages in -launch with the -m option.
28248 Fix message name for State messages,
28250 2005-07-14 Wim Taymans <wim@fluendo.com>
28252 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28253 Post error messages on errors.
28255 2005-07-14 Wim Taymans <wim@fluendo.com>
28257 * gst/gstcaps.c: (gst_caps_do_simplify):
28261 Define error for stream stopped.
28263 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28264 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28265 Do proper return values.
28267 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28268 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28269 (gst_pad_get_range):
28270 Better return values.
28273 Reorganise return values, add macro to check for fatal errors.
28275 * gst/gstqueue.c: (gst_queue_chain):
28276 Return proper GstFlowReturn values,
28278 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28280 * docs/gst/gstreamer-sections.txt:
28281 * docs/gst/gstreamer.types:
28282 * docs/gst/tmpl/gst.sgml:
28283 * docs/gst/tmpl/gstbasesink.sgml:
28284 * docs/gst/tmpl/gstbasesrc.sgml:
28285 * docs/gst/tmpl/gstbasetransform.sgml:
28286 * docs/gst/tmpl/gstbin.sgml:
28287 * docs/gst/tmpl/gstbuffer.sgml:
28288 * docs/gst/tmpl/gstcaps.sgml:
28289 * docs/gst/tmpl/gstclock.sgml:
28290 * docs/gst/tmpl/gstcompat.sgml:
28291 * docs/gst/tmpl/gstconfig.sgml:
28292 * docs/gst/tmpl/gstelement.sgml:
28293 * docs/gst/tmpl/gstelementdetails.sgml:
28294 * docs/gst/tmpl/gstelementfactory.sgml:
28295 * docs/gst/tmpl/gstenumtypes.sgml:
28296 * docs/gst/tmpl/gsterror.sgml:
28297 * docs/gst/tmpl/gstevent.sgml:
28298 * docs/gst/tmpl/gstfakesink.sgml:
28299 * docs/gst/tmpl/gstfakesrc.sgml:
28300 * docs/gst/tmpl/gstfilesink.sgml:
28301 * docs/gst/tmpl/gstfilesrc.sgml:
28302 * docs/gst/tmpl/gstfilter.sgml:
28303 * docs/gst/tmpl/gstformat.sgml:
28304 * docs/gst/tmpl/gstghostpad.sgml:
28305 * docs/gst/tmpl/gstimplementsinterface.sgml:
28306 * docs/gst/tmpl/gstindex.sgml:
28307 * docs/gst/tmpl/gstindexfactory.sgml:
28308 * docs/gst/tmpl/gstinfo.sgml:
28309 * docs/gst/tmpl/gstiterator.sgml:
28310 * docs/gst/tmpl/gstmacros.sgml:
28311 * docs/gst/tmpl/gstmemchunk.sgml:
28312 * docs/gst/tmpl/gstminiobject.sgml:
28313 * docs/gst/tmpl/gstobject.sgml:
28314 * docs/gst/tmpl/gstpad.sgml:
28315 * docs/gst/tmpl/gstpadtemplate.sgml:
28316 * docs/gst/tmpl/gstparse.sgml:
28317 * docs/gst/tmpl/gstpipeline.sgml:
28318 * docs/gst/tmpl/gstplugin.sgml:
28319 * docs/gst/tmpl/gstpluginfeature.sgml:
28320 * docs/gst/tmpl/gstquery.sgml:
28321 * docs/gst/tmpl/gstqueue.sgml:
28322 * docs/gst/tmpl/gstregistry.sgml:
28323 * docs/gst/tmpl/gstregistrypool.sgml:
28324 * docs/gst/tmpl/gstscheduler.sgml:
28325 * docs/gst/tmpl/gstschedulerfactory.sgml:
28326 * docs/gst/tmpl/gststructure.sgml:
28327 * docs/gst/tmpl/gstsystemclock.sgml:
28328 * docs/gst/tmpl/gsttaglist.sgml:
28329 * docs/gst/tmpl/gsttagsetter.sgml:
28330 * docs/gst/tmpl/gsttrace.sgml:
28331 * docs/gst/tmpl/gsttrashstack.sgml:
28332 * docs/gst/tmpl/gsttypefind.sgml:
28333 * docs/gst/tmpl/gsttypefindfactory.sgml:
28334 * docs/gst/tmpl/gsttypes.sgml:
28335 * docs/gst/tmpl/gsturihandler.sgml:
28336 * docs/gst/tmpl/gsturitype.sgml:
28337 * docs/gst/tmpl/gstutils.sgml:
28338 * docs/gst/tmpl/gstvalue.sgml:
28339 * docs/gst/tmpl/gstversion.sgml:
28340 * docs/gst/tmpl/gstxml.sgml:
28341 * docs/libs/tmpl/gstcontrol.sgml:
28342 * docs/libs/tmpl/gstdataprotocol.sgml:
28343 * docs/libs/tmpl/gstdparam.sgml:
28344 * docs/libs/tmpl/gstdplinint.sgml:
28345 * docs/libs/tmpl/gstdpman.sgml:
28346 * docs/libs/tmpl/gstdpsmooth.sgml:
28347 * docs/libs/tmpl/gstgetbits.sgml:
28348 * docs/libs/tmpl/gstunitconvert.sgml:
28349 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28350 (gst_push_src_base_init), (gst_push_src_class_init),
28351 (gst_push_src_init), (gst_push_src_create):
28352 * gst/base/gstpushsrc.h:
28353 * gst/elements/gstelements.c:
28354 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28355 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28356 (gst_fake_sink_init), (gst_fake_sink_set_property),
28357 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28358 (gst_fake_sink_event), (gst_fake_sink_preroll),
28359 (gst_fake_sink_render), (gst_fake_sink_change_state):
28360 * gst/elements/gstfakesink.h:
28361 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28362 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28363 (gst_fake_src_base_init), (gst_fake_src_class_init),
28364 (gst_fake_src_init), (gst_fake_src_event_handler),
28365 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28366 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28367 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28368 (gst_fake_src_create_buffer), (gst_fake_src_create),
28369 (gst_fake_src_start), (gst_fake_src_stop):
28370 * gst/elements/gstfakesrc.h:
28371 * gst/elements/gstfilesink.c: (_do_init),
28372 (gst_file_sink_base_init), (gst_file_sink_class_init),
28373 (gst_file_sink_init), (gst_file_sink_dispose),
28374 (gst_file_sink_set_location), (gst_file_sink_set_property),
28375 (gst_file_sink_get_property), (gst_file_sink_open_file),
28376 (gst_file_sink_close_file), (gst_file_sink_query),
28377 (gst_file_sink_event), (gst_file_sink_render),
28378 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28379 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28380 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28381 * gst/elements/gstfilesink.h:
28382 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28383 (gst_file_src_class_init), (gst_file_src_init),
28384 (gst_file_src_finalize), (gst_file_src_set_location),
28385 (gst_file_src_set_property), (gst_file_src_get_property),
28386 (gst_file_src_map_region), (gst_file_src_map_small_region),
28387 (gst_file_src_create_mmap), (gst_file_src_create_read),
28388 (gst_file_src_create), (gst_file_src_is_seekable),
28389 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28390 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28391 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28392 (gst_file_src_uri_handler_init):
28393 * gst/elements/gstfilesrc.h:
28394 more autistic cleanliness in functions/names/defines
28396 2005-07-13 Andy Wingo <wingo@pobox.com>
28398 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28399 source couldn't negotiate.
28401 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28405 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28406 function. I am channeling Hades. Put your boots on suckers!!!
28408 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28410 * testsuite/caps/Makefile.am:
28411 * testsuite/caps/value_compare.c:
28412 * testsuite/caps/value_intersect.c:
28413 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28414 move two testsuite apps over to the check dir
28416 2005-07-12 Wim Taymans <wim@fluendo.com>
28418 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28419 Added more debug info in the negotiate process.
28421 * gst/gstmessage.h:
28422 Prepare for segment playback.
28424 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28430 * tools/gst-launch.c: (main):
28431 NULL pipeline on errors.
28433 2005-07-12 Andy Wingo <wingo@pobox.com>
28435 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28436 not it comes from a malloc region. Make sure our copy gets freed.
28438 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28440 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28441 * check/gst/gstmessage.c: (GST_START_TEST):
28442 * check/gst/gststructure.c: (GST_START_TEST),
28443 (gst_structure_suite), (main):
28445 * gst/gstelement.c: (gst_element_message_full):
28446 clean up GError and debug string now that they get copied
28447 * gst/gstmessage.c: (gst_message_new_error),
28448 (gst_message_new_warning), (gst_message_parse_error),
28449 (gst_message_parse_warning):
28450 use GST_TYPE_G_ERROR for structure_new, and take copies of
28451 arguments, so that we don't mess up refcounting
28453 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28455 * check/Makefile.am:
28456 add per-test valgrind targets
28457 * check/gst-libs/gdp.c: (GST_START_TEST),
28458 (gst_data_protocol_suite), (main):
28461 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28463 * check/Makefile.am:
28464 instate more valgrindable tests
28465 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28466 (GST_START_TEST), (fakesrc_suite):
28467 * check/gst/gstpad.c: (GST_START_TEST):
28468 * check/gst/gststructure.c: (GST_START_TEST):
28470 * docs/gst/tmpl/gstminiobject.sgml:
28471 * gst/gstpad.c: (gst_pad_finalize):
28472 fix the static mutex leak
28474 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28476 * check/Makefile.am:
28477 add two more tests for valgrinding
28478 * check/gst/gstvalue.c: (GST_START_TEST):
28479 test refcount of deserialized buffer, found a leak
28480 * docs/gst/gstreamer-docs.sgml:
28481 * docs/gst/gstreamer-sections.txt:
28482 * docs/gst/gstreamer.types:
28483 * docs/gst/tmpl/gstminiobject.sgml:
28484 add miniobject to docs
28485 * gst/gstminiobject.c:
28487 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28488 (gst_string_unwrap):
28489 fix a hard-to-find invalid write for one of the tests
28490 fix a leak for deserialized buffers
28492 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28494 * docs/pwg/advanced-events.xml:
28495 * docs/pwg/advanced-request.xml:
28496 * docs/pwg/advanced-scheduling.xml:
28497 * docs/pwg/appendix-porting.xml:
28498 * docs/pwg/building-boiler.xml:
28499 * docs/pwg/intro-preface.xml:
28500 * docs/pwg/other-ntoone.xml:
28501 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28502 of example code and explanation for pad activation, loop() and
28503 getrange() functions and a bit more. Remove old comments pointing
28505 * examples/pwg/Makefile.am:
28506 Add loop/getrange examples.
28508 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28511 check for valgrind binary + some fixes
28513 valgrind suppressions for the tests
28514 * check/Makefile.am:
28515 add a valgrind: target that valgrinds the unit tests
28516 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28517 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28518 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28519 * check/gst/gstghostpad.c:
28521 * check/gst/gstdata.c:
28523 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28524 (thread_unref), (gst_mini_object_suite), (main):
28526 * gst/gst.c: (gst_deinit):
28528 add a method to clean up.
28529 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28530 (gst_system_clock_obtain):
28531 allow for disposing the system clock.
28532 * tools/gst-launch.c: (main):
28535 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28537 * docs/gst/tmpl/gstbasesrc.sgml:
28538 * docs/gst/tmpl/gstfakesrc.sgml:
28539 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28540 (gst_base_src_init), (gst_base_src_set_property),
28541 (gst_base_src_get_property), (gst_base_src_get_range),
28542 (gst_base_src_start):
28543 * gst/base/gstbasesrc.h:
28544 add num-buffers property
28545 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28546 (gst_fakesrc_init), (gst_fakesrc_set_property),
28547 (gst_fakesrc_get_property), (gst_fakesrc_create),
28548 (gst_fakesrc_start):
28549 remove num-buffers property
28551 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28553 * docs/gst/gstreamer-sections.txt:
28554 * docs/gst/tmpl/gstbasesink.sgml:
28555 * docs/gst/tmpl/gstbasesrc.sgml:
28556 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28557 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28558 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28559 (gst_base_sink_set_property), (gst_base_sink_get_property),
28560 (gst_base_sink_handle_object), (gst_base_sink_event),
28561 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28562 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28563 (gst_base_sink_loop), (gst_base_sink_deactivate),
28564 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28565 (gst_base_sink_change_state):
28566 * gst/base/gstbasesink.h:
28567 * gst/base/gstbasesrc.h:
28568 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28569 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28570 (gst_filesink_init):
28571 more macro splitting
28573 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28575 * gst/gstelement.c: (gst_element_get_bus):
28577 * tools/gst-launch.c: (check_intr), (event_loop):
28580 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28582 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28585 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28587 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28588 (gst_base_src_finalize):
28589 add finalize method and clean up properly
28590 * gst/gstpipeline.c: (gst_pipeline_dispose):
28593 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28595 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28597 add more things to check
28598 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28599 * gst/gstelement.c:
28602 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28604 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28605 (GST_START_TEST), (fakesrc_suite):
28606 * check/gst-libs/gdp.c: (GST_START_TEST):
28607 * check/gst/gst.c: (GST_START_TEST):
28608 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28609 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28610 * check/gst/gstbus.c: (GST_START_TEST):
28611 * check/gst/gstcaps.c: (GST_START_TEST):
28612 * check/gst/gstdata.c: (GST_START_TEST):
28613 * check/gst/gstelement.c: (GST_START_TEST):
28614 * check/gst/gstghostpad.c: (GST_START_TEST):
28615 * check/gst/gstiterator.c: (GST_START_TEST):
28616 * check/gst/gstmessage.c: (GST_START_TEST):
28617 * check/gst/gstobject.c: (GST_START_TEST):
28618 * check/gst/gstpad.c: (GST_START_TEST):
28619 * check/gst/gststructure.c: (GST_START_TEST):
28620 * check/gst/gstsystemclock.c: (GST_START_TEST),
28621 (gst_systemclock_suite):
28622 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28623 * check/gst/gstvalue.c: (GST_START_TEST):
28624 * check/pipelines/cleanup.c: (GST_START_TEST):
28625 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28626 * check/states/sinks.c: (GST_START_TEST):
28627 * check/gstcheck.c: (gst_check_init):
28628 * check/gstcheck.h:
28629 add debugging category
28630 use GST_START_TEST now, so we add a debug line
28632 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28634 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28635 add test for state change message on a bin
28636 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28638 * gst/gstbin.c: (gst_bin_init):
28639 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28640 * gst/gstelement.c: (gst_element_post_message),
28641 (gst_element_set_state):
28642 * gst/gstelementfactory.c: (gst_element_factory_create):
28643 * gst/gstmessage.c: (gst_message_new):
28644 * gst/gstscheduler.c:
28645 various debugging additions and cleanups
28647 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28649 * check/Makefile.am:
28650 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28652 adding tests for elements
28653 * gst/gstelement.c: (gst_element_dispose):
28655 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28657 * gst/registries/gstlibxmlregistry.c: (load_feature):
28658 plug more leaks. A simple gst_init() now is leakfree, yay.
28660 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28662 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28663 (gst_xml_registry_load):
28664 plug another memleak
28666 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28669 use GST_SET_ERROR_CFLAGS
28670 * docs/faq/cvs.xml:
28671 change to ERROR_CFLAGS
28673 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28676 make GST_ERROR_CFLAGS overridable and re-enable Werror
28677 * docs/faq/cvs.xml:
28678 add a note about error CFLAGS
28679 * docs/gst/tmpl/gstfakesrc.sgml:
28680 * gst/elements/gstfakesrc.c:
28681 comment out some unused code
28682 * gst/gst.c: (split_and_iterate):
28683 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28687 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28689 * common/Makefile.am:
28690 * common/gtk-doc.mak:
28691 * docs/gst/Makefile.am:
28692 factor out gtk-doc.mak
28694 2005-07-07 Wim Taymans <wim@fluendo.com>
28696 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28697 (gst_thread_scheduler_dispose):
28698 Unlock the STREAM_LOCK completely.
28700 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28702 * check/Makefile.am:
28703 * check/elements/.cvsignore:
28704 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28705 (START_TEST), (fakesrc_suite), (main):
28706 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28707 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28708 (gst_fakesrc_create), (gst_fakesrc_start):
28709 * gst/elements/gstfakesrc.h:
28710 adding a first element test
28712 2005-07-07 Andy Wingo <wingo@pobox.com>
28714 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28717 2005-07-07 Wim Taymans <wim@fluendo.com>
28723 2005-07-07 Wim Taymans <wim@fluendo.com>
28725 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28726 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28727 Allow subclasses to implement their own negotiation.
28729 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28731 * docs/design/part-gstbin.txt:
28732 * docs/design/part-gstpipeline.txt:
28733 Update design notes to reflect the movement of
28734 responsibility for bus handling from GstPipeline to
28737 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28740 Remove unnecessary queue2/3/4 examples.
28742 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28744 * examples/Makefile.am:
28745 * examples/helloworld/helloworld.c: (event_loop), (main):
28746 * examples/queue/queue.c: (event_loop), (main):
28747 * examples/queue2/queue2.c: (main):
28748 Update a couple of the examples to work again.
28750 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28751 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28752 Spelling corrections and extra debug.
28754 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28755 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28756 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28758 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28759 (gst_pipeline_change_state):
28760 * gst/gstpipeline.h:
28761 Move the bus handler for children to the GstBin, and create a
28762 separate bus for receiving messages from children to the one the
28763 bus sends 'upwards' on.
28765 2005-07-06 Wim Taymans <wim@fluendo.com>
28768 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28769 (gst_base_sink_handle_object), (gst_base_sink_loop),
28770 (gst_base_sink_change_state):
28771 * gst/base/gstbasesink.h:
28772 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28773 (gst_base_src_init), (gst_base_src_setcaps),
28774 (gst_base_src_getcaps), (gst_base_src_loop),
28775 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28776 (gst_base_src_start), (gst_base_src_change_state):
28777 * gst/base/gstbasesrc.h:
28778 Make basesrc negotiate.
28779 Handle the case where preroll fails in basesink.
28782 2005-07-06 Wim Taymans <wim@fluendo.com>
28784 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28785 Implement the fixate function.
28786 Clean up acceptcaps.
28788 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28790 * docs/pwg/building-filterfactory.xml:
28791 * docs/pwg/pwg.xml:
28792 Remove never-written filter-factory chapter; I'll add the various
28793 base classes to part 4 ("other element types") later on.
28795 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28797 * docs/pwg/advanced-negotiation.xml:
28798 * docs/pwg/building-boiler.xml:
28799 * docs/pwg/building-pads.xml:
28800 * docs/pwg/pwg.xml:
28801 * examples/pwg/Makefile.am:
28802 Add a chapter on caps negotiation, simplify the original code
28803 samples a bit w.r.t. caps negotiation, add link to the advanced
28804 section. Add a bunch of examples showing different use cases of
28805 different types of caps negotiation. Upstream renegotiation isn't
28806 fully documented yet since nobody knows how that works.
28808 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28810 * check/gst/gstpad.c:
28811 * check/gstcheck.c:
28812 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28813 if pad has no parent, return NULL as list of internal links
28815 2005-07-05 Andy Wingo <wingo@pobox.com>
28817 * gst/elements/gstfilesrc.c:
28818 * gst/elements/gstfakesrc.c:
28819 * gst/base/gstpushsrc.c:
28820 * gst/base/gstbasesrc.h:
28821 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28823 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28826 better report generation target (lcov needs a patch)
28828 2005-07-05 Andy Wingo <wingo@pobox.com>
28830 * gst/elements, testsuite: Null if we got it...
28832 2005-07-05 Wim Taymans <wim@fluendo.com>
28835 * libs/gst/dataprotocol/Makefile.am:
28836 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28837 * libs/gst/dataprotocol/dataprotocol.h:
28838 * pkgconfig/Makefile.am:
28839 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28840 * pkgconfig/gstreamer-dataprotocol.pc.in:
28841 Ported dataprotol to 0.9.
28842 Added pkgconfig files.
28844 2005-07-05 Andy Wingo <wingo@pobox.com>
28846 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28847 Default to returning TRUE for the case when tranform_caps returns
28848 a fixed caps, like for identity or volume.
28850 * check/gst/gstbus.c (pound_bus_with_messages):
28851 * check/gst/gstmessage.c (START_TEST):
28852 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28853 message API change.
28855 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28856 logic weaks here: always run transform_caps, trying passthrough
28857 operation only if the original caps intersects with the transform.
28859 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28860 source and sink caps.
28862 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28863 Intersect the peer caps with the pad template before going into
28865 (gst_base_transform_transform_caps): More debugging.
28867 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28870 2005-07-04 Edward Hervey <edward@fluendo.com>
28874 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28877 2005-07-04 Andy Wingo <wingo@pobox.com>
28879 * check/gst/gstpad.c: Only set explicit caps on pads.
28881 2005-07-01 Andy Wingo <wingo@pobox.com>
28883 * tests/network-clock.scm: Commentary update.
28885 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28886 Didn't really make sense, not implementable with basetransform,
28888 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28889 attempt at implementing the sync property, needs an unlock method.
28891 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28892 New func, by default returns the same caps (the identity
28894 (gst_base_transform_getcaps): Uses transform_caps to return
28895 something sensible.
28896 (gst_base_transform_setcaps): Complicated logic to get caps on
28897 both pads, even if they are different, and to call set_caps once
28898 for every time both pads get their caps set.
28899 (gst_base_transform_handle_buffer): Give the ref to the transform
28900 function. Allows in-place modification of the buffer.
28902 * gst/base/gstbasetransform.h (transform_caps): New class method.
28903 Given caps on one side, what can I do on the other.
28904 (set_caps): Take two caps, one for each side of the element.
28907 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28908 caps in place. This is safe because we can check the mutability of
28909 the caps, and a good idea because fixate functions are just called
28910 as a matter of last resort. (Not actually implemented.)
28911 (gst_pad_set_caps): If the caps we're setting is actually the same
28912 as the existing pad caps, just update the pointer without calling
28913 setcaps. Assert that caps is either NULL or fixed, as per the
28916 * gst/gstghostpad.c: Update for fixate changes.
28918 2005-07-02 Andy Wingo <wingo@pobox.com>
28921 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28922 two refcounts makes it immutable, which is enough. Doc more.
28924 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28926 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28927 Put the mini_object into GValue as a mini_object,
28928 not a gpointer, since that's how we declared
28931 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28933 * examples/pwg/Makefile.am:
28934 Fix buildbot again.
28936 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28938 * docs/pwg/building-testapp.xml:
28940 * examples/pwg/Makefile.am:
28943 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28946 * examples/Makefile.am:
28947 * examples/pwg/Makefile.am:
28948 * examples/pwg/extract.pl:
28949 Enable building the PWG examples.
28950 * docs/pwg/advanced-interfaces.xml:
28951 Add URI interface stub.
28952 * docs/pwg/advanced-types.xml:
28953 * docs/pwg/other-autoplugger.xml:
28954 * docs/pwg/appendix-porting.xml:
28955 * docs/pwg/pwg.xml:
28956 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28957 * docs/pwg/building-boiler.xml:
28958 * docs/pwg/building-chainfn.xml:
28959 * docs/pwg/building-pads.xml:
28960 * docs/pwg/building-props.xml:
28961 * docs/pwg/building-state.xml:
28962 * docs/pwg/building-testapp.xml:
28963 Update the building-*.xml parts for 0.9 changes. All examples
28964 code blocks compile in examples/pwg/*.
28966 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28968 * docs/manual/advanced-autoplugging.xml:
28969 * docs/manual/appendix-checklist.xml:
28970 * docs/manual/appendix-integration.xml:
28971 * docs/manual/highlevel-components.xml:
28972 Fix playbin/decodebin examples, update docs a bit, mention bus
28973 instead of signals in various places, mention kmplayer and
28974 kaffeine since they have a working GStreamer backend in the KDE
28977 2005-06-30 Wim Taymans <wim@fluendo.com>
28980 * docs/design/draft-ghostpads.txt:
28981 * docs/design/draft-push-pull.txt:
28982 * docs/design/draft-query.txt:
28983 * docs/design/part-TODO.txt:
28984 * docs/design/part-query.txt:
28985 Added CHANGES-0.9 doc, updated status of other docs.
28990 2005-06-30 Wim Taymans <wim@fluendo.com>
28992 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28993 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28994 (gst_base_sink_change_state):
28995 * gst/base/gstbasesink.h:
28996 Some tweaks, only EOS and a buffer complete a preroll.
28998 2005-06-30 Andy Wingo <wingo@pobox.com>
29000 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29001 activate_push down to the internal pad as well.
29003 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29005 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29007 * gst/gsttaginterface.c:
29008 Some documentation fixes (#307394 and #307397).
29010 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29012 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29014 * gst/gstvalue.c: (gst_value_intersect_list):
29015 Fix memleak (#309125).
29017 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29019 * docs/manual/advanced-dataaccess.xml:
29020 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29021 * docs/manual/basics-pads.xml:
29022 Add reference for filtered caps to above chapter.
29024 2005-06-30 Wim Taymans <wim@fluendo.com>
29026 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29027 (gst_bin_change_state):
29029 Lame attempt at making the state change function a bit
29032 2005-06-30 Wim Taymans <wim@fluendo.com>
29034 * docs/design/part-clocks.txt:
29035 * docs/design/part-element-sink.txt:
29036 * docs/design/part-events.txt:
29037 * docs/design/part-preroll.txt:
29038 * docs/design/part-states.txt:
29039 Some more tweeks and additions to the docs.
29041 2005-06-30 Wim Taymans <wim@fluendo.com>
29043 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29044 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29045 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29046 (gst_pad_check_pull_range), (gst_pad_get_range),
29047 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29049 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29050 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29051 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29052 (gst_pad_remove_buffer_probe):
29053 Removed atomic operations, use existing LOCK.
29054 Move exception handling out of main code path.
29056 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29058 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29059 (silly_return_true_function), (gst_pad_class_init),
29060 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29061 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29062 (gst_pad_send_event):
29063 Fix accumulator, add default value by using _emitv() instead
29064 of _emit() for signal emission.
29066 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29068 * docs/manual/advanced-dataaccess.xml:
29069 * examples/manual/Makefile.am:
29071 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29074 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29076 * gst/elements/gstfilesink.c: (gst_filesink_render):
29077 Simplify code so that we don't have to handle short
29078 writes and return GST_FLOW_ERROR if an error occured.
29080 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29082 * docs/gst/gstreamer-docs.sgml:
29083 Remove probes more.
29085 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29087 * docs/gst/gstreamer-sections.txt:
29088 * docs/gst/tmpl/gstpad.sgml:
29089 * docs/gst/tmpl/gstprobe.sgml:
29091 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29092 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29093 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29094 (gst_pad_push_event), (gst_pad_send_event):
29096 * gst/gstutils.c: (gst_pad_add_data_probe),
29097 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29098 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29099 (gst_pad_remove_buffer_probe):
29101 Remove old probes, add new g-signal-based probes and some utility
29104 2005-06-29 Edward Hervey <edward@fluendo.com>
29106 * gst/gstelementfactory.c:
29109 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29110 the definition to the header file.
29112 2005-06-29 Andy Wingo <wingo@pobox.com>
29114 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29115 plugins from the source directory.
29117 2005-06-29 Wim Taymans <wim@fluendo.com>
29119 * docs/gst/tmpl/gstbuffer.sgml:
29120 * docs/gst/tmpl/gstclock.sgml:
29121 Some fixings for blantently wrong text.
29123 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29125 * check/Makefile.am:
29126 * gst/gst.c: (add_path_func), (init_pre):
29127 * gst/gstregistry.c: (gst_registry_add_path):
29128 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29129 only scan the GST_PLUGIN_PATH locations, and not add
29132 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29134 * docs/gst/gstreamer-sections.txt:
29135 * docs/gst/tmpl/gstbasesrc.sgml:
29136 * gst/gstelement.c:
29137 * gst/gstelement.h:
29142 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29144 * docs/manual/advanced-autoplugging.xml:
29145 Fix autoplugging example.
29147 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29149 * docs/manual/advanced-autoplugging.xml:
29150 * docs/manual/mime-world.fig:
29151 Try to get autoplugging working, fix type detection. Fix text
29152 in hello-world image.
29154 2005-06-29 Wim Taymans <wim@fluendo.com>
29156 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29157 (gst_base_sink_change_state):
29161 map SIGNAL and BROADCAST to the right function.
29164 Remove redundant braces.
29166 * gst/gstpad.c: (gst_pad_set_caps):
29167 Don't call setcaps function when reseting caps to NULL.
29169 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29170 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29171 (gst_system_clock_id_unschedule):
29172 Use BROADCAST as this is what we do.
29174 2005-06-29 Wim Taymans <wim@fluendo.com>
29176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29177 We are actually prerolling before commiting the state
29180 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29182 * docs/manual/advanced-clocks.xml:
29183 * docs/manual/advanced-interfaces.xml:
29184 * docs/manual/advanced-metadata.xml:
29185 * docs/manual/advanced-position.xml:
29186 * docs/manual/advanced-schedulers.xml:
29187 * docs/manual/advanced-threads.xml:
29188 * docs/manual/appendix-porting.xml:
29189 * docs/manual/basics-bins.xml:
29190 * docs/manual/basics-bus.xml:
29191 * docs/manual/basics-elements.xml:
29192 * docs/manual/basics-helloworld.xml:
29193 * docs/manual/basics-pads.xml:
29194 * docs/manual/highlevel-components.xml:
29195 * docs/manual/manual.xml:
29196 * docs/manual/thread.fig:
29197 Update (until threads/scheduling) Application Development Manual;
29198 remove GstThread, add GstBus, add simple porting checklist, add
29199 documentation for tag writing, clocks, make all examples until this
29200 part compile and run.
29201 * examples/manual/Makefile.am:
29202 Update from changes to Application Development Manual; add bus
29203 example, remove thread example.
29205 2005-06-28 Wim Taymans <wim@fluendo.com>
29207 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29208 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29209 (gst_bus_source_dispatch):
29210 Add debugging messages.
29211 Make internal methods static.
29212 Handle the case where the bus is flushed in the handler.
29214 * gst/gstelement.c: (gst_element_get_bus):
29215 Fix refcount in _get_bus();
29217 * gst/gstpipeline.c: (gst_pipeline_change_state),
29218 (gst_pipeline_get_clock_func):
29219 Clock refcounting fixes.
29220 Handle the case where preroll timed out more gracefully.
29222 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29223 Clean up the internal thread in dispose. This is needed
29224 for subclasses that actually get disposed.
29226 * gst/schedulers/threadscheduler.c:
29227 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29228 (gst_thread_scheduler_dispose):
29229 Free thread pool in dispose.
29231 2005-06-28 Andy Wingo <wingo@pobox.com>
29233 * tests/network-clock-utils.scm (debug, print-event): New utils.
29235 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29236 (*packet-loss*): Unified loss probability.
29237 (network-time): Report out-of-band events.
29239 * tests/plot-data: Add support for out-of-band events. Hack it
29240 into this script instead of passing it down the pipe; should fix
29243 2005-06-28 Wim Taymans <wim@fluendo.com>
29245 * docs/gst/gstreamer.types:
29246 * docs/gst/tmpl/gstbasesrc.sgml:
29247 * docs/gst/tmpl/gstpad.sgml:
29250 2005-06-28 Wim Taymans <wim@fluendo.com>
29252 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29253 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29254 (gst_proxy_pad_do_fixatecaps):
29255 Correctly proxy the check_pull_range function.
29257 2005-06-28 Andy Wingo <wingo@pobox.com>
29259 * tests/network-clock.scm: Removed need for slib.
29261 2005-06-28 Wim Taymans <wim@fluendo.com>
29263 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29264 (gst_basesink_preroll_queue_flush):
29265 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29266 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29267 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29268 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29269 (gst_proxy_pad_set_property):
29272 * gst/gstqueue.c: (gst_queue_init):
29273 The deprecated pad loop function is removed now.
29275 2005-06-28 Andy Wingo <wingo@pobox.com>
29277 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29278 New parameters, simulate network packet loss.
29280 * tests/network-clock-utils.scm: Initialize the RNG.
29282 2005-06-28 Wim Taymans <wim@fluendo.com>
29284 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29285 (gst_basesink_event), (gst_basesink_deactivate):
29286 Flushing the preroll queue always needs to unlock the waiters.
29288 2005-06-28 Edward Hervey <edward@fluendo.com>
29290 * gst/gstpipeline.c: (gst_pipeline_send_event):
29291 Wheen a seek was successful on a pipeline, set the stream_time to the
29292 seek offset in order to have a synchronized stream_time.
29294 2005-06-28 Wim Taymans <wim@fluendo.com>
29296 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29297 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29298 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29299 (gst_proxy_pad_do_fixatecaps):
29300 Call wrapper function instead of just calling the function
29301 pointers. This takes care of any locking and whatmore.
29303 2005-06-28 Wim Taymans <wim@fluendo.com>
29305 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29306 (gst_pad_pull_range):
29308 CONNECTED -> LINKED.
29310 2005-06-28 Andy Wingo <wingo@pobox.com>
29312 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29313 source-munging commit!!!
29315 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29316 (gst_object_sink): Take gpointer arguments, not GstObject --
29317 avoids casts. Like GLib.
29319 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29322 2005-06-27 Andy Wingo <wingo@pobox.com>
29324 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29327 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29328 returns a sorted copy of the trace list.
29329 (gst_alloc_trace_print_live): New API, only prints traces with
29330 live objects. Sort the list.
29331 (gst_alloc_trace_print_all): Sort the list.
29332 (gst_alloc_trace_print): Align columns.
29334 * gst/elements/gstttypefindelement.c:
29335 * gst/elements/gsttee.c:
29336 * gst/base/gstbasesrc.c:
29337 * gst/base/gstbasesink.c:
29338 * gst/base/gstbasetransform.c:
29339 * gst/gstqueue.c: Adapt for pad activation changes.
29341 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29343 (gst_pipeline_dispose): Drop ref on sched.
29345 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29346 (gst_pad_activate_default): Push mode by default.
29347 (pre_activate_switch, post_activate_switch): New stubs, things to
29348 do before and after switching activation modes on pads.
29349 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29350 the pad's activate function to choose which mode to activate.
29351 Shortcut on deactivation and call the right function directly.
29352 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29354 (gst_pad_activate_push): New API, same for push mode.
29355 (gst_pad_set_activate_function)
29356 (gst_pad_set_activatepull_function)
29357 (gst_pad_set_activatepush_function): Setters for new API.
29359 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29360 Trace all miniobjects.
29361 (gst_mini_object_make_writable): Unref the arg if we copy, like
29362 gst_caps_make_writable.
29364 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29366 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29367 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29368 Adapt for new pad API.
29370 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29372 * gst/gstelement.h:
29373 * gst/gstelement.c (gst_element_iterate_src_pads)
29374 (gst_element_iterate_sink_pads): New API functions.
29376 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29377 should fold into gstiterator.c in some form.
29378 (gst_element_pads_activate): Simplified via use of fold and
29379 delegation of decisions to gstpad->activate.
29381 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29384 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29385 class once in init, like gstmessage. Didn't run into this issue
29386 but it seems correct. Don't initialize a trace, gstminiobject does
29389 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29390 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29392 (assert_live_count): New util function, uses alloc traces to check
29395 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29396 To be modified when unlink drops the internal pad.
29398 2005-06-27 Wim Taymans <wim@fluendo.com>
29400 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29401 (gst_bin_change_state):
29402 Cleanup the get_state() function a little, make sure it
29403 iterates the same set of elements.
29404 Added stub iterate_state_order().
29406 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29408 * docs/gst/gstreamer-docs.sgml:
29409 * docs/gst/gstreamer-sections.txt:
29410 * docs/gst/gstreamer.types:
29411 * docs/gst/tmpl/gstbasesink.sgml:
29412 * docs/gst/tmpl/gstbasesrc.sgml:
29413 * docs/gst/tmpl/gstbasetransform.sgml:
29414 * docs/gst/tmpl/gstelement.sgml:
29415 * docs/gst/tmpl/gstiterator.sgml:
29416 * gst/base/gstbasesrc.c:
29417 * gst/base/gstbasesrc.h:
29418 * gst/base/gstbasetransform.h:
29419 * gst/gstelement.c:
29420 * gst/gstiterator.h:
29421 adding basetransform and iterator docs
29423 2005-06-27 Andy Wingo <wingo@pobox.com>
29425 * docs/design/part-activation.txt: Notes on how activation should
29426 work -- not quite implemented yet.
29428 2005-06-25 Wim Taymans <wim@fluendo.com>
29430 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29431 At least get the chain function correct, needs more
29434 2005-06-25 Wim Taymans <wim@fluendo.com>
29436 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29437 (gst_basesink_handle_object), (gst_basesink_event),
29438 (gst_basesink_do_sync), (gst_basesink_handle_event),
29439 (gst_basesink_change_state):
29441 Right, two problems here: ghostpads don't take locks and
29442 glib _rec_mutex_lock_full() with depth==0 still locks.
29443 Catch illegal locking and g_warn them.
29445 2005-06-25 Wim Taymans <wim@fluendo.com>
29447 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29448 Have to check for completion now...
29450 2005-06-25 Wim Taymans <wim@fluendo.com>
29452 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29453 (gst_basesink_handle_object), (gst_basesink_event),
29454 (gst_basesink_do_sync), (gst_basesink_handle_event),
29455 (gst_basesink_change_state):
29457 Unlock STREAM_LOCK whatever the recursion was.
29459 2005-06-25 Wim Taymans <wim@fluendo.com>
29461 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29462 (gst_basesink_preroll_queue_empty),
29463 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29464 (gst_basesink_event), (gst_basesink_do_sync),
29465 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29466 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29467 (gst_basesink_change_state):
29468 Reworked the base sink, handle event and buffer serialisation
29469 correctly and removed possible deadlock.
29470 Handle EOS correctly.
29472 2005-06-25 Wim Taymans <wim@fluendo.com>
29474 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29475 (gst_pipeline_change_state):
29476 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29477 Allow elements to post EOS in the state change function.
29478 Fix up -launch, make it exit the poll loop when the
29479 pipeline actually changed state.
29480 Fix up warning parsing in -launch.
29482 2005-06-25 Wim Taymans <wim@fluendo.com>
29484 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29485 (gst_tee_sink_activate):
29486 Core takes STREAM_LOCK for us now.
29488 2005-06-25 Wim Taymans <wim@fluendo.com>
29490 * gst/gstelement.c: (gst_element_get_state_func),
29491 (gst_element_set_state):
29492 * gst/gstelement.h:
29493 * gst/gstmessage.c: (gst_message_parse_error),
29494 (gst_message_parse_warning):
29495 Keep track of current target state while performing a state
29496 change so that subclasses can do something interesting.
29497 Fix parsing of warning/error messages when GError is NULL.
29499 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29501 * docs/gst/Makefile.am:
29502 * docs/gst/gstreamer-docs.sgml:
29503 * docs/gst/gstreamer-sections.txt:
29504 * docs/gst/gstreamer.types:
29505 * docs/gst/tmpl/gstbasesink.sgml:
29506 * docs/gst/tmpl/gstbasesrc.sgml:
29507 * docs/gst/tmpl/gstbin.sgml:
29508 * docs/gst/tmpl/gstcompat.sgml:
29509 * docs/gst/tmpl/gstfakesink.sgml:
29510 * docs/gst/tmpl/gstfakesrc.sgml:
29511 * docs/gst/tmpl/gstfilesink.sgml:
29512 * docs/gst/tmpl/gstfilesrc.sgml:
29513 * docs/gst/tmpl/gstindex.sgml:
29514 * docs/manual/appendix-quotes.xml:
29515 * gst/base/gstbasesrc.h:
29516 * gst/elements/gstfakesrc.h:
29517 * gst/gstmessage.h:
29518 start pulling in base classes and elements in our docs
29520 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29522 * docs/gst/Makefile.am:
29523 * docs/libs/Makefile.am:
29524 fixed make distcheck with gtk-doc 1.3
29526 2005-06-23 Wim Taymans <wim@fluendo.com>
29528 * gst/gstelement.c: (gst_element_get_state_func),
29529 (gst_element_set_state), (gst_element_change_state):
29530 When the state did not change, also report NO_PREROLL
29533 2005-06-23 Wim Taymans <wim@fluendo.com>
29535 * gst/gstpad.c: (gst_pad_event_default):
29536 * gst/gstqueue.c: (gst_queue_loop):
29537 No unsafe task pausing please.
29539 2005-06-23 Wim Taymans <wim@fluendo.com>
29541 * gst/schedulers/threadscheduler.c:
29542 (gst_thread_scheduler_task_start),
29543 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29544 Ref the task before pushing it on the threadpool. This
29545 makes sure that we have a ref when the threadfunction is
29548 2005-06-23 Andy Wingo <wingo@pobox.com>
29550 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29551 offset is greater than the file's size.
29553 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29554 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29555 * gst/gstobject.c (gst_object_class_init): Make the class lock
29556 recursive. Wim won't let me drop deep_notify. Decodebin works
29557 again, whoopdy doo.
29559 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29560 internal pad, and hacks accordingly. Doesn't do it on the target
29561 pad because we change its caps. Probably catches all cases of
29563 (gst_ghost_pad_set_property): Connect to notify::caps as
29566 * tests/network-clock.scm (plot-simulation): Pipe data to the
29567 elite python skript.
29569 * tests/network-clock-utils.scm (define-parameter): New macro,
29570 defines a parameter that can be set via the command line.
29571 (set-parameter!, parse-parameter-arguments): Command line args
29574 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29577 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29579 * gst/elements/gsttypefindelement.c:
29580 (gst_type_find_element_handle_event):
29581 Don't restart typefinding on a discont.
29582 * gst/gstelement.c: (gst_element_set_state):
29583 Debug spelling fix.
29584 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29585 Allow changing mode of an active pad.
29586 Debug output fixes.
29587 * gst/registries/gstlibxmlregistry.c: (load_feature):
29588 Don't cast a static pad template to a normal pad template.
29590 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29592 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29593 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29594 remove gst_strtoll completely, since it didn't actually do
29595 anything more than what g_ascii_strtoull already does.
29596 check for range errors when deserializing
29597 do a cast for the unsigned cases; but further fixing needs
29598 a decision on what the interpretation of "(int)" and
29599 deserialization should be for values that fall outside the
29600 type's boundaries (ie, refuse, or interpret as casting)
29602 2005-06-23 Wim Taymans <wim@fluendo.com>
29604 * check/Makefile.am:
29605 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29606 * docs/design/part-live-source.txt:
29607 * docs/design/part-states.txt:
29608 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29609 (gst_basesrc_set_live), (gst_basesrc_is_live),
29610 (gst_basesrc_get_range), (gst_basesrc_activate),
29611 (gst_basesrc_change_state):
29612 * gst/base/gstbasesrc.h:
29613 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29614 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29615 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29616 * gst/gstelement.c: (gst_element_get_state_func),
29617 (gst_element_set_state):
29618 * gst/gstelement.h:
29620 * tools/gst-launch.c: (event_loop), (main):
29621 Added support for live sources and other elements that
29623 Updated design docs, added live-source design doc.
29624 Implemented live source functionality in basesrc
29625 Fix error condition in _bin_get_state()
29626 Implement live source handling in -launch.
29627 Added check for live sources.
29628 Fixed case in GstBin where elements were changed state
29632 2005-06-23 Andy Wingo <wingo@pobox.com>
29634 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29635 borken refcounting.
29637 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29638 gst_caps_replace takes care of this for us.
29640 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29641 gst_pad_set_caps on the target, not just its setcaps() function.
29643 * tests/network-clock.scm:
29644 * tests/network-clock-utils.scm: A network clock simulator.
29645 Something of an algorithmic testbed before doing something in C.
29647 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29649 * check/Makefile.am:
29650 * check/gst/capslist.h:
29651 copy over from 0.8, and add two with bitmasks specified with
29653 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29654 add test to parse everything from capslist.h
29655 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29657 add test for structure deserialization
29658 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29659 add tests for deserialization of strings to int types
29660 * gst/gststructure.c: (gst_structure_nth_field_name):
29661 * gst/gststructure.h:
29662 add a way to get the name of a field referenced by index
29663 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29664 instead of checking if the resulting long long lies between
29665 min and max, we check if the long long would fit into
29666 a number of bytes for the final type.
29667 This fixes cases where a string represents 2^32 - 1, which
29668 when cast to int would be the (valid) -1, but is bigger than
29671 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29673 * gst/parse/grammar.y:
29674 add a log line for type deserialization
29676 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29678 * check/gst/gstvalue.c: (START_TEST):
29679 * gst/gstvalue.c: (gst_value_deserialize):
29680 return long long, not int, so gint64 deserialization actually
29681 works. Is there any flag that makes the compiler check this ?
29684 2005-06-22 Wim Taymans <wim@fluendo.com>
29687 Added convenience macros for setting buffers in GValue.
29689 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29691 * check/gst/.cvsignore:
29692 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29693 add a test deserializing int64, and comment part out because
29696 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29698 * check/Makefile.am:
29699 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29700 * testsuite/Makefile.am:
29701 * testsuite/caps/Makefile.am:
29702 * testsuite/caps/value_serialize.c:
29703 * testsuite/test_gst_init.c:
29704 move a value_serialize test over
29706 2005-06-20 Wim Taymans <wim@fluendo.com>
29711 * gst/gstvalue.c: (gst_value_compare_buffer),
29712 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29713 (gst_value_compare_flags), (gst_value_serialize_flags),
29714 (gst_value_deserialize_flags), (_gst_value_initialize):
29715 Fix serialisation of buffers, they are not boxed types anymore
29717 2005-06-20 Wim Taymans <wim@fluendo.com>
29719 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29720 Testcase to show error in buffer-on-caps serialisation.
29722 2005-06-20 Andy Wingo <wingo@pobox.com>
29724 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29725 will be adding to later.
29727 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29728 if its socks fill with rocks.
29729 (gst_system_clock_obtain): Set the name on object construction.
29730 Avoid double-checked locking.
29732 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29734 * gst/gsturi.c: (gst_element_make_from_uri):
29735 Fix potential endless loop.
29737 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29739 * check/Makefile.am:
29741 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29743 move over from testsuite dir and clean up
29746 * testsuite/Makefile.am:
29747 * testsuite/tags/.cvsignore:
29748 * testsuite/tags/Makefile.am:
29749 * testsuite/tags/merge.c:
29750 remove testsuite/tags
29752 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29754 * docs/gst/gstreamer-sections.txt:
29755 * docs/gst/tmpl/gstenumtypes.sgml:
29756 * win32/gstenumtypes.c:
29757 clean up documentation build a little
29759 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29761 * check/gstcheck.h:
29762 add macros for checking refcounts on objects and caps
29763 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29764 add some more unit tests
29765 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29766 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29767 fix leaked refcounts (I hope :)) so unittest works
29771 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29773 * configure.ac: back to HEAD
29775 === release 0.9.1 ===
29777 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29783 2005-06-17 Andy Wingo <wingo@pobox.com>
29785 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29786 assert; it's always possible that the pad gets deactivated in
29787 between the checks in gstpad.c and the implementation. Rely on
29788 finish_preroll() to return a FLUSHING or similar instead of on the
29791 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29792 clock and post an EOS message if we come out of finish_preroll in
29795 2005-06-16 David Schleef <ds@schleef.org>
29797 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29798 (gst_capsfilter_set_property): Allow NULL as possible value
29799 for filter_caps property, indicating GST_CAPS_ANY.
29801 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29803 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29805 * gst/schedulers/Makefile.am:
29807 * gstreamer.spec.in:
29810 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29812 * gstreamer.spec.in:
29815 2005-06-08 Andy Wingo <wingo@pobox.com>
29817 * gst/gstutils.c: RPAD fixes all around.
29818 (gst_element_link_pads): Refcounting fixes.
29820 * tools/gst-inspect.c:
29821 * tools/gst-xmlinspect.c:
29823 * gst/base/gsttypefindhelper.c:
29824 * gst/base/gstbasesink.c:
29825 * gst/gstqueue.c: RPAD fixes.
29827 * gst/gstghostpad.h:
29828 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29829 pads. The tricky thing is they provide both source and sink
29830 interfaces, since they proxy the internal pad for the external
29831 pad, and vice versa. Implement with lower-level ProxyPad objects,
29832 with the interior proxy pad as a child of the exterior ghost pad.
29833 Should write a doc on this.
29835 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29836 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29839 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29840 pads are real pads. No ghost pads in this file. Not documenting
29841 the myriad s/RPAD/PAD/ and REALIZE fixes.
29842 (gst_pad_class_init): Add properties for "direction" and
29843 "template". Both are construct-only, so they can't change during
29844 the life of the pad. Fixes properly deriving from GstPad.
29845 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29846 derived objects, just set properties when creating the objects via
29848 (gst_pad_get_parent): Implement as a function, return NULL if the
29849 parent is not an element.
29850 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29851 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29853 * gst/gstobject.c (gst_object_class_init): Make name a construct
29854 property. Don't set it in the object init.
29856 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29857 with UNKNOWN direction.
29858 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29859 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29860 (gst_element_remove_pad): Remove ghost-pad special cases.
29861 (gst_element_pads_activate): Remove rpad cruft.
29863 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29864 catch the pad's-parent-not-an-element case.
29866 * gst/gst.h: Include gstghostpad.h.
29868 * gst/gst.c (init_post): No more real, ghost pads.
29870 * gst/Makefile.am: Add gstghostpad.[ch].
29872 * check/Makefile.am:
29873 * check/gst/gstbin.c:
29874 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29875 into a bin creates ghost pads, and that the refcounts are right.
29876 Partly moved from gstbin.c.
29878 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29880 * check/gst-libs/.cvsignore:
29881 * check/gst/.cvsignore:
29882 * check/pipelines/.cvsignore:
29884 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29885 (START_TEST), (cleanup_suite), (main):
29886 add some tests related to cleanup after running pipelines
29888 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29890 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29891 add a testsuite for GstBuffer
29893 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29895 * gst/gstminiobject.h:
29896 add defines for accessing the refcount
29898 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29900 * Makefile.am: added support for html unit test coverage reports
29902 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29904 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29905 Free existing caps if the capsfilter changes. Add a FIXME about
29906 setting those caps on the pads.
29908 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29909 Before adding a ghost pad to a parent bin, check that there isn't
29910 already one for the element on the bin. Prevents infinite recursion
29911 when using decodebin in parse pipelines. Andy says he'll rewrite the
29912 way this works anyway, so ignore the hack.
29914 2005-06-02 Andy Wingo <wingo@pobox.com>
29916 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29917 file size, pass it on to the type find helper.
29919 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29920 segment_start and segment_end properly according to the seek
29921 method. Segment_end is still a bit flaky because offset can be
29922 negative for CUR and END cases, but it takes -1 as an "unset"
29925 2005-06-02 Wim Taymans <wim@fluendo.com>
29927 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29928 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29929 (gst_basesink_activate):
29930 * gst/base/gstbasesink.h:
29931 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29932 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29933 (gst_pad_query), (gst_pad_start_task):
29935 * gst/gstqueue.c: (gst_queue_bufferalloc),
29936 (gst_queue_handle_sink_event), (gst_queue_chain):
29937 Bufferalloc: return GstFlowReturn to more accuratly report
29938 why allocation failed.
29940 2005-06-02 Wim Taymans <wim@fluendo.com>
29942 * gst/gstpipeline.c: (gst_pipeline_send_event):
29943 Take snapshot of state without blocking.
29945 2005-06-02 Wim Taymans <wim@fluendo.com>
29947 * docs/design/part-TODO.txt:
29948 * docs/design/part-caps.txt:
29949 * docs/design/part-clocks.txt:
29950 * docs/design/part-negotiation.txt:
29951 * docs/design/part-preroll.txt:
29954 2005-05-30 Wim Taymans <wim@fluendo.com>
29956 * gst/elements/gstidentity.c: (gst_identity_event),
29957 (gst_identity_transform), (gst_identity_get_property):
29958 Protect last_message property as it is accessed from
29961 2005-05-30 Wim Taymans <wim@fluendo.com>
29963 * gst/gstelement.c: (gst_element_init),
29964 (gst_element_pads_activate), (gst_element_change_state):
29965 Slicker pad activation code.
29967 2005-05-30 Wim Taymans <wim@fluendo.com>
29970 * gst/gstelement.h:
29971 * gst/gstelementfactory.h:
29973 Move elementfactory methods to separate .h file.
29975 2005-05-30 Wim Taymans <wim@fluendo.com>
29977 * docs/design/part-overview.txt:
29978 * gst/gstsystemclock.h:
29979 Small typo fixes, doc updates.
29981 2005-05-30 Wim Taymans <wim@fluendo.com>
29983 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29984 (init_popt_callback):
29985 Remove cpu-opt flag.
29987 2005-05-30 Wim Taymans <wim@fluendo.com>
29989 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29990 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29992 Avoid typechecking in places where not needed.
29993 Added accessor for malloc_data.
29995 2005-05-30 Wim Taymans <wim@fluendo.com>
29997 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29998 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29999 (gst_pad_configure_sink), (gst_pad_configure_src),
30000 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30001 (gst_pad_start_task):
30002 Propagate errors from _set_caps() in configure_src/sink
30003 functions instead of returning TRUE.
30004 FLUSH events can travel up and downstream
30007 2005-05-30 Wim Taymans <wim@fluendo.com>
30009 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30010 (gst_basesink_activate):
30011 Handle EOS in preroll.
30013 2005-05-30 Wim Taymans <wim@fluendo.com>
30015 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30016 (gst_queue_loop), (gst_queue_handle_src_event):
30017 Remove old pieces of code
30018 Flushing the queue in an upstream event is a very bad idea.
30020 2005-05-26 Andy Wingo <wingo@pobox.com>
30022 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30023 gst_value_set_mini_object so as to add a ref on the object (which
30024 will be removed when the value is unset).
30026 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30027 arg type in ::handoff.
30029 * gst/gstelement.c (gst_element_change_state): Also deactivate
30030 pads in READY->NULL, just in case the element didn't make it to
30031 PAUSED. Wingo tested, Wim approved.
30033 2005-05-26 Wim Taymans <wim@fluendo.com>
30035 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30036 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30037 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30038 A flushing pad cannot be used to alloc_buffer from.
30040 2005-05-26 Wim Taymans <wim@fluendo.com>
30042 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30043 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30044 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30045 (gst_bus_create_watch), (gst_bus_add_watch_full):
30047 Implement a real GSource and use g_main_context_wakeup() to
30048 signal new messages instead of the socketpair.
30050 2005-05-25 Wim Taymans <wim@fluendo.com>
30052 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30053 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30054 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30055 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30056 (gst_pad_send_event), (gst_pad_start_task):
30057 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30058 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30059 (gst_queue_sink_activate), (gst_queue_src_activate),
30060 (gst_queue_change_state):
30062 Fix state changes for non sinks. We now change sinks, then elements
30063 with unconnected srcpads, then the rest.
30064 More efficient queue unlocking in flush and state changes.
30065 Set the pad activate mode even if it does not have an activate
30068 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30070 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30071 Don't go in pull mode for non-seekable sources.
30072 * gst/elements/gsttypefindelement.h:
30073 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30074 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30075 (free_entry), (stop_typefinding),
30076 (gst_type_find_element_handle_event), (find_peek),
30077 (gst_type_find_element_chain), (do_pull_typefind),
30078 (gst_type_find_element_change_state):
30079 Allow typefinding (w/o seeking) in push-mode, simplified version
30080 of what was in 0.8.
30081 * gst/gstutils.c: (gst_buffer_join):
30083 gst_buffer_join() from 0.8.
30085 2005-05-25 Wim Taymans <wim@fluendo.com>
30087 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30088 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30089 (gst_pad_send_event), (gst_pad_start_task):
30090 Disable attempt at mode switching until it is figured out.
30092 2005-05-25 Wim Taymans <wim@fluendo.com>
30094 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30095 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30096 (gst_basesink_finish_preroll), (gst_basesink_chain),
30097 (gst_basesink_loop), (gst_basesink_activate),
30098 (gst_basesink_change_state):
30099 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30100 (gst_basesrc_get_range), (gst_basesrc_loop),
30101 (gst_basesrc_activate):
30102 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30103 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30104 (gst_real_pad_init), (gst_real_pad_set_property),
30105 (gst_real_pad_get_property), (gst_pad_set_active),
30106 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30107 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30108 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30109 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30110 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30111 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30112 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30113 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30114 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30115 (gst_pad_stop_task):
30117 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30118 (gst_queue_loop), (gst_queue_src_activate):
30119 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30120 (gst_task_get_state):
30122 * gst/schedulers/threadscheduler.c:
30123 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30124 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30126 Remove ACTIVE pad flag, use FLUSHING everywhere
30127 Added _pad_chain(), _pad_get_range() to call chain/getrange
30129 Add locks around IS_FLUSHING when reading.
30130 Take STREAM lock in chain(), get_range() functions so plugins
30131 don't need to take it anymore.
30135 2005-05-25 Wim Taymans <wim@fluendo.com>
30137 * tools/gst-launch.c: (event_loop):
30138 Unref message after using its contents instead of
30141 2005-05-24 Wim Taymans <wim@fluendo.com>
30143 * docs/design/draft-ghostpads.txt:
30144 * docs/design/draft-push-pull.txt:
30145 * docs/design/draft-query.txt:
30146 * docs/design/part-overview.txt:
30147 Docs updates, added general overview doc.
30149 2005-05-21 David Schleef <ds@schleef.org>
30151 * docs/gst/tmpl/old/GstBin.sgml:
30152 * docs/gst/tmpl/old/GstBuffer.sgml:
30153 * docs/gst/tmpl/old/GstCaps.sgml:
30154 * docs/gst/tmpl/old/GstClock.sgml:
30155 * docs/gst/tmpl/old/GstCompat.sgml:
30156 * docs/gst/tmpl/old/GstData.sgml:
30157 * docs/gst/tmpl/old/GstElement.sgml:
30158 * docs/gst/tmpl/old/GstEvent.sgml:
30159 * docs/gst/tmpl/old/GstIndex.sgml:
30160 * docs/gst/tmpl/old/GstStructure.sgml:
30161 * docs/gst/tmpl/old/GstTag.sgml:
30162 * docs/gst/tmpl/old/cothreads.sgml:
30163 * docs/gst/tmpl/old/cothreads_compat.sgml:
30164 * docs/gst/tmpl/old/gettext.sgml:
30165 * docs/gst/tmpl/old/gobject2gtk.sgml:
30166 * docs/gst/tmpl/old/grammar.tab.sgml:
30167 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30168 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30169 * docs/gst/tmpl/old/gst_private.sgml:
30170 * docs/gst/tmpl/old/gstaggregator.sgml:
30171 * docs/gst/tmpl/old/gstarch.sgml:
30172 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30173 * docs/gst/tmpl/old/gstbufferstore.sgml:
30174 * docs/gst/tmpl/old/gstdata_private.sgml:
30175 * docs/gst/tmpl/old/gstdisksink.sgml:
30176 * docs/gst/tmpl/old/gstdisksrc.sgml:
30177 * docs/gst/tmpl/old/gstelementfactory.sgml:
30178 * docs/gst/tmpl/old/gstextratypes.sgml:
30179 * docs/gst/tmpl/old/gstfakesink.sgml:
30180 * docs/gst/tmpl/old/gstfakesrc.sgml:
30181 * docs/gst/tmpl/old/gstfdsink.sgml:
30182 * docs/gst/tmpl/old/gstfdsrc.sgml:
30183 * docs/gst/tmpl/old/gstfilesink.sgml:
30184 * docs/gst/tmpl/old/gstfilesrc.sgml:
30185 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30186 * docs/gst/tmpl/old/gstidentity.sgml:
30187 * docs/gst/tmpl/old/gstindexfactory.sgml:
30188 * docs/gst/tmpl/old/gstmarshal.sgml:
30189 * docs/gst/tmpl/old/gstmd5sink.sgml:
30190 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30191 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30192 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30193 * docs/gst/tmpl/old/gstpipefilter.sgml:
30194 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30195 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30196 * docs/gst/tmpl/old/gstshaper.sgml:
30197 * docs/gst/tmpl/old/gstspider.sgml:
30198 * docs/gst/tmpl/old/gstspideridentity.sgml:
30199 * docs/gst/tmpl/old/gststatistics.sgml:
30200 * docs/gst/tmpl/old/gsttee.sgml:
30201 * docs/gst/tmpl/old/gsttimecache.sgml:
30202 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30203 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30204 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30205 * docs/gst/tmpl/old/types.sgml:
30206 I didn't intend to add these or check them in.
30208 2005-05-19 David Schleef <ds@schleef.org>
30210 * configure.ac: Use -no-common everywhere. In a sane world, it
30211 would be the default in libtool, because without it, you can't
30212 build DLLs on Windows.
30213 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30214 * docs/gst/gstreamer-sections.txt:
30215 * docs/gst/tmpl/gstcpu.sgml:
30216 * docs/gst/tmpl/gstdata.sgml:
30217 * docs/gst/tmpl/gstthread.sgml:
30219 2005-05-19 David Schleef <ds@schleef.org>
30221 * gst/gstminiobject.c: (gst_value_set_mini_object),
30222 (gst_value_take_mini_object), (gst_value_get_mini_object):
30223 * gst/gstminiobject.h: Add GValue set/get functions.
30225 2005-05-19 Wim Taymans <wim@fluendo.com>
30227 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30228 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30229 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30231 * gst/gstbus.c: (gst_bus_post):
30232 * gst/gstelement.c: (gst_element_get_random_pad):
30233 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30234 Make subbufer unref the parent in finalize.
30235 some more debugging info.
30238 2005-05-19 Wim Taymans <wim@fluendo.com>
30240 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30241 (gst_basesink_init), (gst_basesink_finalize),
30242 (gst_basesink_activate), (gst_basesink_change_state):
30243 Don't free preroll queue too early.
30245 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30249 Hi, I'm outdated. Please shoot me.
30251 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30253 * gst/gstpipeline.c: (gst_pipeline_send_event):
30254 Do not access variables after they have been deleted.
30256 2005-05-19 Wim Taymans <wim@fluendo.com>
30258 * tools/gst-inspect.c: (print_plugin_features):
30259 A plugin feature does unfortunatly not use the
30262 2005-05-18 Wim Taymans <wim@fluendo.com>
30264 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30265 Port _span() functions to new subbuffers.
30267 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30269 * gst/gstbin.c: (gst_bin_add_func):
30270 Fix clock settery in bins when adding kids after the clock has
30273 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30275 * gst/elements/gstidentity.c: (gst_identity_class_init):
30276 Workaround until signals support GstMiniObject.
30278 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30281 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30283 2005-05-18 Wim Taymans <wim@fluendo.com>
30285 * gst/base/Makefile.am:
30286 * gst/base/gstadapter.c: (gst_adapter_base_init),
30287 (gst_adapter_class_init), (gst_adapter_init),
30288 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30289 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30290 (gst_adapter_flush), (gst_adapter_available),
30291 (gst_adapter_available_fast):
30292 * gst/base/gstadapter.h:
30293 Ported and added adapter to the base classes.
30295 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30298 * gst/gstmessage.c:
30299 Make sure the class is reffed/unreffed once before threads can be
30300 used. Fixes #304551.
30302 2005-05-17 Wim Taymans <wim@fluendo.com>
30304 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30305 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30306 * gst/gstminiobject.c: (gst_mini_object_get_type),
30307 (gst_mini_object_free):
30308 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30309 (gst_pad_push), (gst_pad_push_event):
30310 * gst/gstqueue.c: (gst_queue_change_state):
30311 Don't queue buffers in basesink when we are flushing.
30312 Unref buffer when flushing in basesink.
30313 Flush queue when going to READY
30314 Unref buffer when _push() returns an error.
30315 Don't free MiniObject instance when refcount is incremented
30316 in _finalize() so that we can recover objects.
30318 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30320 * docs/manual/advanced-schedulers.xml:
30321 * docs/manual/appendix-checklist.xml:
30322 * docs/pwg/advanced-clock.xml:
30323 * docs/pwg/advanced-interfaces.xml:
30324 * docs/pwg/advanced-request.xml:
30325 * docs/pwg/advanced-types.xml:
30326 * docs/pwg/intro-preface.xml:
30327 * examples/plugins/example.c: (gst_example_get_type),
30328 (gst_example_class_init), (gst_example_chain),
30329 (gst_example_set_property), (gst_example_get_property),
30330 (gst_example_change_state), (plugin_init):
30331 * examples/plugins/example.h:
30334 2005-05-17 Wim Taymans <wim@fluendo.com>
30336 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30337 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30338 * gst/gstqueue.c: (gst_queue_change_state):
30339 Clear queue when going to READY.
30340 Remove IN_SETCAPS flag too.
30342 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30344 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30345 Remove implicit cast from gboolean to GstElementStateReturn;
30346 make sure we still return failure in paused => ready case if
30347 the parent class fails to change state and our own stop
30350 2005-05-17 Wim Taymans <wim@fluendo.com>
30352 * tools/gst-launch.c: (event_loop):
30353 Message was unreffed too soon.
30355 2005-05-16 Andy Wingo <wingo@pobox.com>
30357 * gst/gstbin.c (sink_iterator_filter): Err... um...
30359 * check/gst/gstbin.c (test_ghost_pads): New test for the
30360 ghosting-if-elements-not-in-same-bin behavior.
30362 2005-05-16 David Schleef <ds@schleef.org>
30364 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30365 accessing refcount directly.
30367 2005-05-15 David Schleef <ds@schleef.org>
30369 * check/Makefile.am: remove GstData checks
30370 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30371 * gst/Makefile.am: add miniobject, remove data
30372 * gst/gst.h: add miniobject, remove data
30373 * gst/gstdata.c: remove
30374 * gst/gstdata.h: remove
30375 * gst/gstdata_private.h: remove
30376 * gst/gsttypes.h: remove GstEvent and GstMessage
30377 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30378 * gst/gstmarshal.list: change BOXED -> OBJECT
30380 Implement GstMiniObject.
30381 * gst/gstminiobject.c:
30382 * gst/gstminiobject.h:
30384 Modify to be subclasses of GstMiniObject.
30385 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30386 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30387 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30388 (gst_subbuffer_get_type), (gst_subbuffer_init),
30389 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30392 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30393 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30394 (_gst_event_copy), (gst_event_new):
30396 * gst/gstmessage.c: (_gst_message_initialize),
30397 (gst_message_get_type), (gst_message_class_init),
30398 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30399 (gst_message_new), (gst_message_new_error),
30400 (gst_message_new_warning), (gst_message_new_tag),
30401 (gst_message_new_state_changed), (gst_message_new_application):
30402 * gst/gstmessage.h:
30403 * gst/gstprobe.c: (gst_probe_perform),
30404 (gst_probe_dispatcher_dispatch):
30406 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30407 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30408 (_gst_query_copy), (gst_query_new):
30410 Update elements for GstData -> GstMiniObject changes
30412 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30413 (gst_queue_chain), (gst_queue_loop):
30414 * gst/elements/gstbufferstore.c:
30415 (gst_buffer_store_add_buffer_func),
30416 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30417 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30418 (gst_fakesink_render):
30419 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30420 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30421 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30422 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30423 (gst_filesrc_create_read):
30424 * gst/elements/gstidentity.c: (gst_identity_class_init):
30425 * gst/elements/gsttypefindelement.c:
30426 (gst_type_find_element_src_event), (free_entry_buffers),
30427 (gst_type_find_element_handle_event):
30428 * libs/gst/dataprotocol/dataprotocol.c:
30429 (gst_dp_header_from_buffer):
30430 * libs/gst/dataprotocol/dataprotocol.h:
30431 * libs/gst/dataprotocol/dp-private.h:
30433 2005-05-15 David Schleef <ds@schleef.org>
30435 * gst/elements/gstelements.c: Don't include headers that were
30438 2005-05-15 David Schleef <ds@schleef.org>
30440 * gst/elements/Makefile.am: Remove some elements that don't
30441 need to be in the core (or even exist at all).
30442 * gst/elements/gstaggregator.c:
30443 * gst/elements/gstaggregator.h:
30444 * gst/elements/gstmd5sink.c:
30445 * gst/elements/gstmd5sink.h:
30446 * gst/elements/gstmultifilesrc.c:
30447 * gst/elements/gstmultifilesrc.h:
30448 * gst/elements/gstpipefilter.c:
30449 * gst/elements/gstpipefilter.h:
30450 * gst/elements/gstshaper.c:
30451 * gst/elements/gstshaper.h:
30452 * gst/elements/gststatistics.c:
30453 * gst/elements/gststatistics.h:
30454 * po/POTFILES.in: Remove above files.
30456 2005-05-14 Andy Wingo <wingo@pobox.com>
30458 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30459 so as to get the refs right.
30460 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30461 unreffing objects that don't pass the filter.
30463 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30464 gst_element_set_bus.
30465 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30466 normal cases, this will destroy the bus.
30468 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30471 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30474 2005-05-13 Andy Wingo <wingo@pobox.com>
30476 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30477 gst_pad_link, call pad_link_maybe_ghosting,
30478 (pad_link_maybe_ghosting): Links pads, making sure that the
30479 elements being linked are in the same bin.
30480 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30481 Helpers for pad_link_maybe_ghosting.
30483 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30486 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30488 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30490 * docs/design/part-element-source.txt:
30493 2005-05-12 Wim Taymans <wim@fluendo.com>
30495 * gst/base/gstbasesink.c: (gst_basesink_init),
30496 (gst_basesink_activate):
30497 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30498 (gst_basesrc_is_seekable):
30499 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30500 (bin_element_is_sink), (gst_bin_change_state):
30501 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30502 * gst/gstelement.h:
30503 Identify sinks by their flag to avoid overly complicated
30505 Do state changes even for elements not reachable from the
30507 BaseSink is a sink now :)
30508 Some more debugging info in the basesrc.
30511 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30513 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30514 Implement _query on a bin, similar to _send_event.
30516 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30518 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30519 Discont event offset format should be GST_FORMAT_BYTES,
30520 not GST_FORMAT_TIME.
30522 2005-05-12 Wim Taymans <wim@fluendo.com>
30524 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30525 Same fix as Ronald's but without the signal.
30527 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30529 * gst/gstutils.c: (gst_element_query_position):
30530 No, an element is not a pad.
30532 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30534 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30535 (gst_bin_get_state):
30536 If a child is removed from a bin while we remove the child from
30537 the bin and while we're retrieving its state, signal this to the
30538 get_state function so we abort the wait (instead of waiting for
30539 a timeout) and can immediately re-iterate over all other elements.
30541 2005-05-12 Wim Taymans <wim@fluendo.com>
30543 * gst/base/Makefile.am:
30544 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30545 (gst_basesrc_start):
30546 * gst/base/gstbasesrc.h:
30547 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30548 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30549 (gst_pushsrc_init), (gst_pushsrc_create):
30550 * gst/base/gstpushsrc.h:
30551 Added is_seekable to BaseSrc
30552 Added simple PushSrc.
30554 2005-05-11 Wim Taymans <wim@fluendo.com>
30556 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30557 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30558 (gst_element_link_pads), (gst_element_query_position),
30559 (gst_element_query_convert), (intersect_caps_func),
30560 (gst_pad_query_position), (gst_pad_query_convert):
30561 Fix refcounting in utils function.
30562 No point in trying to activate a pad when it's added, it could
30563 be added from the state change function and then we deadlock, the
30564 element has to decide what to do.
30566 2005-05-10 Andy Wingo <wingo@pobox.com>
30568 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30569 *all* the arguments.
30571 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30572 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30573 lock (according to the docs -- if this is wrong change the docs).
30575 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30576 flush messages in the NULL state.
30578 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30579 message immediately and return.
30580 (gst_bus_set_flushing): New function. If a bus is flushing, it
30581 flushes out any queued messages and immediately unrefs new
30582 messages. This is so when an element goes to NULL, all of the
30583 unhandled messages coming from it can be freed, and their
30584 references to the element dropped. In other words: message source
30585 ref considered harmful :P
30587 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30588 we're finished with it.
30590 * gst/gstmessage.c (gst_message_new_state_changed):
30592 2005-05-10 Wim Taymans <wim@fluendo.com>
30594 * gst/gstvalue.c: (gst_value_compare_flags),
30595 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30596 (_gst_value_initialize):
30597 Added flags serialize/deserialize/compare code.
30599 2005-05-09 Andy Wingo <wingo@pobox.com>
30601 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30602 Intersect the peer's caps with our caps.
30604 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30606 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30607 * gst/elements/gsttypefindelement.c: (find_peek):
30608 Handle negative offsets better. Fixes decodebin.
30610 2005-05-09 Wim Taymans <wim@fluendo.com>
30612 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30613 (gst_base_transform_event):
30614 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30615 Implement accept_caps.
30616 Fix silly lock/unlock mismatch in base class.
30618 2005-05-09 Wim Taymans <wim@fluendo.com>
30620 * docs/design/draft-push-pull.txt:
30621 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30622 * gst/elements/gstfilesink.c: (gst_filesink_init),
30623 (gst_filesink_query):
30624 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30625 (gst_type_find_handle_src_query), (find_element_get_length):
30626 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30627 * gst/gstelement.h:
30628 * gst/gstmessage.c:
30629 * gst/gstmessage.h:
30630 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30631 (gst_real_pad_get_caps_unlocked),
30632 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30633 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30634 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30635 (gst_real_pad_dispose), (gst_real_pad_finalize),
30636 (gst_pad_load_and_link), (gst_pad_save_thyself),
30637 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30638 (gst_pad_check_pull_range), (gst_pad_pull_range),
30639 (gst_pad_template_get_type), (gst_pad_template_class_init),
30640 (gst_pad_template_init), (gst_pad_template_dispose),
30641 (name_is_valid), (gst_static_pad_template_get),
30642 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30643 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30644 (gst_pad_get_element_private), (gst_pad_start_task),
30645 (gst_pad_pause_task), (gst_pad_stop_task),
30646 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30647 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30648 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30649 (gst_ghost_pad_new):
30651 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30652 (gst_query_new_position), (gst_query_set_position),
30653 (gst_query_parse_position), (gst_query_new_convert),
30654 (gst_query_set_convert), (gst_query_parse_convert):
30656 * gst/gstqueryutils.c:
30657 * gst/gstqueryutils.h:
30658 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30659 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30660 (gst_queue_handle_src_query):
30661 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30662 (gst_element_query_position), (gst_element_query_convert),
30663 (intersect_caps_func), (gst_pad_query_position),
30664 (gst_pad_query_convert):
30666 * tools/gst-inspect.c: (print_pad_info):
30667 * tools/gst-xmlinspect.c: (print_element_info):
30668 Remove old query functions. Ported old code.
30669 Added position/convert helper functions to gstutils.
30670 Reordered gstpad.c code, grouping relevant things.
30671 Remove gst_message_new(), always need to speficy a specific
30675 2005-05-09 Andy Wingo <wingo@pobox.com>
30677 * gst/gstiterator.h: Add some includes.
30679 * gst/gstqueryutils.h: Include more headers.
30682 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30683 some uses of gst_pad_query.
30685 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30686 NULL out parameters.
30687 (gst_query_new_position): New proc, allocates a new position
30690 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30691 gstqueryutils.c to the build.
30693 * gst/gststructure.c (gst_structure_set_valist): Implement with
30694 the generic G_VALUE_COLLECT.
30696 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30698 * gst/Makefile.am: (gst_headers):
30699 Added gstqueryutils.h to the list of headers to install, that was
30700 a 'nachty' move wingo :)
30702 2005-05-06 Andy Wingo <wingo@pobox.com>
30705 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30706 GstData, init a memchunk.
30707 (standard_definitions): Add a few query types, deprecate a few.
30708 (gst_query_get_type): New proc.
30709 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30711 (gst_query_new_application, gst_query_get_structure): New public
30714 * docs/design/draft-query.txt: Removed LINKS from the query types,
30715 because all the rest can be dispatched to other pads -- seemed
30716 ugly to have a query that couldn't be dispatched. internal_links
30717 is fine as a pad method.
30719 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30720 in gstpad.c, but maintain binary compatibility for the moment.
30721 Will fix before 0.9 is out.
30723 * gst/gstqueryutils.c:
30724 * gst/gstqueryutils.h: New files, implement 3 methods for each
30725 query type: parse_query, parse_response, and set. Probably need an
30728 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30730 * gst/elements/gstfilesink.c (gst_filesink_query2):
30731 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30732 query_types, and formats methods.
30734 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30735 (gst_pad_set_query2_function): New functions.
30736 (gst_real_pad_init): Set query2_default as the default query2
30737 function. Basically just dispatches to internally linked pads.
30741 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30742 without using the atomic operations. Only one thread can possibly
30743 be accessing the data at this point. Changed so as to avoid
30744 gst_atomic operations.
30746 2005-05-06 Wim Taymans <wim@fluendo.com>
30748 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30749 Also set caps if we use the fallback buffer alloc.
30751 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30753 * docs/gst/Makefile.am:
30754 * docs/gst/gstreamer-docs.sgml:
30755 * docs/gst/gstreamer-sections.txt:
30756 * docs/gst/tmpl/gstatomic.sgml:
30757 * docs/gst/tmpl/gstmemchunk.sgml:
30758 * testsuite/elements/struct_i386.h:
30759 * win32/GStreamer.vcproj:
30761 Purge GstAtomic stuff from docs and win32 makefiles as well
30763 2005-05-06 Wim Taymans <wim@fluendo.com>
30765 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30766 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30767 * gst/gstpad.c: (gst_pad_peer_get_caps):
30768 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30769 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30770 (gst_queue_src_activate), (gst_queue_change_state):
30772 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30773 (intersect_caps_func):
30774 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30775 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30776 Some fixes for the peer_get_caps() change.
30778 2005-05-06 Wim Taymans <wim@fluendo.com>
30780 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30781 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30782 (gst_basesink_activate):
30783 Actually do something with error codes returned from the push
30786 2005-05-06 Wim Taymans <wim@fluendo.com>
30788 * docs/design/part-element-sink.txt:
30789 * docs/design/part-element-source.txt:
30790 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30791 (gst_basesink_event), (gst_basesink_activate):
30792 * gst/base/gstbasesink.h:
30793 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30794 (gst_basesrc_activate):
30795 * gst/base/gstbasesrc.h:
30796 * gst/gstelement.c: (gst_element_pads_activate):
30797 Some more documentation.
30798 Fixed scheduling decision in _pads_activate().
30800 2005-05-05 Andy Wingo <wingo@pobox.com>
30802 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30805 2005-05-05 Wim Taymans <wim@fluendo.com>
30807 * gst/base/Makefile.am:
30808 * gst/base/gstbasesink.h:
30809 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30810 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30811 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30812 (gst_collectpads_class_init), (gst_collectpads_init),
30813 (gst_collectpads_finalize), (gst_collectpads_new),
30814 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30815 (find_pad), (gst_collectpads_remove_pad),
30816 (gst_collectpads_is_active), (gst_collectpads_collect),
30817 (gst_collectpads_collect_range), (gst_collectpads_start),
30818 (gst_collectpads_stop), (gst_collectpads_peek),
30819 (gst_collectpads_pop), (gst_collectpads_available),
30820 (gst_collectpads_read), (gst_collectpads_flush),
30821 (gst_collectpads_chain):
30822 * gst/base/gstcollectpads.h:
30823 * gst/elements/Makefile.am:
30824 * gst/elements/gstelements.c:
30825 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30826 (gst_fakesink_get_times), (gst_fakesink_event),
30827 (gst_fakesink_preroll), (gst_fakesink_render):
30828 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30829 (gst_filesink_init), (gst_filesink_set_location),
30830 (gst_filesink_open_file), (gst_filesink_close_file),
30831 (gst_filesink_pad_query), (gst_filesink_event),
30832 (gst_filesink_render), (gst_filesink_change_state):
30833 * gst/elements/gstfilesink.h:
30834 Added object to help in making collect pad based elements.
30836 Make event function in sink baseclass return gboolean.
30838 2005-05-05 Wim Taymans <wim@fluendo.com>
30840 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30841 (gst_bin_get_by_name):
30843 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30844 (gst_clock_finalize):
30845 * gst/gstdata.c: (gst_data_replace):
30847 * gst/gstelement.c: (gst_element_request_pad),
30848 (gst_element_pads_activate):
30849 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30850 (gst_object_unref):
30851 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30852 (gst_pad_set_checkgetrange_function),
30853 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30854 (gst_pad_check_pull_range), (gst_pad_pull_range),
30855 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30856 (gst_pad_pause_task), (gst_pad_stop_task):
30857 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30858 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30859 Fix name lookup in GstBin.
30860 Added _data_replace() function and _buffer_replace()
30861 Use finalize method to clean up clock.
30862 Fix refcounting on request pads.
30863 Fix pad schedule mode error.
30864 Some more object refcounting debug info,
30867 2005-05-04 Andy Wingo <wingo@pobox.com>
30869 * check/Makefile.am:
30870 * docs/gst/tmpl/gstatomic.sgml:
30871 * docs/gst/tmpl/gstplugin.sgml:
30872 * gst/base/gstbasesink.c: (gst_basesink_activate):
30873 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30874 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30875 (gst_basesrc_query), (gst_basesrc_set_property),
30876 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30877 (gst_basesrc_activate):
30878 * gst/base/gstbasesrc.h:
30879 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30880 (gst_base_transform_src_activate):
30881 * gst/elements/gstelements.c:
30882 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30883 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30884 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30885 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30886 (gst_type_find_element_checkgetrange),
30887 (gst_type_find_element_activate):
30888 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30889 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30890 (gst_caps_load_thyself):
30891 * gst/gstelement.c: (gst_element_pads_activate),
30892 (gst_element_save_thyself), (gst_element_restore_thyself):
30893 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30894 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30896 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30897 (gst_xml_parse_file), (gst_xml_parse_memory),
30898 (gst_xml_get_element), (gst_xml_make_element):
30899 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30900 (_file_index_id_save_xml), (gst_file_index_commit):
30901 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30902 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30904 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30905 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30906 * tools/gst-complete.c: (main):
30907 * tools/gst-compprep.c: (main):
30908 * tools/gst-inspect.c: (print_element_properties_info):
30909 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30910 * tools/gst-xmlinspect.c: (print_element_properties):
30913 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30915 * gst/gstplugin.c: (gst_plugin_check_module),
30916 (gst_plugin_check_file), (gst_plugin_load_file):
30917 apply patch from #172526 to make register work on MacOSX
30919 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30921 * docs/gst/tmpl/gstconfig.sgml:
30922 * gst/gstconfig.h.in:
30923 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30924 * testsuite/debug/printf_extension.c: (main):
30925 Do not use GST_PTR_FORMAT on pointers to types with
30926 sizeof < sizeof(gpointer). Fixes test on 64-bit
30927 * testsuite/elements/property.h:
30928 use correct printf format
30930 2005-05-02 Wim Taymans <wim@fluendo.com>
30932 * docs/design/draft-push-pull.txt:
30933 * docs/design/draft-query.txt:
30934 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30935 (gst_basesrc_start):
30936 Added draft for new query API.
30937 Added draft for better selecting scheduling methods.
30938 Make basesrc ignore length if the subclass does not support
30941 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30944 possible fixes for automake-1.5 - _LIBADD is reserved
30946 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30948 * docs/faq/Makefile.am:
30949 * docs/manual/Makefile.am:
30950 * docs/manuals.mak:
30951 * docs/pwg/Makefile.am:
30953 possible fixes for automake-1.5
30955 2005-04-28 Wim Taymans <wim@fluendo.com>
30957 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30958 (gst_basesink_pad_getcaps), (gst_basesink_init),
30959 (gst_basesink_do_sync):
30960 * gst/gstclock.c: (gst_clock_entry_new):
30961 * gst/gstevent.c: (gst_event_discont_get_value):
30962 * gst/gstpipeline.c: (pipeline_bus_handler),
30963 (gst_pipeline_change_state):
30964 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30965 Better debugging of clocking info.
30966 Allow NULL values when getting discont values.
30968 2005-04-27 Wim Taymans <wim@fluendo.com>
30970 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30971 * check/gst/gstpad.c: (gst_pad_suite):
30972 Increase timeout for checks.
30974 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30976 * check/Makefile.am:
30977 fix the broken rule for cleanup. Apparently this rule is
30978 only needed on FC2, so maybe this warrants further autotool
30981 2005-04-26 Wim Taymans <wim@fluendo.com>
30983 * gst/gsttrashstack.h:
30984 Ooohh. a nasty one! After having a failed pop() from the stack,
30985 it's possible that the stack is empty. In that case, don't
30986 follow the NULL pointer.
30988 2005-04-25 Wim Taymans <wim@fluendo.com>
30990 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30991 (gst_pad_set_checkgetrange_function),
30992 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30993 (gst_pad_check_pull_range), (gst_pad_pull_range),
30994 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30995 (gst_pad_pause_task), (gst_pad_stop_task):
30996 * gst/gstplugin.c: (gst_plugin_load):
30998 Remove gst_library_load as it does more harm than good with
30999 the new g_module flags.
31000 Revert bogus caps template check in pad linking, pad caps
31001 are important when linking not the template, which is more
31002 general than the current caps.
31004 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31006 * gst/autoplug/.cvsignore:
31007 * gst/autoplug/Makefile.am:
31008 * gst/autoplug/gstsearchfuncs.c:
31009 * gst/autoplug/gstsearchfuncs.h:
31010 * gst/autoplug/gstspider.c:
31011 * gst/autoplug/gstspider.h:
31012 * gst/autoplug/gstspideridentity.c:
31013 * gst/autoplug/gstspideridentity.h:
31014 * gst/autoplug/spidertest.c:
31017 2005-04-25 Wim Taymans <wim@fluendo.com>
31019 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31020 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31021 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31022 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31024 Added stubs for unimplemented functions.
31026 2005-04-24 David Schleef <ds@schleef.org>
31028 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31031 2005-04-24 David Schleef <ds@schleef.org>
31033 Convert everything from GstAtomicInt to g_atomic_int_*, and
31038 * gst/gstatomic_impl.h:
31046 * gst/gstdata_private.h:
31050 * gst/gstmessage.c:
31053 * gst/gststructure.c:
31054 * gst/gststructure.h:
31055 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31058 2005-04-24 David Schleef <ds@schleef.org>
31060 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31061 make the regressions tests work. Remove some code that is no
31063 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31064 Disable warning for pads without templates.
31066 2005-04-24 David Schleef <ds@schleef.org>
31068 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31069 functions that handle filtered links.
31070 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31072 * gst/gstutils.c: Fix/remove utility functions that handle
31075 * gst/gstvalue.c: Add serialization/deserialization of caps
31076 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31077 requires fixing so that the filter caps notation creates
31078 a capsfilter element and sets the filter_caps property. I
31079 think everyone probably wants to keep the shorthand notation.
31080 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31081 * docs/gst/tmpl/gstpad.sgml:
31083 * gst/elements/gstelements.c: Register capsfilter element.
31084 * gst/Makefile.am: fix spacing
31085 * docs/random/ds/0.9-suggested-changes: random
31087 2005-04-23 David Schleef <ds@schleef.org>
31089 * gst/elements/Makefile.am:
31090 * gst/elements/gstcapsfilter.c: New element that acts like an
31091 identity, but filters caps. Will eventually replace filtered
31092 caps in pad linking.
31093 * gst/gstutils.c: (gst_element_create_all_pads): New function
31094 to create all the ALWAYS pads that are registered with an
31095 element class. This functionality should eventually be
31096 merged in with GstElement initialization.
31098 * testsuite/trigger/README: part of trigger test code that should
31099 have been checked in a long time ago.
31101 2005-04-23 David Schleef <ds@schleef.org>
31103 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31104 needed with new versions of libtool (nobody will confirm this),
31105 and hard to carry around.
31106 * gst/autoplug/Makefile.am:
31107 * gst/base/Makefile.am:
31108 * gst/elements/Makefile.am:
31109 * gst/indexers/Makefile.am:
31110 * gst/schedulers/Makefile.am:
31111 * libs/gst/bytestream/Makefile.am:
31112 * libs/gst/control/Makefile.am:
31113 * libs/gst/dataprotocol/Makefile.am:
31114 * libs/gst/getbits/Makefile.am:
31116 2005-04-21 Wim Taymans <wim@fluendo.com>
31118 * docs/design/draft-push-pull.txt:
31119 * docs/design/part-MT-refcounting.txt:
31120 * docs/design/part-TODO.txt:
31121 * docs/design/part-caps.txt:
31122 * docs/design/part-events.txt:
31123 * docs/design/part-gstbus.txt:
31124 * docs/design/part-gstpipeline.txt:
31125 * docs/design/part-messages.txt:
31126 * docs/design/part-push-pull.txt:
31127 * docs/design/part-query.txt:
31130 2005-04-21 Wim Taymans <wim@fluendo.com>
31132 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31133 (gst_message_new), (gst_message_new_error),
31134 (gst_message_new_warning), (gst_message_new_tag),
31135 (gst_message_new_state_changed), (gst_message_new_application),
31136 (gst_message_get_structure):
31137 * gst/gstmessage.h:
31138 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31139 (gst_structure_copy_conditional):
31140 Use parent refcount in GstMessage to ensure GstStructure
31142 Cleaned up headers a bit.
31145 2005-04-20 Wim Taymans <wim@fluendo.com>
31147 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31148 (gst_basesink_pad_getcaps), (gst_basesink_init),
31149 (gst_basesink_chain_unlocked):
31150 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31151 (gst_type_find_helper):
31152 * gst/elements/gsttypefindelement.c:
31153 (gst_type_find_element_have_type), (gst_type_find_element_init),
31154 (stop_typefinding), (gst_type_find_element_handle_event),
31155 (find_suggest), (gst_type_find_element_chain),
31156 (gst_type_find_element_checkgetrange),
31157 (gst_type_find_element_getrange), (do_typefind),
31158 (gst_type_find_element_activate):
31159 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31160 (gst_buffer_default_free), (gst_buffer_default_copy),
31161 (gst_buffer_set_caps):
31162 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31163 (gst_caps_replace):
31164 * gst/gstmessage.c: (gst_message_new),
31165 (gst_message_new_state_changed):
31166 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31167 (gst_pad_set_checkgetrange_function),
31168 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31169 (gst_pad_set_caps), (gst_pad_check_pull_range),
31170 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31172 * gst/gsttypefind.c: (gst_type_find_register):
31173 Make gst_caps_replace() work like other _replace() functions.
31174 Use _caps_replace() where possible.
31175 Make sure _message_new() initialises its field.
31176 Add gst_static_pad_template_get_caps()
31179 2005-04-18 Andy Wingo <wingo@pobox.com>
31181 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31182 on the peer, not the pad. I think that was a typo. Pass an extra
31183 arg to see if random access is possible. Activate the pads as
31184 PULL_RANGE if possible.
31186 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31188 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31189 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31192 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31194 * docs/faq/using.xml:
31195 Add note on gstreamer-properties (#154996).
31197 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31199 * docs/random/bbb/optional-properties:
31200 Some analysis on optional properties.
31202 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31204 * docs/gst/tmpl/gstelementfactory.sgml:
31205 * gst/gstelement.h:
31206 * gst/gstelementfactory.c: (gst_element_factory_init),
31207 (gst_element_factory_cleanup), (gst_element_register),
31208 (__gst_element_factory_add_static_pad_template),
31209 (gst_element_factory_get_static_pad_templates),
31210 (gst_element_factory_can_src_caps),
31211 (gst_element_factory_can_sink_caps):
31212 * gst/registries/Makefile.am:
31213 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31214 (gst_xml_registry_class_init), (gst_xml_registry_init),
31215 (gst_xml_registry_new), (gst_xml_registry_set_property),
31216 (gst_xml_registry_get_property), (get_time), (make_dir),
31217 (gst_xml_registry_get_perms_func),
31218 (plugin_times_older_than_recurse), (plugin_times_older_than),
31219 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31220 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31221 (add_to_char_array), (read_string), (read_uint), (read_enum),
31222 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31223 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31224 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31225 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31226 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31227 (gst_xml_registry_rebuild):
31228 * gst/registries/gstlibxmlregistry.h:
31229 * tools/gst-compprep.c: (main):
31230 * tools/gst-inspect.c: (print_pad_templates_info):
31231 * tools/gst-xmlinspect.c: (print_element_info):
31232 Use libxml2 for registry parsing, use staticpadtemplates in
31233 elementfactories. Makes gst_init() +/- 10x faster.
31235 2005-04-12 Wim Taymans <wim@fluendo.com>
31237 * gst/base/Makefile.am:
31238 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31239 (gst_basesink_pad_getcaps), (gst_basesink_init),
31240 (gst_basesink_event), (gst_basesink_change_state):
31241 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31242 (gst_basesrc_init), (gst_basesrc_query),
31243 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31244 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31245 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31246 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31247 (gst_basesrc_stop), (gst_basesrc_activate),
31248 (gst_basesrc_change_state):
31249 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31250 (helper_find_suggest), (gst_type_find_helper):
31251 * gst/base/gsttypefindhelper.h:
31252 * gst/elements/Makefile.am:
31253 * gst/elements/gstelements.c:
31254 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31255 (gst_fakesink_get_times), (gst_fakesink_event),
31256 (gst_fakesink_preroll), (gst_fakesink_render):
31257 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31258 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31259 (gst_fakesrc_get_property), (gst_fakesrc_create),
31260 (gst_fakesrc_start), (gst_fakesrc_stop):
31261 * gst/elements/gstfakesrc.h:
31262 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31263 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31264 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31265 (gst_filesrc_create_read), (gst_filesrc_create),
31266 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31267 (gst_filesrc_start):
31268 * gst/elements/gsttypefindelement.c:
31269 (gst_type_find_element_have_type), (gst_type_find_element_init),
31270 (start_typefinding), (stop_typefinding), (push_buffer_store),
31271 (gst_type_find_element_handle_event),
31272 (gst_type_find_element_chain),
31273 (gst_type_find_element_checkgetrange),
31274 (gst_type_find_element_getrange), (do_typefind),
31275 (gst_type_find_element_activate),
31276 (gst_type_find_element_change_state):
31277 * gst/elements/gsttypefindelement.h:
31278 * gst/gstpipeline.c: (pipeline_bus_handler):
31279 Added typefind helper.
31280 Small preroll fix in the base sink.
31281 Disable typefind code in basesrc.
31282 Crude port of typefindelement.
31286 2005-04-11 Wim Taymans <wim@fluendo.com>
31288 * check/gst/gstbus.c: (gstbus_suite):
31289 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31290 * check/gstcheck.h:
31291 Fix up the timeout so that the test does not fail.
31293 2005-04-06 Wim Taymans <wim@fluendo.com>
31296 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31297 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31298 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31299 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31300 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31301 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31302 (gst_basesrc_stop), (gst_basesrc_activate),
31303 (gst_basesrc_change_state), (basesrc_find_peek),
31304 (basesrc_find_suggest), (gst_basesrc_type_find):
31305 * gst/base/gstbasesrc.h:
31306 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31307 (gst_filesrc_class_init), (gst_filesrc_init),
31308 (gst_filesrc_finalize), (gst_filesrc_set_location),
31309 (gst_filesrc_set_property), (gst_filesrc_get_property),
31310 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31311 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31312 (gst_filesrc_create_read), (gst_filesrc_create),
31313 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31314 * gst/elements/gstfilesrc.h:
31315 * gst/gstelement.c: (gst_element_get_state_func),
31316 (gst_element_lost_state), (gst_element_pads_activate):
31317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31318 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31319 (gst_pad_pull_range):
31321 More work on the generic source base class, implement seeking,
31323 Make filesrc extend the base source class.
31324 Added gst_pad_set_checkgetrange_function to GstPad.
31326 2005-04-06 Andy Wingo <wingo@pobox.com>
31328 * pkgconfig/gstreamer-base.pc.in:
31329 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31331 * pkgconfig/Makefile.am:
31332 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31334 2005-04-04 Wim Taymans <wim@fluendo.com>
31336 * gst/base/Makefile.am:
31338 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31339 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31340 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31341 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31342 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31343 (gst_basesrc_base_init), (gst_basesrc_class_init),
31344 (gst_basesrc_init), (gst_basesrc_get_formats),
31345 (gst_basesrc_get_query_types), (gst_basesrc_query),
31346 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31347 (gst_basesrc_set_property), (gst_basesrc_get_property),
31348 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31349 (gst_basesrc_loop), (gst_basesrc_activate),
31350 (gst_basesrc_change_state):
31351 * gst/base/gstbasesrc.h:
31352 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31353 (gst_fakesrc_class_init), (gst_fakesrc_init),
31354 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31355 (gst_fakesrc_get_property), (gst_fakesrc_create):
31356 * gst/elements/gstfakesrc.h:
31357 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31358 (gst_filesrc_open_file), (gst_filesrc_loop),
31359 (gst_filesrc_activate), (filesrc_find_peek),
31360 (gst_filesrc_type_find):
31361 Made base source class, make fakesrc extend it.
31362 Add comments to basesink class.
31363 Some filesrc cleanup.
31365 2005-03-31 David Schleef <ds@schleef.org>
31367 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31368 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31369 expected to link against libgstreamer.
31370 * gst/base/Makefile.am: link against libgstreamer
31371 * gst/elements/Makefile.am: same
31373 2005-03-31 Andy Wingo <wingo@pobox.com>
31375 * tests/instantiate/Makefile.am:
31376 * tests/instantiate/caps.c: Add test to test speed of caps copy
31379 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31380 GMemChunk to be fair.
31382 * gst/gsttrashstack.h: Remove warning about using the fallback
31383 trash stack implementation, it's still faster than malloc.
31385 2005-03-30 Andy Wingo <wingo@pobox.com>
31387 * tests/complexity.c: Add a copyright.
31389 2005-03-31 Wim Taymans <wim@fluendo.com>
31391 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31392 (gst_base_transform_class_init), (gst_base_transform_init),
31393 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31394 (gst_base_transform_get_property),
31395 (gst_base_transform_sink_activate),
31396 (gst_base_transform_src_activate),
31397 (gst_base_transform_change_state):
31398 * gst/base/gstbasetransform.h:
31399 * gst/elements/gstidentity.c: (gst_identity_class_init),
31400 (gst_identity_event), (gst_identity_check_perfect),
31401 (gst_identity_transform), (gst_identity_start),
31402 (gst_identity_stop):
31403 Added start/stop methods to transform base class so subclasses
31404 don't need to deal with state changes even.
31406 2005-03-31 Wim Taymans <wim@fluendo.com>
31408 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31409 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31411 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31412 (gst_pad_pull_range):
31413 Added rate to the discont event to prepare for variable speed
31414 and reverse playback.
31416 2005-03-29 David Schleef <ds@schleef.org>
31419 * testsuite/trigger/Makefile.am:
31420 * testsuite/trigger/trigger.c: A little example program to show
31421 how trigger-based elements can work.
31423 2005-03-29 Wim Taymans <wim@fluendo.com>
31425 * gst/base/Makefile.am:
31427 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31428 (gst_basesink_base_init), (gst_basesink_class_init),
31429 (gst_basesink_pad_getcaps), (gst_basesink_init),
31430 (gst_basesink_activate), (gst_basesink_change_state):
31431 * gst/base/gstbasesink.h:
31432 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31433 (gst_base_transform_base_init), (gst_base_transform_finalize),
31434 (gst_base_transform_class_init), (gst_base_transform_init),
31435 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31436 (gst_base_transform_event), (gst_base_transform_getrange),
31437 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31438 (gst_base_transform_set_property),
31439 (gst_base_transform_get_property),
31440 (gst_base_transform_sink_activate),
31441 (gst_base_transform_src_activate),
31442 (gst_base_transform_change_state):
31443 * gst/base/gstbasetransform.h:
31444 * gst/elements/gstidentity.c: (gst_identity_finalize),
31445 (gst_identity_class_init), (gst_identity_init),
31446 (gst_identity_event), (gst_identity_check_perfect),
31447 (gst_identity_transform), (gst_identity_set_property),
31448 (gst_identity_get_property), (gst_identity_change_state):
31449 * gst/elements/gstidentity.h:
31450 * gst/gstelement.c: (gst_element_get_state_func),
31451 (gst_element_lost_state), (gst_element_pads_activate):
31452 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31453 (gst_pad_check_pull_range), (gst_pad_pull_range):
31455 Simplify pad activation.
31456 Added function to check if pull_range can be performed.
31457 Error out when pulling inactive or flushing pads.
31458 Removed const from refcounted types as it does not make sense.
31459 Simplify pad templates in basesink
31460 Added base class for simple 1-to-1 transforms.
31461 Make identity subclass the base transform.
31463 2005-03-29 Andy Wingo <wingo@pobox.com>
31465 * docs/libs/gstreamer-libs-overrides.txt:
31466 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31467 really don't understand what's going on, but like whatever. I want
31470 * docs/gst/Makefile.am:
31471 * docs/libs/Makefile.am: Dist the overrides files.
31473 * check/Makefile.am (clean-local): Remove .libs directories.
31475 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31476 elements to EXTRA_DIST, so po/ files are happy.
31478 * po/POTFILES.in: Er, remove it here.
31480 * po/POTFILES: Remove gstspider.c.
31482 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31484 * docs/libs/gstreamer-libs-docs.sgml:
31485 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31488 * tests/complexity.c (main): Set the length of the preroll queue
31489 on the sinks to prevent a lockup.
31491 * libs/gst/dataprotocol/Makefile.am:
31492 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31493 the same as the one in check/gst-libs/gdp.c.
31495 * po/, docs/gst/: Commit automatic changes to docs and po files.
31497 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31498 the versioned libgstbase.
31500 * check/Makefile.am: Depend on an unversioned gst-register, seems
31501 to make autoconf happier.
31503 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31505 2005-03-28 Wim Taymans <wim@fluendo.com>
31508 * docs/design/part-gstelement.txt:
31509 * docs/design/part-negotiation.txt:
31510 * docs/design/part-preroll.txt:
31511 * docs/design/part-scheduling.txt:
31512 * docs/design/part-states.txt:
31514 * gst/base/Makefile.am:
31516 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31517 (gst_basesink_base_init), (gst_basesink_class_init),
31518 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31519 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31520 (gst_basesink_set_pad_functions),
31521 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31522 (gst_basesink_set_property), (gst_basesink_get_property),
31523 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31524 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31525 (gst_basesink_preroll_queue_push),
31526 (gst_basesink_preroll_queue_empty),
31527 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31528 (gst_basesink_event), (gst_basesink_get_times),
31529 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31530 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31531 (gst_basesink_loop), (gst_basesink_activate),
31532 (gst_basesink_change_state):
31533 * gst/base/gstbasesink.h:
31534 * gst/elements/Makefile.am:
31535 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31536 (gst_fakesink_class_init), (gst_fakesink_init),
31537 (gst_fakesink_set_property), (gst_fakesink_get_property),
31538 (gst_fakesink_get_times), (gst_fakesink_event),
31539 (gst_fakesink_preroll), (gst_fakesink_render),
31540 (gst_fakesink_change_state):
31541 * gst/elements/gstfakesink.h:
31542 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31543 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31544 * gst/gstelement.c: (gst_element_add_pad),
31545 (gst_element_get_state_func), (gst_element_abort_state),
31546 (gst_element_commit_state), (gst_element_lost_state),
31547 (gst_element_set_state), (gst_element_pads_activate):
31548 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31549 * gst/gstpipeline.c: (gst_pipeline_send_event),
31550 (gst_pipeline_change_state):
31551 Added state change code.
31552 Added/updated docs.
31553 Added sink base class, make fakesink extend the base class.
31554 Small cleanups in GstPipeline.
31556 2005-03-26 David Schleef <ds@schleef.org>
31558 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31559 is broken and should be implemented in a different library.
31560 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31561 * gst/gst.h: remove gstcpu.h
31562 * gst/gstcpu.c: remove
31563 * gst/gstcpu.h: remove
31564 * gst/Makefile.am.future: Remove this file. It's ancient.
31566 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31568 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31569 (gst_bin_send_event):
31570 Add default event/set_manager handlers. The set_manager handler
31571 takes care that the manager is distributed over kids that were
31572 already in the bin before the manager was set. The event handler
31573 is a utility virtual function that sends the event over all sinks,
31574 so that gst_element_send_event (bin, event); has the expected
31576 * gst/gstpad.c: (gst_pad_event_default):
31577 Re-install default event handling for discontinuities, so that
31578 seeking works without requiring hacks in applications or extra
31580 * gst/gstpipeline.c: (gst_pipeline_class_init),
31581 (gst_pipeline_send_event):
31582 Half hack, half utility: set a pipeline to PAUSED for seek events,
31583 since that is the only way we can guarantee a/v sync. Means that
31584 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31585 and it "just works".
31587 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31589 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31590 Lock/unlock mismatch.
31592 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31594 * docs/faq/gst-uninstalled:
31595 add gst-plugins-base
31596 * docs/gst/Makefile.am:
31597 don't error out until docs are fixed
31598 * docs/gst/gstreamer.types:
31601 2005-03-22 Wim Taymans <wim@fluendo.com>
31603 * check/Makefile.am:
31604 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31605 * gst/gststructure.c: (gst_structure_set_valist),
31606 (gst_structure_copy_conditional):
31607 Activated more tests.
31608 Added message test.
31609 Added G_TYPE_POINTER to GstStructure.
31612 2005-03-22 Wim Taymans <wim@fluendo.com>
31614 * docs/design/part-TODO.txt:
31615 * docs/design/part-events.txt:
31616 * docs/design/part-gstbin.txt:
31617 * docs/design/part-gstbus.txt:
31618 * docs/design/part-gstpipeline.txt:
31619 * docs/design/part-messages.txt:
31621 * gst/gstmessage.c:
31624 2005-03-21 Wim Taymans <wim@fluendo.com>
31626 * gst/gstbus.c: (gst_bus_post):
31627 Fix copy-and-paste error.
31629 2005-03-21 Wim Taymans <wim@fluendo.com>
31631 * check/Makefile.am:
31633 * gst/elements/Makefile.am:
31634 * gst/elements/gstelements.c:
31635 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31636 (gst_fakesink_event), (gst_fakesink_chain):
31637 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31638 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31639 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31640 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31641 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31642 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31643 (gst_fakesrc_loop), (gst_fakesrc_activate),
31644 (gst_fakesrc_change_state):
31645 * gst/elements/gstfakesrc.h:
31646 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31647 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31648 (gst_filesrc_open_file), (gst_filesrc_loop),
31649 (gst_filesrc_activate), (gst_filesrc_change_state),
31650 (filesrc_find_peek), (filesrc_find_suggest),
31651 (gst_filesrc_type_find):
31652 * gst/elements/gstidentity.c: (gst_identity_finalize),
31653 (gst_identity_class_init), (gst_identity_init),
31654 (gst_identity_proxy_getcaps), (identity_queue_push),
31655 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31656 (gst_identity_getrange), (gst_identity_chain),
31657 (gst_identity_sink_loop), (gst_identity_src_loop),
31658 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31659 (gst_identity_set_property), (gst_identity_get_property),
31660 (gst_identity_change_state):
31661 * gst/elements/gstidentity.h:
31662 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31663 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31664 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31665 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31666 (gst_tee_sink_activate):
31667 * gst/elements/gsttee.h:
31668 * gst/gst.c: (gst_register_core_elements), (init_post):
31670 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31671 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31672 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31673 (gst_bin_change_state):
31675 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31676 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31677 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31678 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31679 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31680 (bus_watch_callback), (bus_watch_destroy),
31681 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31682 (poll_timeout), (gst_bus_poll):
31686 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31687 (gst_element_post_message), (gst_element_message_full),
31688 (gst_element_get_state_func), (gst_element_get_state),
31689 (gst_element_abort_state), (gst_element_commit_state),
31690 (gst_element_lost_state), (gst_element_set_state),
31691 (gst_element_pads_activate), (gst_element_change_state),
31692 (gst_element_dispose), (gst_element_set_manager_func),
31693 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31694 (gst_element_set_manager), (gst_element_get_manager),
31695 (gst_element_set_bus), (gst_element_get_bus),
31696 (gst_element_set_scheduler), (gst_element_get_scheduler):
31697 * gst/gstelement.h:
31698 * gst/gstevent.c: (gst_event_new_segment_seek),
31699 (gst_event_new_flush):
31701 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31702 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31703 (gst_message_new_eos), (gst_message_new_error),
31704 (gst_message_new_warning), (gst_message_new_tag),
31705 (gst_message_new_state_changed), (gst_message_new_application),
31706 (gst_message_get_structure), (gst_message_parse_tag),
31707 (gst_message_parse_state_changed), (gst_message_parse_error),
31708 (gst_message_parse_warning):
31709 * gst/gstmessage.h:
31710 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31711 (gst_real_pad_set_property), (gst_pad_set_active),
31712 (gst_pad_is_active), (gst_pad_set_blocked_async),
31713 (gst_pad_set_blocked), (gst_pad_is_blocked),
31714 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31715 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31716 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31717 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31718 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31719 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31720 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31721 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31722 (gst_pad_set_caps), (gst_pad_configure_sink),
31723 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31724 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31725 (gst_real_pad_dispose), (gst_real_pad_finalize),
31726 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31727 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31728 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31730 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31731 (pipeline_bus_handler), (gst_pipeline_change_state),
31732 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31733 * gst/gstpipeline.h:
31735 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31736 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31737 (gst_queue_link_src), (gst_queue_bufferalloc),
31738 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31739 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31740 (gst_queue_loop), (gst_queue_handle_src_event),
31741 (gst_queue_handle_src_query), (gst_queue_src_activate),
31742 (gst_queue_change_state):
31744 * gst/gstscheduler.c: (gst_scheduler_init),
31745 (gst_scheduler_dispose), (gst_scheduler_create_task),
31746 (gst_scheduler_factory_create):
31747 * gst/gstscheduler.h:
31748 * gst/gststructure.c: (gst_structure_get_type),
31749 (gst_structure_copy_conditional):
31750 * gst/gststructure.h:
31751 * gst/gsttaginterface.h:
31752 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31753 (gst_task_init), (gst_task_dispose), (gst_task_create),
31754 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31760 * gst/schedulers/Makefile.am:
31761 * gst/schedulers/cothreads_compat.h:
31762 * gst/schedulers/entryscheduler.c:
31763 * gst/schedulers/faircothreads.c:
31764 * gst/schedulers/faircothreads.h:
31765 * gst/schedulers/fairscheduler.c:
31766 * gst/schedulers/gstbasicscheduler.c:
31767 * gst/schedulers/gstoptimalscheduler.c:
31768 * gst/schedulers/gthread-cothreads.h:
31769 * gst/schedulers/threadscheduler.c:
31770 (gst_thread_scheduler_task_get_type),
31771 (gst_thread_scheduler_task_class_init),
31772 (gst_thread_scheduler_task_init),
31773 (gst_thread_scheduler_task_start),
31774 (gst_thread_scheduler_task_stop),
31775 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31776 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31777 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31778 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31780 * libs/gst/Makefile.am:
31781 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31782 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31783 (gst_file_pad_parent_set):
31784 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31785 (gst_dp_event_from_packet):
31786 * tests/complexity.c: (main):
31787 * tests/mass_elements.c: (main):
31788 * testsuite/states/locked.c: (message_received), (main):
31789 * testsuite/states/parent.c: (main):
31790 * tools/gst-inspect.c: (print_element_flag_info),
31791 (print_implementation_info), (print_pad_info):
31792 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31794 * tools/gst-md5sum.c: (event_loop), (main):
31795 * tools/gst-typefind.c: (main):
31796 * tools/gst-xmlinspect.c: (print_element_info):
31798 Added GstBus for mainloop integration.
31799 Added GstMessage for sending notifications on the bus.
31800 Added GstTask as an abstraction for pipeline entry points.
31802 Removed Schedulers.
31803 Simplified GstQueue for multithreaded core.
31804 Made _link threadsafe, removed old capsnego.
31805 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31806 Added pad blocking functions.
31807 Reworked scheduling functions in GstPad to prepare for
31808 scheduling updates soon.
31809 Moved events out of data stream.
31810 Simplified GstEvent types.
31811 Added return values to push/pull.
31812 Removed clocking from GstElement.
31813 Added prototypes for state change function for next merge.
31814 Removed iterate from bins and state change management.
31815 Fixed some elements, disabled others for now.
31816 Fixed -inspect and -launch.
31817 Added check for GstBus.
31819 2005-03-10 Wim Taymans <wim@fluendo.com>
31821 * docs/design/part-MT-refcounting.txt:
31822 * docs/design/part-clocks.txt:
31823 * docs/design/part-gstelement.txt:
31824 * docs/design/part-gstobject.txt:
31825 * docs/design/part-standards.txt:
31826 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31827 (gst_bin_remove_func), (gst_bin_remove):
31831 * testsuite/clock/clock1.c: (main):
31832 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31834 * testsuite/dlopen/loadgst.c: (do_test):
31835 * testsuite/refcounting/bin.c: (add_remove_test1),
31836 (add_remove_test2), (main):
31837 * testsuite/refcounting/element.c: (main):
31838 * testsuite/refcounting/element_pad.c: (main):
31839 * testsuite/refcounting/pad.c: (main):
31840 * tools/gst-launch.c: (sigint_handler_sighandler):
31841 * tools/gst-typefind.c: (main):
31843 Added doc about clock.
31844 removed gst_bin_iterate_recurse_up(), marked methods
31846 Fix more testsuites.
31848 2005-03-09 Wim Taymans <wim@fluendo.com>
31850 * gst/gstpad.c: (gst_pad_get_direction),
31851 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31852 (gst_pad_collect_valist):
31853 * testsuite/bins/interface.c: (main):
31854 * testsuite/caps/audioscale.c: (test_caps):
31855 * testsuite/caps/caps.c: (test1), (test2), (test3):
31856 * testsuite/caps/deserialize.c: (main):
31857 * testsuite/caps/enumcaps.c: (main):
31858 * testsuite/caps/filtercaps.c: (main):
31859 * testsuite/caps/intersect2.c: (main):
31860 * testsuite/caps/random.c: (main):
31861 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31862 * testsuite/caps/sets.c: (check_caps):
31863 * testsuite/caps/simplify.c: (check_caps), (main):
31864 * testsuite/caps/subtract.c: (check_caps):
31865 Fix _pad_get_direction wrt ghostpads.
31866 Fix caps testsuite.
31868 2005-03-09 Wim Taymans <wim@fluendo.com>
31870 * check/Makefile.am:
31871 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31872 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31873 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31874 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31875 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31876 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31877 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31878 (bin_element_is_sink), (gst_bin_iterate_sinks),
31879 (gst_bin_iterate_all_by_interface):
31881 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31882 (gst_element_change_state), (gst_element_dispose),
31883 (gst_element_finalize), (gst_element_set_loop_function):
31884 * gst/gstelement.h:
31885 * gst/gstiterator.c: (find_custom_fold_func):
31886 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31887 (gst_pad_collectv), (gst_pad_collect_valist),
31888 (gst_pad_template_new):
31889 * gst/gstpipeline.c: (gst_pipeline_class_init),
31890 (gst_pipeline_dispose), (gst_pipeline_set_property),
31891 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31892 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31893 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31895 * gst/schedulers/entryscheduler.c:
31896 * gst/schedulers/gstbasicscheduler.c:
31897 (gst_basic_scheduler_cothreaded_chain),
31898 (gst_basic_scheduler_chain_add_element):
31899 * testsuite/bins/interface.c: (main):
31901 Added GstSystemClock test.
31902 Implemented clock distribution code in GstBin.
31903 Implemented iterate sinks method for future use.
31904 Rearranged gstelement.h
31905 Fix GstIterator comparison bug.
31906 Moved some code to GstPipeline, mostly clocking related.
31908 2005-03-09 Wim Taymans <wim@fluendo.com>
31911 * gst/gst_private.h:
31912 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31913 (gst_bin_remove_func), (gst_bin_remove),
31914 (gst_bin_get_by_name_recurse_up):
31915 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31916 (gst_clock_id_compare_func), (gst_clock_id_wait),
31917 (gst_clock_id_wait_async), (gst_clock_init),
31918 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31919 * gst/gstelement.h:
31920 * gst/gstinfo.c: (_gst_debug_init):
31922 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31923 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31925 Bump version number, we're now 0.9.0
31926 Add future debugging category.
31927 Fix NULL _unref() in _get_by_name_recurse_up
31928 Rearrange gstpad.h.
31931 2005-03-08 Wim Taymans <wim@fluendo.com>
31933 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31934 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31935 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31936 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31937 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31938 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31939 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31940 * gst/elements/gstidentity.c: (gst_identity_class_init):
31941 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31942 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31943 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31944 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31945 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31947 * gst/gstelement.c: (gst_element_class_init),
31948 (gst_element_base_class_init), (gst_element_init),
31949 (gst_element_get_random_pad), (gst_element_wait_state_change),
31950 (gst_element_change_state), (gst_element_dispose),
31951 (gst_element_finalize), (gst_element_set_loop_function):
31952 * gst/gstelement.h:
31953 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31954 * gst/gstthread.c: (gst_thread_class_init),
31955 (gst_thread_release_children_locks), (gst_thread_change_state):
31956 * gst/schedulers/gstbasicscheduler.c:
31957 (gst_basic_scheduler_loopfunc_wrapper),
31958 (gst_basic_scheduler_chain_wrapper),
31959 (gst_basic_scheduler_src_wrapper),
31960 (gst_basic_scheduler_remove_element):
31961 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31962 Remove threadsafe properties. Fix elements because GObject
31963 complains when installing a property before declaring a
31964 set/get_property handler.
31965 Rearrange gstelement.h file, use STATE macros for state locks.
31966 Free mutexes in the finalize method instead of dispose.
31968 2005-03-08 Wim Taymans <wim@fluendo.com>
31970 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31971 * gst/gstthread.c: (gst_thread_release_children_locks):
31972 Added parentage check.
31973 Fix build og GstThread again.
31975 2005-03-08 Wim Taymans <wim@fluendo.com>
31977 * docs/design/part-MT-refcounting.txt:
31978 * docs/design/part-conventions.txt:
31979 * docs/design/part-gstobject.txt:
31980 * docs/design/part-relations.txt:
31981 * docs/design/part-standards.txt:
31982 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31983 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31984 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31985 (gst_bin_iterate_all_by_interface):
31988 * gst/gstelement.c: (gst_element_class_init),
31989 (gst_element_change_state), (gst_element_set_loop_function):
31990 * gst/gstelement.h:
31991 * gst/gstiterator.c:
31992 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31993 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31994 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31995 (gst_object_set_parent), (gst_object_unparent),
31996 (gst_object_check_uniqueness):
31998 Docs updates, clean up some headers.
32000 2005-03-07 Wim Taymans <wim@fluendo.com>
32002 * check/.cvsignore:
32003 * check/Makefile.am:
32004 * check/gst-libs/.cvsignore:
32005 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32006 * check/gst/.cvsignore:
32007 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32008 (START_TEST), (gstbus_suite), (main):
32009 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32010 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32011 (gst_data_suite), (main):
32012 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32013 (add_fold_func), (gstiterator_suite), (main):
32014 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32015 (thread_name_object), (thread_name_object_default),
32016 (gst_object_name_compare), (gst_object_suite), (main):
32017 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32018 (gst_pad_suite), (main):
32019 * check/gstcheck.c: (gst_check_log_message_func),
32020 (gst_check_log_critical_func), (gst_check_init):
32021 * check/gstcheck.h:
32022 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32023 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32026 2005-03-07 Wim Taymans <wim@fluendo.com>
32028 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32029 (gst_list_iterator_next), (gst_list_iterator_resync),
32030 (gst_list_iterator_free), (gst_iterator_new_list),
32031 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32032 (gst_iterator_free), (gst_iterator_push), (filter_next),
32033 (filter_resync), (filter_uninit), (filter_free),
32034 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32035 (gst_iterator_foreach), (find_custom_fold_func),
32036 (gst_iterator_find_custom):
32037 * gst/gstiterator.h:
32038 Added missing files.
32040 2005-03-07 Wim Taymans <wim@fluendo.com>
32044 * docs/design/part-MT-refcounting.txt:
32045 * docs/design/part-conventions.txt:
32046 * docs/design/part-gstobject.txt:
32047 * docs/design/part-relations.txt:
32048 * examples/mixer/mixer.c: (main):
32049 * examples/thread/thread.c: (eos), (main):
32051 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32052 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32053 (gst_spider_plug_from_srcpad):
32054 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32055 (gst_spider_identity_change_state),
32056 (gst_spider_identity_sink_loop_type_finding):
32057 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32058 * gst/elements/gstidentity.c: (gst_identity_init):
32059 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32060 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32061 * gst/elements/gsttypefindelement.c: (free_entry):
32064 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32065 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32066 (gst_bin_set_index), (gst_bin_set_element_sched),
32067 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32068 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32069 (gst_bin_iterate_elements), (iterate_child_recurse),
32070 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32071 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32072 (compare_interface), (gst_bin_get_by_interface),
32073 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32075 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32076 (gst_buffer_default_free), (gst_buffer_default_copy),
32077 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32078 (gst_buffer_create_sub):
32080 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32081 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32082 (gst_caps_unref), (gst_static_caps_get),
32083 (gst_caps_remove_and_get_structure), (gst_caps_append),
32084 (gst_caps_append_structure), (gst_caps_remove_structure),
32085 (gst_caps_copy_nth), (gst_caps_set_simple),
32086 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32087 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32088 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32089 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32090 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32091 (gst_caps_structure_figure_out_union),
32092 (gst_caps_switch_structures), (gst_caps_do_simplify),
32093 (gst_caps_replace), (gst_caps_from_string),
32094 (gst_caps_copy_conditional):
32096 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32097 (_gst_clock_id_free), (gst_clock_id_unref),
32098 (gst_clock_id_compare_func), (gst_clock_id_wait),
32099 (gst_clock_id_wait_async), (gst_clock_class_init),
32100 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32101 (gst_clock_get_time), (gst_clock_set_time_adjust),
32102 (gst_clock_set_property), (gst_clock_get_property):
32105 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32106 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32108 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32109 (gst_element_requires_clock), (gst_element_provides_clock),
32110 (gst_element_set_clock), (gst_element_clock_wait),
32111 (gst_element_wait), (gst_element_set_time_delay),
32112 (gst_element_is_indexable), (gst_element_add_pad),
32113 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32114 (pad_compare_name), (gst_element_get_static_pad),
32115 (gst_element_request_pad), (gst_element_get_request_pad),
32116 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32117 (gst_element_class_get_pad_template_list),
32118 (gst_element_class_get_pad_template), (gst_element_error_func),
32119 (gst_element_get_random_pad), (gst_element_get_event_masks),
32120 (gst_element_send_event), (gst_element_seek),
32121 (gst_element_get_query_types), (gst_element_query),
32122 (gst_element_get_formats), (gst_element_convert),
32123 (gst_element_is_locked_state), (gst_element_set_locked_state),
32124 (gst_element_sync_state_with_parent), (gst_element_change_state),
32125 (gst_element_finalize), (gst_element_yield),
32126 (gst_element_interrupt), (gst_element_set_scheduler),
32127 (gst_element_get_scheduler), (gst_element_set_loop_function):
32128 * gst/gstelement.h:
32130 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32131 (gst_format_get_by_nick), (gst_format_get_details),
32132 (gst_format_iterate_definitions):
32134 * gst/gstindex.c: (gst_index_gtype_resolver):
32137 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32138 (gst_mem_chunk_free):
32139 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32140 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32141 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32142 (gst_object_dispatch_properties_changed),
32143 (gst_object_set_name_default), (gst_object_set_name),
32144 (gst_object_get_name), (gst_object_set_name_prefix),
32145 (gst_object_get_name_prefix), (gst_object_set_parent),
32146 (gst_object_get_parent), (gst_object_unparent),
32147 (gst_object_check_uniqueness), (gst_object_save_thyself),
32148 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32149 (gst_object_set_property), (gst_object_get_property),
32150 (gst_object_get_path_string):
32152 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32153 (gst_real_pad_init), (gst_real_pad_get_property),
32154 (gst_pad_custom_new), (gst_pad_get_direction),
32155 (gst_pad_set_active), (gst_pad_is_active),
32156 (gst_pad_set_event_function), (gst_pad_is_linked),
32157 (gst_pad_link_free), (gst_pad_link_intersect),
32158 (gst_pad_link_fixate), (gst_pad_set_caps),
32159 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32160 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32161 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32162 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32163 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32164 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32165 (gst_pad_realize), (gst_pad_get_allowed_caps),
32166 (gst_real_pad_dispose), (gst_real_pad_finalize),
32167 (gst_pad_collectv), (gst_pad_collect_valist),
32168 (gst_pad_template_dispose), (gst_pad_template_new),
32169 (gst_pad_get_internal_links):
32171 * gst/gstpipeline.c: (gst_pipeline_dispose),
32172 (gst_pipeline_change_state):
32173 * gst/gstpipeline.h:
32175 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32176 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32177 * gst/gstpluginfeature.h:
32178 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32179 * gst/gstquery.c: (_gst_query_type_initialize),
32180 (gst_query_type_register), (gst_query_type_get_by_nick),
32181 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32183 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32184 * gst/gstscheduler.c: (gst_scheduler_add_element),
32185 (gst_scheduler_factory_create):
32186 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32187 (gst_structure_free), (gst_structure_set_name),
32188 (gst_structure_id_set_value), (gst_structure_set_value),
32189 (gst_structure_set_valist), (gst_structure_remove_field),
32190 (gst_structure_remove_fields),
32191 (gst_structure_remove_fields_valist),
32192 (gst_structure_remove_all_fields), (gst_structure_foreach),
32193 (gst_structure_map_in_place),
32194 (gst_caps_structure_fixate_field_nearest_int),
32195 (gst_caps_structure_fixate_field_nearest_double):
32196 * gst/gststructure.h:
32197 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32198 (gst_system_clock_init), (gst_system_clock_dispose),
32199 (gst_system_clock_async_thread),
32200 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32201 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32202 * gst/gstsystemclock.h:
32203 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32204 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32205 * gst/gsttaginterface.c:
32206 * gst/gstthread.c: (gst_thread_dispose),
32207 (gst_thread_release_children_locks), (gst_thread_change_state),
32208 (gst_thread_main_loop):
32209 * gst/gsttrashstack.h:
32210 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32212 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32213 (gst_element_request_pad), (gst_element_get_pad_from_template),
32214 (gst_element_request_compatible_pad),
32215 (gst_element_get_compatible_pad_filtered),
32216 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32217 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32218 (gst_element_link_many), (gst_element_link),
32219 (gst_element_link_pads), (gst_element_unlink_pads),
32220 (gst_element_unlink_many), (gst_element_unlink),
32221 (gst_pad_can_link_filtered), (gst_pad_can_link),
32222 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32223 (gst_object_default_error), (gst_bin_add_many),
32224 (gst_bin_remove_many), (gst_element_populate_std_props),
32225 (gst_element_class_install_std_props), (gst_buffer_merge),
32226 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32227 (link_fold_func), (gst_pad_proxy_setcaps):
32229 * gst/gstvalue.c: (gst_value_deserialize_string):
32230 * gst/parse/grammar.y:
32231 * gst/schedulers/gstbasicscheduler.c:
32232 (gst_basic_scheduler_cothreaded_chain),
32233 (gst_basic_scheduler_chain_recursive_add),
32234 (gst_basic_scheduler_pad_link):
32235 * gst/schedulers/gstoptimalscheduler.c:
32236 (get_group_schedule_function),
32237 (gst_opt_scheduler_state_transition),
32238 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32239 * libs/gst/bytestream/bytestream.c:
32240 * libs/gst/dataprotocol/dataprotocol.c:
32241 (gst_dp_header_from_buffer):
32244 * tests/threadstate/threadstate2.c: (eos):
32245 * tools/gst-compprep.c: (main):
32246 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32247 (print_pad_info), (print_children_info):
32248 * tools/gst-launch.c: (idle_func), (main):
32249 * tools/gst-md5sum.c: (idle_func), (main):
32250 * tools/gst-xmlinspect.c: (print_element_info):
32251 First THREADED backport attempt, focusing on adding locks and
32252 making sure the API is threadsafe. Needs more work. More docs
32255 2005-02-24 Andy Wingo <wingo@pobox.com>
32257 * tests/bench-complexity.scm:
32258 * tests/complexity.gnuplot: New files, good for running complexity
32261 * tests/Makefile.am:
32262 * tests/complexity.c: New test, sets up N elements, at each level
32263 teeing into M streams per element. Eeeenteresting.
32265 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32266 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32267 running bench-mass_elements.scm.
32269 * tests/bench-mass_elements.scm: New script, runs mass_elements
32270 for various numbers of identities, outputting the results to a
32271 file. Requires guile 1.6. Just for testing.
32273 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32275 * gst/schedulers/fairscheduler.c:
32276 compile with debug disabled
32278 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32281 hunting season on 0.9 is now OPEN