1 2009-01-01 Stefan Kost <ensonic@users.sf.net>
4 Add some ideas, how to make the graph smaller.
7 Add a comment from a debug session.
9 * libs/gst/base/gstbasetransform.c:
12 * libs/gst/controller/gstinterpolationcontrolsource.c:
15 * plugins/elements/gstcapsfilter.c:
18 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
20 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
21 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
22 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
23 (gst_bus_create_watch):
24 Make GstBusSource work with non-default main contexts (#562170).
26 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
27 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
28 Add test case for GstBusSource with a non-default main context.
30 * tests/check/libs/.cvsignore:
33 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
35 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
37 Wrap multi-line macros in G_STMT_{START|END}.
39 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
41 * docs/gst/gstreamer-sections.txt:
44 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
45 (gst_query_parse_uri):
47 API: Add URI query type. This is useful to query the URI
48 of a sink/source element and can be used by demuxers that
49 need to get data from other files.
50 This query should go upstream by default.
52 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
53 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
55 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
56 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
60 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
63 * tests/check/gst/gstghostpad.c:
64 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
65 That would cause the ghostpad to emit notify::caps two times (fist
66 from gst_pad_set_caps() and after from on_src_target_notify()).
68 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
70 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
72 Add some more unit-tests for the ghostpad notify signal, one of which
75 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
77 * win32/common/libgstreamer.def:
78 Add gst_tag_setter_reset_tags to the list of exported symbols.
80 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
83 * tests/check/gst/gstghostpad.c:
84 In a source ghostpad, when caps are changed in the target pad, the
85 change needs to be reflected in the ghostpad.
88 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
90 * gst/gstutils.c: (gst_element_found_tags_for_pad):
91 Add FIXME for 0.11 to set the pad as message source and not
92 the element. Otherwise it's impossible to detect for which
93 pad the tags were found without adding an event probe
94 or something similar to the pad.
96 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
98 * docs/faq/general.xml:
101 2008-12-16 Stefan Kost <ensonic@users.sf.net>
103 * docs/gst/gstreamer-sections.txt:
104 * gst/gsttagsetter.c:
105 * gst/gsttagsetter.h:
106 Rename api added in previous commit and add since tag to docs.
107 API: gst_tag_setter_reset_tags()
109 2008-12-16 Stefan Kost <ensonic@users.sf.net>
111 * docs/gst/gstreamer-sections.txt:
112 * gst/gsttagsetter.c:
113 * gst/gsttagsetter.h:
114 Add function to reset tagsetter for element reuse.
116 2008-12-16 Stefan Kost <ensonic@users.sf.net>
119 Avoid copy of empty taglist.
121 2008-12-16 Stefan Kost <ensonic@users.sf.net>
124 * tests/check/gst/gsttag.c:
125 More complete unit tests. Fix handling of empty taglists (they were
128 2008-12-15 Stefan Kost <ensonic@users.sf.net>
131 * gst/gsttagsetter.c:
132 Update GstTagSetter and GstTagMergeMode documentation. Mention
133 that tags can come from events and from application. Fix example.
135 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
137 * docs/design/part-TODO.txt:
138 Remove the seqnum entry that we implemented in 0.10 already.
139 Add entry about removing the format return value for queries.
141 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
143 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
144 (gst_base_sink_init), (gst_base_sink_set_property),
145 (gst_base_sink_get_property):
146 Expose the render-delay as a property so things like appsink can use it
147 to tweak the synchronisation.
149 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
151 * libs/gst/check/gstcheck.h: Allow check tests to use
152 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
153 CK_FORK=no to be used with multiple check test that use threads.
155 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
157 * gst/gstutils.c: (gst_element_get_compatible_pad):
158 Fix a caps memory leak introduced by the last change.
160 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
162 * gst/gstutils.c: (gst_element_get_compatible_pad):
163 Check if the caps of the pads are compatible before returning
164 a pad and claiming it is compatible. This, among other things,
165 fixes a bug with gst-launch where an incompatible pad is chosen
166 and linking fails. Fixes bug #544003.
168 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
170 * libs/gst/check/gstcheck.c: (gst_check_init):
171 Revert accidentially commited patch for bug #404631 which
172 tries to print a backtrace if a testcase is terminated by
173 a signal. This code was never activated as the corresponding
174 configure.ac change wasn't committed.
176 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
178 * tests/check/libs/controller.c: (GST_START_TEST):
179 This test should return TRUE now as syncing an uncontrolled
180 object will succeed now (there's nothing to sync).
182 2008-12-09 Stefan Kost <ensonic@users.sf.net>
184 * libs/gst/controller/gstcontroller.c:
185 Aggregate return value for gst_controller_sync_values(). More info in
186 logging. Always set values on first sync-call.
188 * libs/gst/controller/gstcontrolsource.c:
191 * libs/gst/controller/gsthelper.c:
192 Fix return code and comment.
194 2008-12-09 Stefan Kost <ensonic@users.sf.net>
196 * tools/gst-launch.1.in:
197 Fix description of how to specify a type in caps. Fixes #553873.
198 Also ranges and list contain values and not property-assignments.
200 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
202 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
203 Check for changed pads-list before checking the last returned
204 GstFlowReturn because the pad could have been removed and we
205 need to ignore the value in that case.
207 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
209 * libs/gst/base/gstbasetransform.c:
210 (gst_base_transform_prepare_output_buffer),
211 (gst_base_transform_getrange), (gst_base_transform_chain):
212 * libs/gst/base/gstbasetransform.h:
213 Add vmethod that is called before we start the transform and which can
214 be used to configure the transform, such as dynamic properties.
216 2008-12-05 David Schleef <ds@schleef.org>
219 Search for plugins on win32 based on the location of the
220 gstreamer DLL. Fixes #548786
222 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
225 Apparently AC_CONFIG_MACRO_DIR breaks when using more
226 than one macro directory, reverting last change.
228 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
231 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
234 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
236 Patch by: Cygwin Ports maintainer
237 <yselkowitz at users dot sourceforge dot net>
241 Require gettext 0.17 because older versions don't mix with libtool
242 2.2. At build time an older gettext version will still work.
245 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
247 Patch by: 이문형 <iwings at gmail dot com>
249 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
250 Adds support for FD_CONNECT event (win32). See #562258.
252 2008-11-24 Stefan Kost <ensonic@users.sf.net>
254 * libs/gst/base/gstbasesink.c:
255 Turn comment into gtk-doc comment.
257 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
259 * libs/gst/base/gstbasetransform.c:
260 (gst_base_transform_acceptcaps):
261 Revert quick accepcaps attempt, it's not fully equivalent to the old
262 behaviour and thus causes regressions.
264 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
266 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
269 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
271 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
273 * gst/gstregistry.c: (gst_registry_scan_path_level):
274 Reduce the number of stat() calls for every file from three times
275 to one time. Fixes bug #560360.
277 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
279 * libs/gst/base/gstbasetransform.c:
280 (gst_base_transform_acceptcaps):
281 Rename a variable to make the code clearer.
283 2008-11-21 Stefan Kost <ensonic@users.sf.net>
285 * plugins/elements/gstidentity.c:
286 Don't warning on offset==-1. Taken from _check_imperfect_offset().
288 2008-11-21 Michael Smith <msmith@songbirdnest.com>
290 * plugins/elements/gstfilesrc.c:
291 Check for localhost in URI was backwards, fix it. Fixes unit test.
293 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
295 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
296 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
297 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
298 Add beginnings of a more optimized acceptcaps function than the default
301 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
303 * gst/gstpad.c: (gst_pad_accept_caps):
304 Avoid getting the acceptcaps function too early.
306 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
308 * tools/gst-launch.c: (event_loop):
309 Make gst-launch handle LATENCY messages and make it recalculate the
312 2008-11-20 Michael Smith <msmith@songbirdnest.com>
314 * plugins/elements/gstfilesrc.c:
315 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
316 out own slightly incorrect version. Fixes use of some paths on
319 2008-11-20 Michael Smith <msmith@songbirdnest.com>
321 * gst/gstregistrybinary.c:
322 In win32 codepath, if we fail to write the registry, create the
323 directory for it and try again, matching the behaviour in non-win32
326 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
328 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
329 Changing the render delay changes the latency and so we must post a
332 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
336 Add GstQueryType for custom queries instead of having to use the
337 not-so-very-convenient registration infrastructure to register new
340 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
342 Patch by: Andrew Feren <acferen at yahoo dot com>
344 * gst/gstobject.c: (gst_object_default_deep_notify):
345 Unref the GEnumClass after usage again. Fixes bug #561501.
347 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
349 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
350 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
351 (gst_bin_change_state_func):
353 Add do-latency signal with the old default fallback implementation. This
354 allows for custom latency calculations for when the default is not
356 API: GstBin::do-latency signal.
358 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
360 * win32/common/libgstreamer.def:
361 Add new symbols to .def file.
363 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
365 * docs/gst/gstreamer-sections.txt:
366 * gst/gstbin.c: (gst_bin_recalculate_latency),
367 (gst_bin_change_state_func):
369 Add method to recalculate and redistribute the latency on a bin.
370 API: gst_bin_recalculate_latency().
372 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
375 Document the free_func.
377 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
379 * libs/gst/controller/gstinterpolation.c:
380 * libs/gst/controller/gstlfocontrolsource.c:
381 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
382 as it is mapped to a cast on non-win32 platforms.
384 2008-11-17 Stefan Kost <ensonic@users.sf.net>
386 * libs/gst/controller/gstcontroller.c:
387 * libs/gst/controller/gstcontrollerprivate.h:
388 Keep last-value and only call set_property if value has changed. This
389 supresses all the g_object_notifies we would trigger otherwise. It
390 also allows the user to chage the value while there is no controller
393 2008-11-17 Stefan Kost <ensonic@users.sf.net>
396 Don't crash if either of the string GValues is empty.
398 2008-11-17 Andy Wingo <wingo@pobox.com>
400 * tools/gst-inspect.c (print_all_uri_handlers): New function,
401 prints a summary of what URI schemes are supported by what
403 (main): Plumb in support for --uri-handlers or -u, and fix the
404 argc check for -a and -u.
406 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
409 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
410 conversion functions.
412 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
414 * gst/gstbuffer.c: (gst_buffer_finalize):
415 Avoid costly typechecking for trivially correct pointers.
417 * gst/gstpoll.c: (gst_poll_wait):
418 Add some G_LIKELY here and there.
420 * libs/gst/base/gstadapter.c: (gst_adapter_push):
423 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
425 * docs/random/wtay/poll-timeout:
428 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
430 * tests/old/testsuite/caps/intersection.c: (main):
431 * tests/old/testsuite/plugin/loading.c: (main):
432 Remove references to deprecated API g_mem_chunk*.
435 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
437 * tools/gst-inspect.c: (main):
438 Add --plugin option. Fixes #560301.
440 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
442 * docs/random/wtay/poll-timeout:
443 Quick braindump for a possible (not totally verified) atomic case.
445 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
447 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
448 (gst_registry_binary_initialize_magic),
449 (gst_registry_binary_write_cache),
450 (gst_registry_binary_check_magic):
451 * gst/gstregistrybinary.h:
452 Don't write and check a CRC for the binary registry file. It's
453 guaranteed that the registry is completely written (it's first written
454 to a temporary file and then moved) and if the registry was corrupted
455 by some hardware failure we would have bigger problems.
457 Bump binary registry version to 0.10.21.1 for this as it's an
458 incompatible change and to ensure that the registry gets rebuild
461 This saves some milliseconds for reading/writing the registry.
464 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
466 * docs/random/wtay/poll-timeout:
467 Some pseudo code for how we could implement clock timeouts with GstPoll.
469 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
471 * plugins/elements/gstfilesink.c:
472 Update Author string to match others.
474 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
476 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
477 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
478 being fixed and inline the trivial check.
480 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
482 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
483 (gst_caps_merge_structure), (gst_caps_get_structure),
484 (gst_caps_copy_nth), (gst_caps_set_simple),
485 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
486 (gst_caps_is_equal_fixed), (gst_caps_intersect),
487 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
488 (gst_caps_to_string):
489 Callgrind micro optimisations.
490 Avoid array bounds checks and force inline of trivial function.
492 * gst/gstobject.c: (gst_object_set_name_default):
493 -1 is equivalent to letting glib to the strlen but then there is more
494 room for optimisations and it's not our fault.
496 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
497 no need to clear the array, we're cool.
499 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
500 The most common _is_fixed() check is done on fundamental glib base
501 types so we check this first instead of doing a huge amount of
502 useless GST_TYPE_ARRAY calls.
504 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
507 Add a SKIP seek flag for use with advanced trickmodes.
508 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
510 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
512 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
513 No need to memset, we can clear the value ourselves.
515 * gst/gstvalue.c: (gst_type_is_fixed),
516 (gst_value_get_compare_func):
517 Some optimisations from a few callgrind sessions:
518 When checking if a type is fixed, check for trivial fundamental types
519 first before checking types for which we need to get the type followed
520 by the heavy duty type checks, this reduces the amount of
521 g_type_fundamental() calls a lot.
522 When getting the compare function, first check for our registered types.
523 If that fails, do the heavy duty g_type_is_a() checks, reduces the
524 amount of g_type_is_a() considerably.
526 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
528 * docs/design/part-TODO.txt:
529 Mumble something about removing GstXML.
531 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
533 * gst/gstbin.c: (gst_bin_handle_message_func):
534 Get the seqnum before we dispose the message.
536 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
538 * docs/design/part-TODO.txt:
539 Refer to the framestepping document.
541 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
543 * gst/gstbin.c: (bin_handle_async_start),
544 (gst_bin_handle_message_func), (gst_bin_query):
545 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
546 (gst_base_sink_event), (gst_base_sink_change_state):
547 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
548 (gst_base_src_loop), (gst_base_src_change_state):
549 Copy seqnums from events to messages so that they can all be related
552 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
554 * tools/gst-launch.c: (event_loop):
555 Print the message seqnums.
557 2008-11-04 Andy Wingo <wingo@pobox.com>
559 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
561 2008-11-04 Andy Wingo <wingo@pobox.com>
563 Add sequence numbers to events and messages. See #559250.
565 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
569 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
570 events with a new sequence number, and copy it when copying.
571 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
572 an event's sequence number.
575 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
576 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
579 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
581 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
583 * docs/manual/advanced-position.xml:
584 * docs/manual/basics-bins.xml:
585 * docs/manual/basics-bus.xml:
586 * docs/manual/basics-pads.xml:
587 * docs/manual/intro-gstreamer.xml:
588 * docs/manual/intro-preface.xml:
589 Some Application Development Manual fixes thanks to
590 Andrew Feren. Fixes #558459.
592 2008-11-03 Stefan Kost <ensonic@users.sf.net>
594 * gst/gstregistrybinary.c:
595 Don't bother with the GTimer if we don't output the results.
597 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
599 Patch by: David Schleef <ds@schleef.org>
601 * libs/gst/net/Makefile.am:
602 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
604 2008-10-31 Stefan Kost <ensonic@users.sf.net>
606 * gst/gstregistrybinary.c:
607 Oh my, studip, stupid me. Remove double stat() call.
609 2008-10-31 Stefan Kost <ensonic@users.sf.net>
612 Use g_unlink instead of unlink.
614 * gst/gststructure.c:
623 Formatting & whitespaces.
625 2008-10-31 Stefan Kost <ensonic@users.sf.net>
627 * plugins/elements/gstidentity.c:
628 Doc typo. Use return value of parent_class->event.
630 * plugins/elements/gsttypefindelement.c:
631 Chain up at the end for consistency.
633 2008-10-30 Stefan Kost <ensonic@users.sf.net>
636 * docs/gst/gstreamer-docs.sgml:
637 * docs/gst/gstreamer-sections.txt:
638 * docs/gst/running.xml:
639 * docs/libs/gstreamer-libs-docs.sgml:
640 Change to xinclude based build - its faster and easier to maintain.
642 2008-10-30 Stefan Kost <ensonic@users.sf.net>
644 * gst/gstregistrybinary.c:
645 * gst/gstregistryxml.c:
646 Use g_unlink() as none of these are directories.
648 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
650 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
653 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
655 * libs/gst/base/gstbasetransform.c:
656 (gst_base_transform_find_transform), (gst_base_transform_getrange):
657 If we have a fixate function, call it even if we already have fixed caps
658 because the subclass might add some caps. Makes audioconvert add a
659 default channel layout.
661 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
663 * libs/gst/base/gstbasetransform.c:
664 (gst_base_transform_prepare_output_buffer),
665 (gst_base_transform_getrange):
666 Clear the output buffer variable.
667 Cleanups to the error path in the getrange function.
670 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
672 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
673 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
674 Use gst_buffer_try_new_and_alloc() and handle errors instead of
675 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
678 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
680 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
681 Set the last_stop to a more meaningful position when configuring the
682 segment. ie. the start/stop of the segment or clipped against the
683 updated segment boundaries.
685 * tests/check/gst/gstsegment.c: (GST_START_TEST):
686 Add some unit tests for the last_stop.
688 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
690 * libs/gst/base/gstbytereader.c:
691 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
694 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
696 * docs/gst/gstreamer-sections.txt:
698 API: Move float endianness conversion macros from libgstfloatcast
699 to core as it's useful in general, even in core. Fixes bug #555196.
700 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
701 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
702 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
704 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
705 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
706 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
707 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
709 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
711 * docs/libs/gstreamer-libs-sections.txt:
712 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
713 (gst_byte_reader_peek_data):
714 * libs/gst/base/gstbytereader.h:
715 * win32/common/libgstbase.def:
716 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
717 to get a pointer to the data at the current position and have
720 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
723 Fix a bug in the output of the configure script summary
724 when --gst-disable-registry is supplied
726 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
728 * libs/gst/base/gstbitreader.c:
729 * libs/gst/base/gstbytereader.c:
730 Fix the names of 2 functions in the docs strings.
732 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
734 * libs/gst/base/gstbasetransform.c:
735 (gst_base_transform_prepare_output_buffer),
736 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
737 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
738 refcount problems as seen in banshee and maybe also in farsight2.
739 Remove atomic int now that we need to take the lock anyways.
741 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
743 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
744 (gst_base_sink_default_prepare_seek_segment),
745 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
746 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
747 (gst_base_sink_query):
748 Implement more seeking in pull mode.
749 Use pad convert functions to convert position to the requested format.
750 Fix position/duration reporting in pull mode.
751 Implement position and duration reporting in other formats than time.
753 * libs/gst/base/gstbasesink.h:
754 Add member to keep track of when the segment is playing.
756 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
758 * gst/gstpad.c: (gst_pad_configure_src):
759 When we use gst_pad_alloc_buffer() without wanting to set the caps we
760 also don't need to check if the caps are compatible because the caller
761 presumably is going to perform its own custom checks. Fixes some cases
762 where basetransform elements would error out when it was not needed.
764 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
766 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
769 * libs/gst/base/gstbasetransform.c:
770 (gst_base_transform_handle_buffer),
771 (gst_base_transform_reconfigure):
774 * win32/common/libgstbase.def:
777 2008-10-19 Stefan Kost <ensonic@users.sf.net>
779 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
780 Remove duplicated assignment and log a message in failure case.
782 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
784 Patch by: Dig Ge <dig.ge.cn at gmail com>
786 * tests/examples/helloworld/helloworld.c: (main):
787 Fix copy'n'paste bug in hello world example (#556900).
789 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
791 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
792 (gst_base_sink_query):
793 Query the total number of bytes when activating the pad in pull mode.
794 Implement duration query in pull mode by using the installed pad convert
795 function to convert from bytes to the requested format.
797 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
799 * docs/libs/gstreamer-libs-sections.txt:
800 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
801 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
802 (gst_base_sink_event), (gst_base_sink_perform_seek),
803 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
804 (gst_base_sink_send_event), (gst_base_sink_change_state):
805 * libs/gst/base/gstbasesink.h:
806 Add method to commit the state in subclasses.
807 Refactor the flush_start and flush_stop code because we need it for
808 flushing while seeking too.
809 Implement the beginnings of seeking in pull mode.
810 Use the segment last_stop field for the pulling offset.
811 Fix the pause method in pull mode.
812 Configure the segment to BYTES for pull mode.
813 API: GstBaseSink::gst_base_sink_do_preroll()
815 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
817 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
820 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
822 * gst/gstquark.c: (_priv_gst_quarks_initialize):
823 Fix printf format warning.
825 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
827 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
828 Fix flow aggregation of tee. Error out immediately for all flow returns
829 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
830 and return OK if at least one pad is linked.
832 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
833 and otherwise returned the flow return of the last pad, which is wrong.
835 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
836 (GST_START_TEST), (tee_suite):
837 Add unit tests for the flow aggregation.
839 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
841 * docs/design/part-TODO.txt:
842 Remove item from the todo list because it was fixed with the latency
843 state change rewrites.
845 * docs/design/part-seeking.txt:
846 * docs/design/part-segments.txt:
849 * gst/gstevent.c: (gst_event_new_new_segment_full),
850 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
851 (gst_event_parse_buffer_size), (gst_event_new_qos),
852 (gst_event_parse_qos), (gst_event_new_seek),
853 (gst_event_parse_seek), (gst_event_new_latency),
854 (gst_event_parse_latency):
855 Use quarks to construct and parse events.
857 * gst/gstquark.c: (_priv_gst_quarks_initialize):
859 Add some more quarks to the table.
860 Emit a warning when the quark tables are not in sync.
862 * tests/check/gst/gstbus.c: (GST_START_TEST):
865 2008-10-13 Stefan Kost <ensonic@users.sf.net>
867 * plugins/elements/Makefile.am:
868 * plugins/indexers/Makefile.am:
869 Don't install static libs for plugins. Fixes #550851 for core.
871 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
873 * gst/gstbus.c: (gst_bus_source_finalize),
874 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
875 (gst_bus_enable_sync_message_emission),
876 (gst_bus_disable_sync_message_emission),
877 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
878 Fix deadlock, g_source_get_id() cannot be called in finalize.
879 Keep track of the watch source by keeping a pointer to the source object
881 Use the bus lock to protect access to the pointer to the current
884 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
886 Base on Patch by: Olivier Crete <tester at tester dot ca>
888 * gst/gstbus.c: (gst_bus_source_finalize),
889 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
890 Only allow one bus watch to be set at a time. This is necessary
891 because the dispatcher pops the message from the bus and the second
892 watcher will then get NULL or the next message (and the first won't
893 get this next message then, etc). If more than one "watcher" is
894 required signal watches should be used. Fixes bug #526044.
896 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
898 * tools/gst-launch.c:
899 Change the printing of the 'buffering...' output to avoid putting
900 a \r in a translateable string (flagged by the TP).
902 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
905 Clarify that the save_thyself() and restore_thyself() virtual
906 functions of GstObject need to be overriden, not
907 gst_object_(save|restore)_thyself() which is impossible.
910 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
912 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
913 Revert a patch from 21 months ago that broke caps negotiation in pull
914 mode. Basically, having a buffer pass over a pad will trigger the
915 setcaps function when caps change, just like in push mode.
917 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
919 * docs/design/part-negotiation.txt:
920 Update the docs some more.
922 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
923 If we pull a buffer with non-trivial caps, suggest those caps with the
926 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
928 * docs/design/part-TODO.txt:
929 Add another limitation of pad-blocking with segment seeks not pushing
932 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
934 * win32/common/libgstbase.def:
935 * win32/common/libgstreamer.def:
936 Add new symbols to the win32 defs files
938 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
940 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
941 (gst_bin_handle_message_func):
942 The message src can be NULL, don't try to print the object names in that
945 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
946 Add some more debug info.
948 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
951 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
954 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
956 * docs/design/part-negotiation.txt:
959 * docs/libs/gstreamer-libs-sections.txt:
960 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
961 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
962 (gst_base_sink_init), (gst_base_sink_set_blocksize),
963 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
964 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
965 (gst_base_sink_loop), (gst_base_sink_pad_activate),
966 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
967 (gst_base_sink_change_state):
968 * libs/gst/base/gstbasesink.h:
969 Add blocksize property and methods to control the amount of data
971 Negotiate first before activating upstream in pull mode so that they can
972 negotiate themselves.
973 When we operate in pull mode, we only accept the caps that we
975 Make the sink go ASYNC to PAUSED, like all other sinks.
976 API: GstBaseSink::gst_base_sink_set_blocksize()
977 API: GstBaseSink::gst_base_sink_get_blocksize()
978 API: GstBaseSink::blocksize
980 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
981 (gst_base_src_set_live), (gst_base_src_is_live),
982 (gst_base_src_set_format), (gst_base_src_query_latency),
983 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
984 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
985 (gst_base_src_set_property), (gst_base_src_get_property):
986 * libs/gst/base/gstbasesrc.h:
987 Add typechecking in public API functions.
988 Add methods to control the blocksize in subclasses.
989 API: GstBaseSrc::gst_base_src_set_blocksize()
990 API: GstBaseSrc::gst_base_src_get_blocksize()
992 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
994 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
995 (buffer_probe), (event_probe), (GST_START_TEST):
996 We now see 3 events go through our pad, since basesink now sends
997 upstream latency events.
999 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1001 * gst/gstpipeline.c: (gst_pipeline_change_state):
1002 Release the object lock before trying to flush the bus.
1004 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1006 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1007 Forward LATENCY events upstreams so that elements know about the total
1008 pipeline latency. Fixes #555307.
1010 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1012 * plugins/elements/gstqueue.c:
1013 Allow through queries when we don't know how
1014 to adjust them (not TIME or BYTES), as otherwise it's
1015 not possible to query the current position in order
1016 to seek in other formats at all.
1018 2008-10-08 Andy Wingo <wingo@pobox.com>
1020 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1022 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1024 * gst/gstghostpad.c:
1025 * gst/gstghostpad.h:
1026 Unbreak -good build, private is a reserved c++ keyword.
1028 2008-10-08 Andy Wingo <wingo@pobox.com>
1030 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1031 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1032 removal: re-add GST_GHOST_PAD_CAST to the header.
1034 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1035 (GstGhostPadClass): Publically expose these structures so as to
1036 allow easy subclassing from C. Hide the member data behind a
1037 private opaque data pointer.
1039 * gst/gstghostpad.c: Adapt to store instance data in the type
1040 instance's private data region, not in the public struct.
1042 2008-10-08 Andy Wingo <wingo@pobox.com>
1044 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1045 template via g_object_get(), be sure to unref it.
1047 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1049 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1051 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1052 If we can't get a cache file don't try to save something to it.
1053 Dereferencing NULL pointers usually isn't a good idea.
1055 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1057 * tests/check/Makefile.am:
1058 * tests/check/gst/gstabi.c:
1059 * tests/check/gst/struct_sparc.h:
1060 * tests/check/libs/libsabi.c:
1061 * tests/check/libs/struct_sparc.h:
1062 Add Sparc ABI checks
1064 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1065 Cast signed integer to unsigned to avoid a compiler warning.
1067 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1069 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1070 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1071 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1072 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1073 (gst_byte_reader_peek_int24_be):
1074 Use new GST_READ_UINT24_(LE|BE) macros.
1076 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1078 * docs/gst/gstreamer-sections.txt:
1080 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1081 as it's too easy to break the ISO C strict aliasing rules with simple
1082 casts to the corresponding type and this would introduce hard to debug
1083 bugs. Fixes bug #545714.
1085 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1087 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1089 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1090 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1091 Add 'Since' bits to gtk-doc chunks for new API.
1093 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1095 * docs/gst/gstreamer-sections.txt:
1098 2008-10-06 Andy Wingo <wingo@pobox.com>
1100 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1101 that will be called on the malloc_data to free it. Basically a way
1102 to avoid subclassing when all you need is a different free
1103 function, i.e. free() instead of g_free().
1105 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1106 calling the free function.
1107 (gst_buffer_init): Initialize the free function to g_free.
1109 2008-10-06 Andy Wingo <wingo@pobox.com>
1111 * gst/gstghostpad.h:
1112 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1113 finishes the initialization of ghost pad. Useful for language
1114 bindings and subclassers of GstGhostPad. Fixes #539108.
1115 (gst_ghost_pad_new_full): Use the new constructor.
1117 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1119 Base on Patch by: Olivier Crete <tester at tester dot ca>
1121 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1122 (gst_bin_remove_func), (update_degree),
1123 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1124 Keep track of pads that are being linked/unlinked and resync the state
1127 * gst/gstpad.c: (gst_pad_get_direction),
1128 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1129 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1130 (gst_pad_link_prepare), (gst_pad_link),
1131 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1132 (gst_pad_check_pull_range), (gst_pad_get_range),
1133 (gst_pad_pull_range):
1134 Some code cleanups, use macros to check pad direction.
1135 Don't need to take the lock on the pad direction.
1136 Post structure change when pads are linked/unlinked.
1137 Change some checks into _return_if_fail().
1139 * tests/check/gst/gstbin.c:
1140 (test_link_structure_change_state_changed_sync_cb),
1141 (GST_START_TEST), (gst_bin_suite):
1142 Add testcase for pad link/unlinke resync during a state change.
1145 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1147 * docs/gst/gstreamer-sections.txt:
1148 * gst/gstmessage.c: (gst_message_new_structure_change),
1149 (gst_message_parse_structure_change):
1151 Implement STRUCTURE_CHANGED messages. These messages will be used to
1152 signal the parent bin of link/unlink operations that could require a
1153 resync when doing a state change. See ##510354.
1154 API: gst_message_new_structure_change()
1155 API: gst_message_parse_structure_change()
1157 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1161 Add some more quarks for new message. See #510354.
1163 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1165 * docs/libs/gstreamer-libs-docs.sgml:
1166 * docs/libs/gstreamer-libs-sections.txt:
1167 * libs/gst/base/Makefile.am:
1168 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1169 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1170 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1171 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1172 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1173 (gst_bit_reader_skip_to_byte):
1174 * libs/gst/base/gstbitreader.h:
1175 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1176 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1177 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1178 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1179 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1180 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1181 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1182 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1183 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1184 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1185 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1186 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1187 * libs/gst/base/gstbytereader.h:
1188 * tests/check/Makefile.am:
1189 * tests/check/libs/bitreader.c: (GST_START_TEST),
1190 (gst_bit_reader_suite):
1191 * tests/check/libs/bytereader.c: (GST_START_TEST),
1192 (gst_byte_reader_suite):
1193 API: Add bit reader and byte reader classes, including documentation
1194 and an extensive unit test suite. Fixes bug #553554.
1196 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1198 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1199 (gst_base_sink_query):
1200 Improve position reporting while flushing and other intermediate state
1201 changes. Fixes #553874.
1203 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1205 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1207 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1208 Original patch by : Simon Descaries
1209 Fix small refount leak in caps compatibility check.
1212 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1214 * docs/pwg/advanced-request.xml:
1215 Fix 0.8 api usage in example. Fixes #554561
1217 * docs/pwg/appendix-porting.xml:
1218 Change 0.9 to 0.10 here.
1220 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1222 * docs/manual/basics-data.xml:
1223 Change "event-event interaction" to "element-element interaction".
1224 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1227 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1230 Back to development -> 0.10.21.1
1232 === release 0.10.21 ===
1234 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1237 releasing 0.10.21, "Take These Things From Me"
1239 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1242 0.10.20.4 pre-release
1244 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1246 * libs/gst/base/gstbasetransform.c:
1247 * plugins/elements/gstcapsfilter.c:
1248 * tests/check/Makefile.am:
1249 * tests/check/elements/.cvsignore:
1250 * tests/check/elements/capsfilter.c:
1251 Fix assertion in basetransform when the subclass chooses not to
1252 allocate a buffer in prepare_buffer(), and make capsfilter error out
1253 cleanly if requested to apply caps that don't completely specify the
1254 buffer. Fixes #551509
1256 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1258 * libs/gst/base/gstbasetransform.c:
1259 (gst_base_transform_prepare_output_buffer):
1260 Take new caps ref because our old one might have been gone when the
1261 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1263 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1266 Do not probe availability of check unit test library when cross
1267 compiling, as test would not work anyway. Also cleanup verbose output
1268 of the check test. Fixes #551952.
1270 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1272 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1274 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1275 Avoid leaking the parent ref when we fail changing the state of the
1276 element using gst_element_sync_state_with_parent(). Fixes #551978.
1278 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1280 * docs/manual/intro-motivation.xml::
1281 Remove some bits that no longer apply, update others (#551642).
1283 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1286 0.10.20.2 pre-release
1294 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1296 * win32/common/config.h.in:
1297 Add GST_DATADIR, hard-code cpu to x86.
1299 * win32/common/libgstreamer.def:
1302 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1305 Fix Since: markers for new geo tags.
1307 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1310 Fix actual tag name define after renaming from altitude to elevation.
1312 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1314 * gst/gstpad.c: (add_unref_pad_to_list),
1315 (gst_pad_get_internal_links_default):
1316 Add fallback when calling the deprecated function on an element that
1317 implements the new internal_link handler.
1319 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1321 * docs/gst/gstreamer-sections.txt:
1324 Add new tags for geo location and clarify purpose of existing location
1327 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1329 Patch by: Olivier Crete <tester at tester dot ca>
1331 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1332 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1333 Use thread-safe internal links iterator. Fixes #549504.
1335 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1337 Based on patch by: Olivier Crete <tester at tester dot ca>
1339 * docs/gst/gstreamer-sections.txt:
1340 * win32/common/libgstreamer.def:
1341 * gst/gstpad.c: (gst_pad_init),
1342 (gst_pad_set_iterate_internal_links_function),
1343 (int_link_iter_data_free), (iterate_pad),
1344 (gst_pad_iterate_internal_links_default),
1345 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1347 Add threadsafe replacement functions for getting internal links of an
1348 element. Deprecate the old internal links functions.
1349 API:GstPad::gst_pad_set_iterate_internal_links_function()
1350 API:GstPad::GstPadIterIntLinkFunction
1351 API:GstPad::gst_pad_iterate_internal_links()
1352 API:GstPad::gst_pad_iterate_internal_links_default()
1354 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1355 (gst_proxy_pad_init):
1356 Implement threadsafe internal links.
1358 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1359 Unit test for internal links on tee. See #549504.
1361 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1363 * tests/check/Makefile.am:
1364 libs/transform1 test requires libs/test_transform.c
1366 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1368 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1369 Die evil deadlock, die !
1371 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1373 * gst/gstutils.c: (gst_element_get_compatible_pad):
1374 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1375 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1376 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1377 not steal the refcount of the given caps as stated.
1379 REVERT THIS COMMIT ONCE FIXED !
1380 REVERT THIS COMMIT ONCE FIXED !
1381 REVERT THIS COMMIT ONCE FIXED !
1382 REVERT THIS COMMIT ONCE FIXED !
1383 REVERT THIS COMMIT ONCE FIXED !
1384 REVERT THIS COMMIT ONCE FIXED !
1386 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1388 * gst/gstiterator.c:
1389 * gst/gstiterator.h:
1390 After 3 years it's about time to revise the documentation of the
1393 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1395 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1396 Make the internal links function less thread-unsafe and add some
1397 comments, dunno why.
1399 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1401 * gst/gst_private.h:
1402 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1403 build with --disable-gst-debug.
1405 2008-08-28 David Schleef <ds@schleef.org>
1407 * gst/gstpadtemplate.c: Revert last change, since it breaks
1408 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1409 but shouldn't be enabled until we've released fixed versions
1410 of -good and -ffmpeg.
1412 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1415 Put the gst_object_get_name() back in.
1417 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1419 * gst/gstpadtemplate.c:
1420 The old behaviour was that gst_pad_template_new() takes ownership of
1421 the caps. As we now call g_object_new() which calls g_object_set() and
1422 which copies the caps, we have to unref them to not leak them. Fixes
1423 make valgrid for me.
1425 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1428 Don't segfault on input like "tel:+1-123-555-1234".
1430 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1433 Due to popular request also include ObjectType in
1434 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1436 2008-08-26 David Schleef <ds@schleef.org>
1438 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1439 src_val must be positive, because that's not a requirement.
1440 This causes problems with converting negative granulepos
1442 * gst/gstquery.c: Same, gst_query_new_convert().
1444 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1446 * gst/gstclock.c: (gst_clock_add_observation):
1447 Add some more debugging to the clock slaving code.
1449 * win32/common/libgstbase.def:
1450 Add new basetransform method.
1452 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1454 * gst/gstbin.c: (gst_bin_element_set_state):
1455 Take the (recursive) state lock between getting the locked state of an
1456 element and changing the element state. This allows the application to
1457 lock an element's state and then change its state without races.
1459 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1461 * gst/gstbin.c: (gst_bin_element_set_state):
1462 When an element is in the locked state we still want to update the
1463 base_time of the element.
1465 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1467 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1468 Use the result from gst_pad_set_caps() instead of assuming the element
1469 always accepted the caps computed by the default negotiate function.
1471 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1473 * docs/libs/gstreamer-libs-sections.txt:
1474 * libs/gst/base/gstbasetransform.c:
1475 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1476 (gst_base_transform_chain), (gst_base_transform_suggest),
1477 (gst_base_transform_reconfigure):
1478 * libs/gst/base/gstbasetransform.h:
1479 Implement method for reconfiguring basetransform.
1480 API: GstBaseTransform::gst_base_transform_reconfigure()
1482 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1484 patch by: Murray Cumming <murrayc@murrayc.com>
1487 Mention that this is just like gst_buffer_merge() but with extra
1488 unreffing for C coders. Advise language bindings not to wrap it.
1491 Also fix file comment.
1493 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1495 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1497 * plugins/elements/gstfakesink.c:
1498 * plugins/elements/gstfakesrc.c:
1499 Call super::event() when not handling it. Fixes #544855.
1501 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1503 Patch by: Alessandro Decina <alessandro@nnva.org>
1504 * plugins/elements/gstfilesrc.c:
1505 Use 64 bit variants of stat functions on win32, to enable support
1506 of large files there.
1509 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1511 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1512 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1513 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1514 (gst_base_sink_get_position), (gst_base_sink_change_state):
1515 Improve position reporting in the flushing state.
1516 Also report the position when we are not yet prerolled but we
1517 have a newsegment event. Fixes #543444.
1518 Improve the pull-based negotiation code.
1520 * tests/check/elements/fakesink.c: (GST_START_TEST),
1522 Add testcase for position reporting while flushing in PAUSED and
1525 * tests/check/generic/sinks.c: (GST_START_TEST):
1526 Update unit-test, we can now query the position as soon as we receive a
1529 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1531 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1533 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1534 When the subclass event handler releases the PREROLL_LOCK, we could be
1535 in the flushing state and we have to ignore the event. Fixes #548394.
1537 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1539 * tools/gst-launch.1.in:
1540 Document GST_REGISTRY_UPDATE environment variable.
1542 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1544 * libs/gst/base/gstbasetransform.c:
1545 (gst_base_transform_prepare_output_buffer):
1546 If the element is configured in passthrough mode but the
1547 prepare_output_buffer gave us a new output buffer, discard that buffer
1548 and reuse the input buffer.
1550 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1552 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1554 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1555 (gst_tee_request_new_pad), (gst_tee_release_pad),
1556 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1557 * plugins/elements/gsttee.h:
1558 Protect pad_alloc with a new lock so that we can be sure that nothing is
1559 performing a pad_alloc when removing the pad. Fixes #547835.
1561 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1562 (buffer_alloc_harness_teardown), (app_thread_func),
1563 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1564 Added testcase for shutdown race.
1566 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1571 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1573 * libs/gst/base/gstbasetransform.c:
1574 (gst_base_transform_prepare_output_buffer),
1575 (gst_base_transform_buffer_alloc):
1576 Go over the buffer_alloc function again and make sure we always end up
1577 allocating a buffer.
1579 Avoid doing pad alloc when we have a pending suggestion because we
1580 cannot yet deal with changing caps in that case. Fixes #547728
1582 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1584 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1586 * docs/manual/advanced-clocks.xml:
1587 * docs/manual/clocks.png:
1588 * docs/manual/diagrams-clocks.svg:
1589 Add one more image showing different times together with a describing
1590 paragraph. Fixes #547729.
1592 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1594 * win32/common/libgstbase.def:
1597 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1599 * libs/gst/base/gstbasetransform.c:
1600 (gst_base_transform_transform_caps),
1601 (gst_base_transform_prepare_output_buffer),
1602 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1603 Don't overwrite the outsize when calculating the expected size of a new
1604 buffer because we still need it in case we cannot process the new
1606 When converting the size of the new buffer to an upstream size, actually
1607 use the expected size of the buffer, not some other random value.
1608 Use an atomic int to signal that a new upstream caps suggestion is
1610 When we can convert the current buffer to a new format, check if the
1611 buffer size is of the expected size and allocate a new buffer of the
1612 expected size when this is not the case. Fixes #546883.
1614 * tests/check/libs/transform1.c: (GST_START_TEST):
1615 remove ifdeffed code from the unit test.
1617 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1619 * pkgconfig/gstreamer-uninstalled.pc.in:
1620 * pkgconfig/gstreamer.pc.in:
1621 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1622 called gstcontroller-0.10.
1624 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1626 * gst/gstchildproxy.h:
1628 Remove double interface from doc-string.
1630 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1632 * libs/gst/base/gstbasesrc.c:
1633 * libs/gst/base/gstbasetransform.c:
1634 Fix headings in docs and gtk-doc warnings.
1636 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1638 * gst/gstregistrybinary.c:
1639 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1643 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1645 * libs/gst/base/gstbasetransform.c:
1646 (gst_base_transform_buffer_alloc):
1647 Fix a "may be used unitialized" warning.
1649 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1651 * docs/gst/gstreamer-sections.txt:
1653 Document preset-iface vmethods.
1655 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1657 * docs/manual/advanced-interfaces.xml:
1658 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1659 only used to discover devices.
1661 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1663 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1665 * gst/gst.c: (init_pre):
1666 Make sure gettext returns translations in UTF-8 encoding rather
1667 than in the current locale encoding (#546822).
1669 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1671 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1674 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1675 Improve unit test subset tests and add a testcase for the subset failure
1678 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1679 Improve subtraction unit test.
1681 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1683 * plugins/elements/gsttee.c:
1684 Unlock, instead of locking again.
1686 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1689 Clarify the docs a bit more.
1691 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1693 * tests/examples/metadata/read-metadata.c:
1694 Don't leak old taglist.
1696 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1698 Patch by: Olivier Crete <tester at tester dot ca>
1700 * gst/gststructure.c:
1701 (gst_structure_fixate_field_nearest_fraction):
1702 Avoid overflows in fixation code when dealing with MAXINT values, which
1703 v4l2src seems to do.
1706 * tests/check/gst/gststructure.c: (GST_START_TEST):
1707 Make a unit test to check the fix.
1709 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1711 * plugins/elements/gstcapsfilter.c: (copy_func),
1712 (gst_capsfilter_set_property):
1713 Use new caps suggestion feature of basetransform to request a caps
1714 negotiation upstream.
1716 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1718 * docs/libs/gstreamer-libs-sections.txt:
1720 API: GstBaseTransform::gst_base_transform_suggest()
1722 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1723 (gst_base_transform_init), (gst_base_transform_transform_caps),
1724 (gst_base_transform_transform_size),
1725 (gst_base_transform_configure_caps),
1726 (gst_base_transform_can_transform),
1727 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1728 (gst_base_transform_prepare_output_buffer),
1729 (gst_base_transform_buffer_alloc),
1730 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1731 (gst_base_transform_chain), (gst_base_transform_activate),
1732 (gst_base_transform_set_passthrough),
1733 (gst_base_transform_is_passthrough),
1734 (gst_base_transform_set_in_place),
1735 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1736 (gst_base_transform_set_qos_enabled),
1737 (gst_base_transform_is_qos_enabled),
1738 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1739 (gst_base_transform_reconfigure):
1740 * libs/gst/base/gstbasetransform.h:
1741 Rewrite of basetransform to perform negotiation outside of the
1742 buffer_alloc functions. Fixes #545853.
1744 * tests/check/libs/transform1.c: (GST_START_TEST),
1748 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1750 * tests/check/gst/gstpreset.c:
1751 Only run preset tests when $HOME is writable. Preliminary fix for
1754 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1756 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1757 (gst_bin_change_state_func), (bin_handle_async_done),
1758 (gst_bin_handle_message_func):
1759 Fix race for bins that simulate ASYNC state changes by inserting
1760 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1761 pending ASYNC messages even when the bin does not have ASYNC children.
1762 We note detect this behaviour because we will receive an ASYNC message
1763 that is originating from the bin itself.
1764 Fixes races with decodebin2 state changes.
1766 * tests/check/gst/gstbin.c: (GST_START_TEST):
1767 Add some more debug.
1769 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1771 * gst/gsttaglist.c: (_gst_tag_initialize):
1774 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1777 Argh. actually save the text before committing. Now adds
1778 gst_tag_merge_strings_with_comma() to gst_tag_register().
1780 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1784 Do as tim pointed out and actually register the new tag. Also improve
1785 te docs and use gst_tag_merge_strings_with_comma() method to allow
1786 retriving all keywords merged in one list.
1788 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1791 * docs/gst/gstreamer.types:
1792 Revert 'accidential' change of the configure option removal. We still
1793 need to generate the types file in configure --disable-load-save.
1795 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1797 * docs/gst/gstreamer-sections.txt:
1799 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1801 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1803 * gst/gstpadtemplate.c:
1804 (gst_pad_template_class_init), (gst_static_pad_template_get),
1805 (gst_pad_template_new), (gst_pad_template_pad_created),
1806 (gst_pad_template_set_property), (gst_pad_template_get_property):
1807 Add "name-template", "direction", "presence" and "caps" properties,
1808 so that gst_pad_template_new() is just a thin wrapper around
1809 g_object_new(), which is better for bindings. (Fixes: #539772)
1811 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1814 Be more liberal in what URIs we accept.
1815 Do not unescape bits of the URI for no apparent reason before passing to
1816 the element. Fixes #545352.
1818 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1820 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1823 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1825 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1828 * docs/gst/gstreamer-sections.txt:
1829 * docs/gst/gstreamer.types:
1830 * docs/gst/gstreamer.types.in:
1833 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1834 * gst/gstconfig.h.in:
1835 * gst/gstelement.c: (gst_element_get_index):
1836 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1837 (gst_registry_binary_load_feature),
1838 (gst_registry_binary_read_cache):
1839 * gst/gstregistryxml.c: (load_feature),
1840 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1841 * plugins/Makefile.am:
1843 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1844 (print_plugin_features), (print_element_features):
1845 * tools/gst-xmlinspect.c: (print_event_masks),
1846 (print_element_info):
1847 * win32/common/gstconfig.h:
1848 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1850 Disabling the indexers and URI handler code will only reduce the
1851 required amount of memory by a very small amount but on the other hand
1852 requires much more maintaince work. Apart from that many places of
1853 code are broken when disabling them.
1855 Disabling the enum types doesn't reduce the required amount of memory
1856 by more than a few bytes and makes it hard to fix bugs like #539772,
1857 i.e. use the enums as GObject properties.
1859 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1861 * docs/design/part-TODO.txt:
1862 Add some thoughts and problems with upstream renegotiation.
1864 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1866 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1867 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1868 Remove silly redundant debug.
1869 Add some more debug info.
1870 Clarify the docs regarding new caps received from pad_alloc.
1872 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1874 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1875 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1876 Make setting the caps more threadsafe.
1878 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1880 * docs/design/part-element-transform.txt:
1883 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1885 * plugins/elements/gstqueue.c: (gst_queue_init),
1886 (gst_queue_acceptcaps):
1887 Add and use a custom acceptcaps function instead of falling back to the
1888 potentially less optimized default implementation.
1890 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1892 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1893 Only sanity-check the buffer size if requested_caps == buffer_caps
1894 (ie. don't take pad caps into account, they're not relevant here)
1896 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1898 * plugins/elements/gsttee.c:
1899 * plugins/elements/gsttee.h:
1900 Reverting as not everything is clear yet. Needs some general design
1903 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1906 ChangeLog surgery for tee commit.
1908 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1910 * docs/gst/gstreamer-sections.txt:
1911 Cleanup section-file.
1913 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1915 * plugins/elements/gsttee.c:
1916 * plugins/elements/gsttee.h:
1917 Relay tag events in tee. Fixes parts of #474016.
1918 Downgrades 3 reoccurring debugs to log.
1920 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1923 * libs/gst/Makefile.am:
1924 Build the net library if we have winsock2.
1926 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1928 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1930 * docs/manual/advanced-threads.xml:
1931 * docs/manual/diagrams-pipelines.svg:
1932 * docs/manual/hello-world.png:
1933 * docs/manual/linked-elements.png:
1934 * docs/manual/mime-world.png:
1935 * docs/manual/queue.png:
1936 * docs/manual/thread-buffering.png:
1937 * docs/manual/thread-synchronizing.png:
1938 Replace one diagram with two separate ones and updates others.
1941 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1944 Fix link in documentation.
1946 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1949 Fix confusing documentation.
1951 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1953 * libs/gst/base/gstbasesrc.h:
1954 revert the changes to the header file for the ABI.
1956 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1958 * libs/gst/base/gstbasesrc.c:
1959 * libs/gst/base/gstbasesrc.h:
1960 Don't cache the seekable status.
1963 2008-07-24 Rene Stadler <mail@renestadler.de>
1965 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1966 code to close the pipeline graph. This prevents the program from
1967 printing internal data flow errors.
1969 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1971 * docs/manual/basics-bus.xml:
1972 Correct typo. Fixes bug #544320.
1974 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1977 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1978 Add check (taken from -base) for winsock, adds WIN32_LIBS
1980 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1982 Define GST_EXPORTS when building libgstreamer (only used on win32)
1983 * gst/gst_private.h:
1985 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1986 for symbols that we need to export in both these files.
1988 Include gst_private.h higher up to avoid some compile problems on win32.
1990 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1995 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1998 Previous commit was wrong NULL caps does not exist
1999 and indicate an error, so also add a FIXME to
2000 gst_caps_is_equal where NULL caps are accepted.
2002 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2005 Allow passing of NULL to gst_caps_union
2007 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2009 * gst/gstghostpad.c:
2010 Add in doc that gst_ghost_pad_set_target can accept
2011 NULL to clear target
2013 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2016 * gst/gstregistry.c:
2017 GstRegistryPool doesn't exist; don't refer to it in docs.
2018 Don't refer to functions that don't exist in docs, it's
2021 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2024 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2026 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2028 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2030 * docs/pwg/building-testapp.xml:
2031 Don't use an undeclared variable in the example program.
2034 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2036 * gst/gstdebugutils.c:
2037 Squeeze ghost-pad links and remove <> from classname labels to save
2038 more horizontal space.
2040 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2042 * gst/gstdebugutils.c:
2043 Give request and sometimes pads a different shpe style. Condense the
2044 graphs a little more.
2046 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2049 Don't require flex and bison if the parser is disabled.
2051 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2053 * libs/gst/controller/gstinterpolationcontrolsource.c:
2054 (_list_find_sorted_custom):
2055 Don't use declarations after statements.
2057 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2059 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2060 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2061 of the the child-added / -removed signals as GstChildProxy
2062 only supports GstObjects.
2064 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2066 * gst/gstdebugutils.c:
2069 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2071 Patch by: Alessandro Decina <alessandro at nnva dot org>
2074 Fix "ignored return value" compiler warning with newer glibc.
2076 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2078 * gst/gstchildproxy.c:
2079 Fix copy&paste error in gst_child_proxy_removed() documentation.
2081 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2083 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2084 Print error debug message if plugin description fields that should
2087 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2088 Don't crash if the string to serialise is NULL (it really should
2089 not be, but apparently this used to work with the xml registry ...).
2091 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2093 * tools/gst-plot-timeline.py:
2094 Fix parsing of log messages
2096 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2098 * win32/common/libgstbase.def::
2099 Sort alphabetically so make check-exports doesn't barf.
2101 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2104 Use gst_format_get_name() to improve debug output.
2107 Remove #ifdef'ed code. Add TODO comment.
2110 Add debug output to ease spotting format != segment.format assertions.
2112 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2114 * tests/check/libs/gdp.c: (gst_dp_suite):
2115 Also enable the GDP unit test again on PPC now that the bug
2118 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2120 * libs/gst/dataprotocol/dataprotocol.c:
2121 Don't write to the same region of memory as a uint64 and uint16
2122 as this breaks strict aliasing rules and apparantly breaks on PPC
2123 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2125 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2127 * libs/gst/controller/gstinterpolationcontrolsource.c:
2128 Optimize list handling. Use own find function. Exploit that fact that
2129 the list is sorted. Also pass back the node before, so that we can
2130 insert quickly. Have a fast path for append.
2132 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2134 * docs/design/draft-framestep.txt:
2135 * docs/design/part-negotiation.txt:
2138 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2141 Show configuration sumary after configure run. Based on patch by
2142 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2144 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2146 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2148 * docs/manual/advanced-autoplugging.xml:
2149 * docs/manual/advanced-threads.xml:
2150 * docs/manual/basics-bins.xml:
2151 * docs/manual/basics-elements.xml:
2152 * docs/manual/basics-helloworld.xml:
2153 * docs/manual/basics-pads.xml:
2154 Add scale factor for pdf output.
2156 * docs/manual/intro-basics.xml:
2157 Switched sections "pads" and "bins" and added a pipeline diagram.
2159 * docs/manual/intro-gstreamer.xml:
2160 Added more info on gstreamer.
2162 * docs/manual/intro-motivation.xml:
2163 Commented out the whole section "current problem", which sounds
2164 historical and somehow osolete; it could be turned in a positive
2165 way and reused to improve the design principles.
2167 * docs/manual/intro-preface.xml:
2168 - Update URLs to library.gnome.org.
2169 - Do not mention GTK+ in preliminary reading (irrelevant).
2170 - Mention Plugin Writer's Manual and further reading only in the
2172 - Added a list of most relevant GObject/glib topics.
2174 * docs/manual/Makefile.am:
2175 * docs/manual/bin-element-ghost.fig:
2176 * docs/manual/bin-element-ghost.png:
2177 * docs/manual/bin-element-noghost.fig:
2178 * docs/manual/bin-element-noghost.png:
2179 * docs/manual/bin-element.fig:
2180 * docs/manual/bin-element.png:
2181 * docs/manual/filter-element-multi.fig:
2182 * docs/manual/filter-element-multi.png:
2183 * docs/manual/filter-element.fig:
2184 * docs/manual/filter-element.png:
2185 * docs/manual/gstreamer-overview.png:
2186 * docs/manual/hello-world.fig:
2187 * docs/manual/hello-world.png:
2188 * docs/manual/linked-elements.fig:
2189 * docs/manual/linked-elements.png:
2190 * docs/manual/mime-world.fig:
2191 * docs/manual/mime-world.png:
2192 * docs/manual/queue.fig:
2193 * docs/manual/queue.png:
2194 * docs/manual/simple-player.png:
2195 * docs/manual/sink-element.fig:
2196 * docs/manual/sink-element.png:
2197 * docs/manual/src-element.fig:
2198 * docs/manual/src-element.png:
2199 * docs/manual/diagrams-general.svg:
2200 * docs/manual/diagrams-pipelines.svg:
2201 Removed .fig, added .png counterpart.
2205 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2207 * plugins/elements/gstmultiqueue.c:
2208 * plugins/elements/gstmultiqueue.h:
2209 revert extra-size-buffers stuff, caused some race conditions
2210 and extra-size-buffers is not used anymore. Docs needs some updates
2212 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2214 * win32/common/config.h:
2215 * win32/common/gstenumtypes.c:
2216 * win32/common/gstenumtypes.h:
2217 * win32/common/gstversion.h:
2220 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2222 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2223 (GST_DEBUG_BIN_TO_DOT_FILE):
2224 Add missing Since' markers to gtk-doc blurbs.
2226 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2228 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2229 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2230 (set_caps_1), (set_caps_ct1), (transform_ct1),
2231 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2232 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2233 (transform_size_ct2), (buffer_alloc_ct2):
2234 Add some more tests with switching caps in buffer_alloc.
2236 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2238 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2239 (gst_test_trans_class_init), (result_sink_chain),
2240 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2241 (gst_test_trans_push), (gst_test_trans_pop):
2242 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2243 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2244 (set_caps_1), (set_caps_ct1), (transform_ct1),
2245 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2246 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2247 (transform_size_ct2), (buffer_alloc_ct2),
2248 (gst_basetransform_suite):
2249 More tests, prepare for tests with switching caps in buffer_alloc.
2251 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2253 * plugins/elements/gstmultiqueue.c:
2254 * plugins/elements/gstmultiqueue.h:
2255 Fix dead-lock in underrun_cb
2257 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2259 * docs/design/part-states.txt:
2260 Fix device open/close docs.
2262 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2265 Mention bugnumber for last commit.
2267 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2269 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2271 * docs/manual/manual.xml:
2272 - Reorganised the previous "introduction" bundle into Foreword,
2273 Introduction, and About GStreamer. The two first are <preface>
2274 docbook elements. The later is the first part of the book.
2275 - added intro-gstreamer.xml (content partially from
2277 - moved appendix-win32.xml into appendix-integration.xml
2279 * docs/manual/intro-preface.xml: gstreamer section moved...
2280 * docs/manual/intro-gstreamer.xml: ...here. new file.
2282 * docs/manual/appendix-win32.xml: removed file. Content moved...
2283 * docs/manual/appendix-integration.xml: ...here.
2285 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2286 * docs/manual/appendix-checklist.xml: ...here.
2290 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2292 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2294 * docs/manual/basics-helloworld.xml:
2295 * docs/manual/hello-world.fig:
2296 - Explicitely include glib.h.
2297 - Do not use global variables.
2298 - Use g_printerr() instead of g_print().
2299 - Minor formating/renaming to increase readibility.
2300 - Renamed new_pad() to on_pad_added()
2301 - Improved explenatory comments.
2302 - renamed ogg parser to ogg demuxer
2303 - Use "autoaudiosink" instead of "alsasink".
2306 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2309 Remove cvs conflict marker.
2311 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2314 Document that for plgin-docs we extraxt he short-desc from the element
2317 * docs/design/part-states.txt:
2318 Tell that devices should be closed in PAUSED -> READY.
2320 * docs/manual/README:
2321 Document how tests in the manual are handled.
2326 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2328 * gst/gstbin.c: (bin_query_latency_fold):
2329 Only care about latency min and max when the sink is actually a live
2332 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2334 * docs/design/part-block.txt:
2337 * docs/design/part-element-transform.txt:
2338 Add notes about why transform needs to know input/output sizes.
2339 Add some issues that need to be solved.
2340 Add some more use cases.
2342 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2343 (gst_test_trans_class_init), (result_sink_chain),
2344 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2345 (gst_test_trans_push), (gst_test_trans_pop):
2346 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2347 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2348 (set_caps_1), (set_caps_ct1), (transform_ct1),
2349 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2350 (gst_basetransform_suite):
2351 Add suport for different pad templates and buffer-alloc.
2352 Add more checks for caps and buffer-alloc.
2353 Add checks for proxy buffer alloc.
2354 Add unit test for copy transform.
2356 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2358 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2360 * docs/manual/appendix-integration.xml:
2361 * docs/manual/appendix-licensing.xml:
2362 * docs/manual/basics-elements.xml:
2363 * docs/manual/basics-helloworld.xml:
2364 * docs/manual/basics-pads.xml:
2365 * docs/manual/highlevel-components.xml:
2366 * docs/manual/highlevel-xml.xml:
2367 * docs/manual/intro-basics.xml:
2368 * docs/manual/intro-preface.xml:
2369 Typo and formatting fixes (#538594).
2371 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2373 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2374 Fix some memory leaks and uses of object instances that we don't
2377 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2379 * plugins/elements/gstmultiqueue.c:
2380 Add functionality to extra-size-buffers property.
2382 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2384 * plugins/elements/gstmultiqueue.c:
2385 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2386 activate the pads if they are added in STATE_NULL.
2388 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2390 * docs/libs/gstreamer-libs-sections.txt:
2392 * libs/gst/check/gstcheck.c:
2393 * libs/gst/check/gstcheck.h:
2394 API: gst_check_teardown_pad_by_name
2396 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2398 * libs/gst/check/gstcheck.c:
2399 * libs/gst/check/gstcheck.h:
2400 Also setup request pads and allow setup pads by name (#537812)
2401 API: gst_check_setup_src_pad_by_name
2402 API: gst_check_setup_sink_pad_by_name
2404 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2406 * tests/check/gst/gstbuffer.c:
2407 * tests/check/pipelines/parse-launch.c:
2408 Use HAVE_VALGRIND_H some more.
2410 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2412 * scripts/cvs-update.sh:
2413 Pass arguments to make.
2414 Run autoregen.sh if Makefile is not there.
2416 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2420 Don't assume that <valgrind/valgrind.h> exists just because
2421 the binary is there.
2423 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2425 * tests/check/Makefile.am:
2426 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2427 (gst_test_trans_class_init), (gst_test_trans_init),
2428 (gst_test_trans_set_data), (result_sink_chain),
2429 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2430 (gst_test_trans_pop):
2431 * tests/check/libs/transform1.c: (GST_START_TEST),
2432 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2433 Add some test basetransform element and the beginnings of various
2436 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2438 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2439 Increase code readability.
2440 Don't try to compare buffer offsets when ther are invalid.
2442 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2444 * docs/design/Makefile.am:
2445 Dist some more design docs.
2447 * docs/random/moving-plugins:
2448 Small addition: good plugins mustn't have functional code
2449 within assertion macros.
2451 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2453 * docs/design/draft-framestep.txt:
2454 Some ideas about a framestep API
2456 * docs/design/part-element-transform.txt:
2457 Start design and use cases for basetransform in order to get it
2460 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2463 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2464 be in UTF-8 encoding.
2466 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2469 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2471 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2473 * plugins/elements/gstcapsfilter.c:
2474 * plugins/elements/gstfakesink.c:
2475 * plugins/elements/gstfakesrc.c:
2476 * plugins/elements/gstfdsink.c:
2477 * plugins/elements/gstfdsrc.c:
2478 * plugins/elements/gstfilesink.c:
2479 * plugins/elements/gstfilesrc.c:
2480 * plugins/elements/gstidentity.c:
2481 * plugins/elements/gstmultiqueue.c:
2482 * plugins/elements/gstqueue.c:
2483 * plugins/elements/gsttee.c:
2484 * plugins/elements/gsttypefindelement.c:
2485 Remove short_description. Add basic docs for gsttypefindelement.
2486 Simplify markup for fakesrc/fdsrc.
2488 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2490 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2493 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2495 Patch by: Joel Larsson <tilljoel at gmail dot com>
2497 * docs/plugins/gstreamer-plugins.args:
2498 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2499 (gst_fd_src_init), (gst_fd_src_update_fd),
2500 (gst_fd_src_set_property), (gst_fd_src_get_property),
2501 (gst_fd_src_create):
2502 * plugins/elements/gstfdsrc.h:
2503 Add timeout property like udpsrc. Fixes #538628.
2504 Add some more docs and example pipelines.
2506 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2508 * docs/libs/gstreamer-libs-sections.txt:
2509 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2510 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2511 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2512 (gst_base_sink_do_sync):
2513 * libs/gst/base/gstbasesink.h:
2514 * win32/common/libgstbase.def:
2515 Add method to allow sinks to specify additional delay between the sync
2516 times and the actual rendering of the data.
2517 API: gst_base_sink_set_render_delay()
2518 API: gst_base_sink_get_render_delay()
2520 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2523 Bump version number back to dev -> 0.10.20.1
2525 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2527 * docs/gst/gstreamer-sections.txt:
2528 * gst/gsttaglist.c: (_gst_tag_initialize):
2530 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2533 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2535 * libs/gst/controller/gstcontroller.c:
2536 Revert one change, that make ret value possible uninitialized.
2538 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2540 * libs/gst/controller/gstcontroller.c:
2541 Use freeze/thaw notify to sync notify emission a bit (its also more
2542 efficient). Move debug output to LOG (is called a lot in a loop).
2543 Always unset g_values if the have been initialized.
2545 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2547 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2548 (gst_base_sink_wait_eos), (gst_base_sink_event):
2549 If we have not seen a buffer before EOS, use the segment values to
2550 report the current position instead of invalid positions.
2552 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2554 * docs/plugins/tmpl/.cvsignore:
2555 * tests/check/gst/.cvsignore:
2558 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2560 * libs/gst/controller/gstinterpolation.c:
2561 * libs/gst/controller/gstinterpolationcontrolsource.c:
2562 * tests/check/libs/controller.c:
2563 Rewrite handling of default values. Fix overflow with unsigned types
2564 in linear interpolation. Remove now obsolete _first_value() function.
2565 Add more tests. Fixes #538201.
2567 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2569 * libs/gst/base/gstbasetransform.c:
2570 (gst_base_transform_class_init), (gst_base_transform_init),
2571 (gst_base_transform_transform_caps),
2572 (gst_base_transform_prepare_output_buffer):
2574 When a buffer is writable, its metadata is also writable so we don't
2575 need to subbuffer (which then makes the buffer not-writable anymore).
2577 === release 0.10.20 ===
2579 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2582 releasing 0.10.20, "You Crazy Diamond"
2584 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2587 0.10.19.3 pre-release
2589 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2593 Rename DATADIR to GST_DATADIR to avoid build problems
2594 on win32. Patch By: David Schleef <ds@schleef.org>
2597 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2600 Explicitely link with -ldl if dladdr() is found there. Before it was
2601 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2602 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2604 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2606 * gst/gsterror.c: (_gst_stream_errors_init):
2607 Fix typo (spotted by Fabricio Godoy, #536723).
2609 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2612 0.10.19.2 pre-release
2614 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2616 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2617 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2619 Make sure we don't generate invalid QoS messages.
2621 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2623 * gst/gstevent.c: (gst_event_new_qos):
2624 Add some assert and docs for invalid input to the qos function.
2626 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2628 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2629 (gst_base_sink_get_position):
2630 The reported position must always be smaller than the last seen
2631 timestamps (or timestamp + duration for reverse).
2633 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2635 Patch by: Rob Bradford <rob at robster dot org dot uk>
2637 * gst/gstregistry.c: (gst_registry_scan_path_level):
2638 Don't recurse into .debug directories as some distros install
2639 the debugging symbols next to the plugins in .debug directories
2640 and dlopen() crashes on them sometimes. Fixes bug #508070.
2642 Add FIXME for 0.11 to not recurse into directories at all because
2643 it's very inconsistent to the behaviour of other PATH environment
2646 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2648 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2649 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2650 Fix position query range checks in reverse playback.
2652 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2656 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2657 clear of the reference to the resulting pad must be released later
2658 or not, resulting in possible leaks. Fixes bug #533865.
2660 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2662 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2664 * gst/gstelementfactory.c:
2665 Small doc fix. Fixes #535285.
2667 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2669 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2671 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2672 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2673 (gst_base_src_loop), (gst_base_src_set_flushing),
2674 (gst_base_src_change_state):
2675 Make sending an EOS event to the basesrc non-blocking even if the
2676 implementation does blocking waits in the create function. This is done
2677 by unlocking the create function when EOS is sent.
2680 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2682 * tools/gst-inspect.c: (print_element_properties_info):
2683 If possible print the element type of GValueArray properties.
2685 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2687 * gst/gstiterator.c:
2688 Remove an unused field from the private GstListIterator struct.
2690 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2692 * libs/gst/controller/gstcontroller.c:
2693 Add parameter guards.
2695 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2697 * tests/check/gst/gstpipeline.c:
2698 Revert test change and add comment why it should not work.
2700 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2702 * tests/check/gst/gstpipeline.c:
2703 Extending the test a little to verify that we also get the NULL state-
2706 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2708 * gst/gstpreset.c: (gst_preset_default_get_meta),
2709 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2710 (gst_preset_load_preset), (gst_preset_save_preset),
2711 (gst_preset_rename_preset), (gst_preset_delete_preset),
2712 (gst_preset_set_meta):
2713 Add Since: markers to docs blurbs.
2715 * win32/common/libgstreamer.def:
2716 Add recently-added API.
2718 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2720 Patch by: Stefan Kost <ensonic@users.sf.net>
2723 Add DATADIR for storing presets.
2725 * docs/gst/gstreamer-docs.sgml:
2726 * docs/gst/gstreamer-sections.txt:
2727 * docs/gst/gstreamer.types.in:
2728 Add GstPreset to docs.
2732 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2733 (preset_open_and_parse_header), (preset_parse_version),
2734 (preset_merge), (preset_get_keyfile),
2735 (gst_preset_default_get_preset_names),
2736 (gst_preset_default_get_property_names),
2737 (gst_preset_default_load_preset),
2738 (gst_preset_default_save_presets_file),
2739 (gst_preset_default_save_preset),
2740 (gst_preset_default_rename_preset),
2741 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2742 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2743 (gst_preset_default_reset), (gst_preset_get_preset_names),
2744 (gst_preset_get_property_names), (gst_preset_load_preset),
2745 (gst_preset_save_preset), (gst_preset_rename_preset),
2746 (gst_preset_delete_preset), (gst_preset_set_meta),
2747 (gst_preset_get_meta), (gst_preset_class_init),
2748 (gst_preset_base_init), (gst_preset_get_type):
2750 Add GstPreset to core. Fixes #396779
2752 * tests/check/Makefile.am:
2753 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2754 (gst_preset_test_set_property), (gst_preset_test_class_init),
2755 (gst_preset_test_base_init), (gst_preset_test_get_type),
2756 (gst_preset_test_plugin_init), (GST_START_TEST),
2757 (remove_preset_file), (test_setup), (test_teardown),
2759 Add GstPreset unit tests.
2761 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2763 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2764 The default event function on a sinkpad should return TRUE when
2765 there are no internal links but should collect the return values from
2766 the internal links otherwise.
2768 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2770 * plugins/elements/gsttypefindelement.c:
2771 (gst_type_find_element_src_event),
2772 (gst_type_find_element_handle_event):
2773 Use faster and safer _pad_push_event().
2775 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2777 * docs/gst/gstreamer-sections.txt:
2778 * gst/gstutils.c: (element_find_unlinked_pad),
2779 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2781 API: add gst_bin_find_unlinked_pad()
2782 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2784 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2790 Fixed a bunch of typos.
2792 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2795 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2796 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2797 (gst_parse_bin_from_description_full):
2799 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2801 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2803 * docs/pwg/advanced-tagging.xml:
2804 Small docs update, can't be bothered to rewrite the nonsensical
2807 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2810 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2812 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2814 * gst/parse/grammar.y:
2815 Remove unneeded casts.
2817 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2819 * gst/parse/grammar.y:
2820 * tests/check/pipelines/parse-launch.c:
2821 Get all missing elements from a parse launch string if possible
2822 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2824 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2826 * tests/check/Makefile.am:
2827 * tests/check/pipelines/parse-launch.c:
2828 Add some unit tests for the new gst_parse_launch*_full() API.
2829 (Exposes a previously-existing memory leak in the error code
2830 path, so adding to VALGRIND_TO_FIX for now).
2832 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2834 * docs/gst/gstreamer-sections.txt:
2835 * gst/gst.c: (init_post):
2836 * gst/gst_private.h: (_GstParseContext):
2837 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2838 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2839 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2840 (gst_parse_launch_full):
2841 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2842 (GstParseFlags), (GstParseContext):
2843 * gst/gstutils.c: (gst_parse_bin_from_description),
2844 (gst_parse_bin_from_description_full):
2846 * gst/parse/grammar.y:
2847 * gst/parse/types.h:
2848 * win32/common/libgstreamer.def:
2849 Add new gst_parse_*_full API (#528178):
2850 API: gst_parse_launch_full()
2851 API: gst_parse_launchv_full()
2852 API: gst_parse_bin_from_description_full()
2853 API: gst_parse_context_new()
2854 API: gst_parse_context_free()
2855 API: gst_parse_context_get_missing_elements()
2857 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2859 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2861 * docs/faq/gst-uninstalled:
2862 Also support ffmpeg in gst-uninstalled.
2864 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2867 After discussion on IRC use the binary registry as default
2868 but allow to disable it with --disable-binary-registry.
2870 * win32/common/libgstreamer.def:
2871 Add the two new symbols for the binary registry.
2873 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2875 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2876 * gst/gstutils.c: (gst_parse_bin_from_description):
2877 * gst/parse/grammar.y: (graph):
2878 More guards against bad input; typo fix; some minor clean-ups.
2880 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2882 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2884 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2885 If nothing else can be used, use the last buffer's start time as
2886 the segment's last stop. Fixes bug #534258.
2888 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2890 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2891 Move size sanity check to the right place: downstream may return
2892 a buffer with a smaller size if the buffer caps are different than
2893 the requested ones, as may happen when doing reverse negotiation.
2895 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2897 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2898 (gst_file_sink_render):
2899 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2900 (gst_file_src_start):
2901 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2904 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2906 * gst/gstpad.c: (gst_pad_load_and_link):
2907 * gst/gstutils.c: (gst_element_link_pads),
2908 (gst_element_unlink_pads):
2909 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2910 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2911 (gst_check_teardown_sink_pad),
2912 (gst_check_element_push_buffer_list):
2913 * tests/check/elements/fakesink.c: (GST_START_TEST):
2914 * tests/check/elements/filesink.c:
2915 * tests/check/elements/filesrc.c: (GST_START_TEST):
2916 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2917 (mq_sinkpad_to_srcpad):
2918 * tests/check/elements/tee.c: (GST_START_TEST):
2919 * tests/check/generic/sinks.c: (GST_START_TEST):
2920 * tests/check/gst/gstbin.c: (GST_START_TEST):
2921 * tests/check/gst/gstevent.c: (GST_START_TEST):
2922 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2923 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2924 * tests/check/gst/gstquery.c: (GST_START_TEST):
2925 * tests/check/gst/gstutils.c: (GST_START_TEST):
2926 * tests/check/libs/basesrc.c: (GST_START_TEST):
2927 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2928 (gst_parse_test_element_change_state):
2929 Don't use gst_element_get_pad().
2931 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2934 Fix installing plugin documentation when gtk-doc is disabled.
2936 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2938 * docs/manual/advanced-autoplugging.xml:
2939 * docs/manual/basics-helloworld.xml:
2940 * docs/manual/basics-pads.xml:
2941 * docs/manual/highlevel-components.xml:
2942 Avoid using a bad function in the example code.
2944 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2946 * gst/gstclock.c: (gst_clock_set_calibration):
2947 Fix debug of the new clock rate.
2949 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2951 * win32/common/libgstbase.def:
2952 Add gst_base_sink_wait_clock() to the exported symbols.
2954 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2956 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2958 * libs/gst/base/gstbasetransform.c:
2959 (gst_base_transform_sink_event):
2960 Unref events that the GstBaseTransform::event vfunc didn't want to
2961 have forwarded by the base class. Closes a leak in identity.
2964 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2966 * docs/libs/gstreamer-libs-sections.txt:
2967 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2968 * libs/gst/base/gstbasesink.h:
2969 Expose a method that was previously used internally to synchronize
2970 against the clock because it can be useful for subclasses too.
2971 API: GstBaseSink::gst_base_sink_wait_clock()
2973 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2975 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2976 Add sanity check to make sure we don't get smaller buffers
2977 than requested (and fallback to normal buffer alloc if we do).
2979 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2981 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2982 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2983 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2984 Refactor adjusting the running_time with latency and offset into a
2986 When doing clipping, we still want to use the subclass get_times method,
2987 just in case the DURATION or TIMESTAMP are not set.
2989 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2991 * docs/gst/gstreamer-sections.txt:
2992 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2993 * gst/gsttypefind.h:
2994 * win32/common/libgstreamer.def:
2995 API: add gst_type_find_suggest_simple(), #533740.
2997 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2999 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3000 Use right error code when typefinding fails, so we can use
3001 the default (translated) error messages.
3003 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3005 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3006 (gst_base_src_start):
3007 When the subclass did not set caps on outgoing buffers, configure the
3008 caps we negotiated on the source pad.
3009 When the typefind helper does not find caps, error out properly instead
3010 of doing things with NULL caps.
3012 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3014 * gst/gsttypefind.h:
3015 Tabs to spaces, oh yes!
3017 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3019 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3020 Add David's and Benjamin's tests for array intersection to the
3021 unit test suite (#147931).
3023 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3026 Document that gst_event_new_tag() and gst_event_new_navigation()
3027 take ownership of the taglist/structure passed to them. (#533635).
3029 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3032 Don't descend into the plugins dir if plugin docs building
3036 Add a note about the new type:GTypeName syntax for the plugin
3037 documentation .types file.
3039 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3041 * gst/gstmessage.c: (gst_message_new_error),
3042 (gst_message_new_warning), (gst_message_new_info):
3044 Mark the debug string parameters as const. Fixes bug #533490.
3046 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3048 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3049 Sort buffer cache list by end offsets. This makes sure that we don't
3050 stop to search for a cached buffer that contains the requested data
3052 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3053 more efficient. Fixes bug #459862.
3055 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3058 Explain why we copy the list.
3060 * gst/gstpipeline.c:
3064 Add one debug-log statement to help tracing probelms with linking pads.
3066 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3068 * tests/check/gst/gstinfo.c:
3069 Add a test for removing the default log handler. Seems to fail under
3072 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3074 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3075 Release pad lock before calling out to avoid a possible deadlock.
3077 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3079 * gst/parse/grammar.y:
3080 Remove unneeded value unset.
3082 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3083 Add unit test for de/serialization of caps.
3085 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3087 * plugins/elements/gstfakesink.c:
3088 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3089 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3090 (gst_fake_src_class_init):
3091 Use custom marshalers that take GstMiniObject as first parameter.
3092 Using OBJECT as parameter while a GstMiniObject is given will lead
3093 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3095 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3097 * plugins/elements/gsttypefindelement.c:
3098 (gst_type_find_element_handle_event),
3099 (gst_type_find_element_send_cached_events),
3100 (gst_type_find_element_change_state):
3101 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3104 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3106 * plugins/elements/gsttypefindelement.c:
3107 (gst_type_find_handle_src_query), (stop_typefinding),
3108 (gst_type_find_element_handle_event),
3109 (gst_type_find_element_send_cached_events),
3110 (gst_type_find_element_change_state):
3111 Forward FLUSH_START events immediately and clean up instead of
3114 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3116 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3118 * libs/gst/base/gstbasetransform.c:
3119 (gst_base_transform_buffer_alloc):
3120 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3121 fall back to default negotiation in the chain function if the caps
3122 are different from what was requested. Fixes bug #526768.
3124 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3127 * tests/check/gst/gstsegment.c:
3128 No, let's not use g_slice_{dup|copy} here, since they only exist
3129 since GLib 2.14 and we still depend only on >= 2.12. Also add
3130 unit test for gst_segment_copy().
3132 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3134 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3135 Try to fix 'dereferencing type-punned pointer will break strict
3136 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3137 changed the default GType typedef from gulong to gsize at some point,
3138 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3139 g_once_* functions all take a gsize * though, so work around the type
3140 mismatch for C++ by doing everything in gsize and casting to GType
3143 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3145 * plugins/elements/gstmultiqueue.c:
3146 Add documentation for the signals to push our core plugin docs
3147 coverage back up to 100%.
3149 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3151 * gst/gstinfo.h (GST_FUNCTION):
3152 Reverted GST_FUNCTION to the old version as we don't want the
3153 full signature in C++ code. Also added support for MSVC.
3155 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3158 Intern the type name string, similar to what G_DEFINE_TYPE does.
3160 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3163 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3165 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3167 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3169 * libs/gst/base/gstbasetransform.c:
3170 (gst_base_transform_buffer_alloc):
3171 Don't passthrough buffer allocation too easily if the caps change.
3172 This breaks when working in passthrough mode and upstream changes
3173 it's caps. Fixes bug #526768.
3175 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3177 * gst/gstinfo.c (gst_debug_log_valist):
3178 Improved the __FILE__ part of debug output for MSVC.
3180 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3182 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3183 Declaration after statement fix for compilers like MSVC.
3185 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3187 * win32/common/config.h.in:
3188 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3189 use the real thing than having "???" unconditionally.
3191 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3193 * gst/gstinfo.h (GST_FUNCTION):
3194 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3196 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3198 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3201 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3202 (gst_base_sink_set_flushing):
3203 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3206 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3208 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3209 (gst_fake_src_init), (gst_fake_src_set_property),
3210 (gst_fake_src_get_property), (gst_fake_src_start):
3211 * plugins/elements/gstfakesrc.h:
3212 Added format property to control the format of the newsegment events.
3213 API: GstFakeSrc:format
3215 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3217 * win32/common/libgstreamer.def:
3218 Add gst_pad_has_name() to the exported symbols.
3220 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3222 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3223 * libs/gst/base/gstbasetransform.c:
3224 (gst_base_transform_prepare_output_buffer):
3225 Don't allow negative sizes when allocating new buffers.
3228 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3230 Patch by: Sjoerd Simons <sjoerd at luon net>
3232 * gst/gstbus.c: (gst_bus_source_dispatch):
3233 Don't print a warning if the queue is empty when we try to pop
3234 here. That could happen if another thread or callback set the
3235 bus to flushing between the source's check/prepare and the
3236 dispatch being called (#531538).
3238 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3240 * plugins/elements/gstmultiqueue.c:
3243 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3245 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3246 Add unit test for deserializing uint64s and check some really large
3247 numbers in the int64 test.
3249 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3251 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3252 (print_interfaces), (print_element_properties_info),
3253 (print_signal_info):
3254 Use "%s" as format string instead of printing strings directly.
3256 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3258 * gst/gstclock.c: (gst_clock_set_calibration):
3259 Make some checks actually useful.
3261 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3262 Remove some unused code. Unsigned integers tend to be >= 0.
3264 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3266 * gst/gstminiobject.c: (gst_value_get_mini_object):
3267 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3268 function was not in the unscheduled 0.10.19 release.
3270 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3272 * gst/gstregistry.c: (gst_registry_scan_path_level):
3273 Only print one log message per non-plugin file.
3275 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3277 * gst/gstinfo.c: (gst_debug_log_default):
3278 Fix alignment of debug log columns on 64-bit.
3280 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3282 * docs/libs/Makefile.am:
3283 * docs/libs/gstreamer-libs-sections.txt:
3284 Ignore private controller headers for docs.
3286 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3288 * libs/gst/controller/gstcontrollerprivate.h:
3289 * libs/gst/controller/gsthelper.c:
3290 * libs/gst/controller/gstinterpolation.c:
3291 * libs/gst/controller/gstinterpolationcontrolsource.c:
3292 (gst_interpolation_control_source_set_interpolation_mode):
3293 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3294 * libs/gst/controller/lib.c:
3295 Move some private declarations into private headers.
3297 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3299 * gst/gstdebugutils.c: (debug_dump_element_pad):
3300 Remove some code that is unused after Stefan's refactoring and uses
3301 uninitialized variables now, resulting in a compiler warning.
3303 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3305 * gst/gstregistry.c: (gst_registry_scan_path_level):
3306 Run g_str_has_suffix() only on the file name, not the
3309 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3311 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3312 Since we're not called only from the chain function any longer,
3313 we can't assume that there's always data in the queue, so move
3314 the is_full check to the beginning of the loop (otherwise we'd
3315 hit the assert when changing the limit properties while the
3316 queue is empty or not running yet).
3317 Also, only set a discont if items were actually removed from
3320 * tests/check/elements/queue.c: (test_leaky_downstream):
3321 Test case for the above.
3323 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3325 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3327 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3328 (gst_queue_chain), (queue_capacity_change),
3329 (gst_queue_set_property):
3330 When changing thr max capacity of a leaky queue, immediatly drop buffers
3331 instead of waiting for a push on the sinkpad. Fixes #530637.
3333 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3335 * gst/gstdebugutils.c:
3336 Refactor code and fix handling of ghostpads and their proxypads.
3338 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3340 * docs/gst/gstreamer-sections.txt:
3341 * gst/gstevent.c: (gst_event_has_name):
3343 * tests/check/gst/gstevent.c: (GST_START_TEST):
3344 Add method to conveniently check the name of a custom event with
3345 gst_event_has_name().
3346 Reformat the event docs so that related methods are put together instead
3347 of the default alphabetical sort.
3348 Update unit test with new method.
3349 API: GstEvent::gst_event_has_name()
3351 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3353 * libs/gst/check/Makefile.am:
3354 Don't add an explicit link to libgstreamer-0.10.la; it's already
3355 included in GST_OBJ_LIBS.
3357 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3360 Register GstClock type from a type-safe context. Fixes bug #530317.
3362 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3364 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3366 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3368 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3370 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3372 Use the GLib stuff to create a private structure.
3373 Add some locking around some dispose methods to make them a little
3374 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3376 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3378 * libs/gst/base/gstbasesink.h:
3379 * libs/gst/base/gstbasesrc.h:
3380 * libs/gst/base/gstbasetransform.h:
3381 * libs/gst/base/gstcollectpads.h:
3382 Fix doc typos and unify caps a bit.
3384 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3386 * tools/gst-launch.1.in:
3387 Forgot to also add the envvar docs here.
3389 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3391 * gst/gst.c: (init_post), (gst_deinit):
3392 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3393 (test_concurrent_create), (gst_pipeline_suite):
3394 Ref some more classes in gst_init() to work around thread-safety
3395 issues in pre-2.16 GLibs, and add basic unit test.
3397 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3399 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3400 (gst_base_sink_send_event):
3401 Rearrange the latency query code. We always want to do the upstream
3402 query, even if we are not live so that the upstream elements can get the
3403 latency results too. If we fail doing the query and we are live, we
3404 return TRUE afterwards.
3406 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3408 patch by: Jason Zhao <e3423c@motorola.com>
3410 * docs/gst/running.xml:
3412 Enable/disable scan_and_update_registry() based on commandline switch
3413 or environment variable. Fixes #520468.
3416 Fix typo in my previous commit.
3418 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3420 * gst/gstregistrybinary.c:
3421 Add a warning if we hit unhandled factories when saving.
3422 More debug logging detail, but move to LOG category.
3424 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3426 * gst/gstregistry.c:
3427 Tell the *truth* when improving the documentation.
3429 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3431 * gst/gstelementfactory.c: (gst_element_factory_make):
3432 Unref the factory after it was used the last time, not before.
3434 * gst/gstindexfactory.c: (gst_index_factory_make):
3435 Improve debugging a bit and don't leak a ref to the index factory with
3438 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3440 * gst/gstregistry.c:
3441 Improve the documentation.
3443 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3446 The glib macro seems to be borked. Use g_slice_copy directly and cast
3447 in the hope that this fixes the warning on 64bit.
3449 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3452 Document the new function. Use g_slice_dup() (no need for
3453 gst_segment_init()).
3455 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3457 * docs/gst/gstreamer-sections.txt:
3458 Move GParamSepc macros to standart section.
3461 Dn't document _get_type - its in private section in docs anyway and
3462 this doc-blob was incomplete.
3465 Fix wrong symbol names in docs.
3468 Add once doc sentence.
3470 * tests/check/gst/.cvsignore:
3473 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3475 * docs/gst/Makefile.am:
3476 And remove those libs here.
3478 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3480 * docs/libs/Makefile.am:
3481 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3483 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3485 Patch by: Olivier Crete <tester at tester dot ca>
3487 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3488 Add the min-threshold to the min latency if possible. Fixes #529148.
3490 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3492 * docs/gst/gstreamer.types.in:
3493 Stupid editor, I removed that line as it should go in yet.
3495 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3497 * docs/gst/gstreamer.types.in:
3498 * docs/libs/gstreamer-libs.types:
3499 Remove library types fro core docs and have them in libs docs.
3500 Reformat and cleanup. Add comment for miniobject types.
3502 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3504 * gst/gsturi.c: (gst_uri_get_protocol):
3505 Fix leak: g_strdown operates on the string in place, while
3506 g_ascii_strdown() returns a newly-allocated string.
3508 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3510 * tools/gst-inspect.c: (print_uri_handler_info),
3511 (print_element_info):
3512 Print the URI protocols and the URI type supported by the element.
3514 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3516 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3517 Use g_value_take_string() instead of the deprecated
3518 g_value_set_string_take_ownership().
3520 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3522 * gst/gstregistrybinary.c: (_gst_crc32):
3523 Return the old CRC instead of 0 if we give a NULL buffer
3524 or a buffer with a length of 0.
3526 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3528 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3529 (gst_uri_get_protocol), (gst_uri_has_protocol),
3530 (gst_uri_construct), (gst_uri_handler_set_uri):
3531 A valid URI scheme can also include '+', '-' and '.' additional
3532 to alphanumeric characters as per RFC 3986 Section 3.1.
3534 Handle URI schemes case insensitive in all places and convert
3535 to lower-case when constructing an URI or setting an URI with
3536 the GstURIHandler interface. Fixes bug #528868.
3537 All elements can still assume (as before) that they will
3538 get passed URIs with a lower-case URI scheme by the GstURIHandler
3541 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3543 * gst/gstcaps.c: (gst_static_caps_get):
3544 * gst/gstclock.c: (gst_clock_entry_new):
3545 Don't use g_atomic_set_int where it's not needed.
3547 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3549 * gst/gstvalue.c: (gst_value_deserialize_caps):
3550 * gst/parse/grammar.y:
3553 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3555 * gst/gstutils.c: (gst_atomic_int_set):
3556 Use g_atomic_int_set() here too instead of assignment +
3559 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3563 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3564 now that we depend on new enough GLib.
3566 * gst/gstcaps.c: (gst_static_caps_get):
3567 * gst/gstclock.c: (gst_clock_entry_new):
3568 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3569 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3570 (gst_debug_category_set_threshold):
3571 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3572 (gst_base_sink_set_qos_enabled):
3573 * libs/gst/net/gstnettimeprovider.c:
3574 (gst_net_time_provider_set_property):
3575 Use g_atomic_int_set() instead of gst_atomic_int_set().
3577 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3580 Also use G_GINT64_CONSTANT for the queries.
3582 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3585 Use G_GINT64_CONSTANT in varargs function.
3587 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3589 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3590 Initialize the registry magic with zeroes.
3592 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3594 * gst/gstregistrybinary.c: (_gst_crc32),
3595 (gst_registry_binary_write),
3596 (gst_registry_binary_initialize_magic),
3597 (gst_registry_binary_write_cache),
3598 (gst_registry_binary_check_magic),
3599 (gst_registry_binary_read_cache):
3600 * gst/gstregistrybinary.h:
3601 Add crc32 checksum to the binary registry file and check this before
3602 accepting a registry file.
3604 Also free the data list when writing to the registry file fails.
3606 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3608 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3609 (gst_registry_binary_load_feature),
3610 (gst_registry_binary_load_plugin):
3611 If an element supports the Uri interface, returns a valid pointer
3612 to the supported URI protocols but this pointer contains nothing
3613 don't try to save that as it will corrupt the registry.
3615 Don't unref the plugin if we added it to the registry already but
3616 fail to load a feature as gst_registry_add_plugin() takes ownership
3619 Improve debugging a bit.
3621 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3624 Clarify some tag item docs after discussion on irc.
3626 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3628 * docs/gst/gstreamer-docs.sgml:
3629 Remove commented out plugins (they have their own docs). Update
3632 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3634 * docs/gst/gstreamer-docs.sgml:
3635 * docs/gst/gstreamer-sections.txt:
3636 * gst/gstparamspecs.c:
3637 * gst/gstparamspecs.h:
3638 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3639 docs to own section.
3642 This now only documents GValue.
3644 * docs/libs/gstreamer-libs-sections.txt:
3645 * libs/gst/controller/gstcontroller.h:
3646 Remove GST_PARAM_CONTROLLABLE.
3648 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3651 Correct file path. Tell about how to use -overrides.txt.
3652 * docs/design/draft-tagreading.txt:
3653 Small design update.
3655 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3657 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3658 (gst_registry_binary_load_plugin):
3659 Fix a typo in a debug message and revert change from yesterday as
3660 gst_registry_add_plugin() will only fail if something is really wrong
3661 already and we can't survive it anyway.
3663 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3665 * gst/gst.c: (init_post), (gst_deinit):
3666 Pre-register GstGError GType from a thread-safe context
3667 (fixes #527967); unref enum type classes in deinit.
3669 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3671 Patch by: Rene Stadler <mail at renestadler de>
3673 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3674 Merging an empty list with another list in KEEP_ALL mode should
3675 yield an empty list as result and not the second list (#512578).
3677 * tests/check/gst/gsttagsetter.c:
3678 Add unit test for tag merge modes and the aforementioned bug.
3680 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3682 Patch by: Rene Stadler <mail at renestadler de>
3685 Fix description to match the order in the table (#512577).
3687 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3689 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3691 * libs/gst/net/gstnettimepacket.h:
3692 * docs/libs/gstreamer-libs-sections.txt:
3693 Define socklen_t as int if it's not defined yet. Fixes compilation
3694 with MSVC6 and other versions where socklen_t is not defined in
3695 the windows headers (#518022).
3697 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3700 If gst_registry_add_plugin() fails our reference to the plugin is
3701 invalid so don't try to use it anymore and instead error out.
3703 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3705 * tools/gst-xmlinspect.c: (print_element_info), (main):
3706 De-cruft a bit. If no argument is specified, print all elements in
3707 XML syntax rather than a freestyle list of elements like gst-inspect.
3708 Also, don't print XML header chunk unless we actually have something
3709 to print (ie. don't print it before an error message); print error
3710 message to stderr not stdout. Remove support for printing plugin
3711 info (it would just output something freestyle along the lines of
3712 gst-inspect so far), which fixes #514507. Also add license header.
3714 2008-04-11 Julien Moutte <julien@fluendo.com>
3717 * configure.ac: Merge platform specific defines, introduce a new
3718 define on OS X to remember that forking when updating registry is
3720 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3722 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3724 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3725 condition that leads to absolutely no plugins being registered on
3728 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3730 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3732 * gst/gstutils.c: (gst_pad_add_data_probe),
3733 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3734 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3735 (gst_pad_add_buffer_probe_full):
3737 * docs/gst/gstreamer-sections.txt:
3738 * win32/common/libgstreamer.def:
3739 Add gst_pad_add_*_probe_full() functions with a notify callback that
3740 lets the caller free the data it passes to the probe functions. This
3741 is useful for bindings such as gst-python or gstreamermm (#526814).
3742 API: gst_pad_add_data_probe_full
3743 API: gst_pad_add_buffer_probe_full
3744 API: gst_pad_add_event_probe_full
3746 * tests/check/gst/gstutils.c:
3747 Add minimal unit test to make sure freeing the data actually works
3750 * tests/benchmarks/.cvsignore:
3751 Random cvsignore addendum.
3753 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3755 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3756 (GST_DEBUG_BIN_TO_DOT_FILE):
3757 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3758 to it in the docs (since these are macros the types of the arguments
3759 won't be shown in the docs otherwise).
3761 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3764 Do not abort on out of memory for pad_alloc_buffer.
3766 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3768 * libs/gst/check/gstcheck.c:
3769 Remove blank line between symbol name ad parameters to fix gtkdoc
3772 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3774 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3776 * docs/gst/gstreamer-sections.txt:
3779 * win32/common/libgstreamer.def:
3780 Expose gst_segment_copy() to make things easier for the c++ bindings.
3782 API: gst_segment_copy()
3784 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3786 * gst/gst.c: (gst_init_get_option_group), (init_post):
3787 Fix const position; ref GType classes for enum types to work
3788 around thread-safety issues in GLib versions < 2.16.
3790 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3792 * docs/design/part-buffering.txt:
3793 Fix some typos and set the estimated total for push mode to -1.
3795 * gst/gstquery.c: (gst_query_new_buffering):
3796 Set buffering-left to 0 as we're not buffering by default.
3798 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3799 Implement BUFFERING query.
3801 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3803 Based on patch by: Milosz Derezynski <internalerror gmail com>
3805 * gst/gsterror.c: (_gst_stream_errors_init):
3807 Add two new error codes for encrypted content. Fixes #524659.
3808 API: GST_STREAM_ERROR_DECRYPT
3809 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3811 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3816 * win32/common/libgstreamer.def:
3819 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3821 * plugins/elements/gstidentity.c: (gst_identity_event),
3822 (gst_identity_start):
3823 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3824 event after processing some data. Fixes bug #526042.
3826 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3828 * docs/gst/gstreamer-sections.txt:
3829 * gst/gstquery.c: (gst_query_parse_latency),
3830 (gst_query_set_buffering_percent),
3831 (gst_query_parse_buffering_percent),
3832 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3834 Rename _avail -> _range
3835 API: gst_query_set_buffering_range
3836 API: gst_query_parse_buffering_range
3838 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3840 * docs/design/part-buffering.txt:
3843 * gst/gstquery.c: (gst_query_parse_latency),
3844 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3845 (gst_query_parse_buffering_percent):
3847 Add busy field and quark for the buffering query so that the app can
3848 only use the query to see if buffering is in progress.
3850 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3852 * docs/gst/gstreamer-sections.txt:
3853 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3854 (gst_message_parse_buffering_stats):
3856 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3857 (gst_query_parse_latency), (gst_query_new_buffering),
3858 (gst_query_set_buffering_percent),
3859 (gst_query_parse_buffering_percent),
3860 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3861 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3863 Reorder the message docs and headers for clarity.
3864 Add aditional buffering stats API for messages.
3865 Add buffering query.
3866 Convert some leftover queries to use GstQuark.
3867 API: gst_message_set_buffering_stats
3868 API: gst_message_parse_buffering_stats
3869 API: GST_QUERY_BUFFERING
3870 API: GstBufferingMode
3871 API: gst_query_new_buffering
3872 API: gst_query_set_buffering_percent
3873 API: gst_query_parse_buffering_percent
3874 API: gst_query_set_buffering_stats
3875 API: gst_query_parse_buffering_stats
3877 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3879 * gst/gstmessage.c: (gst_message_new_error),
3880 (gst_message_new_warning), (gst_message_new_info),
3881 (gst_message_new_buffering), (gst_message_new_state_changed),
3882 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3883 (gst_message_new_new_clock), (gst_message_new_segment_start),
3884 (gst_message_new_segment_done), (gst_message_new_duration),
3885 (gst_message_new_async_start), (gst_message_parse_buffering),
3886 (gst_message_parse_state_changed),
3887 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3888 (gst_message_parse_new_clock), (gst_message_parse_error),
3889 (gst_message_parse_warning), (gst_message_parse_info),
3890 (gst_message_parse_segment_start),
3891 (gst_message_parse_segment_done), (gst_message_parse_duration),
3892 (gst_message_parse_async_start):
3893 Use GstQuark for messages.
3895 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3897 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3899 Add some more quarks needed for messages and queries.
3901 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3903 * docs/design/part-buffering.txt:
3904 Remove the "none" buffering mode, STREAM is a good default.
3905 Move estimated-time to the avail query, that's when it will be needed.
3906 Other small typo fixes and updates.
3908 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3910 * gst/gstindex.c: (gst_index_resolver_get_type):
3911 Don't put descriptions into the nick field of a GEnumValue: it's not
3912 meant for that and some language bindings rely on the nick field to
3913 construct constants and the like. Fixes #526705.
3915 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3920 Merge other changes from 0.10.19 release branch.
3922 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3924 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3927 Actually build dlls when cross-compiling with mingw32.
3930 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3932 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3935 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3937 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3939 * docs/design/draft-latency.txt:
3942 * docs/design/part-buffering.txt:
3943 Update design docs with more buffering ideas.
3945 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3948 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3950 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3953 Revert part that belongs to the preset patch.
3955 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3958 Add qoutes to the define. Fixes # 525961.
3960 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3962 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3963 (gst_file_index_load), (gst_file_index_add_id),
3964 (gst_file_index_get_assoc_entry):
3965 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3966 (gst_mem_index_free_id), (gst_mem_index_add_id),
3967 (gst_mem_index_index_format):
3968 Use GSlice when possible.
3970 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3972 * libs/gst/controller/gstinterpolationcontrolsource.c:
3973 (gst_control_point_free),
3974 (gst_interpolation_control_source_set_internal):
3975 Use GSlice for allocating the control points.
3977 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3979 * plugins/elements/gsttypefindelement.c:
3980 (gst_type_find_element_class_init),
3981 (gst_type_find_element_set_property),
3982 (gst_type_find_element_get_property),
3983 (gst_type_find_element_activate):
3984 * plugins/elements/gsttypefindelement.h:
3986 Fix pad leak when peer query fails.
3987 We can still typefind when the peer returns -1.
3988 Add property to force caps and bypass typefinding. This will be used in
3992 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3997 * gst/glib-compat-private.h:
3998 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3999 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4000 Unconditionally use GSlice for allocation.
4002 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4003 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4004 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4005 (gst_structure_free):
4006 Use GSlice for allocation.
4008 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4010 * gst/parse/Makefile.am:
4011 * gst/parse/grammar.tab.pre.c:
4012 * gst/parse/grammar.tab.pre.h:
4013 * gst/parse/lex._gst_parse_yy.pre.c:
4014 Require a new enough flex and bison and remove the parser hacks to use
4015 a pre-regenerated version.
4017 2008-04-01 Julien Moutte <julien@fluendo.com>
4019 patch by: Jason Zhao <E3423C@motorola.com>
4021 * configure.ac: Add a configure switch to disable option parsing
4025 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4028 * gst/gstregistry.c:
4029 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4030 and handle this case.
4033 Add a comment here describing, why we stat each plugin and not try to
4036 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4038 * libs/gst/base/gstbasetransform.c:
4039 (gst_base_transform_prepare_output_buffer):
4040 Also unset the GAP flag on buffers if we're working inplace but
4041 the element is not GAP-aware.
4043 Mark a comment as FIXME 0.11.
4045 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4048 Fix type in log message and add one to ease seeing how long registry
4049 cache verification takes.
4051 * gst/gstregistry.c:
4052 Only test plugin filenames against G_MODULE_SUFFIX.
4054 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4056 * gst/gstdebugutils.c:
4057 Improve handling ghost/proxy pads.
4059 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4061 * docs/gst/gstreamer-sections.txt:
4064 Expose macro to docs and fix link to it.
4066 2008-03-27 Michael Smith <msmith@fluendo.com>
4068 * libs/gst/dataprotocol/dataprotocol.c:
4069 (gst_dp_packet_from_event_1_0):
4070 When calculating GDP body CRC, use the correct pointer.
4071 Fixes part of #522401.
4073 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4075 Patch by: Mark Nauwelaerts <manauw at skynet be>
4077 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4078 (gst_identity_init), (gst_identity_prepare_output_buffer):
4079 Identity is not always a passthrough element, it can modify the buffer
4080 timestamps when it has a datarate and operates in single-segment mode.
4081 We therefore make it an in_place filter with a custom buffer prepare
4082 function that conditionally makes the input buffer metadata writable
4083 when needed. Fixes #523985.
4085 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4087 Patch by: Mark Nauwelaerts <manauw at skynet be>
4090 * libs/gst/base/gstbasesrc.h:
4091 * libs/gst/base/gstbasetransform.c:
4092 * libs/gst/check/gstcheck.c:
4093 Small documentation fixes. Fixes #523978.
4095 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4097 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4098 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4099 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4101 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4103 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4104 (single_queue_underrun_cb):
4105 When trying to make room in the queue, bump the max allowed buffers
4106 bigger than the current amount of buffers in the queue. this fixes some
4107 nasty deadlocks in multiqueue when dynamically changing the limits of
4110 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4112 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4114 * gst/gstcaps.c: (gst_caps_set_simple),
4115 (gst_caps_set_simple_valist), (gst_caps_intersect):
4117 Constify the field gchar * params in set_simple and friends.
4120 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4122 * gst/gstvalue.c: (gst_value_transform_object_string):
4123 Transform a GstObject to a more meaningfull string that includes the
4124 object type in addition to its name.
4126 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4129 ChangeLog surgery to add bugnumber to commit.
4131 2008-03-23 Rene Stadler <mail@renestadler.de>
4133 * libs/gst/base/gstbasetransform.c:
4134 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4136 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4138 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4139 Rename constant everywhere and don't forget one occurence.
4141 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4143 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4144 Align memory to the pointer size even if the architecture allows
4145 unaligned memory access. Unaligned memory access usually comes with
4146 performance penality.
4148 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4150 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4151 (gst_registry_binary_check_magic),
4152 (gst_registry_binary_load_pad_template),
4153 (gst_registry_binary_load_feature),
4154 (gst_registry_binary_load_plugin):
4155 Align memory to the pointer size instead of always 32 bit. Fixes
4156 unaligned memory accesses on ia64 and friends.
4158 * gst/gstregistrybinary.h:
4159 Bump binary registry format version for this as it changes the
4160 format on those architectures that don't have unaligned access
4161 and 64 bit pointers.
4163 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4165 * docs/pwg/advanced-dparams.xml:
4166 * docs/pwg/building-props.xml:
4167 * docs/pwg/other-source.xml:
4168 * gst/glib-compat.h:
4169 * gst/gstbin.c: (gst_bin_class_init):
4170 * gst/gstclock.c: (gst_clock_class_init):
4171 * gst/gstindex.c: (gst_index_class_init):
4172 * gst/gstobject.c: (gst_object_class_init):
4173 * gst/gstpad.c: (gst_pad_class_init):
4174 * gst/gstpipeline.c: (gst_pipeline_class_init):
4175 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4176 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4177 * libs/gst/base/gstbasetransform.c:
4178 (gst_base_transform_class_init):
4179 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4180 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4181 (_gst_check_fault_handler_sighandler),
4182 (_gst_check_fault_handler_setup), (gst_check_init):
4183 * libs/gst/controller/gstcontroller.c:
4184 (_gst_controller_class_init):
4185 * libs/gst/controller/gstlfocontrolsource.c:
4186 (gst_lfo_control_source_class_init):
4187 * libs/gst/net/gstnetclientclock.c:
4188 (gst_net_client_clock_class_init):
4189 * libs/gst/net/gstnettimeprovider.c:
4190 (gst_net_time_provider_class_init):
4191 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4192 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4193 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4194 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4195 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4196 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4197 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4198 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4199 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4200 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4201 * plugins/elements/gsttee.c: (gst_tee_class_init):
4202 * plugins/elements/gsttypefindelement.c:
4203 (gst_type_find_element_class_init):
4204 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4205 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4206 use it everywhere for GParamSpecs that use static strings (i.e. all).
4207 This gives us less memory usage, fewer allocations and thus less
4208 memory defragmentation. Fixes bug #523806.
4210 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4212 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4213 (gst_param_spec_mini_object):
4214 * gst/gstminiobject.h:
4215 * win32/common/libgstreamer.def:
4216 * docs/gst/gstreamer-sections.txt:
4217 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4218 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4219 GstParamSpecMiniObject into a public header for this.
4221 This make GstMiniObject a bit more consistent with GObject and makes
4222 it possible to extend the param specs.
4224 gst_value_dup_mini_object is mainly useful for set_property methods.
4228 * tools/gst-inspect.c: (print_element_properties_info):
4229 Print something useful for GstMiniObject properties and not just
4232 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4234 * docs/gst/gstreamer-sections.txt:
4235 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4236 (gst_registry_binary_check_magic):
4237 * gst/gstregistrybinary.h:
4238 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4239 and add it to the (private part) of the docs to fix the build.
4241 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4243 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4244 (gst_registry_binary_check_magic),
4245 (gst_registry_binary_read_cache):
4246 * gst/gstregistrybinary.h:
4247 Don't use GST_MAJORMINOR for the binary registry version. Instead
4248 hardcode a value that must be changed whenever the format changes
4249 in an incompatible way.
4250 Also don't GST_ERROR when there is a version mismatch, just
4251 regenerate the registry silently.
4253 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4256 Back to development - 0.10.18.1
4258 === release 0.10.18 ===
4260 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4263 releasing 0.10.18, "So far away"
4265 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4268 * win32/common/config.h:
4269 0.10.17.4 pre-release
4271 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4273 Patch by: Ole André Vadla Ravnås
4274 <ole dot andre dot ravnas at tandberg dot com>
4276 * docs/gst/gstreamer-sections.txt:
4277 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4278 (gst_poll_update_winsock_event_mask),
4279 (gst_poll_prepare_winsock_active_sets),
4280 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4281 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4282 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4283 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4284 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4286 * win32/common/libgstreamer.def:
4287 Add new function gst_poll_fd_ignored() for improved Windows
4289 Various minor fixes and cleanups. See #520808.
4291 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4293 * gst/gstindex.c: (gst_index_entry_free):
4295 Don't free key strings which we don't own. Fixes crash in
4296 gst_index_entry_free() (#522741).
4298 * tests/check/Makefile.am:
4299 * tests/check/gst/.cvsignore:
4300 * tests/check/gst/gstindex.c: (test_index_entries),
4301 (gst_index_suite), (gst_index):
4302 Add unit test for the above.
4304 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4306 * win32/common/libgstreamer.def:
4307 Remove symbols that were removed recently. Fixes bug #521740.
4309 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4312 * win32/common/config.h:
4313 0.10.17.3 pre-release
4315 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4317 Patch by: Ole André Vadla Ravnås
4318 <ole dot andre dot ravnas at tandberg dot com>
4320 * docs/gst/gstreamer-sections.txt:
4321 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4322 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4323 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4324 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4325 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4326 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4327 (gst_poll_fd_can_write), (gst_poll_wait),
4328 (gst_poll_set_controllable), (gst_poll_restart),
4329 (gst_poll_set_flushing):
4331 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4332 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4333 (gst_net_time_provider_new):
4334 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4335 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4336 * tests/benchmarks/gstpollstress.c: (main):
4337 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4338 Remove GstPollMode from the API, it does not make sense to let the
4339 application control this.
4340 Add support for Win32.
4341 Fix the testsuite. Fixes #520671.
4343 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4345 Patch by: Ole André Vadla Ravnås
4346 <ole dot andre dot ravnas at tandberg dot com>
4348 * gst/gstregistrybinary.c:
4349 Include io.h for write() and close() when building with MSVC. Fixes
4352 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4355 * gst/gst_private.h:
4356 * gst/gstconfig.h.in:
4357 * gst/gstregistry.h:
4358 * gst/gstregistrybinary.c:
4359 * win32/common/gstconfig.h:
4360 Move registry backend API to private headers where we can. Add
4361 fixme-0.11 comments for the others. Add stubs for the xml backend when
4362 using the binary to ensure they functions exists (they should not be
4363 used though). Fixes #520756.
4365 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4368 * win32/common/config.h:
4371 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4373 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4374 (gst_registry_binary_read_cache):
4375 * gst/gstregistryxml.c: (gst_registry_save):
4376 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4377 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4378 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4379 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4380 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4383 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4385 * gst/gstminiobject.c:
4386 Import gst_private.h before any other header that might include other
4387 glib headers. This fixes the build on windows using native compilers.
4389 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4391 * win32/common/gstconfig.h:
4392 Add here too, just for completeness.
4394 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4397 * gst/gstconfig.h.in:
4398 * gst/gstregistry.h:
4399 Fix broken use of config.h-defined preprocessor directive in a public
4400 header file. Add a corresponding define to gstconfig.h, since we can't
4401 really remove those function declarations from the header file now
4402 (or can we? and why are they there in the first place?).
4404 2008-03-03 Andy Wingo <wingo@pobox.com>
4406 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4409 * gst/gststructure.c (gst_structure_from_string): Warn if
4410 structure_from_string didn't consume the whole string, but the
4411 caller did not provide an end pointer.
4413 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4415 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4417 * gst/gstregistryxml.c: (read_string), (load_feature):
4418 Strings allocated by libxml2 should be freed with xmlFree(), not
4419 with g_free(). Fixes issues on windows in certain contexts (#519698).
4421 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4423 * gst/gstinterface.c: (gst_element_implements_interface):
4424 Don't crash if the element supports the interface queried, but does
4425 not implement GstImplementsInterface. Fixes #519584.
4427 * tests/check/Makefile.am:
4428 * tests/check/gst/.cvsignore:
4429 * tests/check/gst/gstinterface.c:
4430 Add unit test for the above.
4432 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4434 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4437 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4439 * gst/gstsegment.c: (gst_segment_set_seek),
4440 (gst_segment_to_stream_time):
4441 Improve some comment.
4442 Update variables where it makes more sense.
4444 2008-02-29 Rene Stadler <mail@renestadler.de>
4446 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4447 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4448 URIHandlers implemented using language bindings.
4450 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4452 * gst/gstelementfactory.h:
4453 * tests/check/elements/fakesink.c:
4454 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4455 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4456 * tests/check/elements/filesink.c: (setup_filesink):
4457 * tests/check/elements/filesrc.c: (setup_filesrc):
4458 * tests/check/elements/identity.c: (setup_identity):
4459 * tests/check/elements/tee.c:
4460 * tests/check/generic/sinks.c:
4461 * tests/check/generic/states.c: (setup), (teardown):
4462 * tests/check/gst/gst.c:
4463 * tests/check/gst/gstabi.c:
4464 * tests/check/gst/gstbin.c:
4465 * tests/check/gst/gstbus.c: (pull_messages):
4466 * tests/check/gst/gstcaps.c:
4467 * tests/check/gst/gstelement.c:
4468 * tests/check/gst/gstevent.c:
4469 * tests/check/gst/gstghostpad.c:
4470 * tests/check/gst/gstiterator.c:
4471 * tests/check/gst/gstmessage.c:
4472 * tests/check/gst/gstminiobject.c: (my_foo_init):
4473 * tests/check/gst/gstobject.c: (thread_name_object),
4475 * tests/check/gst/gstpad.c:
4476 * tests/check/gst/gstplugin.c:
4477 * tests/check/gst/gstpoll.c:
4478 * tests/check/gst/gstquery.c:
4479 * tests/check/gst/gstsegment.c:
4480 * tests/check/gst/gststructure.c:
4481 * tests/check/gst/gstsystemclock.c:
4482 * tests/check/gst/gsttask.c:
4483 * tests/check/gst/gstutils.c:
4484 * tests/check/gst/gstvalue.c:
4485 * tests/check/gst/struct_hppa.h:
4486 * tests/check/gst/struct_i386.h:
4487 * tests/check/gst/struct_ppc32.h:
4488 * tests/check/gst/struct_ppc64.h:
4489 * tests/check/gst/struct_x86_64.h:
4490 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4491 * tests/check/libs/basesrc.c:
4492 * tests/check/libs/controller.c: (GST_START_TEST):
4493 * tests/check/libs/gdp.c:
4494 * tests/check/libs/gstnetclientclock.c:
4495 * tests/check/libs/gstnettimeprovider.c:
4496 * tests/check/libs/libsabi.c:
4497 * tests/check/libs/struct_hppa.h:
4498 * tests/check/libs/struct_i386.h:
4499 * tests/check/libs/struct_ppc32.h:
4500 * tests/check/libs/struct_ppc64.h:
4501 * tests/check/libs/struct_x86_64.h:
4502 * tests/check/pipelines/cleanup.c:
4503 * tests/check/pipelines/simple-launch-lines.c:
4504 * tests/check/pipelines/stress.c:
4505 And correct even more valid sparse warnings.
4507 * win32/common/libgstreamer.def:
4508 Add gst_poll_fd_init to the list of symbols.
4510 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4512 * gst/gstconfig.h.in:
4513 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4514 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4515 (gst_check_log_critical_func), (gst_check_drop_buffers),
4516 (gst_check_element_push_buffer_list):
4517 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4518 (gst_controller_get_type):
4519 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4520 (gst_object_get_controller), (gst_object_get_control_source):
4521 * libs/gst/controller/gstinterpolationcontrolsource.c:
4522 (gst_interpolation_control_source_new):
4523 * libs/gst/controller/gstlfocontrolsource.c:
4524 (gst_lfo_control_source_new):
4525 * libs/gst/dataprotocol/dataprotocol.c:
4526 (gst_dp_event_from_packet_0_2):
4527 * plugins/elements/gstfdsrc.c:
4528 * plugins/elements/gstmultiqueue.c:
4529 * plugins/elements/gsttee.c:
4530 * plugins/elements/gsttypefindelement.c:
4531 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4532 (gst_file_index_add_association):
4533 * plugins/indexers/gstmemindex.c:
4534 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4535 * tests/check/elements/queue.c: (setup_queue):
4536 * tests/check/gst/gstpipeline.c:
4537 * tests/check/libs/collectpads.c: (setup), (teardown),
4538 (gst_collect_pads_suite):
4539 * tests/examples/adapter/adapter_test.c:
4540 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4541 * tests/examples/xml/createxml.c:
4542 * tests/examples/xml/runxml.c:
4543 * tools/gst-inspect.c:
4545 Correct all relevant warnings found by the sparse semantic code
4546 analyzer. This include marking several symbols static, using
4547 NULL instead of 0 for pointers, not using variable sized arrays
4548 on the stack, moving variable declarations to the beginning of
4549 a block and using "foo (void)" instead of "foo ()" for declarations.
4551 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4553 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4554 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4555 Don't reset GstPollFDs, this is not necessary at all.
4557 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4558 (delayed_restart), (delayed_control):
4559 Use GST_POLL_FD_INIT.
4561 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4563 * gst/gstpoll.c: (gst_poll_fd_init):
4567 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4568 Use some more init macros.
4570 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4572 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4573 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4574 Use init macros and functions.
4576 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4578 * docs/gst/gstreamer-sections.txt:
4579 * gst/gstpoll.c: (gst_poll_fd_init):
4581 Add INIT macro and _init method for initializing the GstPollFD.
4583 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4585 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4586 (gst_fd_sink_update_fd):
4587 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4588 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4589 (delayed_restart), (delayed_control):
4590 Initialize some uninitialized variables as spotted by valgrind.
4592 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4594 * tests/benchmarks/Makefile.am:
4595 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4597 Add poll stress test.
4599 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4601 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4603 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4604 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4605 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4606 * plugins/elements/gstfdsink.h:
4607 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4608 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4609 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4610 (gst_fd_src_uri_set_uri):
4611 * plugins/elements/gstfdsrc.h:
4612 Port to GstPoll. See #505417.
4614 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4616 * win32/common/libgstreamer.def:
4617 Add new gst_poll_ symbols to win32 defs.
4619 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4621 * docs/libs/gstreamer-libs-sections.txt:
4622 * libs/gst/net/gstnetclientclock.c:
4623 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4624 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4625 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4626 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4627 * libs/gst/net/gstnetclientclock.h:
4628 * libs/gst/net/gstnettimeprovider.c:
4629 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4630 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4631 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4632 (gst_net_time_provider_new):
4633 * libs/gst/net/gstnettimeprovider.h:
4634 Use a private stuct to not break ABI.
4636 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4638 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4640 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4641 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4642 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4643 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4644 * libs/gst/net/gstnetclientclock.h:
4645 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4646 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4647 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4648 (gst_net_time_provider_new):
4649 * libs/gst/net/gstnettimeprovider.h:
4650 Massive code removal and cleanups because of GstPoll.
4653 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4656 Add checks for poll, ppoll and pselect.
4658 * docs/gst/gstreamer-docs.sgml:
4659 * docs/gst/gstreamer-sections.txt:
4660 Add docs for GstPoll.
4664 * gst/gstpoll.c: (find_index), (selectable_fds),
4665 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4666 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4667 (gst_poll_set_mode), (gst_poll_get_mode),
4668 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4669 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4670 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4671 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4672 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4673 (gst_poll_fd_can_write), (gst_poll_wait),
4674 (gst_poll_set_controllable), (gst_poll_restart),
4675 (gst_poll_set_flushing):
4677 Add generic poll abstraction. We ideally don't want to have this in core
4678 here but in glib intead...
4679 This code will be used in various network elements and ultimately for
4680 the nanosecond precision monotonic clock (that's why it's here in core).
4681 It'll allow us to implement cancelable socket operations for windows too.
4683 * tests/check/Makefile.am:
4684 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4685 (delayed_stop), (delayed_restart), (delayed_flush),
4686 (delayed_control), (gst_poll_suite):
4687 Add GstPoll unit test.
4689 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4692 Improve documentation of gst_filter_run(). Fixes #518627.
4694 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4697 Add a few lines about the new 'check-inspected-versions' target.
4699 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4701 * tests/check/gst/gstevent.c:
4702 Add qos to the event test. Rename tcase/tsuite; is not only about
4705 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4707 * plugins/elements/gstqueue.c:
4708 Ensure that buffer metadata is writeable, before modifying. Spotted by
4711 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4713 * plugins/elements/gstqueue.c:
4714 * plugins/elements/gstqueue.h:
4715 When dropping buffers in leaky modes, mark next buffers we sent as
4718 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4720 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4721 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4723 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4725 * plugins/elements/Makefile.am:
4726 * plugins/elements/gstbufferstore.c:
4727 * plugins/elements/gstbufferstore.h:
4728 * plugins/elements/gsttypefindelement.h:
4729 Remove GstBufferStore, no idea why we were still building it.
4730 It's not used anywhere and superseded by GstAdapter.
4732 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4733 (gst_file_src_create_mmap):
4734 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4735 Printf format fixes for 64-bit integers.
4737 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4740 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4741 We're not in 0.8 times anymore.
4743 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4745 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4746 (gst_check_element_push_buffer_list):
4747 * libs/gst/check/gstcheck.h:
4748 Make the declaration in the header for
4749 gst_check_element_push_buffer_list match the implementation.
4751 Fix up spelling, grammar and wording of the documentation in a few
4752 places, and add the Since keyword to new API functions.
4753 Use g_list_delete_link instead of g_list_remove in
4754 gst_check_drop_buffers, since it's immeasurably more efficient.
4756 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4757 Use new gst_check_drop_buffers function where appropriate.
4759 * win32/common/libgstbase.def:
4760 * win32/common/libgstreamer.def:
4761 Add new symbols gst_collect_pads_take_buffer,
4762 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4765 Changelog surgery to add API keyword to new gst_check API.
4767 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4769 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4770 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4771 Update pre-generated flex files with flex 2.3.34.
4773 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4775 * gst/gstminiobject.c:
4776 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4777 friendly to subclasses and not require them to know all internals
4778 of their parent class.
4780 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4782 * docs/libs/gstreamer-libs-sections.txt:
4783 * libs/gst/base/gstcollectpads.c:
4784 * libs/gst/base/gstcollectpads.h:
4785 Add sub-buffer functions to collectpads. Fixes #516187.
4786 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4788 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4791 Copy selected buffer-flags when creating subbuffers.
4794 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4796 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4797 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4798 * gst/gstmessage.c: (gst_message_class_init),
4799 (gst_message_finalize):
4800 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4801 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4802 (gst_mmap_buffer_finalize):
4803 Properly chain up finalize functions to the parent class.
4805 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4807 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4809 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4810 (gst_index_set_resolver_full):
4812 Add new function with option to dispose of user_data in resolver.
4813 Actually call the dispose function when finalizing the object and not
4814 just when changing the resolver/filter.
4815 API: GstIndex::gst_index_set_resolver_full()
4817 * docs/gst/gstreamer-sections.txt:
4818 Add new function to docs. Fixes #515469.
4820 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4822 * gst/gstindex.c: (gst_index_finalize):
4823 Chain up finalize to the parent class. Fixes leaking the GstObject
4824 name and other things.
4826 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4829 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4830 pre-releases or releases.
4832 * docs/faq/gst-uninstalled:
4835 * docs/random/release:
4836 Change one of the steps - we only upload core & base to Gnome FTP
4838 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4840 * gst/gstconfig.h.in:
4841 Add 'id' for example.
4845 * plugins/elements/gstfdsink.c:
4846 Link to signals. Doc and comment fixes.
4848 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4850 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4851 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4852 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4853 unused and unimplemented; finally, it is plugin features, not
4854 plugins, that have ranks.
4856 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4858 * gst/gstpluginfeature.h:
4859 Clarify GstRank range docs.
4861 2008-02-05 David Schleef <ds@schleef.org>
4863 * gst/gst.c: Add a separate gst_deinitialized that prevents
4864 gst_init() from being called after gst_deinit(). Fixes #509559
4866 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4868 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4869 (gst_bin_class_init):
4870 * gst/gstelement.c: (gst_element_base_class_init),
4871 (gst_element_class_add_pad_template):
4872 * gst/gstpadtemplate.c: (gst_pad_template_init):
4873 * gst/gstpipeline.c: (gst_pipeline_get_type),
4874 (gst_pipeline_base_init), (gst_pipeline_class_init):
4875 * libs/gst/base/gstbasesink.c:
4876 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4877 (gst_base_src_base_init), (gst_base_src_class_init):
4878 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4879 (gst_capsfilter_class_init):
4880 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4881 (gst_fake_sink_class_init):
4882 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4883 (gst_fake_src_class_init):
4884 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4885 (gst_fd_sink_class_init):
4886 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4887 (gst_fd_src_class_init):
4888 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4889 (gst_file_sink_class_init):
4890 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4891 (gst_file_src_class_init):
4892 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4893 (gst_identity_class_init):
4894 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4895 (gst_multi_queue_class_init):
4896 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4897 (gst_queue_class_init):
4898 * plugins/elements/gsttee.c: (gst_tee_base_init),
4899 (gst_tee_class_init):
4900 * plugins/elements/gsttypefindelement.c:
4901 (gst_type_find_element_base_init),
4902 (gst_type_find_element_class_init):
4903 * tests/check/gst/gstelement.c: (gst_element_suite):
4904 Revert previous changes to the behaviour of GstPadTemplates, etc
4905 and the possiblity to call them in class_init as it breaks too
4906 many elements. Reopens bug #491501.
4908 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4911 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4913 * tools/gst-launch.c:
4914 Dump one graph per pipeline state-change and state change name
4915 (if GST_DEBUG_DUMP_DOT_DIR is set).
4917 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4920 * tests/check/gst/gstpad.c:
4921 Be sure that we have a new copy of the caps and not
4922 reffed caps from a template
4924 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4926 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4927 * gst/gstpipeline.c: (gst_pipeline_get_type),
4928 (gst_pipeline_class_init):
4929 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4930 (gst_base_sink_class_init):
4931 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4932 (gst_base_src_class_init):
4933 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4934 (gst_base_transform_class_init):
4935 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4936 (gst_collect_pads_class_init):
4937 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4938 * libs/gst/net/gstnettimeprovider.c:
4939 (gst_net_time_provider_base_init),
4940 (gst_net_time_provider_class_init):
4941 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4942 (gst_capsfilter_class_init):
4943 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4944 (gst_fake_sink_class_init):
4945 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4946 (gst_fake_src_class_init):
4947 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4948 (gst_fd_sink_class_init):
4949 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4950 (gst_fd_src_class_init):
4951 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4952 (gst_file_sink_class_init):
4953 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4954 (gst_file_src_class_init):
4955 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4956 (gst_identity_class_init):
4957 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4958 (gst_multi_queue_class_init):
4959 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4960 (gst_queue_class_init):
4961 * plugins/elements/gsttee.c: (gst_tee_base_init),
4962 (gst_tee_class_init):
4963 * plugins/elements/gsttypefindelement.c:
4964 (gst_type_find_element_base_init),
4965 (gst_type_find_element_class_init):
4966 Don't use base_init where not absolutely necessary. For example it's
4967 not necessary anymore for adding pad templates or setting element
4970 Leave empty base_init functions in several places as GST_BOILERPLATE
4971 still defines and uses them.
4973 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4975 * gst/gstelement.c: (gst_element_base_class_init),
4976 (gst_element_class_add_pad_template):
4977 * gst/gstpadtemplate.c:
4978 Make it possible (and recommended) to set element details and add
4979 pad templates in the class_init functions by copying the details/pad
4980 templates in GstElement's base_init.
4982 Also make it possible to replace existing pad templates by adding
4983 a new one with the same name. This was done in a hackish fashion
4984 in same elements before already.
4986 Don't reference pad templates that are added a second time. A
4987 new pad template has a refcount of one and is not floating anymore
4988 and to be owned by the element's class. Make this more explicit by
4989 mentioning it in the docs of gst_element_class_add_pad_template().
4991 These changes are backwards compatible. Fixes bug #491501.
4993 * tests/check/gst/gstelement.c:
4994 Add unit test for setting element details, adding pad templates and
4995 replacing them in a subclass.
4997 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4999 * tools/gst-inspect.c: (print_interfaces),
5000 (print_element_properties_info), (print_pad_info),
5001 (print_signal_info), (print_element_info):
5002 Fix a few memory leaks.
5004 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5006 * docs/libs/gstreamer-libs-sections.txt:
5007 * libs/gst/check/gstcheck.c:
5008 * libs/gst/check/gstcheck.h:
5009 Add more functions for unit testing: gst_check_drop_buffers,
5010 gst_check_caps_equal, gst_check_element_push_buffer_list,
5011 gst_check_element_push_buffer
5012 API: gst_check_drop_buffers
5013 API: gst_check_caps_equal
5014 API: gst_check_element_push_buffer_list
5015 API: gst_check_element_push_buffer
5017 2008-02-01 Julien Moutte <julien@fluendo.com>
5019 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5020 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5021 (gst_index_finalize), (gst_index_entry_free),
5022 (gst_index_add_association): Fix memory leaks.
5023 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5024 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5025 (gst_mem_index_free_format), (gst_mem_index_free_id),
5026 (gst_mem_index_finalize): Fix memory leaks.
5027 * win32/common/config.h: Updated to CVS HEAD.
5029 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5032 Some more details about how the plugin docs works.
5034 * docs/plugins/gstreamer-plugins-sections.txt:
5037 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5039 * gst/parse/grammar.tab.pre.c:
5040 * gst/parse/grammar.tab.pre.h:
5041 * gst/parse/grammar.y:
5042 * gst/parse/lex._gst_parse_yy.pre.c:
5043 Add delayed set-property. This allows to set properties on dynamicaly
5044 created objects (pads in videomxer). Fixes #509391.
5046 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5049 Check if caps are not NULL (fix bug #510194)
5051 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5053 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5054 (gst_base_sink_get_position_paused):
5055 Add fixme regarding EOS in pull mode.
5056 Fix position reporting in PAUSED for negative rates.
5058 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5060 * gst/gstminiobject.c: (gst_mini_object_replace):
5061 When replacing a miniobject, do a quick equality check first so that we
5062 can avoid a ref/unref pair.
5064 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5066 * docs/design/part-synchronisation.txt:
5069 * docs/plugins/Makefile.am:
5070 * docs/plugins/gstreamer-plugins-docs.sgml:
5071 * docs/plugins/gstreamer-plugins-sections.txt:
5072 * plugins/elements/gstmultiqueue.c:
5073 Add multiqueue to the docs.
5075 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5080 === release 0.10.17 ===
5082 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5085 releasing 0.10.17, "Due Negligence"
5087 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5090 Revert caps != NULL check temporarily for 0.10.17 release.
5092 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5095 Check if caps are not NULL (fix bug #510194)
5097 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5100 Fix compilation on systems that have posix timers but no
5103 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5106 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5108 * tools/gst-inspect.c:
5109 Revert previous commit in preparation for an impromptu 0.10.17 release
5111 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5113 * tools/gst-inspect.c: (print_interfaces),
5114 (print_element_properties_info), (print_pad_info),
5115 (print_signal_info), (print_element_info):
5116 Fix a few memory leaks.
5118 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5123 === release 0.10.16 ===
5125 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5128 releasing 0.10.16, "Special Dispensation"
5130 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5133 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5134 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5135 not fail when trying to crosscompile on OpenEmbedded (#511750).
5137 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5140 Use $(MAKE) instead of make to fix the build if GNU make is
5141 called different. Fixes bug #510747.
5143 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5145 * gst/gstplugin.c: (_gst_plugin_initialize):
5146 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5147 again, which I broke two commits ago when changing the API
5148 of gst_plugin_register_static(): the g_list_foreach() in
5149 _gst_plugin_register_static still assumed the old function
5150 signature and would therefore fail (re-fixes #510187).
5152 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5153 (_gst_plugin_register_static), (gst_plugin_register_static):
5154 Revert the (technically correct) change to call g_thread_init() from
5155 the pre-main() constructor. This will break programs which call
5156 g_thread_init() without an if (!g_thread_supported()) guard in their
5157 main function. We could just blame it on GLib or the application, but
5158 it's probably best to just avoid this altogether and simply not use
5159 any GLib functions here and use plain old malloc() with a simple
5160 array to store the plugins to register later when gst_init() is
5161 finally called (re-fixes #510187).
5163 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5164 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5165 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5166 (GST_START_TEST), (gst_plugin_suite):
5167 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5170 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5172 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5173 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5174 This makes gtk-doc complain, but results in slightly better
5175 compiler errors. The old _gst_plugin_register_static() is
5176 still guarded, so there'll be a compiler warning about that
5177 instead. Fixes #510187 too.
5179 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5181 * gst/gst.c: (init_post):
5182 * gst/gstplugin.c: (_gst_plugin_register_static),
5183 (gst_plugin_register_static), (_gst_plugin_initialize):
5184 * gst/gstplugin.h: (GstPluginFilter):
5185 Change API of gst_plugin_register_static() to not take
5186 a GstPluginDesc, but rather just take all the arguments
5187 in a GstPluginDesc directly. This is more intuitive and
5188 avoids certain mistakes when porting code from
5189 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5192 * tests/check/gst/gstplugin.c:
5193 Fix up for changed API.
5195 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5197 * docs/faq/legal.xml:
5198 Update FAQ, Totem actually has an exception these days.
5200 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5202 * win32/common/libgstreamer.def:
5203 Add new API declarations
5205 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5207 * gst/gstminiobject.c:
5208 Spelling fixes for the API docs.
5210 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5212 * libs/gst/base/gstbasetransform.c:
5213 Fix long property description for QoS.
5215 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5218 _gst_trace_on is already provided by gsttrace.h, no need to declare
5221 * docs/libs/gstreamer-libs-sections.txt:
5222 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5223 and remove strange tcase_add_test which is outputting a warning.
5225 * libs/gst/check/gstcheck.c:
5226 * libs/gst/check/gstcheck.h:
5227 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5228 and define them in gstcheck.c instead of having every .c file whcih
5229 includes gstcheck.h be defining its own copy and relying on symbol
5230 interposing to marry them all, which doesn't work on Solaris.
5232 * tests/check/elements/identity.c: (GST_START_TEST):
5233 Don't define 'buffers' locally, it comes from libgstcheck.
5235 * tests/check/generic/sinks.c: (send_buffer):
5236 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5238 * tests/check/gst/gststructure.c: (GST_START_TEST):
5239 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5240 * tests/check/gst/gstutils.c: (GST_START_TEST):
5241 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5242 Add a bunch of casts to make various constants fit the types
5243 they're being assigned to.
5245 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5247 * gst/gstchildproxy.c:
5248 Improve docs and add some ideas for making this more general-purpose.
5250 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5252 * gst/gst_private.h: (GST_CAT_TYPES):
5253 Add GST_CAT_TYPES, for consistency, and so that the other
5254 debug categories don't make fun of it. Spotted by Saur on IRC.
5256 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5258 * gst/parse/Makefile.am:
5259 Move types.h from EXTRA_DIST to noinst_HEADERS.
5261 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5264 Add -Wno-portability to the automake parameters to stop warnings
5265 about GNU make extensions being used. We require GNU make in almost
5266 every Makefile anyway.
5269 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5270 at the same time is required for per target flags.
5272 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5275 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5276 __GNUC__ is defined before using it.
5278 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5280 * docs/gst/gstreamer-sections.txt:
5281 * gst/gst.c: (init_post):
5282 * gst/gstplugin.c: (_gst_plugin_register_static),
5283 (gst_plugin_register_static), (_gst_plugin_initialize),
5284 (gst_plugin_register_func):
5285 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5286 API: add gst_plugin_register_static() and deprecate
5287 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5289 Also, in _gst_plugin_register_static(), make sure to call
5290 g_thread_init() before calling GLib functions such as
5291 g_list_append() if we're not initialised yet, since that
5292 may lead to random crashes with older GSlice/GLib versions.
5294 * tests/check/gst/gstplugin.c:
5295 Adapt unit test to above changes.
5297 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5299 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5300 * gst/gstcaps.c: (gst_caps_to_string):
5301 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5302 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5303 Yet another gratuitous GString micro-optimisation: add a (private)
5304 function that serialises a structure appending to an existing
5305 GString, so that when we serialise caps we don't need to alloc+free
5306 a throwaway GString for each structure (each of which also entailing
5307 multiple reallocs on the way); also use g_string_sized_new() in
5308 various places with an approximate string length to avoid reallocs
5309 within GString. See #500143.
5311 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5313 * gst/gststructure.c: (gst_structure_id_set_value):
5314 Always check UTF-8 conformance of structure strings and not only
5315 if the debugging system is enabled; reasoning: the behaviour of
5316 the actual code shouldn't really change depending on whether the
5317 debugging system is enabled or not (#508291).
5319 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5322 Remove old coverage target in favour of "make lcov".
5324 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5326 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5327 (gst_base_src_loop):
5328 The start segment for reverse playback goes from start to last_stop.
5330 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5332 Patch by: Peter Kjellerstedt <pkj axis com>
5335 Cast the results from the timeval/spec_to_time macros to what the
5336 docs say it casts to, a GstClockTime. fixes #508175.
5338 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5341 Update some comments.
5343 * tools/gst-inspect.c: (print_element_properties_info):
5344 Improve printing of flags.
5346 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5348 * libs/gst/base/gstbasetransform.c:
5349 (gst_base_transform_transform_size):
5350 Print element name with g_warning() if there's a problem
5353 2008-01-07 David Schleef <ds@schleef.org>
5355 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5357 * libs/gst/controller/gstcontroller.h:
5358 * libs/gst/controller/gstcontrolsource.h:
5359 * libs/gst/controller/gstinterpolationcontrolsource.h:
5360 * libs/gst/controller/gstlfocontrolsource.h:
5361 * libs/gst/dataprotocol/dataprotocol.h:
5362 Fix empty prototypes. Fixes bug #507957.
5364 2008-01-07 David Schleef <ds@schleef.org>
5366 * docs/faq/dependencies.xml: Fix typo.
5368 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5370 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5371 (gst_base_src_loop):
5372 Don't update the last_stop position in do_seek, that's the position we
5374 Read backwards when we have a negative rate.
5376 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5377 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5379 Add check for reverse reading.
5381 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5383 Patch by: Alexis Ballier <aballier at gentoo org>
5385 * tests/check/gst/gstabi.c:
5386 * tests/check/gst/struct_ppc64.h:
5387 * tests/check/libs/libsabi.c:
5388 * tests/check/libs/struct_ppc64.h:
5389 Decide which header to include based on the userland ABI target
5390 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5391 for 64-bit userland (#503590). Might need something similar for
5394 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5396 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5397 Log the reason why fopen fails in addition to the fact that it failed.
5399 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5401 * gst/parse/parse.l:
5402 Use "%option never-interactive" to prevent useless calls to isatty()
5403 on every input when parsing. Also use "%option noinput" to not define
5404 the static input/yyinput functions which we don't use anyway. This
5405 removes a compiler warning with gcc 4.3 and saves some bytes in the
5408 * gst/parse/lex._gst_parse_yy.pre.c:
5409 Regenerated for the above change.
5411 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5413 * gst/gstpad.c: (fixate_value):
5414 Don't crash when trying to fixate and empty list.
5417 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5419 * docs/faq/gst-uninstalled:
5420 Clarify the comments to make the usage of this script and what it
5421 does easier to understand.
5423 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5425 * tools/gst-plot-timeline.py:
5426 Add more options to gst-plot-timeline
5428 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5430 * docs/design/part-synchronisation.txt:
5431 Some more info on how the stream_time in GstBaseSink is done.
5433 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5435 * tests/check/generic/sinks.c: (gst_sinks_suite):
5436 Put back the tcase_set_timeout(), apparently it's needed after
5437 all; fix it up in a way that makes things work with valgrind too.
5439 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5441 * gst/gstdebugutils.c:
5442 Add warning when failed to open file for writing.
5444 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5446 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5448 * gst/gstvalue.c: (gst_value_is_fixed):
5449 Optimisation: bail out of the loop as early as possible (#500143).
5451 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5453 * gst/gstcaps.c: (gst_caps_to_string):
5454 * gst/gstinfo.c: (gst_debug_construct_term_color):
5455 * gst/gstparse.c: (gst_parse_launchv):
5456 * gst/gstutils.c: (gst_util_dump_mem):
5457 * gst/gstvalue.c: (gst_value_serialize_any_list),
5458 (gst_value_transform_any_list_string):
5459 Bunch of gratuitous nano-optimisations.
5461 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5463 * tests/check/generic/sinks.c: (async_done_func),
5464 (async_done_eos_func):
5465 Fix leak in unit test (bus sync handler must unref the message
5466 if it returns GST_BUS_DROP). Don't fiddle with the default test
5467 timeout, this is smaller than the current preconfigured value
5468 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5469 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5471 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5473 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5476 Check for stdio_ext.h for the filesink changes.
5478 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5479 (gst_file_sink_class_init), (gst_file_sink_init),
5480 (gst_file_sink_dispose), (gst_file_sink_set_property),
5481 (gst_file_sink_get_property), (gst_file_sink_open_file),
5482 (gst_file_sink_close_file):
5483 * plugins/elements/gstfilesink.h:
5484 Add two properties to control the buffering mode and size.
5485 API: GstFileSink::buffer-mode
5486 API: GstFileSink::buffer-size
5489 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5491 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5492 Add some more docs to explain why a FIXME was wrongly added.
5494 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5497 Fix typo in the gst_object_{ref,unref} documentation.
5499 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5501 * tests/check/libs/controller.c:
5502 * tests/check/libs/typefindhelper.c:
5503 * tests/check/pipelines/parse-launch.c:
5504 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5505 going to be deprecated (see #498924).
5507 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5509 * gst/gsttypefind.c: (gst_type_find_register):
5510 Make gst_type_find_register work for static typefind functions,
5511 ie. allow passing plugin == NULL (prerequisite for #498924).
5513 * gst/gstelementfactory.c: (gst_element_register):
5514 Small docs addition.
5516 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5518 * gst/gstpad.c: (gst_pad_dispose):
5519 Really unlink the peer pad instead of setting the peer pointer to NULL
5520 when we dispose the pad.
5521 This correctly calls the unlink functions and makes sure that the peer
5522 does not have a handle to invalid memory. See #504671.
5524 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5525 Add testsuite for above case.
5527 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5529 Patch by: Peter Kjellerstedt <pkj axis com>
5531 * libs/gst/check/gstcheck.h:
5532 Fix detection of the check version we're compiling against (would
5533 otherwise break if check goes v0.10.0); correctly report the
5534 name of the failed test again in case of failure, instead of
5535 just 'tf' (fixes #504499).
5537 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5539 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5540 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5541 (gst_base_src_loop), (gst_base_src_set_flushing),
5542 (gst_base_src_change_state):
5543 Allow sending EOS to the source to make it send out an EOS event from
5544 the streaming thread.
5545 Update docs and deprecate the old NULL/READY shutdown method.
5547 * tests/check/libs/basesrc.c: (GST_START_TEST),
5548 (gst_basesrc_suite):
5549 Add unit test for controlled shutdown.
5551 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5553 * docs/design/part-synchronisation.txt:
5556 * gst/gstsegment.c: (gst_segment_set_seek),
5557 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5558 (gst_segment_to_running_time):
5559 The seek format can be different from the segment format when the start
5560 and stop values are not to be updated, when we only do a rate change for
5563 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5564 (gst_segment_suite):
5565 Add a testcase for the rate-only seeks, checking that the format is
5566 correctly ignored when start and stop are not updated.
5568 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5570 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5572 * win32/vs8/grammar.vcproj:
5573 * win32/vs8/libgstcontroller.vcproj:
5574 * win32/vs8/libgstreamer.vcproj:
5575 Fix compilation with VS8 and include some missing files.
5577 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5580 Small docs addition: mention that the strings returned by
5581 gst_tag_list_get_string*() are in UTF-8 encoding.
5583 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5586 The check-exports stuff moved to common/win32.mak, so include that.
5588 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5590 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5591 (gst_base_src_perform_seek), (gst_base_src_get_range),
5592 (gst_base_src_set_playing), (gst_base_src_change_state):
5593 Make _wait_playing() not check any variables so that we can call this
5594 function from subclasses. Move the checks elsewhere similar to
5595 _wait_preroll() in basesink.
5597 Only signal the LIVE cond when we are going back to PLAYING.
5599 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5601 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5602 Use g_remove() and g_rename(). Check result of g_rename(), and
5603 don't leak the open file descriptor if we error out when writing.
5605 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5606 Must check the return value of close() after writing out the new
5607 registry file. Sometimes write problems such as out-of-diskspace
5608 are only reported when the file is closed and not already during
5609 the write. This may have caused partial/broken registry files in
5610 some rare circumstances. Should fix #503675.
5612 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5614 * docs/gst/.cvsignore:
5615 * docs/libs/.cvsignore:
5616 * docs/plugins/.cvsignore:
5617 Ignore files generated by new common/* modifications
5619 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5621 * win32/common/libgstbase.def:
5622 Yes, you can also have a <TAB> if you want.
5624 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5626 * win32/common/libgstbase.def:
5627 Add new basetransform API to win export file.
5629 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5631 * tests/check/gst/gstbin.c:
5632 Adjust the test to the refcount change two days ago.
5634 2007-12-14 David Schleef <ds@schleef.org>
5636 * docs/faq/getting.xml: Fix typo.
5638 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5640 * docs/libs/gstreamer-libs-sections.txt:
5641 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5642 (gst_base_transform_prepare_output_buffer),
5643 (gst_base_transform_set_gap_aware):
5644 * libs/gst/base/gstbasetransform.h:
5645 API: Add gst_base_transform_set_gap_aware() to control whether
5646 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5647 get buffers with this flag at all. Fixes #503231.
5649 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5651 * libs/gst/base/gstbasesink.c:
5652 * libs/gst/base/gstbasesrc.c:
5653 * libs/gst/base/gstbasetransform.c:
5654 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5655 thread. Correct log message in gstbasesrc.c.
5657 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5659 * gst/gstutils.c: (element_find_unconnected_pad):
5660 Fix possible compiler warning (#503417).
5662 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5664 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5665 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5667 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5669 * tools/gst-inspect.c: (print_element_properties_info):
5670 Add support for GstFraction properties.
5672 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5675 Add check-exports target and run it as part of 'make check'
5676 (see #499140 and #493983).
5678 * gst/gst_private.h:
5679 * gst/gstelementfactory.h:
5680 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5681 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5682 (_priv_gst_in_valgrind):
5683 * gst/gstinfo.h: (GstLogFunction):
5684 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5685 (gst_type_find_register):
5686 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5687 (gst_type_find_factory_get_type):
5688 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5689 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5690 (gst_controller_new_valist), (gst_controller_new_list),
5691 (_gst_controller_dispose), (_gst_controller_class_init):
5692 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5693 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5694 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5695 (gst_object_get_controller), (gst_object_set_controller),
5696 (gst_object_suggest_next_sync), (gst_object_sync_values),
5697 (gst_object_set_control_source), (gst_object_get_control_source),
5698 (gst_object_get_value_arrays), (gst_object_get_value_array),
5699 (gst_object_get_control_rate), (gst_object_set_control_rate):
5700 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5701 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5702 Make some functions that should be static static; rename some
5703 private symbols so that they don't get exported; add some FIXME
5704 comments so we can move accidentally exported functions into
5705 our private section in 0.11.
5707 * win32/common/libgstreamer.def:
5708 Add gst_utils_get_timestamp().
5710 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5714 Add more missing "Since:" tags to docs.
5716 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5719 Add mising "Since:" to docs.
5721 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5724 Include "glib-compat-private.h" to fix the build on system with
5725 glib < 2.10. Fixes #503131.
5727 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5731 Actually its not PURE as it gets the time from elsewhere.
5733 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5735 * docs/gst/gstreamer-sections.txt:
5737 * gst/gstdebugutils.c:
5741 * libs/gst/base/gstbasesink.c:
5742 * tools/gst-launch.c:
5743 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5744 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5745 Thanks Tim for spotting.
5746 API: gst_util_get_timestamp
5748 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5751 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5753 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5755 * gst/gststructure.c: (gst_structure_validate_name),
5756 (gst_structure_new_valist), (gst_structure_parse_value),
5757 (gst_structure_from_string):
5758 Don't crash in _from_string() if the structure name is not valid
5759 (fixes #501560). Allow structure names to start with a number
5760 again (this apparently broke the ubuntu codec installer).
5762 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5764 Add unit test for the crash; update unit tests for new behaviour.
5766 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5769 Clarify gst_element_get_compatible_pad() documentation.
5772 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5774 * tests/check/Makefile.am:
5775 Don't forget to dist {gst,libs}/struct_hppa.h.
5777 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5779 * libs/gst/base/gstbasesink.c:
5780 Use new API to get elapsed time.
5782 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5784 * gst/gstdebugutils.c:
5786 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5788 * tools/gst-launch.c:
5789 Use new API to get elapsed time.
5791 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5793 * docs/gst/gstreamer-sections.txt:
5795 * gst/gstdebugutils.c:
5797 Rename new API + ChangeLog surgery to remove old name from last entry..
5799 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5801 * docs/gst/gstreamer-sections.txt:
5803 * gst/gstdebugutils.c:
5805 Now hide the different clock stuff behind a macro.
5807 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5810 * gst/gstdebugutils.c:
5812 Apply the posix-timer check from #361155. Conditionally use the posix
5813 timer for logging. This gives better timestamp precission, less
5814 overhead and no ntp jitter.
5816 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5818 * gst/gstminiobject.c: (gst_mini_object_get_type),
5819 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5820 (gst_mini_object_finalize), (gst_mini_object_copy),
5821 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5822 (gst_mini_object_replace), (param_mini_object_validate),
5823 (gst_param_spec_mini_object_get_type):
5824 Some cleanup and checking against invalid function parameters.
5826 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5828 * docs/gst/gstreamer-sections.txt:
5830 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5831 (gst_systemclock_suite):
5832 Start merging in the easy bits of #361155, the monotonic clock patch.
5833 This one adds a few handy macros with docs and a testsuite.
5835 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5837 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5838 Be a bit smarter when seeking, like, don't try to do a seek when it's
5839 not needed. This avoids errors when the file is not seekable.
5842 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5844 * docs/gst/gstreamer-docs.sgml:
5845 * docs/gst/gstreamer-sections.txt:
5846 * docs/gst/gstreamer.types.in:
5851 * plugins/elements/gstqueue.c:
5852 Due to popular request remove preset interface again. :-(.
5854 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5856 * tools/gst-inspect.c:
5857 Print 'default value' for enums and flags too.
5859 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5861 * docs/random/ensonic/profiling.txt:
5865 Fix typo and give better log output.
5867 * gst/gstdebugutils.c:
5868 * gst/gstdebugutils.h:
5869 More ideas, make graphs a bit smaller and fix param name in macro.
5871 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5874 Try harder to use the return value from fgets().
5876 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5879 For theses two fgets we handle the error below.
5881 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5883 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5884 Only send upstream events upstream. Fixes #498746.
5886 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5888 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5890 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5891 (gst_identity_init), (gst_identity_transform_ip),
5892 (gst_identity_set_property), (gst_identity_get_property):
5893 * plugins/elements/gstidentity.h:
5894 Add property to disable handoff signal emission. Fixes #498694.
5895 API: GstIdentity::signal-handoffs
5897 2007-11-21 Julien Moutte <julien@fluendo.com>
5899 * docs/faq/gst-uninstalled: Yet another missing library for the
5900 uninstalled script (fft)
5902 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5904 * docs/faq/developing.xml:
5905 Add a question about how to submit new translations.
5907 * docs/random/release:
5908 Update the contact email address for the Translation Project
5910 * plugins/elements/gstfdsrc.c:
5911 The parent_class for fdsrc is pushsrc, not GstElement.
5913 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5916 Plug a leak and fix saving.
5918 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5920 * docs/gst/gstreamer-sections.txt:
5921 Add new gst_preset__get_property_names() function to the docs
5924 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5928 Change _get_preset_names API to return a strv with copies. Add
5929 _get_property_names to allow implementations to filter and provide
5930 good default implementation.
5932 2007-11-20 Julien MOUTTE <julien@moutte.net>
5934 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5937 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5940 More cleanups, docs, and TODOs from comments that now slowly come in.
5942 2007-11-19 Julien MOUTTE <julien@moutte.net>
5944 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5947 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5950 Fix bogus warning and make the property type specific code more
5953 2007-11-19 Julien MOUTTE <julien@moutte.net>
5955 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5958 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5960 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5961 (gst_bin_add_func), (gst_bin_remove_func),
5962 (gst_bin_change_state_func), (gst_bin_continue_func):
5963 Change email, cleanups add some more debug and comments.
5964 Also set bus and clock on new elements when the pipeline was in error.
5966 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5969 * gst/gstdebugutils.c:
5970 Fix build with --disable-gst-debug. Fixes #497859.
5971 Spotted by Sameer Naik.
5973 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5976 Little documentation improvment.
5979 More TODO cleanups. Remove c++ comments.
5981 * libs/gst/controller/gstcontroller.c:
5982 Add TODO and use quark from static string.
5984 * tests/check/gst/gstmessage.c:
5985 * tests/check/gst/gststructure.c:
5986 Use quark from static string.
5988 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5991 Add some comments and TODOs.
5994 Add padding for future changes.
5996 * plugins/elements/gstqueue.c:
5997 Implement the iface.
5999 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6001 * docs/gst/gstreamer-docs.sgml:
6002 * docs/gst/gstreamer-sections.txt:
6003 * docs/gst/gstreamer.types.in:
6008 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6010 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6016 === release 0.10.15 ===
6018 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6021 releasing 0.10.15, "October"
6023 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6025 * win32/vs6/libgstreamer.dsp:
6026 Convert line endings back to DOS.
6028 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6030 * docs/design/draft-tagreading.txt:
6031 * docs/random/ensonic/profiling.txt:
6032 Update fast tagreading draft and performance profiling ideas.
6034 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6036 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6037 Don't hold the object lock when unreffing a buffer because it could
6038 cause a deadlock when the finalize function wants to grab the object
6039 lock too. Fixes #495133.
6041 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6043 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6044 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6045 Also accumulate time correctly when doing reverse playback. Fixes
6047 When converting to running and stream time, use default values for
6048 start/stop/time/accum when comparing different formats. Fixes #494245.
6050 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6051 Do running/stream time in TIME format.
6053 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6054 (gst_segment_suite):
6055 2 new unit tests for segment accumulation.
6057 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6059 * gst/gst.c: (init_pre):
6060 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6061 (_gst_debug_bin_to_dot_file):
6062 Move getenv() back into gst_init, so everyone can live happily
6063 ever after. Make sure the symbol isn't exported though.
6065 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6067 Patch by: Sebastien Moutte <sebastien moutte net>
6069 * win32/common/gstenumtypes.c:
6070 * win32/common/gstenumtypes.h:
6073 * win32/vs6/libgstreamer.dsp:
6074 Update vs6 project files (#494343).
6076 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6078 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6079 (gst_base_src_perform_seek), (gst_base_src_default_event),
6080 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6081 (gst_base_src_activate_pull):
6082 Unify flushing code, remove some old unlock code that is no longer used.
6083 Take the streaming lock when seeking to avoid races. Fixes #492729.
6084 Added some more comments.
6086 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6088 * gst/gst.c: (_gst_disable_segtrap):
6089 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6090 we can use gst_segtrap_is_enabled() there now that we have that API.
6091 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6092 to do the getenv here (and export the variable).
6094 * gst/gstdebugutils.c: (debug_dump_element),
6095 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6096 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6098 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6099 (gst_debug_log_default):
6100 Rename _gst_info_start_time to priv_gst_info_start_time so it
6101 doesn't get exported (was never in any header).
6103 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6104 (gst_plugin_loading_mutex):
6105 Make static mutex gst_plugin_loading_mutex really static (was never
6106 in any header), and use gst_segtrap_is_enabled() instead of
6107 _gst_disable_segtrap.
6109 * gst/gsttrace.c: (_gst_trace_default):
6110 Make local _gst_trace_default static (was never in any header).
6112 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6114 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6116 * win32/common/libgstbase.def:
6117 * win32/common/libgstcontroller.def:
6118 * win32/common/libgstdataprotocol.def:
6119 * win32/common/libgstnet.def:
6120 * win32/common/libgstreamer.def:
6121 Add more missing symbols, remove some duplicates, and sort
6122 as the 'sort' command sorts it (partially fixes #493983).
6124 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6126 * gst/gstelement.c: (gst_element_set_state_func):
6127 Only change the state cookie if a different state was set on the
6128 element. See #492729.
6130 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6133 Remove unused and uninitialised type variables that were still
6134 exported for some reason (they were never in any header files
6137 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6139 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6140 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6141 (gst_base_sink_event), (gst_base_sink_get_position_last),
6142 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6143 (gst_base_sink_change_state):
6144 Don't try to report a 0 position when we don't know, return -1 and FALSE
6145 instead. This mostly happens when we are prerolling.
6146 Make sure we can report the right position before we post the ASYNC_DONE
6147 message so that a message handler can query position without races.
6149 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6150 (async_done_handoff), (async_done_func), (send_buffer),
6151 (async_done_eos_func), (gst_sinks_suite):
6152 Add two tests for the above.
6154 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6157 Update with new email address.
6159 * docs/design/part-TODO.txt:
6160 Add some more info about future pad-block and negotiation changes.
6162 * docs/design/part-buffering.txt:
6163 Add some ideas about buffering reporting.
6165 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6167 * tests/check/gst/gstobject.c:
6168 Disable silly racy test that always fails on this combination of CPU
6171 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6173 Patch by: Murray Cumming <murrayc@murrayc.com>
6176 Corrected the registration of the parent-set and parent-unset
6177 signals: The parameter is a GstObject, not a GObject (#493134).
6179 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6181 * gst/gst_private.h:
6190 Move declaration of private _gst_foo_initialize() functions into
6191 our private header file where they should have been all along.
6193 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6195 * docs/plugins/gstreamer-plugins-sections.txt:
6196 * gst/gstdebugutils.h:
6198 * plugins/elements/gstqueue.c:
6199 gtk-doc fixes; trailing-comma-in-enum fix.
6201 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6203 * gst/gst.c: (gst_deinit):
6204 Clean up on deinit (not the external ones though, doesn't seem to be
6205 needed for some reason).
6207 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6209 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6210 Remove __declspec(dllimport) for MSVC that was copied over into core
6211 from a plugin, obviously without ever having been tested (note the
6212 single underscore in _declspec in the initial commit), and that doesn't
6213 really make sense. See #492077.
6215 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6217 * gst/gst.c: (init_post):
6218 * gst/gstevent.c: (_gst_event_initialize):
6219 * gst/gstquery.c: (_gst_query_initialize):
6220 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6221 g_type_class_ref() other types as well, see #349410 and #64764.
6223 * gst/gstbuffer.c: (_gst_buffer_initialize):
6224 * gst/gstmessage.c: (_gst_message_initialize):
6225 Simplify existing g_type_class_ref().
6227 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6229 * gst/gstformat.c: (_gst_format_initialize):
6230 g_type_class_ref() our GstFormat type to make sure we avoid the
6231 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6232 bug #64764. Should fix intermittent tee unit test failures (#474823).
6234 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6236 * tests/check/elements/tee.c: (test_num_buffers):
6237 Simplify, simplify, simplify - or not. Rewrite unit test
6238 not to use gst_parse_launch(); allow N sub-streams. Increasing
6239 the number of sub-streams seems to reproduce #474823 more easily.
6241 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6243 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6246 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6247 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6248 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6249 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6250 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6251 so use _pipe() directly (#492077).
6253 * win32/common/dirent.c: (_treaddir):
6254 Add a couple of casts to make it build without warnings with MSVC.
6256 * win32/common/libgstreamer.def:
6257 Add some more symbols that need to be exported.
6259 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6261 * tests/examples/metadata/read-metadata.c: (message_loop):
6262 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6263 arriving in a second or third tag message are added to
6264 the tag list as well.
6266 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6268 * libs/gst/base/gstbasesrc.c:
6269 Its "Since:" and not "@Since:". And remove an superflous cast.
6271 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6273 * docs/libs/gstreamer-libs-sections.txt:
6274 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6275 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6276 (gst_base_sink_get_property), (gst_base_sink_render_object),
6277 (gst_base_sink_preroll_object),
6278 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6279 (gst_base_sink_change_state):
6280 * libs/gst/base/gstbasesink.h:
6281 Add a new last-buffer property that contains the last buffer used in
6282 basesink for preroll or rendering. useful for making snapshots.
6283 API: gst_base_sink_get_last_buffer()
6284 API: GstBaseSink::last-buffer
6286 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6288 * docs/gst/running.xml:
6290 * gst/gstdebugutils.c:
6291 * gst/gstdebugutils.h:
6292 * tools/gst-launch.c:
6293 Improve bin graph dumping, by using the envvar to specify a path.
6294 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6296 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6298 * plugins/elements/gsttypefindelement.c:
6299 (gst_type_find_element_handle_event),
6300 (gst_type_find_element_activate):
6301 Post special error message if we can't determine the type of a stream
6304 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6306 * docs/gst/running.xml:
6307 * gst/gstdebugutils.c:
6308 Document new env-var. Add one log-line after dumpng a graph.
6310 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6313 Ugly hack to put the (recently removed and non-portable, apparently)
6314 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6315 GNU ld, because without that 'make check' fails miserably on my debian
6316 stable box. Someone with more knowledge of linker intricacies and
6317 portability issues than me fix this properly please.
6319 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6321 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6322 Reset last seen position after flushing so that we don't report the old
6325 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6327 * gst/gstelementfactory.c: (gst_element_register):
6329 Patch from Alessandro Decina adding get_type_full and
6330 get_protocols_full private vfuncs to the URIHandler interface
6331 to allow bindings to support creating URI handlers.
6332 Partially fixes: #339279
6333 API: GstURIHandlerInterface::get_type_full
6334 API: GstURIHandlerInterface::get_protocols_full
6336 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6338 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6339 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6340 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6341 Make it so that pads are considered linked until a buffer is pushed
6342 and discovered otherwise. This avoids problems with decodebin2 hanging
6343 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6346 Make sure we lock the multiqueue when updating the max-size properties.
6348 Fix a crash on Solaris in a debug statement in get_request_pad that
6349 passes a NULL string to GST_DEBUG.
6351 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6352 (run_output_order_test):
6353 Fix the test to allow the first buffer on not-linked pads to come out
6354 of sequence while multiqueue discovers that they are not-linked.
6356 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6359 * libs/gst/check/Makefile.am:
6360 Use a custom export symbol regex for libgstcheck, as it needs
6361 to export symbols that don't match the standard GStreamer gst_*
6362 pattern, and --export-dynamic is not portable (only works on
6365 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6366 (gst_check_setup_sink_pad):
6367 Make sure to pass a message parameter to the fail_* macros.
6369 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6370 Fix some compiler warnings.
6372 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6374 * tests/check/gst/gststructure.c: (test_to_string):
6375 Disable test that checks that white spaces are not allowed
6376 in structure names or field names, since we need to
6377 support that for now for backwards compatibility reasons.
6379 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6381 * docs/gst/gstreamer-sections.txt:
6384 API: add GST_TAG_ARTIST_SORTNAME
6385 API: add GST_TAG_ALBUM_SORTNAME
6386 API: add GST_TAG_TITLE_SORTNAME
6387 Add tag variants for sorting (#414539).
6389 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6391 * gst/gststructure.c:
6392 Also allow white space for names so we don't break
6393 backwards compatibility.
6395 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6397 * docs/design/part-TODO.txt:
6398 * docs/design/part-segments.txt:
6399 * docs/design/part-streams.txt:
6402 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6404 * docs/gst/gstreamer-sections.txt:
6405 Fixed documentation from my previous commit (added new API add
6406 gst_value_set_structure(), add gst_value_get_structure() and
6407 GST_VALUE_HOLDS_STRUCTURE).
6409 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6411 * gst/gstdebugutils.c:
6412 Reflow code to fix uninitialized variable warning.
6414 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6416 * gst/gstcaps.c: (gst_caps_to_string),
6417 (gst_caps_from_string_inplace):
6418 * gst/gststructure.c: (gst_structure_get_abbrs),
6419 (gst_structure_to_string), (gst_structure_from_string):
6420 * gst/gstvalue.c: (gst_value_set_structure),
6421 (gst_value_get_structure), (gst_value_serialize_structure),
6422 (gst_value_deserialize_structure), (_gst_value_initialize):
6424 * tests/check/gst/gststructure.c: (GST_START_TEST),
6425 (gst_structure_suite):
6426 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6427 Added GstStructure to gst_value_table and its related functions.
6428 Changed gst_structure_to_string to print ';' in the end.
6429 Changed gst_caps_to_string to not print ';' beteween its
6430 fields (structures) anymore and remove the lastes ';' from latest
6431 structure. Now it is possible to have nested structures.
6432 In addition, backward compatibilty is assured by accepting '\0' as
6433 end delimiter. Fixes: #487969.
6434 API: add gst_value_set_structure()
6435 API: add gst_value_get_structure()
6436 API: add GST_VALUE_HOLDS_STRUCTURE
6438 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6441 When no GSource callback has been set up, tell developer
6442 to use a function that actually exists.
6444 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6446 * docs/gst/gstreamer-sections.txt:
6450 * gst/gstdebugutils.c:
6451 * gst/gstdebugutils.h:
6454 * tools/gst-launch.c:
6455 Allow dumping pipelines as dot graphs. Fixes #456573.
6457 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6459 * gst/gststructure.c:
6460 Allow '+' as well, it can be part of media or mime types
6461 such as image/svg+xml.
6463 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6465 * docs/gst/gstreamer-sections.txt:
6468 API: add gst_bus_pop_filtered
6469 API: add gst_bus_timed_pop_filtered
6470 Two new functions for waiting for specific message types on the
6471 bus for a specified amount of time without iterating any main
6472 loops or main contexts.
6474 * tests/check/gst/gstbus.c:
6475 Some tests for the new functions.
6477 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6479 * docs/libs/gstreamer-libs-sections.txt:
6480 Make gtk-doc ignore stuff it should ignore.
6482 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6484 * libs/gst/check/gstcheck.c:
6485 * libs/gst/check/gstcheck.h:
6486 Allow runtime selection of unit tests to run via the GST_CHECKS
6487 environment variable (test case function names, comma-separated).
6489 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6491 * gst/gststructure.c:
6492 * tests/check/gst/gststructure.c:
6493 Revert serialisation change and constrain structure-names after
6494 consensus on irc. Update api documentation to reflect the change.
6496 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6498 * gst/gststructure.c:
6499 Improve serialization and fix tests.
6501 * tests/check/gst/gststructure.c:
6502 Add another test that covers why I actually did the previous structure
6505 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6507 * tools/gst-inspect.c: (print_element_info):
6508 Don't crash when inspecting an element.
6510 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6512 * tests/check/gst/gststructure.c:
6513 Add unit test for escaping of structure name when serialising
6514 and deserialising to/from strings.
6516 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6518 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6519 (gst_single_queue_new):
6520 * plugins/elements/gstqueue.c: (gst_queue_init),
6521 (gst_queue_push_one):
6522 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6523 upstream is tricked into thinking it can suggest a format downstream
6524 while downstream does not support that format. The real problem is that
6525 core calls acceptcaps when pushing a buffer with new caps, for which we
6526 do a little workaround by setting the caps on the srcpad ourselves
6527 before pushing the buffer (until this is figured out). Fixes #486758.
6529 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6531 * gst/gststructure.c:
6533 Add some more comments and debug output. Quote structure name to fix
6534 deserialisation of some strings.
6536 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6539 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6540 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6542 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6544 * tools/gst-inspect.c:
6545 Save approx. 400 1 byte allocs when printing. Use API to acces element
6551 * tools/gst-xmlinspect.c:
6552 Use API to acces element details.
6554 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6557 Fix some spelling errors.
6559 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6561 * gst/gstbin.c: (bin_handle_async_done):
6562 Correctly set the next state if all of our async children commited their
6563 state. This makes sure we can actually cancel the state change in
6564 progress. Fixes a regression in Rhythmbox when seeking.
6566 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6569 Don't shadow local variable.
6572 Don't shadow global function name.
6574 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6576 * gst/gstelementfactory.c:
6577 * gst/gstpluginfeature.c:
6578 * gst/gstpluginfeature.h:
6579 * gst/gstregistrybinary.c:
6580 * gst/gstregistryxml.c:
6581 * gst/gsttypefind.c:
6582 Use already-interned string for the private GstPluginFeature
6585 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6587 * docs/libs/gstreamer-libs-sections.txt:
6588 Add new API to docs; fixes the build.
6590 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6592 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6594 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6595 (gst_base_sink_event):
6596 * libs/gst/base/gstbasesink.h:
6597 Add function to wait for EOS, subclasses can use this to correctly wait
6598 for devices to drain before performing the EOS logic. Fixes #485343.
6599 API: gst_base_sink_wait_eos()
6601 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6604 Cast description string constants in GST_PLUGIN_DEFINE macros
6605 to a (gchar*) to make C++ code using these macros compile
6606 without warning with g++-4.2 (see #462737). Even if slightly
6607 ugly, this seems preferable to putting the description strings
6608 into the GLib quark table or making the structure member a
6609 const gchar * and doing casts in core code that allocs and
6610 frees these strings, or requiring a cast in the C++ code.
6612 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6615 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6616 to print the entire class/function signature into the log
6617 file for C++ code. This only affects C++ code, for C code
6618 everything remains the same.
6620 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6622 * gst/gstbin.c: (remove_from_queue):
6623 Work around a problem with pipelines containing (semi)loops until a
6624 proper, more complicated solution is ready. See #475455.
6626 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6630 * gst/gstregistrybinary.c:
6631 * gst/gstregistryxml.c:
6632 Put more strings into the GLib quark table. No need to keep
6633 a hundred-something copies of identical version strings,
6634 license strings, package name strings and package origin
6637 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6639 * docs/manual/advanced-dataaccess.xml:
6640 Don't imply that it's okay to unconditionally change
6641 buffer data or buffer metadata in a pad probe callback,
6642 and a bunch of other comments. Fixes #430031.
6644 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6646 * win32/common/gstenumtypes.c:
6647 * win32/common/gstenumtypes.h:
6648 * win32/common/gstversion.h:
6649 Update generated files.
6651 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6653 * docs/manual/advanced-autoplugging.xml:
6654 Prefix section with broken code with a warning (see #342432).
6656 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6658 * docs/manual/appendix-integration.xml:
6659 * docs/manual/basics-init.xml:
6660 Call g_thread_init() before g_option_context_new() to
6661 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6663 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6665 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6666 (gst_base_sink_queue_object_unlocked),
6667 (gst_base_sink_queue_object), (gst_base_sink_event),
6668 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6669 When we received EOS and are waiting for when to post the EOS message,
6670 our state is prerolled and we should not return ASYNC.
6671 Reorganize some code paths to implement this behavior.
6673 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6675 Add unit test to verify above EOS fix.
6677 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6679 * plugins/elements/gsttypefindelement.c:
6680 (gst_type_find_element_have_type), (gst_type_find_element_init),
6681 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6682 Move detecting the input caps of the sinkpad to the setcaps function.
6683 This allows us to update the output caps when we receive new input caps
6684 instead of always using the first detected caps.
6686 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6688 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6689 (gst_base_sink_get_position):
6690 Don't try to preroll non-async elements after a flush.
6691 Subtract latency form clock times when reporting position.
6693 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6695 * gst/gstpad.c: (gst_pad_pause_task):
6697 Small comment and documentation update.
6699 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6701 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6702 (gst_base_src_set_live), (gst_base_src_is_live),
6703 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6704 (gst_base_src_default_event), (gst_base_src_wait),
6705 (gst_base_src_do_sync), (gst_base_src_get_range),
6706 (gst_base_src_pad_get_range), (gst_base_src_loop),
6707 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6708 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6709 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6710 (gst_base_src_change_state):
6711 Rework the locking of basesrc in a similar fashion to basesink. We
6712 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6713 us to handle live sources and semi live ones much better.
6715 Fix unlocking when seeking, shutting down and pausing in live sources.
6717 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6719 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6720 Fix compilation again.
6722 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6725 Use meaningful categories for the logs to clean the default one.
6727 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6729 * tests/check/pipelines/cleanup.c:
6730 Print message name and not just number.
6732 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6734 * docs/design/draft-tagreading.txt:
6735 Add some more thoughts.
6737 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6739 * tests/check/pipelines/simple-launch-lines.c:
6740 Print message name and not just number.
6742 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6744 * libs/gst/base/gsttypefindhelper.c:
6745 Speedup typefinding. This is work in progress (see #459862).
6747 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6750 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6751 Spotted by Josep Torra Valles <josep@fluendo.com>.
6753 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6756 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6757 field has moved to GstObject.
6759 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6761 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6762 (gst_base_src_get_range), (gst_base_src_change_state):
6763 Call unlock for live sources so that they can't get stuck in _create and
6764 produce a buffer before they are set back to PLAYING.
6766 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6768 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6769 (gst_queue_locked_dequeue):
6770 Comment the segment-related code... in the PROPER function.
6771 See #482147 and my commit from yesterday.
6773 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6775 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6776 Also initialize the counter that calculates the first timestamp on a
6777 buffer correctly for non-live sources.
6779 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6781 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6782 Disable code that's breaking the current-time-level reporting.
6785 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6787 * docs/gst/gstreamer-sections.txt:
6788 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6789 as they shouldn't show up. Fixes the docs build.
6791 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6794 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6795 Define M_PI which is used in files which are including gstinfo.h.
6796 VS6 includes doesn't define it.
6797 * win32/common/libgstbase.def:
6798 * win32/common/libgstcontroller.def:
6799 * win32/common/libgstreamer.def:
6800 Add new exported functions and variables.
6801 * win32/vs6/libgstcontroller.dsp:
6802 * win32/vs6/libgstreamer.dsp:
6803 Update the list of files to build.
6805 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6807 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6809 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6810 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6811 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6812 Improve debugging. Fixes #480858.
6814 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6816 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6818 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6819 First patch of code cleanups, use the macros and right arguments in the
6820 macros to signal and lock the queue. See #480858.
6822 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6824 * gst/gstbus.c: (poll_func):
6825 Improve debugging when dealing with _poll().
6827 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6829 * gst/gstregistryxml.c:
6830 Fix memory leak I introduced a few days ago.
6832 2007-09-26 Michael Smith <msmith@fluendo.com>
6834 * gst/gstbuffer.c: (gst_buffer_finalize):
6835 Make it once again possible to free GstBuffers in the default
6837 The poisoning scribbles on parts of the miniobject we need in
6841 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6843 * docs/gst/gstreamer-sections.txt:
6846 API: add GST_TAG_COMPOSER, fixes #459809.
6848 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6852 Add the 3-clause BSD license and the MIT/X11 license to the license
6853 list. Fixes #479784.
6855 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6857 * docs/faq/getting.xml:
6858 Add Q+A about different GStreamer versions (#364056).
6860 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6862 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6863 (gst_base_sink_event), (gst_base_sink_change_state):
6864 Return correct gboolean from query function.
6866 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6868 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6869 (gst_base_sink_event), (gst_base_sink_query),
6870 (gst_base_sink_change_state):
6871 Simplify latency query.
6872 When not synchronizing, we can report latency without querying the peer
6875 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6879 Fix small typos in the docs.
6881 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6883 * docs/design/draft-latency.txt:
6884 * docs/design/draft-push-pull.txt:
6885 * docs/design/draft-tagreading.txt:
6886 * docs/design/part-MT-refcounting.txt:
6887 * docs/design/part-activation.txt:
6888 * docs/design/part-block.txt:
6889 * docs/design/part-element-source.txt:
6890 * docs/design/part-events.txt:
6891 * docs/design/part-gstbin.txt:
6892 * docs/design/part-gstelement.txt:
6893 * docs/design/part-gstobject.txt:
6894 * docs/design/part-gstpipeline.txt:
6895 * docs/design/part-messages.txt:
6896 * docs/design/part-preroll.txt:
6897 * docs/design/part-push-pull.txt:
6898 * docs/design/part-qos.txt:
6899 * docs/design/part-query.txt:
6900 * docs/design/part-scheduling.txt:
6901 * docs/design/part-seeking.txt:
6902 * docs/design/part-segments.txt:
6903 * docs/design/part-states.txt:
6904 Documentation updates and typo fixes.
6906 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6908 * plugins/elements/gstfakesink.c:
6909 Add some debug text to error message to indicate that
6910 we errored out on request.
6912 * tools/gst-launch.c:
6913 When the state change to PLAYING fails, check for an
6914 error message on the bus and print it.
6916 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6918 translated by: Jorge González González <aloriel@gmail.com>
6922 Added Spanish translation.
6924 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6926 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6927 Fix printf arguments.
6929 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6931 * tests/check/generic/states.c:
6932 Improved state change unit test.
6934 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6937 Move priv to the right place.
6939 * gst/gstsystemclock.c:
6940 Add FIXME: and improve log.
6942 * tests/check/Makefile.am:
6943 * tests/examples/manual/Makefile.am:
6944 Work with all types of registries.
6946 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6948 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6949 Don't unref the event after pushing it. Fixes #478401.
6951 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6954 * tests/examples/manual/.cvsignore:
6955 Ignore registries in any format.
6957 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6959 * gst/glib-compat-private.h:
6960 Add compatibility macro for g_intern_string() for
6961 GLib-2.8 (any reason we can't just bump the
6962 requirement to at least 2.10?)
6964 * gst/gstpadtemplate.h:
6965 * gst/gstelementfactory.c:
6966 * gst/gstregistryxml.c:
6967 * gst/gstregistrybinary.c:
6968 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6969 up the internal code accordingly. This shouldn't be a problem, since
6970 there is no reason external code could ever assume the string in such
6971 a structure is dynamically allocated unless it did that itself; the
6972 use of g_strdup() is private to element factories. The new code also
6973 saves some memory by putting pad template name strings into the GLib
6974 quark table instead of allocating them dynamically.
6975 Declaring this field constant fixes warnings with g++-4.2 when using
6976 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6978 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6980 * gst/gstelementfactory.c:
6981 Release static caps. Fixes #475723.
6983 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6987 Make some internal API take const gchar * instead of just
6988 gchar * to avoid compiler warnings with g++-4.2.2 when
6989 passing string constants (partially fixes #478092).
6991 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6993 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6994 A latency query fails when one of the sinks fail.
6996 * gst/gstelement.c: (gst_element_set_base_time):
6999 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7001 * gst/gstbin.c: (gst_bin_continue_func):
7002 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7003 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7004 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7006 Fix minor compilation warnings shown with Forte.
7008 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7010 * plugins/elements/gstqueue.c: (apply_buffer),
7011 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7012 Measure queue level based on the diff between head and tail timestamps
7013 even when pushing the first buffer.
7015 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7017 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7018 (gst_base_sink_event), (gst_base_sink_change_state):
7019 Sinks that don't preroll can always be queried for the latency.
7020 Don't post ASYNC start when we are not async.
7022 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7024 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7025 (gst_queue_handle_sink_event), (gst_queue_chain),
7026 (gst_queue_push_one), (gst_queue_handle_src_query),
7027 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7028 * plugins/elements/gstqueue.h:
7029 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7030 push more buffers but allow pushing of EOS and NEWSEGMENT.
7031 Add some more debug info here and there. Fixes #476514.
7033 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7035 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7036 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7037 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7038 (gst_base_sink_set_flushing), (gst_base_sink_query),
7039 (gst_base_sink_change_state):
7040 Latency query is allowed after we are prerolled. Introduce a new flag
7041 for this and stop abusing other variables.
7043 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7045 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7046 Push OOB events downstream when we get them in send_event. This allows
7047 the application to insert events in the pipeline.
7048 Add some more comments.
7050 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7052 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7053 (do_bin_latency), (gst_bin_change_state_func):
7054 * gst/gstpipeline.c: (gst_pipeline_change_state):
7055 Move latency query from GstPipeline to GstBin so that we can also
7056 use it when async-handling is enabled on bins.
7058 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7060 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7061 (gst_base_src_do_sync), (gst_base_src_change_state):
7063 Clean up the timestamping and syncing code for pseudo live sources.
7065 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7067 Patch by: Steve Fink <sphink gmail com>
7069 * docs/manual/appendix-checklist.xml:
7070 Mention less -R switch in the section about debug output (#474055).
7072 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7074 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7075 Queue can latency to the pipeline up to the configured max size in time.
7076 Report this fact in the latency query.
7078 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7080 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7082 * libs/gst/controller/gstinterpolation.c:
7083 * libs/gst/controller/gstlfocontrolsource.c:
7084 Use gst_guint64_to_gdouble() when converting from a uint64 or
7085 GstClockTime to double to fix the build on win32. Fixes #474371.
7087 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7089 * gst/gstbuffer.c: (gst_buffer_finalize):
7090 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7091 When finalizing a buffer the complete struct is filled with 0xff,
7092 thus making a use of the buffer after the final unref impossible.
7094 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7096 * tests/check/libs/controller.c: (GST_START_TEST):
7097 Use fail_unless_equals_int(a, b) instead of
7098 fail_unless_equals (a == b) to get better output on failures.
7100 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7102 * tests/check/gst/gsturi.c:
7103 Also check for the other file URI variant on win32.
7105 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7107 * gst/gsturi.c: (gst_uri_get_location):
7108 If there's no hostname, we want to return 'c:/foo/bar.txt'
7109 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7111 * tests/check/gst/gsturi.c:
7112 Unit test for the above and a few more things.
7114 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7116 * docs/design/part-live-source.txt:
7117 Add docs on how live sources should timestamp.
7119 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7120 Add some more debug info.
7121 For subclasses that are live and like to sync, add aditional startup
7122 latency to sync time and timestamps so that we timstamp according to the
7125 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7128 Also do a g_type_class_ref() for the subbuffer type in
7131 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7133 * docs/gst/gstreamer-sections.txt:
7134 * gst/gstpad.c: (gst_pad_peer_query):
7136 Add function to perform a query on the peer of a pad.
7137 API: gst_pad_peer_query()
7139 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7141 * tests/check/gst/gstsystemclock.c:
7142 Cleanup the test a little (use gst-logging and not g_message). Improve
7143 test to check if a wait reached the target.
7145 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7147 * docs/libs/gstreamer-libs-sections.txt:
7148 Add new API to docs and fix the build.
7150 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7152 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7153 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7154 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7155 (gst_base_src_get_property), (gst_base_src_do_sync):
7156 * libs/gst/base/gstbasesrc.h:
7157 Add property to make the basesrc timestamp buffers based on the current
7159 API: GstBaseSrc::do-timestamp
7160 API: gst_base_src_set_do_timestamp()
7161 API: gst_base_src_get_do_timestamp()
7163 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7165 * docs/random/release:
7166 Really make sure translations are up-to-date before
7167 a release (#465010).
7169 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7171 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7172 Always destroy the timer, also in error cases.
7174 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7176 * docs/manual/highlevel-xml.xml:
7177 Fix XML example code. Fixes #472714.
7179 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7181 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7182 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7183 (gst_base_sink_query):
7184 Protect eos and have_preroll with the OBJECT lock so we don't need to
7185 take the PREROLL lock when querying the latency. Fixes #473846.
7187 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7190 Give some log-messages a category.
7192 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7194 * gst/gststructure.c:
7195 (gst_structure_fixate_field_nearest_fraction):
7196 Fix fraction list fixation code. Take the fraction with the smallest
7197 difference with the target instead of the first one in the list.
7199 * tests/check/gst/gststructure.c: (GST_START_TEST),
7200 (gst_structure_suite):
7201 Added test to verify correct fraction list fixation behaviour.
7203 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7205 * win32/common/libgstreamer.def:
7206 Export gst_bus_add_signal_watch too.
7208 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7210 * docs/libs/gstreamer-libs-sections.txt:
7211 Add new methods to docs.
7213 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7214 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7215 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7216 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7217 * libs/gst/base/gstbasesink.h:
7218 Add ts-offset property to fine-tune the synchronisation.
7219 API: GstBaseSink::ts-offset property
7220 API: gst_base_sink_set_ts_offset()
7221 API: gst_base_sink_get_ts_offset()
7223 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7225 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7226 (gst_base_sink_init), (gst_base_sink_set_sync),
7227 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7228 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7229 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7230 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7231 (gst_base_sink_get_property), (gst_base_sink_change_state):
7232 * libs/gst/base/gstbasesink.h:
7233 Add async property to instruct the sink never to inform the parent about
7234 ASYNC state changes, update docs.
7235 Check argument with g_return_* for the public functions.
7236 API: GstBaseSink::async property
7237 API: gst_base_sink_set_async_enabled()
7238 API: gst_base_sink_is_async_enabled()
7240 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7242 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7245 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7246 (gst_base_src_default_query), (gst_base_src_wait),
7247 (gst_base_src_do_sync), (gst_base_src_change_state):
7248 Rearrange some code so that we can add support for measuring the
7251 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7253 * docs/random/ensonic/dynlink.txt:
7254 More thoughs on this.
7256 * plugins/elements/gstcapsfilter.c:
7257 Add bugzilla ticket number to FIXME comment.
7259 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7261 * docs/design/part-TODO.txt:
7262 * docs/design/part-block.txt:
7265 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7268 Revert patch which uses $(gst_headers) instead of $^ because it
7271 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7273 * tests/check/gst/gstbin.c: (GST_START_TEST):
7274 Fix leaks in the new unit test.
7276 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7279 Don't use GST_INFO before the debug system is actually initialised
7280 (shouldn't do any harm, but won't print anything either, so we can
7281 just as well remove it).
7284 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7285 compilers that don't support variadic macros (such as MSVC), should
7286 check for debug_level <= __gst_debug_min as well, since that's the
7287 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7288 inline helper functions. Should improve performance a bit, but also
7289 makes sure uses of GST_INFO et.al are ignored if the debugging
7290 system isn't initialised yet (instead of printing an assertion
7293 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7295 patch by: David Nečas <yeti@physics.muni.cz>
7298 Replace some non portable makefile constructs.
7300 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7302 * common/gtk-doc-plugins.mak:
7303 Grrrrr. Don't remove the types file on make clean.
7305 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7307 * tools/gst-launch.1.in:
7308 Add colorspace to example pipeline. Fixes #458274.
7310 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7312 * docs/random/release:
7313 The release manager should run 'make download-po' before making a
7314 release to make sure translations are up-to-date.
7320 Add some new translations.
7322 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7324 * tools/gst-launch.c: (event_loop), (main):
7325 Don´t try to do any state management when a live pipeline posts
7327 Also make the buffering string translatable.
7329 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7331 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7332 (bin_handle_async_start), (gst_bin_handle_message_func):
7334 When adding elements, insert messages into the bus of the newly added
7335 element and make sure the element is the source of the message. This
7336 allows the parent bin to intercept the message and do the
7337 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7338 messages to the app (which is not allowed).
7341 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7342 Fix testsuite so that is does not work around messages that should not
7343 have been posted in the first place.
7345 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7347 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7348 (update_degree), (gst_bin_sort_iterator_next):
7349 Fix annoying bug in the sorted iterator where a sink that is not really
7350 a sink (when it has downstream links) screwed up the iterator.
7352 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7353 Unit test to verify the fix.
7355 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7358 Add some more docs for the messages.
7360 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7361 (gst_base_sink_query):
7362 Add some more debugging.
7364 * tools/gst-launch.c: (event_loop):
7365 When interrupting, don't try to set pipeline to PAUSED twice.
7367 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7370 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7371 (bin_handle_async_start), (gst_bin_handle_message_func):
7372 Move ASYNC_START message posting to where it belongs, similar to
7374 Don't post ASYNC_START when we are in error.
7375 Post ASYNC_START when we added an async element to a bin.
7377 2007-08-14 Julien MOUTTE <julien@moutte.net>
7379 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7380 generation from vargs. Fixes #466595.
7382 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7384 * gst/gstbin.c: (gst_bin_element_set_state):
7385 Always change the state of a NO_PREROLL element even if it has ASYNC
7386 elements inside (in case of a bin).
7388 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7389 Unit test for this case.
7391 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7393 * libs/gst/check/gstbufferstraw.c:
7394 * libs/gst/check/gstcheck.h:
7395 * libs/gst/controller/gstcontroller.c:
7396 * libs/gst/controller/gstcontrolsource.h:
7397 * libs/gst/controller/gstlfocontrolsource.h:
7398 * plugins/elements/gstcapsfilter.h:
7399 * plugins/elements/gstfdsink.h:
7400 * plugins/elements/gstfdsrc.h:
7401 Add more missing docs.
7403 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7405 * gst/gststructure.c:
7406 Add Since tag to docs.
7408 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7410 * docs/gst/gstreamer-sections.txt:
7411 * gst/gststructure.c: (gst_structure_get_uint):
7412 * gst/gststructure.h:
7413 Add function to get uint from a structure.
7414 API: gst_structure_get_uint()
7416 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7418 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7419 (gst_caps_intersect):
7420 Fix proper check for simple caps.
7422 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7424 * docs/gst/Makefile.am:
7425 * docs/libs/Makefile.am:
7426 Remove cruft and do some cleanups.
7428 * docs/gst/gstreamer-docs.sgml:
7429 * docs/libs/gstreamer-libs-docs.sgml:
7430 Prepare for comming gtkdoc features (rebase against online docs).
7432 2007-08-10 Michael Smith <msmith@fluendo.com>
7434 * docs/gst/gstreamer-sections.txt:
7435 Add gst_registry_add_path to docs.
7437 2007-08-10 Michael Smith <msmith@fluendo.com>
7439 * gst/gstregistry.h:
7440 Add gst_registry_add_path, which was missing from this header.
7442 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7444 * libs/gst/controller/gstlfocontrolsource.c:
7447 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7449 * libs/gst/base/gstbasesink.c:
7450 Don't send an async_start message during downwards state change if
7451 target state is less than READY
7453 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7455 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7459 Added Hungarian translation.
7461 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7468 Updated translations.
7470 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7472 * libs/gst/controller/Makefile.am:
7473 Dist gstlfocontrolsourceprivate.h
7475 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7477 * docs/libs/gstreamer-libs.types:
7478 Don't register the enum type gst_lfo_waveform_get_type() in the
7479 .types file - only GObject derived types belong.
7481 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7483 Patch by: <arenevier at fdn dot fr>
7486 Remove comma from last element in enum to avoid compile errors when
7487 using -pendantic. Fixes #464366.
7489 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7491 * docs/design/part-TODO.txt:
7492 Add some more TODO items
7494 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7497 * gst/gstcaps.c: (gst_caps_intersect):
7498 Optimize trivial intersection case between identical caps pointers.
7500 * gst/gstelement.c: (gst_element_continue_state),
7501 (gst_element_set_state_func):
7503 Fix spelling and grammar mistakes.
7505 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7509 Update POTFILES. Fixes #461599.
7511 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7514 Fix confusing typo in debug output.
7516 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7518 reviewed by: Stefan Kost <ensonic@users.sf.net>
7520 * libs/gst/controller/Makefile.am:
7521 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7522 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7523 (gst_lfo_control_source_new),
7524 (gst_lfo_control_source_set_waveform),
7525 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7526 (gst_lfo_control_source_finalize),
7527 (gst_lfo_control_source_dispose),
7528 (gst_lfo_control_source_set_property),
7529 (gst_lfo_control_source_get_property),
7530 (gst_lfo_control_source_class_init):
7531 * libs/gst/controller/gstlfocontrolsource.h:
7532 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7533 API: Add GstLFOControlSource, a control source that gives values
7534 for specific timestamps based on several periodic waveforms.
7537 * tests/check/libs/controller.c: (GST_START_TEST),
7538 (gst_controller_suite):
7539 * docs/libs/gstreamer-libs-docs.sgml:
7540 * docs/libs/gstreamer-libs-sections.txt:
7541 * docs/libs/gstreamer-libs.types:
7542 Add documentation and unit tests for GstLFOControlSource.
7544 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7549 === release 0.10.14 ===
7551 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7554 releasing 0.10.14, "Breathing Vacuum"
7556 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7558 * gst/gstelement.c: (gst_element_class_set_details_simple):
7560 Make strings passed to gst_element_class_set_details_simple()
7561 constant, as they should be (#462752).
7563 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7565 * gst/gstbin.c: (gst_bin_change_state_func),
7566 (bin_handle_async_done), (gst_bin_handle_message_func):
7567 Don't forget about the fact that some element went ASYNC even after a
7568 resync. This makes us post the ASYNC_DONE message correctly.
7571 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7573 * gst/gstregistry.c: (gst_registry_add_feature):
7574 When replacing an existing feature in the registry, make sure to
7575 continue holding a reference until we've replaced the name string
7576 within our feature hash table. Make sure to use g_hash_table_replace
7577 instead of g_hash_table_insert to ensure the new name string is used
7578 as a key instead of the old one that we're about to free.
7581 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7583 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7584 (gst_plugin_feature_set_name):
7585 Revert patch from #459466 until after the release and we can work
7586 out exactly what the problem is (if any).
7588 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7590 * docs/gst/gstreamer-sections.txt:
7593 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7595 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7597 * docs/libs/Makefile.am:
7598 Include our build-prefix libs and includes before the generic ones to
7599 avoid linking against the installed libs when we want the build-tree
7602 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7604 Patch by: Steve Fink <sphink gmail com>
7606 * docs/pwg/building-testapp.xml:
7607 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7608 if people try to build or install the example from the plugin
7609 template against a GStreamer from package using the configure
7612 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7614 Patch by: Steve Fink <sphink gmail com>
7616 * tools/gst-inspect.1.in:
7617 Document --print-all and --print-plugin-auto-install-info command
7618 line options in man page.
7620 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7622 * docs/gst/gstreamer-sections.txt:
7623 Add docs for new api function.
7625 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7627 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7628 * gst/gstelementfactory.h:
7629 API: gst_element_factory_has_interface()
7630 Added method to check if an element factory implements a named
7633 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7636 * docs/gst/gstreamer.types.in:
7637 Another conditional doc check.
7640 * gst/gstparamspecs.h:
7641 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7646 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7648 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7649 (gst_registry_binary_load_feature),
7650 (gst_registry_binary_load_plugin),
7651 (gst_registry_binary_read_cache):
7652 Print error just once and with additional info.
7654 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7656 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7657 (helper_find_suggest), (helper_find_get_length),
7658 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7659 (gst_type_find_helper_for_buffer):
7660 Cleanup the typefindhelper code and add private doc comments.
7662 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7664 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7665 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7666 Fix capsfilter for cases where the caps set on capsfilter will provide
7667 additional information.
7670 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7672 * gst/gsttypefindfactory.c:
7673 Fix docs that recommened wrong function to use.
7675 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7677 * tools/gst-inspect.c: (print_plugin_features):
7678 Also give media-type for typefinders in element output.
7680 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7682 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7683 (gst_registry_remove_features_for_plugin_unlocked),
7684 (gst_registry_add_feature), (gst_registry_remove_feature),
7685 (gst_registry_lookup_feature_locked):
7686 * gst/gstregistry.h:
7687 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7690 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7692 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7693 (gst_plugin_feature_set_name):
7694 Avoid double memory usage for pluginfeature names. Fixes #459466.
7696 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7699 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7700 driving the pipeline may need to explicitly check for NOT_LINKED as
7701 well, since IS_FATAL doesn't cover that.
7703 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7705 * docs/pwg/advanced-types.xml:
7706 Fix typo and duplicate entry in video formats list.
7708 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7710 * libs/gst/controller/gstinterpolation.c:
7711 Also round to the nearest int when using cubic interpolation.
7713 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7715 * libs/gst/controller/gstinterpolation.c:
7716 When linearly interpolating integer types, round to the nearest int
7717 by adding 0.5. Don't do it for float/double types.
7718 Fixes the failing controller test on my machine, which is somehow
7719 rounding differently than on the buildbots.
7721 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7723 * tools/gst-plot-timeline.py:
7724 Better log parsing (categories can have -). Adjust text vs. lines, so
7725 that they span the same y-range.
7727 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7729 * docs/random/ensonic/audiobaseclasses.txt:
7730 * docs/random/ensonic/dynlink.txt:
7731 * docs/random/ensonic/profiling.txt:
7734 * docs/random/moving-plugins:
7735 Add note to use g_assert type macros.
7737 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7740 * libs/gst/check/Makefile.am:
7741 Add libm check as we use in for plugins.
7743 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7745 * gst/gstbin.c: (gst_bin_continue_func):
7746 Check that the state_cookie hasn't changed since the continue_func
7747 was scheduled. Avoids problems where the state changes back to
7748 something it shouldn't be because it was changed in the meantime.
7750 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7752 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7753 (gst_registry_binary_save_string),
7754 (gst_registry_binary_save_pad_template),
7755 (gst_registry_binary_save_feature),
7756 (gst_registry_binary_save_plugin),
7757 (gst_registry_binary_load_feature),
7758 (gst_registry_binary_load_plugin),
7759 (gst_registry_binary_read_cache):
7760 Fix memory leak. Be less verbose in the log.
7762 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7764 * tests/check/elements/.cvsignore:
7765 Add file to cvsignore as commanded.
7767 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7769 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7770 (mq_dummypad_event), (run_output_order_test):
7771 Use a GStaticMutex to protect all cases where libcheck
7772 fail_if/fail_unless macros might be called from multiple threads
7773 simultaneously to avoid errors like:
7774 "check_pack.c:107: :-1081725400:Bad message type arg"
7776 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7778 * tests/check/pipelines/stress.c: (GST_START_TEST):
7779 Make sure we set the pipeline back to the NULL state before
7780 dropping our final reference.
7782 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7784 * tests/check/elements/tee.c: (GST_START_TEST):
7785 Make the tee stress-test a little less stressful so it doesn't just
7786 time out on slow-machines, and remove a small race when it's starting
7787 up by adding a get_state() call.
7789 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7792 Avoid reading registry twice on startup. Fixes #457322.
7794 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7796 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7797 * pkgconfig/gstreamer-check.pc.in:
7798 Substitute the CFLAGS for libcheck into our .pc file too so that
7799 dependent modules will pick it up properly if libcheck is installed
7800 into some other prefix.
7802 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7805 Revert the pkg-config check for libcheck, since it pulls in the
7806 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7807 a proper solution, either from the check project, or something else.
7809 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7812 Use pkg-config to locate check.
7814 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7821 Add deprecation guards.
7823 * libs/gst/base/gstcollectpads.h:
7824 Don't document object (this is implicitly private).
7826 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7828 * gst/gststructure.c: (gst_structure_parse_value):
7829 When deserialising foo=bar without a type cast, check if it's a
7830 boolean before falling back to a string type, otherwise things like
7831 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7832 because the filtercaps end up having a signed=(string)true field,
7833 which causes problems later when intersection caps.
7835 * tests/check/gst/gststructure.c: (GST_START_TEST):
7836 Add a unit test for this.
7838 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7840 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7842 * libs/gst/controller/Makefile.am:
7843 * libs/gst/controller/gstcontroller.c:
7844 (gst_controlled_property_add_interpolation_control_source),
7845 (gst_controlled_property_new), (gst_controlled_property_free),
7846 (gst_controller_find_controlled_property),
7847 (gst_controller_new_valist), (gst_controller_new_list),
7848 (gst_controller_new), (gst_controller_remove_properties_valist),
7849 (gst_controller_remove_properties_list),
7850 (gst_controller_remove_properties),
7851 (gst_controller_set_property_disabled),
7852 (gst_controller_set_disabled), (gst_controller_set_control_source),
7853 (gst_controller_get_control_source), (gst_controller_get),
7854 (gst_controller_sync_values), (gst_controller_get_value_array),
7855 (_gst_controller_dispose), (gst_controller_get_type),
7856 (gst_controlled_property_set_interpolation_mode),
7857 (gst_controller_set), (gst_controller_set_from_list),
7858 (gst_controller_unset), (gst_controller_unset_all),
7859 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7860 * libs/gst/controller/gstcontroller.h:
7861 * libs/gst/controller/gstcontrollerprivate.h:
7862 * libs/gst/controller/gstcontrolsource.c:
7863 (gst_control_source_class_init), (gst_control_source_init),
7864 (gst_control_source_get_value),
7865 (gst_control_source_get_value_array), (gst_control_source_bind):
7866 * libs/gst/controller/gstcontrolsource.h:
7867 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7868 (gst_object_get_control_source):
7869 * libs/gst/controller/gstinterpolation.c:
7870 (gst_interpolation_control_source_find_control_point_node),
7871 (gst_interpolation_control_source_get_first_value),
7872 (_interpolate_none_get), (interpolate_none_get),
7873 (interpolate_none_get_boolean_value_array),
7874 (interpolate_none_get_enum_value_array),
7875 (interpolate_none_get_string_value_array),
7876 (_interpolate_trigger_get), (interpolate_trigger_get),
7877 (interpolate_trigger_get_boolean_value_array),
7878 (interpolate_trigger_get_enum_value_array),
7879 (interpolate_trigger_get_string_value_array):
7880 * libs/gst/controller/gstinterpolationcontrolsource.c:
7881 (gst_control_point_free), (gst_interpolation_control_source_reset),
7882 (gst_interpolation_control_source_new),
7883 (gst_interpolation_control_source_set_interpolation_mode),
7884 (gst_interpolation_control_source_bind),
7885 (gst_control_point_compare), (gst_control_point_find),
7886 (gst_interpolation_control_source_set_internal),
7887 (gst_interpolation_control_source_set),
7888 (gst_interpolation_control_source_set_from_list),
7889 (gst_interpolation_control_source_unset),
7890 (gst_interpolation_control_source_unset_all),
7891 (gst_interpolation_control_source_get_all),
7892 (gst_interpolation_control_source_get_count),
7893 (gst_interpolation_control_source_init),
7894 (gst_interpolation_control_source_finalize),
7895 (gst_interpolation_control_source_dispose),
7896 (gst_interpolation_control_source_class_init):
7897 * libs/gst/controller/gstinterpolationcontrolsource.h:
7898 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7899 API: Refactor GstController into the core controller which can take
7900 a GstControlSource for providing actual values for timestamps.
7901 Implement a interpolation control source and use this for backward
7902 compatibility, deprecate a bunch of functions that are now handled
7903 by GstControlSource or GstInterpolationControlSource.
7904 Make it possible to disable the controller completely or only for
7905 specific properties. Fixes #450711.
7906 * docs/libs/gstreamer-libs-docs.sgml:
7907 * docs/libs/gstreamer-libs-sections.txt:
7908 * docs/libs/gstreamer-libs.types:
7909 Add new functions and classes to the docs.
7910 * tests/check/libs/controller.c: (GST_START_TEST),
7911 (gst_controller_suite):
7912 * tests/examples/controller/audio-example.c: (main):
7913 Port unit test and example to the new API and add some new
7916 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7918 Patch by: Mark Nauwelaerts <manauw at skynet be>
7920 * plugins/elements/gstmultiqueue.c:
7921 (gst_multi_queue_get_internal_links), (apply_buffer),
7922 (single_queue_overrun_cb), (gst_single_queue_new):
7923 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7924 the pipeline layout can be tracked correctly. Fixes #453732.
7926 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7928 * docs/gst/Makefile.am:
7929 * docs/libs/Makefile.am:
7930 * docs/plugins/Makefile.am:
7931 Simplify --extra-dir as gtkdoc scans recursively.
7933 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7935 * tools/gst-launch.c: (main):
7936 When we got an error, there is no point in waiting for preroll when
7939 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7941 * plugins/elements/gsttee.c: (gst_tee_base_init),
7942 (gst_tee_request_new_pad), (gst_tee_release_pad),
7943 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7944 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7946 Be a lot smarter when deciding what srcpad to use for proxying
7947 the buffer_alloc. Also handle pad added/removed when doing so.
7949 Keep track of what pads we already pushed on in case we have pads
7950 added/removed while pushing. Fixes #374639
7952 * tests/check/Makefile.am:
7953 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7955 Added unit test for pad resync.
7957 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7961 Updated translations.
7963 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7965 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7969 Added new Finnish translation.
7971 2007-06-28 Wim Taymans <wim@fluendo.com>
7973 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7974 (single_queue_overrun_cb):
7975 When figuring out when a queue is filled, use our internal time estimate
7976 based on segments, just like check_full does.
7978 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7980 * gst/gstminiobject.c: (gst_mini_object_get_type):
7981 Remove 3 do-nothing methods.
7983 2007-06-27 Wim Taymans <wim@fluendo.com>
7985 Patch by: Tim Angus <tim at ngus dot net>
7987 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7988 (gst_capsfilter_set_property):
7989 Take a reference instead of a copy when setting "caps".
7990 Fix documentation to clarify this behaviour. Fixes #449414.
7992 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7994 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7995 * gst/gstplugin.c: (gst_plugin_init):
7996 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7997 * gst/gstquery.c: (gst_query_get_type):
7998 * gst/gstregistry.c: (gst_registry_init):
7999 * gst/gsturi.c: (gst_uri_handler_base_init):
8000 Remove empty instance_init() functions to save relocs and lessen the
8001 noise. Remove some of the function prototypes that are doubled by
8004 2007-06-27 Wim Taymans <wim@fluendo.com>
8006 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8008 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8009 Add peer and direction in the XML serialisation of ghostpads.
8012 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8015 Preserve useful information, thanks Tim.
8017 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8019 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8020 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8021 (gst_single_queue_push_one), (gst_multi_queue_loop),
8022 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8023 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8024 (compute_high_id), (gst_single_queue_new):
8025 * plugins/elements/gstmultiqueue.h:
8026 Take the multiqueue lock when updating the fill level so we don't get
8029 After applying a buffer or event on the src pad segment, make sure to
8030 call gst_data_queue_limits_changed() to get the data queue to unblock
8031 and check the filled state again.
8033 Rework the not-linked pad handling so the logic is that not-linked
8034 pads can push as fast as they like, but only so they never get
8035 ahead of any linked pads.
8037 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8038 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8039 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8041 Add a test to check that not-linked pads always stay behind
8046 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8048 * docs/random/release:
8049 Some updates to the release procedure.
8051 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8053 * gst/gstelementfactory.c: (__gst_element_details_clear):
8054 Microoptimization that saves stunning 80 bytes.
8056 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8058 * docs/plugins/gstreamer-plugins.args:
8059 * docs/plugins/inspect/plugin-coreelements.xml:
8060 * docs/plugins/inspect/plugin-coreindexers.xml:
8061 Update docs with caps info.
8063 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8066 Updated Italian translation.
8068 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8072 Update Vietnamese translations.
8074 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8076 * libs/gst/base/gstbasesink.c:
8077 Remove unused signal enum.
8079 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8081 * docs/gst/gstreamer-sections.txt:
8083 * gst/gstutils.c: (gst_type_register_static_full):
8084 Beef up and include the docs for gst_type_register_static_full and
8085 gst_element_class_set_details_simple and add the API keyword
8088 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8090 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8091 (update_time_level), (gst_single_queue_push_one),
8092 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8093 (single_queue_overrun_cb), (single_queue_underrun_cb),
8094 (single_queue_check_full):
8095 Fix setting max-* properties after adding queues.
8096 Use IS_FILLED for checking visible items.
8097 Signal overrun if multiple queues overrun.
8098 Add extra debug output.
8099 Patch by: Wim Taymans <wim@fluendo.com>
8101 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8103 * gst/gstelement.c: (gst_element_class_set_details_simple):
8105 * gst/gstutils.c: (gst_type_register_static_full):
8107 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8108 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8109 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8110 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8111 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8112 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8113 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8114 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8115 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8116 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8117 (apply_buffer), (gst_queue_chain):
8118 * plugins/elements/gsttee.c: (gst_tee_base_init):
8119 * plugins/elements/gsttypefindelement.c:
8120 (gst_type_find_element_base_init),
8121 (gst_type_find_element_class_init):
8122 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8123 API: add gst_type_register_static_full
8124 API: add gst_element_class_set_details_simple
8126 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8128 * docs/pwg/advanced-types.xml:
8129 Fix typo in iana.org URI.
8131 2007-06-19 Andy Wingo <wingo@pobox.com>
8133 * tests/check/pipelines/simple-launch-lines.c
8134 (test_state_change_returns): Enable pull-mode tests now that
8135 basesink has been fixed.
8137 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8138 Changed from gst_base_sink_is_prerolled, reversing the sense of
8139 the return value. Returns FALSE also if the sink is in pull mode,
8140 in which case it needs no preroll.
8141 (gst_base_sink_query, gst_base_sink_change_state): Update for
8142 needs_preroll change.
8143 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8144 chaining up, in which we return SUCCESS directly if we activated
8145 in pull mode instead of ASYNC. Involves countering an async_start
8146 message sent before chaining up; not sure if this is correct, in
8147 an ideal world we only send async-start when activating in push
8150 * tests/check/pipelines/simple-launch-lines.c
8151 (test_state_change_returns): New test, partially disabled until
8154 2007-06-19 Wim Taymans <wim@fluendo.com>
8156 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8157 (gst_multi_queue_sink_event):
8160 2007-06-19 Wim Taymans <wim@fluendo.com>
8162 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8163 (gst_bin_change_state_func), (bin_push_state_continue),
8164 (bin_handle_async_start), (bin_handle_async_done),
8165 (gst_bin_handle_message_func):
8166 Move the common code for posting state-change messages into
8168 Broadcast the state signal after we posted the messages.
8169 Mark the bin as busy when it's doing a state-change.
8170 Make sure async-start/done messages don't interfere with the bin's
8171 state when it's busy.
8172 After the state change, let the bin check which elements completed the
8173 state change while it was busy so that it can update its state.
8175 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8177 * docs/random/release:
8178 Add a note about updating the doap file to the release checklist
8180 2007-06-18 Wim Taymans <wim@fluendo.com>
8182 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8183 (gst_single_queue_push_one), (gst_multi_queue_chain),
8184 (gst_multi_queue_sink_event):
8185 Make sure we don't reference the buffer/event after we have given away
8186 ownership in the queue.
8188 2007-06-18 Wim Taymans <wim@fluendo.com>
8190 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8191 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8192 Update queue state _after_ adding the item in the queue because else we
8193 could end up being full without the element added yet.
8195 2007-06-18 Wim Taymans <wim@fluendo.com>
8197 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8198 (gst_bin_remove_func), (gst_bin_get_state_func),
8199 (gst_bin_element_set_state), (gst_bin_continue_func),
8200 (bin_push_state_continue), (bin_handle_async_start),
8201 (bin_handle_async_done), (gst_bin_handle_message_func):
8203 Immediatly commit the toplevel bin state when receiving an async-done
8204 message. This enables us to avoid spawning a thread to commit the state
8205 in some common cases and it also avoids some races.
8206 Avoid spawning a state thread when adding/removing async elements to a
8207 toplevel bin. Instead we immediatly update the bin state.
8208 Get rid of iterating all the children when getting the state in the bin
8209 because it is now always up-to-date.
8210 Fix bug where locked elements would always return _SUCCESS even it they
8211 returned NO_PREROLL before being locked.
8212 Fix the order of the state_change, async-start/done messages that was
8213 sometimes incorrect.
8214 Mark the state_dirty field as deprecated, we don't need it anymore as we
8215 are always up-to-date.
8217 * gst/gstelement.c: (gst_element_get_state_func),
8218 (gst_element_continue_state):
8219 Small debug inprovements.
8220 Return the previous element state return when nothing is pending instead
8221 of blindly returning SUCCESS.
8223 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8225 Add a whole bunch of new testcases.
8227 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8231 Update translations.
8233 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8236 Fix typo in the docs.
8238 2007-06-15 Wim Taymans <wim@fluendo.com>
8240 * docs/libs/gstreamer-libs-sections.txt:
8241 Add docs for new methods.
8243 2007-06-15 Wim Taymans <wim@fluendo.com>
8245 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8246 (gst_multi_queue_item_new):
8247 Don't use GSlice because we don't depend on >= 2.10 yet.
8249 2007-06-15 Wim Taymans <wim@fluendo.com>
8251 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8252 (update_time_level), (apply_segment), (apply_buffer),
8253 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8254 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8255 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8256 (single_queue_underrun_cb), (single_queue_check_full):
8257 Remove debug printf.
8259 2007-06-15 Wim Taymans <wim@fluendo.com>
8261 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8262 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8263 (gst_data_queue_set_flushing), (gst_data_queue_push),
8264 (gst_data_queue_pop), (gst_data_queue_drop_head),
8265 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8266 * libs/gst/base/gstdataqueue.h:
8268 Added methods to get the current levels and to inform the queue that the
8269 'full' limits changed.
8271 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8272 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8273 (gst_single_queue_flush), (update_time_level), (apply_segment),
8274 (apply_buffer), (gst_single_queue_push_one),
8275 (gst_multi_queue_item_steal_object),
8276 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8277 (gst_multi_queue_loop), (gst_multi_queue_chain),
8278 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8279 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8280 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8281 (single_queue_underrun_cb), (single_queue_check_full),
8282 (gst_single_queue_new):
8283 Keep track of time in the queue by measuring the difference between
8284 running_time on input and output. This gives more accurate results and
8285 can compensate for segments correctly.
8286 Make a queue by default only 5 buffers deep. We will now increase the
8287 buffer size depending on the filledness of the other queues.
8288 Factor out commong flush code.
8289 Make sure we don't add additional refcounts to buffers when we can avoid
8291 Propagate GstFlowReturn differently.
8292 Use GSlice for intermediate GstMultiQueueItems.
8294 Resize queues on over and underruns based on filled level of other
8296 When checking if the queue is filled, prefer to measure in time if we
8297 can and fall back to bytes when no time is known.
8299 * plugins/elements/gstqueue.c:
8302 2007-06-15 Wim Taymans <wim@fluendo.com>
8304 * libs/gst/base/gstbasetransform.c:
8305 (gst_base_transform_sink_event):
8306 Work around the brokenness of the event vmethod in basetransform. Prefer
8307 to return TRUE when the subclass returned FALSE (meaning don't forward
8310 * libs/gst/base/gstbasetransform.h:
8313 2007-06-15 Wim Taymans <wim@fluendo.com>
8315 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8316 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8317 (gst_base_src_default_query), (gst_base_src_get_range),
8318 (gst_base_src_start):
8319 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8322 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8324 * docs/pwg/advanced-types.xml:
8325 Added more formats to caps table.
8327 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8329 * tools/gst-launch.c: (main):
8330 Remove crufy code. GOption does not need this workaround.
8332 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8334 * libs/gst/controller/gstcontroller.c:
8335 (gst_controlled_property_set_interpolation_mode):
8336 Fix wrong getter for enums in controller.
8338 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8340 * libs/gst/check/gstcheck.c: (gst_check_init):
8341 Intercept criticals and warnings in the Gst-Phonon log domain, so
8342 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8345 2007-06-14 Edward Hervey <edward@fluendo.com>
8347 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8348 Since this file doesn't include "gst.h" it will not go through the
8349 macros that disable GST_LOG if debugging was disabled.
8351 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8353 * libs/gst/check/Makefile.am:
8354 * libs/gst/check/gstcheck.h:
8355 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8356 * pkgconfig/gstreamer-check.pc.in:
8357 Ugly 'fix' for the controller unit test on the p5 bot: in
8358 fail_unless_equals_float() check whether the values are 'almost
8359 equal' by allowing a small absolute error, which should be good
8360 enough for our use cases (normal numbers and values close to 0).
8361 Proper fixage left to floating point arithmetic aficionados.
8363 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8365 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8366 (gst_base_sink_render_object), (gst_base_sink_get_position):
8367 Add two breaks thats where missing.
8369 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8371 * docs/libs/gstreamer-libs-sections.txt:
8372 * libs/gst/check/gstcheck.h:
8373 API: add fail_unless_equals_float() and assert_equals_float().
8374 Add documentation for some of the macros.
8376 * tests/check/libs/controller.c: (GST_START_TEST):
8377 Use newly-added asserts.
8379 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8381 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8382 Show the caps change in the log to help spotting the case of not
8383 exactly matching caps.
8385 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8387 * docs/pwg/building-boiler.xml:
8388 Fix typos, spotted by Thijs Vermeir (#447190).
8390 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8392 * docs/plugins/tmpl/.cvsignore:
8393 Ignore file to keep the buildbots happy
8395 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8397 * docs/plugins/Makefile.am:
8398 * docs/plugins/gstreamer-plugins-docs.sgml:
8399 * docs/plugins/gstreamer-plugins-sections.txt:
8400 Pull fdsink into the docs too.
8402 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8404 * libs/gst/controller/gstinterpolation.c:
8405 Actually use the new functions with min/max checks for the trigger and
8406 none interpolation modes for get() and get_value_array() instead of
8409 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8411 * libs/gst/controller/gstcontroller.c:
8412 (gst_controlled_property_free):
8413 Unset the minimum and maximum GValues when freeing the corresponding
8414 GstControllerProperty struct.
8416 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8418 * libs/gst/controller/gstcontroller.c:
8419 (gst_controlled_property_new):
8420 * libs/gst/controller/gstcontrollerprivate.h:
8421 * libs/gst/controller/gstinterpolation.c:
8422 (gst_controlled_property_find_control_point_node),
8423 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8424 (interpolate_none_get_string_value_array),
8425 (interpolate_trigger_get),
8426 (interpolate_trigger_get_enum_value_array),
8427 (interpolate_trigger_get_string_value_array):
8428 Protect against values larger or smaller than the minimum or maximum
8429 allowed value for the property when using values that can be compared.
8431 Optimize trigger interpolator a bit by taking the last requested value
8432 into account instead of always looping through the complete list.
8434 Fix coding style a bit, everywhere else we use "return foo" instead
8437 * tests/check/libs/controller.c: (GST_START_TEST),
8438 (gst_controller_suite):
8439 Add unit test for the protection against too large or too small
8442 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8444 * docs/random/slomo/controller.txt:
8445 Add some thoughts about the future of the controller.
8447 2007-06-08 Wim Taymans <wim@fluendo.com>
8449 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8450 Don't overflow in retimestamping code.
8452 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8454 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8455 Use gst_util_guint64_to_gdouble for conversions.
8456 * win32/common/libgstreamer.def:
8457 Add new exported functions.
8459 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8462 Small docs addition.
8464 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8467 Remove that test line again.
8469 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8472 Test commit mail sending.
8474 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8477 Fix typo and test commit mail sending.
8479 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8481 * tests/examples/controller/audio-example.c:
8482 Improve comment and test commit mail sending.
8484 2007-06-07 Wim Taymans <wim@fluendo.com>
8486 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8487 (gst_bin_remove_func), (gst_bin_element_set_state),
8488 (bin_handle_async_start), (bin_handle_async_done),
8489 (gst_bin_handle_message_func):
8490 Add helper function to find messages.
8491 Generate the async-done messages together with the state change
8493 Small cleanups in handling toplevel bins.
8495 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8497 * libs/gst/base/gstdataqueue.c:
8498 * libs/gst/base/gstdataqueue.h:
8499 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8500 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8501 (gst_multi_queue_sink_event):
8502 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8503 Fix multiqueue leaking buffers and events when downstream or the
8504 queue are flushing. Make refcounting assumptions explicit and
8505 document them (shouldn't break existing code that uses it other than
8506 maybe leak miniobjects, but that already happens anyway). Add unit
8507 test for the most common flushing case. Fixes #423700.
8509 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8511 * libs/gst/controller/gstcontroller.c:
8512 Clarify docs: The get_all, get_value_array(s) functions
8513 don't modify the GObject properties.
8515 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8517 * libs/gst/controller/gstcontroller.c:
8518 (gst_controlled_property_set_interpolation_mode),
8519 (gst_controlled_property_prepend_default),
8520 (gst_controlled_property_new), (gst_controller_set_unlocked),
8521 (gst_controller_set), (gst_controller_set_from_list),
8522 (gst_controller_unset), (gst_controller_unset_all):
8523 * libs/gst/controller/gstcontrollerprivate.h:
8524 * libs/gst/controller/gstinterpolation.c:
8525 Factor out the 'set' logic into gst_controller_set_unlocked for the
8526 gst_controller_set and gst_controller_set_from_list functions.
8528 To make life of the interpolators easier always add a control point
8529 at timestamp zero with the default value.
8531 In the linear interpolator make things more obvious by better variable
8534 Implement cubic interpolation mode (by using a natural cubic spline)
8535 and map the quadratic interpolation mode to this too (as quadratic
8536 doesn't make much sense, see discussion on the list).
8538 * tests/check/libs/controller.c: (GST_START_TEST),
8539 (gst_controller_suite):
8540 Add unit test for the cubic interpolation mode and check everywhere
8541 if the interpolation mode could be set as expected.
8543 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8545 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8546 Don't use GLib-2.10 functions, we still depend on
8547 GLib-how-old-is-it-again-2.8.
8549 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8551 * docs/gst/gstreamer-sections.txt:
8555 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8556 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8557 (_gst_param_fraction_values_cmp),
8558 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8559 * gst/gstparamspecs.h:
8561 * tests/check/Makefile.am:
8562 * tests/check/gst/.cvsignore:
8563 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8564 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8565 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8566 (GST_START_TEST), (gst_param_spec_suite):
8567 API: add GstParamSpecFraction, so elements can have fraction
8568 properties without lots of painful string parsing (#444648).
8570 2007-06-05 Wim Taymans <wim@fluendo.com>
8572 * gst/gstobject.c: (gst_object_class_init):
8573 Fix signal signature.
8576 Add small clarification in the api docs.
8578 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8579 States are protected with object lock.
8581 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8584 I should probably be listed as an author by now.
8586 * docs/random/release:
8587 Update the release doc
8589 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8592 Make docs for gst_value_compare() mention return enums that
8595 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8600 === release 0.10.13 ===
8602 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8605 releasing 0.10.13, "With or without you"
8607 2007-05-25 Wim Taymans <wim@fluendo.com>
8609 * gst/gstbin.c: (bin_handle_async_done):
8610 Make sure that the child bin stops after completing the async state
8611 change so that the parent can continue the state change to PLAYING.
8614 2007-05-25 Wim Taymans <wim@fluendo.com>
8616 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8617 (unref_data), (gst_collect_pads_remove_pad),
8618 (gst_collect_pads_check_pads):
8619 Use additional refcounting to avoid crashes when dynamically adding and
8620 removing pads. Fixes #420206.
8622 2007-05-24 Wim Taymans <wim@fluendo.com>
8624 * tools/gst-launch.c: (event_loop):
8625 When buffering goes from a two digit to a single digit number, make sure
8626 to remove the old second digit by writing a blank over it.
8628 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8630 * libs/gst/base/gstdataqueue.c:
8631 Eliminate tabs and trailing comma in enum list; fix some typos.
8633 2007-05-24 Wim Taymans <wim@fluendo.com>
8635 * tests/check/gst/gstbin.c: (GST_START_TEST):
8636 Allow refcount of 3 and 4 because some state thread might still be busy
8639 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8641 * plugins/elements/Makefile.am:
8642 * plugins/elements/gstmultiqueue.h:
8643 * plugins/elements/gstqueue.h:
8644 These are not installed headers, no need for padding.
8646 2007-05-24 Wim Taymans <wim@fluendo.com>
8648 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8649 (gst_bin_continue_func):
8650 Enable latency for next release.
8651 Restore STATE_LOCK around recalc_state that was left out during the
8652 rewrite and could result in racy behaviour when _get_state and
8653 recalc_state are run concurrently. See #440463.
8655 2007-05-23 Wim Taymans <wim@fluendo.com>
8657 * tests/check/gst/gstsystemclock.c: (store_callback),
8659 Improve test_async_order to also work when both timers are already
8660 expired when we get scheduled to check it.
8662 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8664 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8665 (gst_bin_set_property), (gst_bin_get_property),
8666 (gst_bin_remove_func), (gst_bin_handle_message_func):
8668 'private' is a c++ keyword, let's not use that in header files,
8669 otherwise c++ compilers will throw a tantrum.
8671 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8673 * plugins/elements/gstelements.c:
8674 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8675 (gst_file_sink_get_current_offset):
8676 * plugins/indexers/gstindexers.c: (plugin_init):
8677 Use #ifdef for HAVE_XYZ for consistency.
8679 * tests/check/Makefile.am:
8680 * tests/check/elements/.cvsignore:
8681 * tests/check/elements/filesink.c: (setup_filesink),
8682 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8683 Add some unit tests for filesink.
8685 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8687 Patch by: Mark Nauwelaerts <manauw at skynet be>
8689 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8690 (gst_file_sink_query), (gst_file_sink_do_seek),
8691 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8692 * plugins/elements/gstfilesink.h:
8693 Fix position reporting; rename data_written member to current_pos to
8694 reflect its real meaning (fixes #412648).
8696 2007-05-22 Edward Hervey <edward@fluendo.com>
8698 * docs/gst/gstreamer-sections.txt:
8699 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8700 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8701 (gst_bin_remove_func), (gst_bin_handle_message_func):
8703 Add a property for bins that handle the state change of their childs.
8706 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8708 * libs/gst/controller/gstinterpolation.c:
8709 Use an array of the correct type when using _get_value_array with
8710 linear interpolation.
8712 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8714 * gst/gstelement.c (gst_element_requires_clock,
8715 gst_element_provides_clock, gst_element_request_pad,
8716 gst_element_class_set_details, gst_element_class_set_details_simple,
8717 gst_element_default_send_event, gst_element_abort_state,
8718 gst_element_continue_state, gst_element_set_state,
8719 gst_element_set_state_func, iterator_activate_fold_with_resync):
8720 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8721 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8722 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8723 gst_pad_get_range, gst_pad_pull_range):
8724 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8725 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8726 GstPadActivateModeFunction, GstPadChainFunction,
8727 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8728 GstPadFixateCapsFunction, GstPadTemplate):
8729 * gst/gstpipeline.c (gst_pipeline_change_state,
8730 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8731 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8732 gst_pipeline_get_delay):
8733 Whitespace and docs fixes.
8735 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8737 * libs/gst/controller/gstinterpolation.c:
8738 (interpolate_trigger_get_enum_value_array),
8739 (interpolate_trigger_get_string_value_array):
8740 Add support for retrieving value arrays when using the trigger
8743 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8745 * libs/gst/controller/gstcontroller.c:
8746 (gst_controller_get_value_array):
8747 * libs/gst/controller/gstcontroller.h:
8748 Clarify the docs of gst_controller_get_value_array(): The array where
8749 the values should be written to must be allocated as there seems to be
8750 no way to get the size of a random GType. This doesn't change any
8751 behaviour. Also fix some typos all over the place and remove an unused,
8752 commented function that is not necessary as g_object_set() could be
8754 * tests/check/libs/controller.c: (GST_START_TEST),
8755 (gst_controller_suite):
8756 Add unit test for gst_controller_get_value_array().
8758 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8760 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8762 Disable part of the gst_buffer_try_new_and_alloc test, because
8763 it can happily succeed on 64-bit systems where there's more address
8766 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8768 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8769 Add unit test for the improved caps checking from bug #421543.
8771 2007-05-21 Wim Taymans <wim@fluendo.com>
8773 * docs/design/part-synchronisation.txt:
8776 * gst/gstbin.c: (gst_bin_query):
8777 * plugins/elements/gstqueue.c: (apply_segment):
8783 2007-05-21 Wim Taymans <wim@fluendo.com>
8785 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8786 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8787 (gst_pad_configure_src):
8788 Added simple version of improved caps checking. It was previously
8789 assumed that a setcaps function would check the validity of the caps but
8790 people prefer us to check caps against the template automatically.
8793 2007-05-21 Wim Taymans <wim@fluendo.com>
8795 * libs/gst/base/gstbasetransform.h:
8796 Fix macro for locking/unlocking the transform lock.
8798 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8800 * docs/plugins/tmpl/.cvsignore:
8803 2007-05-18 Edward Hervey <edward@fluendo.com>
8805 * plugins/elements/gstqueue.c: (gst_queue_loop):
8806 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8807 for the subtle art of warning a potentially blocking thread that it
8808 should check the source pad return value, and relay the information
8811 2007-05-18 Edward Hervey <edward@fluendo.com>
8813 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8814 Release the queue lock !
8816 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8818 * docs/libs/gstreamer-libs-sections.txt:
8819 Add the two new controller functions to the appropiate places.
8821 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8823 reviewed by: Stefan Kost <ensonic@users.sf.net>
8825 * libs/gst/controller/gstcontroller.c:
8826 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8827 (_gst_controller_get_property), (_gst_controller_set_property),
8828 (_gst_controller_init), (_gst_controller_class_init):
8829 * libs/gst/controller/gstcontroller.h:
8830 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8831 (gst_object_get_control_rate), (gst_object_set_control_rate):
8832 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8833 Add API that provides sync suggestion timestamps for elements that
8834 call gst_object_sync_values() from which those elements can subdivide
8835 their processing loop to get the best results for the controlled
8836 properties. For now it just suggests last_sync + control_rate as
8837 new timestamp but this will be improved in the future.
8839 While doing that change the control-rate property to a GstClockTime
8840 from guint and change it's meaning from samples to nanoseconds as
8841 the GstController doesn't know anything about sampling rate. Strictly
8842 speaking this breaks ABI but as the control-rate property didn't do
8843 anything in the past and as such couldn't be used this should be no
8846 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8848 reviewed by: Stefan Kost <ensonic@users.sf.net>
8850 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8851 (gst_controller_unset_all):
8852 * libs/gst/controller/gstcontrollerprivate.h:
8853 * libs/gst/controller/gstinterpolation.c:
8854 (gst_controlled_property_find_control_point_node):
8855 Save last synced value from the list to continue searching from there
8856 in future syncs. This speeds everything up a bit.
8858 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8860 reviewed by: Stefan Kost <ensonic@users.sf.net>
8862 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8863 (gst_control_point_find), (gst_controlled_property_new),
8864 (gst_control_point_free), (gst_controlled_property_free),
8865 (gst_controller_set), (gst_controller_set_from_list),
8866 (gst_controller_unset), (gst_controller_unset_all),
8867 (gst_controller_sync_values):
8868 * libs/gst/controller/gstcontroller.h:
8869 * libs/gst/controller/gstcontrollerprivate.h:
8870 * libs/gst/controller/gstinterpolation.c:
8871 (gst_controlled_property_find_control_point_node),
8872 (interpolate_none_get), (interpolate_trigger_get):
8873 Add a new private GstControlPoint struct which "inherits" from
8874 GstTimedValue to allow different interpolators to store internal
8875 values next to each control point. From the outside everything is
8876 still a GstControlPoint so we don't loose binary compatibility.
8877 Also fixup all the GValue handling to not leak GValues or list nodes.
8878 * tests/check/libs/controller.c: (GST_START_TEST):
8879 Free the list nodes and GValues in the controller_misc test.
8881 2007-05-17 Edward Hervey <edward@fluendo.com>
8886 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8888 * gst/gstplugin.c: (gst_plugin_load_file):
8889 If we fail to load a plugin because of unresolved symbols or missing
8890 libraries and spew a warning to stderr, we may just as well mention
8891 which plugin it was that failed to load.
8893 2007-05-13 David Schleef <ds@schleef.org>
8895 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8896 handles the case when ENABLE_GTK_DOC is false, and installs
8897 the prebuilt documentation. So gtk-doc subdirs are
8898 unconditionally enabled. Fixes: #349099.
8900 2007-05-13 David Schleef <ds@schleef.org>
8902 * gst/gstutils.h: Reword some documentation.
8904 2007-05-12 David Schleef <ds@schleef.org>
8906 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8907 do anything with the passed "module" parameter, so remove it.
8908 Allows removal of additional vestigal code.
8910 2007-05-12 David Schleef <ds@schleef.org>
8913 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8914 Switch to using g_stat() because it's more portable.
8916 2007-05-12 David Schleef <ds@schleef.org>
8919 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8920 parsing for embedded systems.
8921 * gst/gstelementfactory.c:
8922 Allow gst_element_register() to be called with plugin==NULL.
8923 Did nobody notice that static elements were broken?
8925 2007-05-12 Wim Taymans <wim@fluendo.com>
8927 * tools/gst-launch.c: (event_loop):
8928 Give more interesting info when buffering starts and stops.
8929 Fix case where buffering starts but we fail to update the buffering flag
8930 because the target state is not PLAYING.
8932 2007-05-12 Wim Taymans <wim@fluendo.com>
8934 * plugins/elements/gstqueue.c: (gst_queue_init),
8935 (gst_queue_finalize), (update_time_level), (apply_segment),
8936 (apply_buffer), (gst_queue_locked_flush),
8937 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8938 (gst_queue_handle_sink_event), (gst_queue_chain),
8939 (gst_queue_push_one), (gst_queue_loop):
8940 * plugins/elements/gstqueue.h:
8941 Refactor an cleanup queue a bit.
8942 Do better time level calculations that also work when the srcpad is not
8944 Remove some unneeded debug lines.
8946 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8947 Added testcase for time level measurement.
8948 Try to make some stuff more racefree.
8950 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8952 * gst/gsturi.c: (gst_element_make_from_uri):
8953 Don't leak plugin feature.
8955 * tests/check/Makefile.am:
8956 * tests/check/gst/.cvsignore:
8957 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8958 Add brain-dead unit test.
8960 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8962 Patch by: Jeroen Wouters <woutersj at gmail com>
8964 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8965 Treat protocol strings in a case-insensitive way (#437563).
8967 2007-05-11 Michael Smith <msmith@fluendo.com>
8969 * gst/gstplugin.c: (gst_plugin_load_file):
8970 * gst/gstregistry.c: (gst_registry_scan_path_level):
8971 Don't print a g_warning for any failure to load a shared object.
8972 Instead, push this down into gstplugin.c, and warn _only_ if we
8973 failed to open the module (i.e. failure to link).
8974 Avoids warnings on normal, working, non-plugin .so files.
8976 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8978 * gst/gstplugin.c (gst_plugin_load_file):
8979 * gst/gstregistry.c (GST_CAT_DEFAULT,
8980 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8981 Print a g_warning if there was an error when loading a plugins during
8982 registry scan. The shuld help beginners starting with gst-plugin
8985 2007-05-10 Wim Taymans <wim@fluendo.com>
8987 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8988 (update_time_level), (gst_queue_locked_flush),
8989 (gst_queue_handle_sink_event), (gst_queue_chain),
8990 (gst_queue_push_one), (gst_queue_loop):
8991 * plugins/elements/gstqueue.h:
8992 Be smarter when calculating the current amount of data in the queue by
8993 measuring the difference between start and end timestamps (in running
8994 time) inside the queue. Fixes #432876.
8995 API: GstQueue::pushing to notify elements that we are pushing data again
8996 since the running signal is rather broken for this purpose.
8998 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9000 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9001 gst_queue_base_init, gst_queue_init):
9004 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9006 * win32/common/libgstreamer.def:
9007 Add new exported functions.
9008 * win32/vs6/grammar.dsp:
9009 Use grammar pre-generated files.
9011 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9013 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9016 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9018 * gst/gstutils.c: (gst_parse_bin_from_description):
9020 Maintain API and ABI when --disable-parse is used. Now that
9021 we have an appropriate error code, we can just return NULL and the
9022 appropriate error when gst_parse_launch() is used despite it having
9023 been disabled (#342564).
9025 * tests/check/Makefile.am:
9026 * tests/check/pipelines/.cvsignore:
9027 * tests/check/pipelines/parse-disabled.c:
9028 Make sure these functions exist and return NULL plus a GError when
9029 --disable-parse is used.
9031 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9033 * tests/benchmarks/complexity.c: (main):
9034 * tests/benchmarks/mass-elements.c: (main):
9035 Set a good example and don't leak messages.
9037 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9039 * docs/gst/Makefile.am:
9040 * docs/libs/Makefile.am:
9041 Correct fixxrefs options.
9043 * docs/plugins/Makefile.am:
9044 * docs/plugins/gstreamer-plugins-docs.sgml:
9045 * docs/plugins/gstreamer-plugins-sections.txt:
9046 * plugins/elements/Makefile.am:
9047 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9048 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9049 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9050 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9051 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9052 _GstCapsFilterClass, trans_class):
9053 * plugins/elements/gstelements.c (name, rank, type, _elements):
9054 * plugins/elements/gstidentity.c
9055 (gst_identity_check_imperfect_timestamp,
9056 gst_identity_check_imperfect_offset):
9057 Document capsfilter and add doc-blurb to identity.
9059 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9061 * libs/gst/controller/gstcontroller.c:
9062 (gst_controlled_property_set_interpolation_mode):
9063 * libs/gst/controller/gstinterpolation.c:
9064 Don't crash if someone tries to set an interpolation mode that
9065 is invalid or that isn't supported yet. Fixes #422295.
9067 * tests/check/libs/controller.c: (GST_START_TEST),
9068 (gst_controller_suite):
9069 Add a test case for the above.
9071 2007-05-03 Edward Hervey <edward@fluendo.com>
9073 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9074 Properly set the last_stop position on GstSegment. This will only happen
9075 if there is a buffer to push out.
9077 2007-05-03 Wim Taymans <wim@fluendo.com>
9079 * libs/gst/base/gstbasetransform.c:
9080 (gst_base_transform_buffer_alloc):
9081 always_in_place does not mean that the sink and source caps are the
9082 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9084 2007-05-03 Wim Taymans <wim@fluendo.com>
9086 * docs/libs/gstreamer-libs-sections.txt:
9087 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9088 (gst_base_src_default_query), (gst_base_src_get_range):
9089 * libs/gst/base/gstbasesrc.h:
9090 API: gst_base_src_query_latency(). Added method so that subclasses can
9091 easily get the latency values of the base source class.
9093 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9095 * tools/gst-inspect.c (print_implementation_info):
9098 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9100 * tools/Makefile.am:
9101 * tools/gst-launch.1.in:
9102 Don't create a customised man page based on the host architecture,
9103 describe the default registry path generically. That way the man
9104 page is the same for all architectures and packagers have one
9105 multilib issue less to deal with. Fixes #434926.
9107 2007-05-02 Wim Taymans <wim@fluendo.com>
9110 Fix documentation as spotted by rg on IRC.
9112 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9115 Improve docs for gst_element_{link,unlink}.
9117 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9119 * docs/design/part-events.txt:
9120 * docs/design/part-overview.txt:
9124 * libs/gst/base/gstbasesink.c:
9125 Typo fixes; minor docs addition.
9127 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9129 * docs/gst/gstreamer-sections.txt:
9130 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9131 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9133 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9134 or src that supports a given URI protocol exists.
9136 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9138 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9139 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9140 Set the location to NULL if "file://" is set as URI. Otherwise
9141 some random previous URI would still be set if "file://" is
9142 set on an already used filesink/filesrc.
9144 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9146 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9147 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9148 Special case the "file://" URI as as this is used by some
9149 applications to test with gst_element_make_from_uri if there's
9150 an element that supports the URI protocol.
9151 Also move the g_path_is_absolute() check for the location part
9152 of the URI to also check this for "file://localhost/bla" URIs.
9154 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9156 * docs/gst/gstreamer-sections.txt:
9157 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9159 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9161 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9163 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9165 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9166 (gst_registry_binary_load_pad_template),
9167 (gst_registry_binary_load_plugin),
9168 (gst_registry_binary_read_cache):
9169 * gst/gstregistrybinary.h:
9170 Implement no-mmap alternative for registry reading. Do code cleanups.
9171 Add more comments about avoiding strdups for all text data. Comments
9174 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9176 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9177 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9178 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9179 Comment structs and reformat to fix the build (that stuff should go
9180 into a priv. header).
9182 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9184 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9185 (gst_registry_binary_load_feature):
9186 * gst/gstregistrybinary.h:
9187 Refactor so that we can implement multiple features. Add support for
9188 TypeFindFactory features.
9190 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9192 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9195 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9197 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9199 * gst/gstbin.c: (gst_bin_element_set_state),
9200 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9201 (bin_handle_async_done), (gst_bin_handle_message_func):
9202 Fix build with --gst-disable-gst-debug
9204 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9206 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9207 Make sure streaming has finished before calling the ::stop() vfunc,
9208 since that vfunc might clear state which is being used in the
9209 streaming thread. This fixes a race that caused crashes in
9210 audioresample when shutting down a pipeline (#420106).
9212 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9214 * docs/gst/gstreamer-sections.txt:
9215 That was one byte missing.
9217 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9220 * docs/gst/gstreamer-sections.txt:
9222 * gst/gstconfig.h.in:
9223 * gst/gstobject.c: (gst_object_class_init),
9224 (gst_signal_object_class_init):
9226 2nd attempt to have a xml-less build as a joined effort of #413123
9229 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9231 * docs/design/draft-tagreading.txt:
9232 Added open issues/thoughts to draft.
9234 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9236 * gst/parse/grammar.tab.pre.c:
9237 * gst/parse/grammar.tab.pre.h:
9238 * gst/parse/lex._gst_parse_yy.pre.c:
9239 Update the prebuild parser sources.
9241 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9243 * gst/parse/Makefile.am:
9244 And now fix the building of the flex sources. Now everything should
9247 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9249 * gst/parse/Makefile.am:
9250 Now hopefully fix the build failures by setting proper rule
9251 dependencies and moving instead of copying.
9253 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9255 * tests/benchmarks/complexity.gnuplot:
9256 * tests/benchmarks/complexity.scm:
9257 * tests/benchmarks/mass-elements.gnuplot:
9258 * tests/benchmarks/mass-elements.scm:
9259 Total licensification.
9261 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9263 * gst/parse/Makefile.am:
9264 Fix the build by correcting the rule that gave wrong files to flex.
9266 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9268 * tests/benchmarks/complexity.c:
9269 * tests/benchmarks/mass-elements.c:
9270 Change licence to LGPL as granted by Benjamin and Andy.
9272 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9274 * gst/parse/Makefile.am:
9275 Add correct grammar.tab.h dependency if compiling without new enough
9276 flex. Fixes #431150.
9278 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9280 * gst/parse/Makefile.am:
9281 Fix typo and use outdated sources if the flex/bison sources are newer
9282 than the pregenerated ones but flex is too old. Print a warning in
9283 that case. This should fix the build on the build bot.
9285 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9287 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9288 * gst/parse/Makefile.am:
9289 * gst/parse/grammar.y:
9290 * gst/parse/parse.l:
9291 Make the parser reentrant and recursively callable. This requires flex
9292 >= 2.5.31, for older versions pregenerated sources are used as we
9293 can't bump the build dependency. Finally fixes #349180.
9295 * gst/gstparse.c: (gst_parse_launch):
9296 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9299 * docs/gst/Makefile.am:
9300 * docs/gst/Makefile.am:
9301 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9302 (__gst_parse_strfree), (__gst_parse_link_new),
9303 (__gst_parse_link_free), (__gst_parse_chain_new),
9304 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9305 (gst_parse_element_set), (gst_parse_free_link),
9306 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9307 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9308 (_gst_parse_launch):
9309 * gst/parse/grammar.tab.pre.h:
9310 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9311 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9312 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9313 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9314 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9315 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9316 (_gst_parse_yypop_buffer_state),
9317 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9318 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9319 (yy_fatal_error), (_gst_parse_yyget_extra),
9320 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9321 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9322 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9323 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9324 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9325 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9326 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9327 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9328 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9329 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9330 (_gst_parse_yyfree):
9331 If the installed flex version is too old use pre-generated parser
9332 sources. These pre-generated parser sources are always updated when
9333 the actual flex/bison sources change but require everybody who wants
9334 to change something in the parser to have flex >= 2.5.31 installed.
9336 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9338 * common/m4/gst-gettext.m4:
9339 * gst/gst-i18n-lib.h:
9340 Make --disable-nls to work
9342 2007-04-17 Wim Taymans <wim@fluendo.com>
9344 * gst/gstconfig.h.in:
9345 Revert previous change that broke the build.
9347 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9351 * gst/gstconfig.h.in:
9352 Drop libxml2 dependency when building with
9353 --enable-binary-registry --disable-loadsave
9355 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9357 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9358 (gst_registry_binary_read_cache):
9359 * gst/gstregistrybinary.h:
9360 Remove unnecessary <sys/mman.h> include which broke the win32 build
9361 with MingW; move includes from header file to .c file, even if the
9362 header file isn't installed; use g_strerror() where UTF-8 strings
9363 are expected, such as in GST_DEBUG messages.
9365 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9367 * docs/libs/gstreamer-libs-sections.txt:
9368 Remove bogus addition for API I didn't end up keeping.
9370 * libs/gst/base/gstbasesrc.h:
9371 Mention Since: 0.10.13 in the documentation.
9373 Add the API keyword to the previous ChangeLog entry.
9375 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9377 * docs/libs/gstreamer-libs-sections.txt:
9378 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9379 (gst_base_src_default_prepare_seek_segment),
9380 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9381 * libs/gst/base/gstbasesrc.h:
9382 Allow basesrc derived classes to execute seeks in other formats
9383 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9384 to prepare the GstSegment in any format that their perform_seek method
9385 will be able to understand. The default implementation provides the
9386 old behaviour of attempting to convert the seek offsets to the
9387 configured native format.
9389 API: basesrc::prepare_seek_segment vmethod.
9391 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9393 * gst/gstelement.c: (gst_element_get_state_func):
9394 Don't output the same debug statement twice.
9396 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9397 (gst_adapter_peek), (gst_adapter_take_buffer):
9398 Optimise the case where we have buffers at the head of the queue that
9399 can be joined quickly (because they're contiguous sub-buffers) by
9400 merging them together rather than copying data out into new memory.
9402 * gst/parse/grammar.y:
9403 * tests/check/pipelines/parse-launch.c:
9404 Fix a leak in an error path for parse_launch, and add a check
9405 for it to the testsuite.
9407 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9409 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9410 Don't deadlock when releasing a pad - gst_pad_set_active may try
9411 and take the multiqueue lock too.
9413 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9415 * gst/gsterror.c: (_gst_core_errors_init):
9417 API: add GST_CORE_ERROR_DISABLED (#392804).
9419 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9421 * docs/faq/gst-uninstalled:
9422 don't get empty paths on the PATH variables
9423 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9424 Don't format for the uncommon terminal width of 84 characters.
9426 2007-04-06 Wim Taymans <wim@fluendo.com>
9428 * gst/gstpipeline.c: (reset_stream_time),
9429 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9430 Only try to select a different pipeline clock when we went back to
9431 PAUSED and not when we merely got flushed.
9433 2007-04-05 Michael Smith <msmith@fluendo.com>
9435 * tools/gst-launch.1.in:
9436 fractions are better supported in gstreamer than ractions, so
9437 suggest using those.
9439 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9441 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9445 Added Danish translation.
9447 2007-04-05 Wim Taymans <wim@fluendo.com>
9449 * libs/gst/base/gstbasesink.c:
9450 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9451 Fix leak caused when refusing newsegment after EOS.
9453 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9454 (gst_fake_sink_init), (gst_fake_sink_set_property),
9455 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9456 (gst_fake_sink_render), (gst_fake_sink_change_state):
9457 * plugins/elements/gstfakesink.h:
9458 Add num-buffers property to make the element generate EOS after a
9459 configurable amount of buffers.
9460 API: fakesink::num-buffers property.
9462 * tests/check/elements/fakesink.c: (GST_START_TEST),
9464 Fix GstBus leak in test.
9465 Test for fakesink num-buffers.
9467 2007-04-05 Wim Taymans <wim@fluendo.com>
9469 * libs/gst/base/gstbasesink.c:
9470 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9471 (gst_base_sink_change_state):
9472 Don't accept anything after an EOS, return UNEXPECTED instead.
9474 * tests/check/elements/fakesink.c: (GST_START_TEST),
9476 Unit test for new EOS behaviour.
9478 2007-04-05 Wim Taymans <wim@fluendo.com>
9480 * gst/gstelement.c: (gst_element_get_request_pad):
9481 Make padtemplates also work when they don't contain %s or %d.
9483 2007-04-05 Wim Taymans <wim@fluendo.com>
9485 * docs/gst/gstreamer-sections.txt:
9486 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9487 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9489 Improve _adjust_unlocked() so that it overflows less.
9490 Add gst_clock_unadjust_unlocked to convert from external time to
9491 internal time based on calibration.
9492 Add some more debug.
9493 API: GstClock::gst_clock_unadjust_unlocked()
9495 2007-04-03 Wim Taymans <wim@fluendo.com>
9497 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9499 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9500 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9501 when releasing sink pad. Fixes #425400.
9503 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9505 * docs/random/ensonic/dynlink.txt:
9506 More work on proposal for new core api.
9508 * docs/libs/gstreamer-libs-sections.txt:
9509 * libs/gst/base/gstbasetransform.h:
9510 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9512 * libs/gst/controller/gstcontroller.c:
9513 (on_object_controlled_property_changed),
9514 (gst_controller_sync_values),
9515 (gst_controller_set_interpolation_mode):
9516 * libs/gst/controller/gstcontroller.h:
9517 Less verbose logging add docs for unimplemented parts and correctly
9518 return when using unavailable parts.
9520 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9522 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9523 Move all the debug to the CLOCK category, and associate it with
9526 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9528 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9529 Make take_buffer a bit quicker by removing redundant checks
9530 caused by calling gst_adapter_take.
9532 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9534 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9537 * tests/check/Makefile.am:
9538 * tests/check/elements/.cvsignore:
9539 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9540 (GST_START_TEST), (multiqueue_suite):
9541 Add some dead simple unit tests for the 'multiqueue' element
9542 (some bits don't work yet and are disabled for now).
9544 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9546 * gst/gstelement.c: (gst_element_get_request_pad),
9547 (gst_element_class_get_request_pad_template):
9548 Make gst_element_get_request_pad() create request pads only for
9549 request pad templates and not for, say, sometimes pad templates.
9551 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9553 * docs/design/draft-klass.txt:
9554 Add example that needs more thinking.
9556 * docs/design/draft-missing-plugins.txt:
9557 More thoughts about wrapper plugins.
9559 * docs/random/ensonic/embedded.txt:
9560 * docs/random/ensonic/profiling.txt:
9563 2007-03-25 Wim Taymans <wim@fluendo.com>
9565 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9566 (gst_base_src_loop):
9567 Only push the segment events in the PLAYING state for live sources.
9569 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9571 * gst/gstpipeline.c: (gst_pipeline_change_state):
9572 Modify the clock distribution path in PAUSED->PLAYING so that we
9573 never attempt to choose a new clock unless we're actually leaving
9574 the PAUSED state for the first time. This prevents choosing a
9575 different clock when the state_change gets called for a 2nd time due
9576 to some element doing an async state change.
9578 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9580 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9581 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9582 (gst_pad_chain_unchecked), (gst_pad_push):
9583 Revert last commit. This needs some more thoughts.
9585 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9587 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9588 (gst_pad_chain_unchecked), (gst_pad_push):
9589 Check in set_caps if the caps are compatible with the pad and remove
9590 two functions that are redundant now. Fixes #421543.
9592 2007-03-22 Wim Taymans <wim@fluendo.com>
9594 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9595 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9596 Unref some more to make valgrind happy.
9598 2007-03-22 Wim Taymans <wim@fluendo.com>
9600 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9601 (gst_system_clock_id_wait_jitter),
9602 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9603 Fix anoying regression that survived a few releases. When adding an
9604 async entry while blocking on a sync entry, the sync entry will unblock
9605 but still be busy, so it should continue to wait instead of returning
9607 Add some comments here and there.
9609 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9610 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9611 Add testcase for this.
9613 2007-03-22 Wim Taymans <wim@fluendo.com>
9615 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9616 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9617 WRONG_STATE and can silently pause the task. All other cases should
9620 2007-03-22 Wim Taymans <wim@fluendo.com>
9622 Patch by: Ville Syrjala <syrjala at sci dot fi>
9624 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9625 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9628 2007-03-21 Michael Smith <msmith@fluendo.com>
9630 * docs/pwg/advanced-types.xml:
9631 Fix some errors in the typefinding docs pointed out on irc.
9633 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9635 * libs/gst/base/gstbasesrc.c:
9636 Clarify FIXME comment in the face of having added unlock_stop()
9638 2007-03-21 Wim Taymans <wim@fluendo.com>
9640 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9641 Prepare for release where we warn against possible app breakage in the
9642 case of live pipelines along with an env var to enable/disable live
9643 preroll mode (GST_COMPAT=[no-]live-preroll).
9645 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9647 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9648 So we should use correct constants for checking for None offset.
9650 2007-03-20 Wim Taymans <wim@fluendo.com>
9652 * docs/design/part-block.txt:
9653 Mention the fact that the newly switched element should be set to at
9656 2007-03-20 Wim Taymans <wim@fluendo.com>
9659 Fix compilation with registry disabled as spotted by Saur.
9661 2007-03-20 Wim Taymans <wim@fluendo.com>
9663 Patch by: Olivier Crete <tester at tester dot ca>
9665 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9666 Look at the pending state too when syncing the element state to the
9667 parent. Fixes #420133.
9669 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9671 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9672 (gst_base_sink_change_state):
9673 * libs/gst/base/gstbasesink.h:
9674 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9675 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9676 (gst_base_src_deactivate):
9677 * libs/gst/base/gstbasesrc.h:
9678 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9679 for sub-classes to correctly clear any state they set trying to
9680 unlock, such as clearing out unlock commands from a command fd.
9681 API: basesrc::unlock_stop
9682 API: basesink::unlock_stop
9684 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9685 (gst_fd_sink_render), (gst_fd_sink_unlock),
9686 (gst_fd_sink_unlock_stop):
9687 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9688 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9689 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9691 Implement unlock_stop in fdsrc and fdsink.
9692 Implement seeking in fdsrc when a seekable fd is passed, as in
9693 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9695 2007-03-19 Wim Taymans <wim@fluendo.com>
9697 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9699 * gst/gstelement.c: (gst_element_class_init):
9700 Fix pad-added and pad-removed signal signatures so that the pad type is
9701 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9703 2007-03-19 Wim Taymans <wim@fluendo.com>
9705 * docs/gst/gstreamer-sections.txt:
9706 Add new element field and method.
9708 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9709 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9710 (gst_bin_recalc_state), (gst_bin_get_state_func),
9711 (gst_bin_element_set_state), (gst_bin_change_state_func),
9712 (gst_bin_continue_func), (bin_bus_handler),
9713 (bin_push_state_continue), (bin_handle_async_start),
9714 (bin_handle_async_done), (gst_bin_handle_message_func):
9715 Make async state changes a bit smarter by using new ASYNC_START and
9716 ASYNC_DONE messages. This reduces the number of times we run the state
9717 recalculation thread.
9718 Don't change state of element with a pending ASYNC_START message.
9719 Deprecate STATE_DIRTY messages.
9721 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9722 (gst_element_get_state_func), (gst_element_continue_state),
9723 (gst_element_lost_state), (gst_element_set_state_func),
9724 (gst_element_change_state):
9726 Keep the state that was last set by the app in a new element field.
9727 Don't allow state changes when handling an element event.
9728 Post ASYNC_START and ASYNC_DONE messages.
9729 Change lost_state so that we go to PAUSED and wait for the parent to set
9730 us to PLAYING again (so latency calculation can be performed)
9731 Export gst_element_change_state() method so that subclasses can use it.
9732 API: gst_element_change_state()
9733 API: GST_STATE_TARGET
9735 * gst/gstpipeline.c: (gst_pipeline_class_init),
9736 (reset_stream_time), (gst_pipeline_change_state),
9737 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9738 Using the new ASYNC_START message we can reset the base_time when
9739 needed. This can then be used to implement base_time redistribution in
9740 flushing seeks so that we can remove the explicit seek handling.
9741 Perform latency query and configuration when going to PLAYING.
9743 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9744 (gst_base_sink_query), (gst_base_sink_change_state):
9745 Post new ASYNC_START/ASYNC_DONE messages.
9747 * tests/check/generic/sinks.c: (GST_START_TEST):
9748 Fix test because the bin will not set the async element to PLAYING right
9751 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9752 Make the message check a little stronger.
9753 Handle ASYNC messages.
9755 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9756 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9757 Expect ASYNC_DONE messages.
9759 2007-03-19 Wim Taymans <wim@fluendo.com>
9761 * docs/gst/gstreamer-sections.txt:
9762 * gst/gstmessage.c: (gst_message_new_async_start),
9763 (gst_message_new_async_done), (gst_message_parse_info),
9764 (gst_message_parse_async_start):
9766 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9769 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9771 * tools/gst-inspect.c:
9772 (print_plugin_automatic_install_info_codecs):
9773 Now that we don't check for the 'Codec' keyword any longer in the
9774 klass, we shouldn't spew a warning if the klass isn't a decoder or
9775 encoder (since it might be a Source/Network, for example).
9777 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9779 * tools/gst-inspect.c:
9780 (print_plugin_automatic_install_info_codecs):
9781 Don't require decoder/demuxer/depayloader elements or
9782 encoder/muxer/paylader elements to have 'Codec' as part of their
9783 factory class string when introspecting a plugin's capabilities.
9784 draft-klass.txt mentions that it might be removed in future, and
9785 flump3dec doesn't have it as part of its class string, so chances
9786 are others might also not have it.
9788 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9810 Update translations from translation project
9812 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9814 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9815 (gst_child_proxy_set_property):
9816 Invert precondition check to be alike the ones in the mimiced gobject
9819 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9821 * docs/design/draft-tagreading.txt:
9822 * docs/random/ensonic/audiobaseclasses.txt:
9823 Do some Architect work.
9825 * gst/gstobject.c: (gst_object_set_name):
9829 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9831 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9833 * gst/gstsystemclock.c: (gst_system_clock_init),
9834 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9835 Defer starting the async system clock thread until the first async
9836 wait is scheduled. Fixes #414986.
9838 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9840 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9841 (gst_single_queue_free):
9842 Fix small leak (free GstSingleQueue structure too, not only contents).
9844 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9846 * gst/gstbin.c:(gst_bin_add):
9847 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9848 * win32/common/libgstbase.def:
9849 * win32/common/libgstreamer.def:
9850 Add new exported functions.
9852 2007-03-09 Wim Taymans <wim@fluendo.com>
9854 * docs/plugins/gstreamer-plugins-sections.txt:
9857 2007-03-09 Wim Taymans <wim@fluendo.com>
9859 * docs/gst/gstreamer-sections.txt:
9860 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9862 Add metadata copy functions. Fixes #393099.
9863 API: gst_buffer_copy_metadata()
9865 * gst/gstutils.c: (gst_buffer_stamp):
9866 * libs/gst/base/gstbasetransform.c:
9867 (gst_base_transform_prepare_output_buffer):
9868 Use new metadata copy functions.
9870 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9872 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9873 (gst_identity_init), (gst_identity_check_perfect),
9874 (gst_identity_check_imperfect_timestamp),
9875 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9876 (gst_identity_set_property), (gst_identity_get_property):
9877 * plugins/elements/gstidentity.h:
9878 Separate out check-imperfect-timestamp and check-imperfect-offset.
9879 Put back check-perfect as it was to keep compatibility.
9881 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9883 * gst/gstelement.c: (gst_element_dispose):
9884 There's no need to warn if VOID_PENDING is not NONE here, as
9885 long as the state is NULL it's ok, and that's checked immediately
9888 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9890 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9891 Fix check for perfect stream to ignore buffers with -1
9892 offsets/offset ends when checking data contiguity.
9894 2007-03-08 Wim Taymans <wim@fluendo.com>
9896 * tools/gst-launch.c: (event_loop):
9897 Print INFO messages.
9899 2007-03-08 Wim Taymans <wim@fluendo.com>
9901 * libs/gst/base/gstbasetransform.c:
9902 (gst_base_transform_sink_eventfunc),
9903 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9904 (gst_base_transform_activate):
9905 * libs/gst/base/gstbasetransform.h:
9906 Add support for dropping buffers with custom GstFlowReturn.
9907 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9908 buffers or dropped buffers.
9910 * docs/libs/gstreamer-libs-sections.txt:
9911 docs for new custom return code.
9913 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9914 Use drop support in base class to implement drop-probability.
9916 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9918 * gst/gst.c: (load_plugin_func):
9919 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9920 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9921 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9922 Remove newlines at end of debug log strings.
9924 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9926 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9927 Only post bus message at max, once per buffer received.
9929 2007-03-07 Wim Taymans <wim@fluendo.com>
9931 * docs/design/Makefile.am:
9932 * docs/design/part-synchronisation.txt:
9933 Add doc about synchronisation
9935 * docs/design/draft-latency.txt:
9936 * docs/design/part-TODO.txt:
9937 * docs/design/part-clocks.txt:
9938 * docs/design/part-events.txt:
9939 * docs/design/part-gstbus.txt:
9940 * docs/design/part-gstpipeline.txt:
9941 * docs/design/part-live-source.txt:
9942 * docs/design/part-messages.txt:
9943 * docs/design/part-overview.txt:
9944 * docs/design/part-streams.txt:
9945 * docs/design/part-trickmodes.txt:
9946 Documentation updates.
9948 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9951 Update the doap file.
9953 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9955 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9956 Rename non-perfect to imperfect for Mike and for the sanctity of the
9958 Also make sure bus message gets emitted for data-incontiguities.
9960 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9962 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9963 (gst_identity_start):
9964 * plugins/elements/gstidentity.h:
9965 Emit bus message if check-perfect is true and we encounter a
9966 non-perfect stream between 2 consecutive buffers.
9969 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9974 === release 0.10.12 ===
9976 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9979 releasing 0.10.12, "Inevitable Demise"
9981 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9984 Version 0.10.11.2 (0.10.12 pre-release)
9985 Bump libtool versioning.
9987 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9989 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9990 Log flow-names and not numbers.
9992 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9995 Convert to new AG_GST style.
9997 2007-02-28 Wim Taymans <wim@fluendo.com>
9999 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10000 Don't unref query twice.
10002 2007-02-28 Wim Taymans <wim@fluendo.com>
10004 * gst/gstvalue.c: (gst_value_transform_object_string),
10005 (_gst_value_initialize):
10006 Implement GstObject -> string transform so we print object names
10007 when serializing GValues containing GstObjects.
10009 2007-02-28 Wim Taymans <wim@fluendo.com>
10011 * docs/gst/gstreamer-sections.txt:
10012 Add new stuff to docs.
10014 2007-02-28 Wim Taymans <wim@fluendo.com>
10016 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10017 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10018 (gst_base_sink_change_state):
10019 Improve latency query code.
10020 Don't leak latency events.
10022 * tests/check/gst/gstbin.c: (GST_START_TEST):
10025 2007-02-28 Wim Taymans <wim@fluendo.com>
10027 * gst/gstelement.c: (gst_element_message_full),
10028 (gst_element_get_state_func):
10029 * gst/gstelement.h:
10030 Improve docs a little. Added Since: for new macro.
10032 * gst/gstobject.c: (gst_object_sink):
10033 * gst/gstpipeline.c: (gst_pipeline_change_state),
10034 (gst_pipeline_set_new_stream_time):
10035 * gst/gstpipeline.h:
10036 Improve debugging and docs.
10038 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10041 2007-02-28 Wim Taymans <wim@fluendo.com>
10043 * gst/gstelement.c: (gst_element_message_full),
10044 (gst_element_set_locked_state), (gst_element_get_state_func),
10045 (gst_element_change_state):
10046 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10047 Documentation updates.
10048 Small code cleanups.
10050 * gst/gstmessage.c: (gst_message_new_info),
10051 (gst_message_parse_info):
10052 * gst/gstmessage.h:
10053 API: gst_message_new_info()
10054 API: gst_message_parse_info()
10055 Add INFO message create and parse code.
10057 2007-02-28 Wim Taymans <wim@fluendo.com>
10059 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10060 (bin_query_latency_done):
10061 Also report the live parameter of a latency query.
10063 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10065 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10066 Copy the current generic/states example from -base and adapt so
10067 we can use the exact same code everywhere.
10068 Check a STATES_IGNORE_ELEMENTS env var which can be used
10069 to ignore certain element factories for this test, which is
10070 what is being done in -base
10071 * tests/check/Makefile.am:
10072 Mention this environment variable.
10074 2007-02-27 Wim Taymans <wim@fluendo.com>
10076 * docs/gst/gstreamer-sections.txt:
10077 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10078 (gst_bus_timed_pop), (gst_bus_pop):
10080 API: gst_bus_timed_pop()
10081 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10082 message to arrive on the bus.
10084 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10086 Two unit tests for new _timed_pop() function.
10088 2007-02-23 Wim Taymans <wim@fluendo.com>
10090 * gst/gstpipeline.c: (gst_pipeline_change_state),
10091 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10092 Don't ref a NULL clock in _provide_clock_func().
10093 Don't allow an INVALID delay.
10094 Don't try to calculate base_time with an invalid start_time.
10095 Also distribute and notify a NULL clock when it was selected.
10097 * tools/gst-launch.c: (event_loop):
10098 Don't crash when a NULL clock was selected in the pipeline.
10100 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10102 * docs/design/Makefile.am:
10103 * docs/design/draft-missing-plugins.txt:
10104 * docs/random/draft-missing-plugins.txt:
10105 Some small updates: update plugin system identifier prefix
10106 ('gstreamer.net' to 'gstreamer'), mention our new install
10107 API in libgstbaseutils rather than libgimme-codec, add
10108 reference to the online docs.
10110 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10112 * win32/common/config.h:
10113 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10114 use moap cl ci to only check in what is mentioned in the ChangeLog.
10116 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10118 * docs/gst/gstreamer-sections.txt:
10119 * gst/gstelement.h:
10120 Fix up documentation to link to the correct GstGError section.
10121 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10123 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10125 * tools/gst-launch.c: (event_loop):
10126 Make sure that we actually show the important message part of a
10128 No need to check if the gerror is not NULL to free; first of all
10129 g_free accepts NULL; and second the default error handler would
10130 segfault if gerror was NULL.
10132 2007-02-21 Wim Taymans <wim@fluendo.com>
10134 * docs/gst/gstreamer-sections.txt:
10135 Removed docs as well.
10137 2007-02-21 Wim Taymans <wim@fluendo.com>
10139 * gst/gstmessage.c: (gst_message_parse_duration):
10140 * gst/gstmessage.h:
10141 Remove new messages for release.
10143 2007-02-20 Wim Taymans <wim@fluendo.com>
10145 * docs/design/part-gstghostpad.txt:
10146 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10147 (gst_ghost_pad_new_full):
10148 Make the ghostpad a parent of the internal pad again for better backward
10149 compatibility. Don't write code that relies on this however.
10151 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10152 (gst_pad_link_check_hierarchy):
10153 Require that parents should be GstElements in the hierarchy check.
10155 2007-02-20 Wim Taymans <wim@fluendo.com>
10157 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10158 (gst_bin_change_state_func), (bin_query_min_max_init),
10159 (bin_query_latency_fold), (bin_query_latency_done),
10161 Improve debug info.
10162 Implement latency query.
10164 2007-02-20 Wim Taymans <wim@fluendo.com>
10166 * docs/design/part-gstghostpad.txt:
10167 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10168 (gst_ghost_pad_internal_do_activate_push),
10169 (gst_ghost_pad_internal_do_activate_pull),
10170 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10171 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10172 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10173 Do not set the internal pad as a parent anymore so we can avoid
10174 hierarchy linking errors when the ghostpad has no parent yet. This also
10175 fixes failed activation because of unlinked internal pads, which in
10176 turn fixes the impossible case where you have to activate a pad before
10177 you can add it to a running element.
10180 * gst/gstpad.c: (pre_activate), (post_activate),
10181 (gst_pad_set_active), (gst_pad_activate_pull),
10182 (gst_pad_activate_push), (gst_pad_check_pull_range):
10183 Add some more debug info.
10184 Mark activation mode in pre_activate so that we don't try to activate in
10185 endless loops. Fixes #385084.
10187 2007-02-19 Wim Taymans <wim@fluendo.com>
10189 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10190 (gst_base_transform_check_get_range):
10191 Implement a checkgetrange function instead of relying on the default
10192 core behaviour that assumes we can operate in pull mode if we have a
10193 getrange function. First step at fixing #385084.
10195 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10197 * gst/gstchildproxy.h:
10198 * libs/gst/base/gstbasesink.h:
10199 * libs/gst/base/gstbasesrc.h:
10200 * libs/gst/base/gstbasetransform.h:
10201 More docs coverage and some ChangeLog surgery (add missing names)
10203 2007-02-15 Wim Taymans <wim@fluendo.com>
10205 * docs/design/part-TODO.txt:
10206 * docs/design/part-activation.txt:
10207 * docs/design/part-block.txt:
10208 * docs/design/part-buffering.txt:
10209 * docs/design/part-clocks.txt:
10210 * docs/design/part-element-source.txt:
10211 * docs/design/part-events.txt:
10212 * docs/design/part-gstbin.txt:
10213 * docs/design/part-gstbus.txt:
10214 * docs/design/part-gstpipeline.txt:
10215 * docs/design/part-live-source.txt:
10216 * docs/design/part-messages.txt:
10217 * docs/design/part-overview.txt:
10218 * docs/design/part-qos.txt:
10219 * docs/design/part-query.txt:
10220 * docs/design/part-states.txt:
10221 * docs/design/part-trickmodes.txt:
10222 Some doc updates. Start renaming from stream_time to running_time where
10223 it was used wrongly.
10225 2007-02-15 Wim Taymans <wim@fluendo.com>
10227 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10228 Answer LATENCY query.
10230 2007-02-15 Wim Taymans <wim@fluendo.com>
10232 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10236 2007-02-15 Wim Taymans <wim@fluendo.com>
10238 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10239 (gst_pad_dispatcher):
10240 Improve debugging of default pad dispatcher and query functions.
10242 2007-02-15 Wim Taymans <wim@fluendo.com>
10244 * docs/gst/gstreamer-sections.txt:
10245 Remove old unused method.
10247 2007-02-13 Wim Taymans <wim@fluendo.com>
10249 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10252 2007-02-13 Wim Taymans <wim@fluendo.com>
10254 * docs/design/part-seeking.txt:
10257 * gst/gstsegment.c: (gst_segment_set_seek):
10258 Revert old bogus change that should make seeking work again.
10260 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10262 * docs/random/ensonic/dynlink.txt:
10263 * docs/random/ensonic/interfaces.txt:
10264 * docs/random/ensonic/receipies.txt:
10265 Possible dynamic reconnection api, plus some type fixes the other two
10268 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10270 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10271 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10272 Also check for an absolute path following file:// in the filesrc
10273 element. Remove redundant check and call g_path_is_absolute() on the
10274 unescaped location.
10276 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10278 * docs/design/draft-klass.txt:
10279 Add existing category analysis.
10282 Fix doc example, framerate is a fraction.
10284 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10287 * docs/gst/Makefile.am:
10288 * docs/gst/gstreamer-sections.txt:
10289 * docs/libs/Makefile.am:
10290 Erm, forgot a bunch of --extra-dir.
10292 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10295 * docs/gst/Makefile.am:
10296 * docs/libs/Makefile.am:
10297 * docs/plugins/Makefile.am:
10298 Add crossreferences to glib/gobject docs.
10300 2007-02-12 Wim Taymans <wim@fluendo.com>
10302 * docs/design/draft-latency.txt:
10305 * docs/libs/gstreamer-libs-sections.txt:
10306 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10307 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10308 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10309 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10310 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10311 (gst_base_sink_get_position), (gst_base_sink_query),
10312 (gst_base_sink_change_state):
10313 * libs/gst/base/gstbasesink.h:
10314 API: gst_base_sink_query_latency() to let subclasses query the upstream
10316 API: gst_base_sink_get_latency() to let subclasses query the configured
10317 latency in the sink.
10318 Implement query and set latency.
10320 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10321 don't continue preroll when we are flushing. Fixes #405284.
10323 * tests/check/pipelines/stress.c: (change_state_timeout),
10324 (quit_timeout), (GST_START_TEST), (stress_suite):
10327 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10329 Patch by: René Stadler <mail at renestadler de>
10331 * docs/gst/gstreamer-sections.txt:
10332 * gst/gsttaglist.c: (_gst_tag_initialize):
10333 * gst/gsttaglist.h:
10334 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10336 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10338 * docs/libs/Makefile.am:
10339 Fix path to core docs.
10341 * gst/gstbin.c: (gst_bin_get_by_interface),
10342 (gst_bin_iterate_all_by_interface):
10343 Refix docs by also renaming 'interface' to 'iface' in implementation.
10345 * docs/gst/gstreamer-sections.txt:
10347 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10348 * gst/gstchildproxy.h:
10349 * gst/gstelementfactory.c:
10350 * gst/gstpadtemplate.h:
10351 * libs/gst/controller/gstcontroller.c:
10352 (gst_controlled_property_new):
10355 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10357 * gst/gstbin.h:(gst_bin_get_by_interface),
10358 (gst_bin_iterate_all_by_interface):
10359 Replace interface parameter name by iface as interface is
10360 a reserved keyword in Visual Studio for C++ projects so it removes
10361 a build error for application developpers using VS.
10362 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10363 Fix a bug on Windows in uri format check. Now the prefix checked
10364 is file:// and next we check if the path after file:// is absolute.
10365 * win32/common/libgstbase.def:
10366 * win32/common/libgstdataprotocol.def:
10367 * win32/common/libgstgstreamer.def:
10368 Add new exported functions.
10370 2007-02-09 Andy Wingo <wingo@pobox.com>
10372 * tests/check/pipelines/simple-launch-lines.c
10373 (simple_launch_lines_suite, test_tee): Disable tee test until I
10374 have time to fix it :-(
10376 * tests/check/Makefile.am (noinst_HEADERS):
10377 * tests/check/libs/libsabi.c:
10378 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10379 * tests/check/gst/gstabi.c:
10380 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10382 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10383 tests for push and pull tee behavior.
10385 * plugins/elements/gsttee.h:
10386 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10387 mark as deprecated as well as unimplemented. It was a crack idea.
10388 Add support for tee operating in pull mode, off by default.
10390 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10391 normal-case logs down to LOG, raise errors to WARNING.
10392 (gst_registry_xml_read_cache): Don't log before calling a function
10395 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10396 exit (registry finalize).
10397 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10398 DEBUG log when we emit signals that people don't even have the
10399 chance to connect to.
10400 (gst_registry_scan_path_level): Less logging in the normal case.
10402 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10404 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10406 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10407 Correctly generate EOS for non-seekable files. We don't have a total
10408 length for them and would get an unexpected end of file if we only
10409 special-cased for regular files. (Fixes: #404569)
10411 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10413 * tests/check/elements/filesrc.c: (GST_START_TEST),
10415 Add unit test for the GstURIHandler interface in filesrc. This also
10416 tests the newly added file://localhost/foo/bar support.
10418 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10420 * gst/gstelementfactory.h:
10421 The klass string is not a hierarchy. Add reference to the design doc
10422 for more information and common types.
10424 2007-02-02 Wim Taymans <wim@fluendo.com>
10426 * gst/gstquery.c: (gst_query_new_latency):
10427 Remove old structure field.
10429 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10431 * tools/gst-launch.1.in:
10432 Give example for network streaming (#351998)
10434 2007-02-02 Wim Taymans <wim@fluendo.com>
10436 * docs/gst/gstreamer-sections.txt:
10437 Add docs for new methods.
10439 * gst/gstevent.c: (gst_event_new_latency),
10440 (gst_event_parse_latency):
10442 Add new LATENCY event to configure latency in a pipeline.
10443 API: gst_event_new_latency
10444 API: gst_event_parse_latency
10446 * gst/gstmessage.c: (gst_message_new_buffering),
10447 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10448 (gst_message_new_latency), (gst_message_parse_buffering),
10449 (gst_message_parse_lost_preroll):
10450 * gst/gstmessage.h:
10451 Added messages used in draft-latency.
10452 API: gst_message_new_lost_preroll
10453 API: gst_message_parse_lost_preroll
10454 API: gst_message_new_prerolled
10455 API: gst_message_new_latency
10457 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10458 (gst_query_parse_latency):
10460 Implemented new latency query as in design doc.
10461 API: gst_query_new_latency
10462 API: gst_query_set_latency
10463 API: gst_query_parse_latency
10465 2007-02-02 Wim Taymans <wim@fluendo.com>
10467 * docs/design/draft-latency.txt:
10468 Slight redesign to allow for dynamic latency adjustments.
10470 * docs/design/part-negotiation.txt:
10473 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10475 reviewed by: Wim Taymans <wim@fluendo.com>
10477 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10478 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10479 Allow file://localhost/foo/bar URLs and correctly fail for every other
10480 hostname that one sets. This was gnomevfssrc is linked for those if
10481 installed as it can handle it (#403172)
10483 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10485 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10487 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10488 (unref_data), (gst_collect_pads_add_pad_full):
10489 * libs/gst/base/gstcollectpads.h:
10490 Don't put the previously added destroy notify in the GstCollectData
10491 struct as all it's padding is already used and we don't want to break
10492 ABI. Instead put in the pad's GObject data for now. This should be
10493 cleaned up for 0.11 (#402393).
10495 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10497 reviewed by: Wim Taymans <wim@fluendo.com>
10499 * docs/libs/gstreamer-libs-sections.txt:
10500 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10501 (unref_data), (gst_collect_pads_add_pad),
10502 (gst_collect_pads_add_pad_full):
10503 * libs/gst/base/gstcollectpads.h:
10504 API: Add function to specify a destroy notification for custom
10505 GstCollectData when adding new pads in GstCollectPads (#402393).
10507 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10510 Update Swedish translation (#378255).
10512 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10514 * docs/design/draft-klass.txt:
10515 Fix the previous change, this is a list of categories and not a hierarchy.
10517 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10519 * docs/design/draft-klass.txt:
10520 Add info about how to get a list of used classes.
10522 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10524 * plugins/elements/gsttypefindelement.c:
10525 (gst_type_find_element_chain_do_typefinding),
10526 (gst_type_find_element_change_state):
10527 Don't leak found caps in chain function (no idea why that never
10528 showed up as a leak anywhere).
10530 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10533 Fix and expand GstPluginDesc API docs.
10535 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10538 * gst/gstelementfactory.c:
10539 * gst/gstpadtemplate.h:
10542 * libs/gst/controller/gstcontroller.c:
10543 (gst_controlled_property_new):
10544 * tests/examples/controller/audio-example.c:
10547 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10550 comment about refining the xml deps
10552 * docs/manuals.mak:
10553 comments about moving away from jade for docs
10556 recommit the ifdefs to use the binary registry
10558 * gst/gstbin.c: (gst_bin_change_state_func):
10559 this break is obsolete
10561 * gst/gstelementfactory.h:
10562 better GST_ELEMENT_DETAILS docs, add comment about translation
10567 * gst/gstobject.c: (gst_signal_object_get_type):
10568 add G_UNLIKELY as usual
10570 * gst/gstpad.c: (gst_pad_event_default):
10571 add fall trhu comment
10573 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10574 (gst_registry_binary_initialize_magic),
10575 (gst_registry_binary_save_string),
10576 (gst_registry_binary_save_pad_template),
10577 (gst_registry_binary_save_feature),
10578 (gst_registry_binary_save_plugin),
10579 (gst_registry_binary_write_cache),
10580 (gst_registry_binary_check_magic),
10581 (gst_registry_binary_load_pad_template),
10582 (gst_registry_binary_load_feature),
10583 (gst_registry_binary_load_plugin),
10584 (gst_registry_binary_read_cache):
10585 comment typo and formatting
10587 * gst/gstutils.c: (gst_element_state_get_name),
10588 (gst_element_state_change_return_get_name):
10589 remove obsolete breaks
10591 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10592 add FIXME 0.11 and remove cpp comment
10594 2007-01-29 Edward Hervey <edward@fluendo.com>
10596 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10597 Fix print statement in an even more portable way.
10599 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10601 * docs/gst/gstreamer-sections.txt:
10603 API: add GST_ROUND_DOWN_* macros (#401781).
10605 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10607 * docs/gst/gstreamer.types.in:
10608 * gst/gstregistry.c: (gst_registry_class_init):
10609 Document registry signals and make gtk-doc pick them up (#401381).
10611 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10613 * docs/pwg/building-testapp.xml:
10614 Add some audioconverts and audioresample to the pipeline, and some
10615 more comments and error handling.
10617 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10619 * docs/manual/manual.xml:
10620 * docs/pwg/pwg.xml:
10621 Fix typo (#400987).
10623 2007-01-26 Wim Taymans <wim@fluendo.com>
10625 * gst/gstcaps.c: (gst_static_caps_get):
10626 Init caps flags too.
10628 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10630 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10632 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10633 If not using mmap'ed files try to seek to the end instead of the
10634 start to determine whether we can seek at all. This fixes the case
10635 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10636 seeks for everything afterwards fail. Fixes #400656
10638 2007-01-25 Wim Taymans <wim@fluendo.com>
10640 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10641 Add some refcount debugging.
10642 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10643 in multiple streaming threads.
10645 2007-01-25 Wim Taymans <wim@fluendo.com>
10647 Patch by: David Schleef <ds at schleef dot org>
10649 * docs/libs/gstreamer-libs-sections.txt:
10650 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10651 * libs/gst/base/gstadapter.h:
10652 API: gst_adapter_copy() that can reduce the amount of memcpy when
10653 getting data from the adapter. Fixes #388201.
10655 2007-01-25 Edward Hervey <edward@fluendo.com>
10657 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10658 In print statements, "%x" is for guint. Fixes build on macosx.
10660 2007-01-24 Edward Hervey <edward@fluendo.com>
10662 * plugins/elements/gstmultiqueue.c:
10663 (gst_multi_queue_loop):
10665 (single_queue_overrun_cb), (single_queue_underrun_cb),
10666 (single_queue_check_full), (gst_single_queue_new):
10667 Implement single queue growth system.
10668 This uses the extra-size properties, and will grow single queues by
10669 that much if one goes full whereas there are others empty. This is
10670 called extra-mode in the code.
10671 When a single queue's levels go back below the initial max-size
10672 limits, it is no longer in extra-mode. This is to ensure we don't
10673 consume too much memory.
10676 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10678 * gst/gst.c: (gst_init_get_option_group):
10679 Make warning about late g_thread_init() calls a bit more explicit,
10680 so that it's more obvious to application developers what they need
10681 to do if a user files a bug against their application.
10683 2007-01-22 Edward Hervey <edward@fluendo.com>
10685 * plugins/elements/gstmultiqueue.c:
10686 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10687 Remove previous hack of unsetting the flushing flag for the source pad
10688 instead of activating it. Instead, fix the source pad activate function
10689 so that it no longer depends on having a parent set or not.
10691 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10693 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10695 * docs/manual/basics-bus.xml:
10696 Fix example code, gst_element_unref() doesn't exist any longer.
10698 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10700 Patch by: Mark Nauwelaerts <manauw at skynet be>
10703 Fix two docs typoes (#399094).
10705 2007-01-19 Edward Hervey <edward@fluendo.com>
10707 * docs/faq/gst-uninstalled:
10708 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10709 depending on libgstbaseutils can work in uninstalled environment.
10711 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10713 * gst/gsttaglist.h:
10714 * gst/gsttagsetter.c:
10715 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10716 statement for new tag.
10718 2007-01-17 Edward Hervey <edward@fluendo.com>
10720 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10721 When dynamically creating single queues, activate sinkpad before adding
10723 We should be doing the same thing for the source pad, but we can't
10724 since it would call a method which needs the parent to be set in order
10725 to work propertly. Instead of activating the source pad, we just unset
10726 the flushing flag, which is the minimal requirement for adding a pad
10727 to an element in a state greater than READY.
10729 2007-01-17 Edward Hervey <edward@fluendo.com>
10731 * docs/faq/gst-uninstalled:
10732 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10735 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10737 * tests/check/gst/gstabi.c:
10738 * tests/check/gst/struct_hppa.h:
10739 * tests/check/libs/libsabi.c:
10740 * tests/check/libs/struct_hppa.h:
10741 Add ABI structs for HPPA (see #393796).
10743 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10745 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10746 Actually write ABI structs to the file specified in the GST_ABI
10747 environment variable, as the message we print claims we would.
10749 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10751 * tests/check/gst/gsttask.c:
10752 Fix header comment.
10754 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10756 * gst/gsttaglist.c: (_gst_tag_initialize):
10757 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10758 previous two entries.
10760 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10762 * docs/gst/gstreamer-sections.txt:
10763 * gst/gsttaglist.c: (_gst_tag_initialize):
10764 * gst/gsttaglist.h:
10765 Add tag support for beat-per-minute.
10767 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10769 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10770 (gst_registry_binary_initialize_magic),
10771 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10772 (gst_registry_binary_save_pad_template),
10773 (gst_registry_binary_save_feature),
10774 (gst_registry_binary_save_plugin),
10775 (gst_registry_binary_write_cache),
10776 (gst_registry_binary_check_magic),
10777 (gst_registry_binary_load_pad_template),
10778 (gst_registry_binary_load_feature),
10779 (gst_registry_binary_load_plugin),
10780 (gst_registry_binary_read_cache):
10781 * gst/gstregistrybinary.h:
10782 Use glib types, cleanup comments, impement interfaces and uri-types.
10784 2007-01-13 Andy Wingo <wingo@pobox.com>
10786 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10787 getrange() to return buffers with other caps, while we fix
10788 demuxers and typefind, or otherwise change part-negotiation.txt.
10790 2007-01-12 Andy Wingo <wingo@pobox.com>
10792 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10793 Factor start/stop into this private function instead of partially
10794 in activate functions and partially in the change_state function.
10795 Fixes setup before the element has changed from READY->PAUSED, as
10796 is the case in pull-mode pipelines.
10797 (gst_base_transform_sink_activate_push)
10798 (gst_base_transform_src_activate_pull): Refactor to use
10799 gst_base_transform_activate().
10800 (gst_base_transform_change_state): Removed, not needed any more.
10802 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10803 Truncate before fixating.
10805 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10806 Don't set_caps() if the result of fixating is ANY, as it's not
10807 supported, and not necessary in the case of a link with no
10808 template caps on either side. Fixes tests/check/libs/basesrc in
10809 some pull-mode tests.
10811 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10812 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10813 (gst_base_transform_src_activate_pull):
10814 Track the activation mode.
10815 (gst_base_transform_setcaps): In pull mode, when activating the
10816 src pad, after activating the sink pad, activate the sink pad's
10817 peer, as discussed in part-negotiation.txt.
10819 * libs/gst/base/gstbasesrc.h:
10820 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10821 vmethod, as in basesink.
10823 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10825 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10826 mode, first proxy the setcaps to the peer pad.
10827 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10828 new fixate vmethod.
10829 (gst_base_sink_default_activate_pull): Rename from
10830 gst_base_sink_activate_pull.
10831 (gst_base_sink_negotiate_pull): New function, performs negotiation
10832 in pull mode before calling ::activate_pull().
10833 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10834 vmethod instead of the default implementation. I have no idea how
10835 this worked before. Negotiate before calling activate_pull.
10837 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10838 sink pads in pull mode. In addition to being correct, fixes
10839 filesrc ! decodebin ! identity ! fakesink.
10840 (gst_pad_get_range, gst_pad_pull_range): Don't call
10841 gst_pad_set_caps() if the caps changes; instead error out with
10842 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10844 2007-01-12 Andy Wingo <wingo@pobox.com>
10846 * docs/design/part-negotiation.txt: Update with more policy.
10848 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10850 * libs/gst/check/gstbufferstraw.h:
10851 * libs/gst/check/gstcheck.h:
10852 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10855 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10857 * tests/check/Makefile.am:
10858 * tests/check/gst/.cvsignore:
10859 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10860 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10861 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10862 (GST_START_TEST), (gst_tag_setter_suite):
10863 Add minimal unit test for beforementioned GstTagSetter bug.
10865 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10867 Patch by: René Stadler <mail at renestadler dot de>
10869 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10870 gst_tag_list_merge() returns a new list, so it's not the best idea
10871 to ingore its return value. Effectively meant that tags could only
10872 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10873 Also add function guard to require a non-NULL taglist as input (has
10874 always been so due to gst_tag_list_copy(), just making it explicit).
10876 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10878 * docs/random/draft-missing-plugins.txt:
10879 Some additions: mention new API that is supposed to be used at the
10880 various stages; short blob about new gst-inspect introspection
10881 option; mention potential future problem with plugins that have
10882 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10884 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10886 * tools/gst-inspect.c:
10887 (print_plugin_automatic_install_info_codecs),
10888 (print_plugin_automatic_install_info_protocols),
10889 (print_plugin_automatic_install_info), (main):
10890 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10891 introspect plugin files and get machine-parsable output that corresponds
10892 to the last bit of the missing-plugin installer string (small gotcha:
10893 doesn't take into account ranks).
10895 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10898 * docs/gst/gstreamer-sections.txt:
10900 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10901 (gst_registry_lookup_locked):
10902 * gst/gstregistry.h:
10903 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10904 (gst_registry_binary_initialize_magic),
10905 (gst_registry_binary_save_string),
10906 (gst_registry_binary_save_pad_template),
10907 (gst_registry_binary_save_feature),
10908 (gst_registry_binary_save_plugin),
10909 (gst_registry_binary_write_cache),
10910 (gst_registry_binary_check_magic),
10911 (gst_registry_binary_load_pad_template),
10912 (gst_registry_binary_load_feature),
10913 (gst_registry_binary_load_plugin),
10914 (gst_registry_binary_read_cache):
10915 * gst/gstregistrybinary.h:
10916 * gst/gstregistryxml.c: (load_feature),
10917 (gst_registry_xml_read_cache):
10918 commit binary registry (disabled by default, see #359653)
10920 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10922 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10923 Fix 'make check' too.
10925 2007-01-10 Andy Wingo <wingo@pobox.com>
10927 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10930 * docs/design/part-negotiation.txt: Update with, um, one way that
10931 pull-mode negotiation might work?
10934 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10935 that the pad must be a src pad; makes sense to call it the other
10936 way in pull mode, and the logic is symmetric anyway.
10938 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10940 * plugins/elements/gstfilesink.c:
10941 Include <stdio.h> for fseeko().
10943 2007-01-10 Wim Taymans <wim@fluendo.com>
10947 Reserve LATENCY event.
10949 2007-01-09 Wim Taymans <wim@fluendo.com>
10951 * docs/design/draft-latency.txt:
10954 2007-01-09 Wim Taymans <wim@fluendo.com>
10956 * docs/design/draft-latency.txt:
10959 * gst/gstelement.h:
10960 * gst/gststructure.c:
10964 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10966 * tests/check/.cvsignore:
10967 Ignore test-registry.xml as well.
10969 2007-01-09 Wim Taymans <wim@fluendo.com>
10971 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10972 unref data at the end when we are done with the pad.
10974 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10976 * docs/gst/gstreamer-sections.txt:
10977 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10978 (init_post), (gst_deinit), (gst_update_registry):
10980 API: add gst_update_registry() (#391296).
10982 * tests/check/Makefile.am:
10983 * tests/check/gst/gstregistry.c:
10984 * tests/check/gst/.cvsignore:
10985 Simple unit test for the above.
10987 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10989 * gst/gstregistry.c: (gst_registry_scan_path_level):
10990 Plugin extension on HP-UX is .sl, add that to the list of approved
10991 plugin extensions (see #393796).
10993 * tests/check/gst/gstpad.c: (GST_START_TEST):
10994 ulong => gulong. Fixes compilation with HP-UX compiler.
10996 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10997 Fix compilation if valgrind headers are not available.
10999 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11001 * win32/common/libgstreamer.def:
11002 Add new exported function.
11003 * win32/vs6/libgstbase.dsp:
11004 Add gstdataqueue.c to the build.
11005 * win32/vs6/libgstcoreelements.dsp:
11006 Add gstmultiqueue.c to the build.
11008 2007-01-06 Andy Wingo <wingo@pobox.com>
11010 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11011 activate_pull(), providing for a way to specialize the process of
11012 spawning a thread to pull on the sink pad. There is a default
11015 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11016 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11017 (gst_base_sink_init): Renamed pad activation functions (inserting
11018 "_pad" in their names). Refactor to use the new activate_pull
11019 vmethod, as appropriate.
11020 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11021 default activate_pull function to start a task pulling from the
11022 sink pad, as before.
11024 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11025 on the pads if necessary, as in push()/chain(). Update docs.
11026 Shouldn't affect existing pull() usage as it is currently only
11027 being used on buffers without caps.
11029 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11031 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11033 Call g_thread_init() first thing in gst_init() / gst_check_init().
11034 When initialisation is done via gst_init_get_option_group() and
11035 GOption parsing, issue a warning if the GLib thread system has not
11036 been initialised yet by the time gst_init_get_option_group() is
11037 called, as it's quite likely other GLib functions such as
11038 g_option_context_new() have been called already then, and
11039 g_thread_init() must be called before any other GLib function. The
11040 application in question must be fixed in that case, since memory
11041 corruption might happen otherwise.
11042 We issue the warning because even if the GLib folks decide to work
11043 around the problem on their end in future, this is still an issue
11044 with all GLib versions >= 2.10.0, so we should warn until we depend
11045 on a GLib version we know to be safe.
11046 Update documentation as well.
11047 Closes bug #391278.
11049 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11051 * tools/gst-inspect.c: (main):
11052 * tools/gst-launch.c: (main):
11053 * tools/gst-typefind.c: (main):
11054 * tools/gst-xmlinspect.c: (main):
11055 Call g_thread_init() really really early, before any other GLib
11056 function (see #342564 and recent discussion on gtk-devel-list).
11058 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11060 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11062 * gst/gst_private.h:
11063 * gst/gstconfig.h.in:
11065 On win32, all the __declspec stuff for symbol exporting is
11066 apparently only needed with MSVC, but doesn't work with MingW.
11067 Fixes compilation with MingW and #391909.
11069 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11071 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11072 Change some GST_ERROR_OBJECT that aren't really errors to
11073 GST_WARNING_OBJECT in order to reduce terminal spam.
11075 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11077 * tests/check/Makefile.am:
11078 disable test again, as there seem to be still race problems
11080 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11082 * tests/check/Makefile.am:
11083 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11084 (GST_START_TEST), (queue_suite):
11085 enable queue test again, add tests for the leaky behaviour
11087 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11090 * tests/examples/Makefile.am:
11091 Compile adapter test/example only if the required headers are
11092 available (fixes #391915).
11094 2007-01-01 David Schleef <ds@schleef.org>
11097 Restore the previous signal handler for SIGSEGV instead of
11098 setting to default, since we may have stolen it away from
11099 someone. (i.e., Mono)
11101 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11103 * docs/random/draft-missing-plugins.txt:
11104 Some small additions and clarifications.
11106 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11108 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11109 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11110 since that can lead to random memory corruptions and crashes
11111 (may or may not be related to #383244, #386711, and #386711).
11113 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11115 * tests/check/.cvsignore:
11116 * tests/check/Makefile.am:
11117 sync .cvsignome and CLEANFILES
11119 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11121 * tests/check/Makefile.am:
11124 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11126 * docs/design/part-states.txt:
11127 two tiny additional comments
11129 * gst/gststructure.c:
11132 * tests/check/Makefile.am:
11133 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11135 disable test for now, unless it gets fixed
11137 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11139 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11141 fix race in underrun test
11143 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11145 * tests/check/elements/.cvsignore:
11148 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11150 try to narrow test failure
11152 2006-12-21 David Schleef <ds@schleef.org>
11154 * plugins/elements/gstfakesrc.c:
11155 Use g_random_int_range(), since it produces better random
11156 numbers in a range than almost-correct floating point code.
11158 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11160 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11161 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11162 (gst_check_teardown_sink_pad):
11163 do not automatically (de)activate pads
11165 * tests/check/Makefile.am:
11166 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11167 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11168 add new, yet simple tests for queue
11170 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11171 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11172 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11174 * tests/check/elements/identity.c: (cleanup_identity):
11175 consistent pad (de)activation
11177 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11179 Patch by: Sebastian Dröge <slomo ubuntu com>
11181 * libs/gst/base/gstcollectpads.c:
11182 Fix two doc typos (#387866).
11184 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11186 * docs/manual/advanced-dparams.xml:
11187 Fix typo (g_object_control_properties() doesn't exist).
11189 2006-12-19 Edward Hervey <edward@fluendo.com>
11191 * gst/gstsegment.c: (gst_segment_set_seek):
11192 Fine tune the cases where the segment start/stop values are really
11194 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11195 Add tests for the return values of gst_segment_set_seek().
11197 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11202 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11204 Fix incorrect documentation and flesh it out a bit more.
11205 Set default values for the max properties on the GParamSpec as well,
11206 so it shows up correctly in gst-inspect.
11208 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11210 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11211 Correct docs of queue, add more detail and crosslink it more.
11213 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11215 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11216 Print additional debug info when the stream isn't perfectly
11217 timestamped; don't try to use invalid durations.
11219 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11221 * docs/design/Makefile.am:
11222 Dist new design docs.
11224 2006-12-16 Wim Taymans <wim@fluendo.com>
11226 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11228 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11229 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11230 (gst_collect_pads_stop), (gst_collect_pads_event),
11231 (gst_collect_pads_chain):
11232 * libs/gst/base/gstcollectpads.h:
11233 Add refcounting to the collectpads data so we can track when it's safe
11234 to free the data. Fixes #383382.
11236 2006-12-15 Wim Taymans <wim@fluendo.com>
11238 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11239 (gst_collect_pads_remove_pad):
11240 Automatically activate/deactivate pads when they are added to a
11241 started/stoped collectpads.
11243 2006-12-15 Wim Taymans <wim@fluendo.com>
11245 * gst/gstelement.c: (gst_element_add_pad):
11246 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11247 * gst/gstpad.c: (gst_pad_init):
11248 Set pads to FLUSHING when they are created. Check, warn and fix when a
11249 demuxer adds an inactive pad to itself when running. Fixes #339326.
11251 2006-12-15 Wim Taymans <wim@fluendo.com>
11253 * gst/gstelement.c: (gst_element_class_init),
11254 (gst_element_default_send_event), (gst_element_send_event),
11255 (gst_element_default_query), (gst_element_query):
11256 Expose default element send_event and query handling as vmethods that
11257 subclasses can chain up to.
11259 2006-12-15 Wim Taymans <wim@fluendo.com>
11261 * gst/gstelement.c: (gst_element_set_state_func):
11262 Small documentation fixes.
11264 2006-12-15 Wim Taymans <wim@fluendo.com>
11266 * docs/design/draft-latency.txt:
11267 Checked in draft for handling latency in pipelines.
11269 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11273 * gstreamer.spec.in:
11276 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11278 * gst/gst.c: (init_pre), (init_post):
11279 init_pre() and init_post() might be called via our GOptionGroup or
11280 from gst_init(), and we should skip both of them if we've already
11281 been initialised, otherwise we will init some things twice or add
11282 two default log functions.
11284 2006-12-13 Edward Hervey <edward@fluendo.com>
11286 * docs/manual/basics-bus.xml:
11287 No, gst_main_loop does not exist. Its g_main_loop.
11288 Discovered by somebody who abused the copy-paste technique of coding :)
11290 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11292 * gst/gstghostpad.c:
11293 Log ghostpad debug stuff to the GST_PADS category as well rather
11294 than just to the default category.
11296 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11299 * gst/gst.c: (init_pre):
11300 Add some basic system details such as OS and architecture
11301 to the debug output if possible, courtesy of uname().
11303 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11305 * docs/gst/running.xml:
11306 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11307 environment variables.
11309 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11311 * tests/check/gst/gstbin.c: (GST_START_TEST):
11312 It is acceptable to have a refcount of 2 or 3 at this point in the
11313 test, because the pipeline might be just posting its state_change
11314 message. The next line then waits for that message to appear using
11315 bus_poll, so that should be fine too.
11317 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11319 * gst/gst.c: (ensure_current_registry_forking):
11320 Ignore EINTR when reading from the child registry pipe.
11321 Explicitly ignore the return value from close, since it makes no
11324 * gst/gstminiobject.c: (gst_mini_object_ref),
11325 (gst_mini_object_unref):
11326 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11328 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11329 When removing cached plugins, remove their features too, so they're
11330 not visible after they've disappeared.
11332 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11333 In the unlikely case that we are linking pads with no parents, don't
11334 crash trying to get the non-existent parent bin.
11336 * gst/parse/grammar.y:
11337 Output debug in the PIPELINE category
11339 2005-03-08 Wim Taymans <wim@fluendo.com>
11341 Patch by: René Stadler <mail at renestadler dot de>
11343 * gst/gstclock.c: (gst_clock_new_periodic_id):
11344 Reject invalid clock times for interval of periodic ids.
11347 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11349 * gst/gstelementfactory.c: (gst_element_factory_create):
11350 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11351 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11352 * tools/gst-inspect.c: (print_element_info):
11353 Fix refcounting of gst_plugin_feature_load to match the docs.
11356 2006-12-07 Wim Taymans <wim@fluendo.com>
11358 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11359 (gst_base_sink_get_position):
11360 Improve debugging of events.
11362 2006-12-07 Wim Taymans <wim@fluendo.com>
11364 Patch by: René Stadler <mail at renestadler dot de>
11366 * gst/gstclock.c: (gst_clock_id_wait):
11367 Make period ids add the interval to the origial requested time instead
11368 of the possibly updated time which can be wrong when there are multiple
11369 waiters for the same id. Fixes #382592.
11371 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11372 (gst_system_clock_id_wait_jitter_unlocked),
11373 (gst_system_clock_id_wait_jitter):
11374 Fix restart in the async notify thread when an async entry is added to
11375 the front of the list. Fixes #381492.
11377 * tests/check/gst/gstsystemclock.c: (store_callback),
11378 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11379 Added test for multiple async waits.
11380 Added test for async wait order.
11382 2006-12-07 Wim Taymans <wim@fluendo.com>
11384 * gst/gstbin.c: (gst_bin_query):
11385 Add some more docs about the POSITION query.
11387 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11390 Bump version nano - back to CVS.
11392 === release 0.10.11 ===
11394 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11397 releasing 0.10.11, "Love never runs on time"
11399 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11401 * win32/common/libgstbase.def:
11402 * win32/common/libgstreamer.def:
11403 * win32/vs8/libgstbase.vcproj:
11404 * win32/vs8/libgstcoreelements.vcproj:
11405 * win32/vs8/libgstreamer.vcproj:
11406 Fix compilation on win32 under VS8
11407 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11408 Partially fixes #381175
11410 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11412 * gst/gstvalue.c: (gst_value_compare_fraction):
11413 If someone is foolish enough to compare 2 fractions with denominator =
11414 0, return UNORDERED rather than aborting.
11416 2006-11-28 Edward Hervey <edward@fluendo.com>
11418 * libs/gst/base/Makefile.am:
11419 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11420 (gst_data_queue_base_init), (gst_data_queue_class_init),
11421 (gst_data_queue_init), (gst_data_queue_new),
11422 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11423 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11424 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11425 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11426 (gst_data_queue_set_flushing), (gst_data_queue_push),
11427 (gst_data_queue_pop), (gst_data_queue_drop_head),
11428 (gst_data_queue_set_property), (gst_data_queue_get_property):
11429 * libs/gst/base/gstdataqueue.h:
11430 New GstDataQueue object for threadsafe queueing. Most useful for
11431 elements that need some queueing functionnality.
11432 * docs/libs/gstreamer-libs-docs.sgml:
11433 * docs/libs/gstreamer-libs-sections.txt:
11434 Insert documentation for GstDataQueue
11435 * plugins/elements/Makefile.am:
11436 * plugins/elements/gstelements.c:
11437 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11438 (gst_multi_queue_class_init), (gst_multi_queue_init),
11439 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11440 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11441 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11442 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11443 (gst_multi_queue_loop), (gst_multi_queue_chain),
11444 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11445 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11446 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11447 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11448 (wake_up_next_non_linked), (compute_next_non_linked),
11449 (single_queue_overrun_cb), (single_queue_underrun_cb),
11450 (single_queue_check_full), (gst_single_queue_new):
11451 * plugins/elements/gstmultiqueue.h:
11452 New multiqueue element, using GstDataQueue. Used for queuing multiple
11454 Closes #344639 and #347785
11456 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11458 * docs/pwg/advanced-types.xml:
11459 add more missing type details
11461 * tools/gst-run.c: (main):
11462 remove unused variable
11464 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11466 * docs/libs/Makefile.am:
11467 * docs/libs/gstreamer-libs.types:
11468 add types of base classes to enable gobject specific stuff in the docs
11470 * docs/random/ensonic/embedded.txt:
11471 more ideas about isolating platform specific things
11473 2006-11-20 Wim Taymans <wim@fluendo.com>
11475 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11477 * libs/gst/check/gstcheck.h:
11478 Fix compilation and running against 0.9.4. Fixes #377332.
11480 2006-11-20 Wim Taymans <wim@fluendo.com>
11482 * gst/gstsegment.c: (gst_segment_set_seek),
11483 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11484 (gst_segment_to_running_time):
11485 Fix boundary checking in to_running_time() and to_stream_time().
11488 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11489 stream and running time can now be calculated for the complete
11492 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11494 * gst/gstpad.c: (gst_pad_push_event):
11495 Can't access event structure after giving away ownership of
11498 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11500 * docs/random/ensonic/embedded.txt:
11501 * docs/random/ensonic/profiling.txt:
11502 * docs/random/ensonic/receipies.txt:
11505 2006-11-13 Wim Taymans <wim@fluendo.com>
11507 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11510 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11512 2006-11-13 Wim Taymans <wim@fluendo.com>
11514 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11516 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11517 Store new length in segment duration so we don't keep on calling the
11518 potentially expensize get_size() call. Fixes #370865.
11520 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11522 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11524 * win32/common/libgstreamer.def:
11525 Add two missing symbols (#366492).
11527 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11529 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11530 (gst_adapter_take_buffer):
11531 Fix format string to use all its arguments.
11532 Remove useless >= check on a guint
11534 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11536 * tests/examples/adapter/.cvsignore:
11537 Ignore build file as commanded by the build-bot
11539 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11541 * tests/examples/adapter/Makefile.am:
11542 * tests/examples/adapter/adapter_test.c: (run_test_take),
11543 (run_test_take_buffer), (run_tests), (main):
11545 Add new files from the previous commit
11547 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11551 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11552 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11553 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11554 * libs/gst/base/gstadapter.h:
11555 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11556 (GST_START_TEST), (gst_adapter_suite):
11557 * tests/examples/Makefile.am:
11558 Do some optimisation work in GstAdapter to avoid copies in more cases.
11559 It could still do slightly better by merging buffers when
11560 gst_buffer_is_span_fast is true, but is already faster.
11562 Also, avoid traversing a single-linked list to append each incoming
11563 buffer inside the adapter.
11565 Add simple test app that times the adapter behaviour in different
11566 situations, and extend the unit test to check that bytes enter and
11567 exit the adapter in their original order.
11569 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11571 * docs/random/draft-missing-plugins.txt:
11572 Update: use element message instead of adding a new message
11573 type to the core; don't provide GStreamer API to initiate the
11574 plugin download, just provide API to compose the strings needed
11575 and let an external libgimmestuff handle the rest.
11577 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11579 * tools/gst-inspect.c: (print_element_properties_info):
11580 Print a string instead of 'unknown type' for GValueArray properties
11582 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11584 * docs/random/draft-missing-plugins.txt:
11587 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11589 * tests/examples/typefind/typefind.c: (type_found), (main):
11590 Make typefind element example work again (#371894); add a
11593 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11595 * docs/random/draft-missing-plugins.txt:
11596 Commit initial draft about how to deal with missing plugins,
11597 needs work (API too).
11599 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11601 * docs/pwg/advanced-types.xml:
11602 documents the new caps elements (see #363118)
11604 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11606 * gst/gstplugin.c: (gst_plugin_load_file):
11607 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11608 (gst_file_src_map_region), (gst_file_src_start):
11609 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11610 (gst_file_index_commit):
11611 Use g_strerror() instead of strerror() - we want UTF-8.
11613 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11615 Patch by: Peter Kjellerstedt <pkj at axis com>
11617 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11618 Another printf fix (#371493).
11620 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11622 * tests/check/gst/gsttag.c:
11623 relicence (okay with author=company)
11625 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11627 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11628 (gst_pad_push_event):
11629 Enhance debug and improve docs
11634 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11636 * docs/random/ensonic/distributed.txt:
11637 * docs/random/ensonic/profiling.txt:
11640 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11642 * docs/gst/gstreamer-sections.txt:
11643 add new API and fix the build
11645 * gst/gstbin.c: (gst_bin_recalc_state):
11646 * gst/gstelement.c: (gst_element_message_full),
11647 (gst_element_get_state_func), (gst_element_set_state_func):
11648 use new API and improve logging
11650 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11652 API: add function to get StateChangereturn names to improve logs
11654 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11656 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11657 I'm considering shooting the next person to put strerror stuff
11658 in the translateable part of the message.
11660 2006-11-03 Wim Taymans <wim@fluendo.com>
11662 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11663 Get the type and printf conversion specifiers right.
11665 2006-11-03 Wim Taymans <wim@fluendo.com>
11667 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11669 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11670 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11671 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11672 Some small cleanups. Improve debugging.
11674 Signal all waiting threads with a broadcast instead of just one.
11677 2006-11-03 Wim Taymans <wim@fluendo.com>
11679 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11680 (gst_fd_src_create):
11681 Add some debugging.
11682 Only update fd when it's different from the old.
11684 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11686 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11687 Printf fixes for PPC/OSX, take two (#369366).
11689 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11691 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11693 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11694 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11695 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11696 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11697 don't cast to long long for portability reasons, but use
11698 GLib's types instead.
11700 2006-10-30 Michael Smith <msmith@fluendo.com>
11702 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11703 Get the arguments to lseek() the right way around.
11706 2006-10-30 Wim Taymans <wim@fluendo.com>
11708 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11711 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11713 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11715 Patch by: Kjartan Maraas <kmaraas at gnome org>
11717 * docs/design/part-MT-refcounting.txt:
11718 * docs/random/wtay/capsnego2-docs:
11721 Typo fixes (#366212).
11723 2006-10-28 Wim Taymans <wim@fluendo.com>
11725 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11728 * win32/common/libgstbase.def:
11729 * win32/common/libgstreamer.def:
11730 * win32/vs8/libgstbase.vcproj:
11731 * win32/vs8/libgstcontroller.vcproj:
11732 Add needed entries in .def files.
11734 Rearrange def files in vs8 solutions. Fixes #366286.
11736 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11738 * win32/common/gstconfig.h:
11739 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11740 hand-made win32 gstconfig.h. Fixes #366321.
11742 2006-10-27 Wim Taymans <wim@fluendo.com>
11744 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11745 (gst_ghost_pad_new_full):
11746 Make acceptcaps return TRUE when we don't have a target, just like
11749 2006-10-27 Wim Taymans <wim@fluendo.com>
11751 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11752 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11754 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11756 * gst/gststructure.c: (gst_structure_id_set_value):
11757 If someone tries to set a non-UTF8 string field on a structure,
11758 don't just print a warning, but also ignore the request and do
11759 not change/add that field to the structure.
11761 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11762 Test for the above.
11764 2006-10-25 David Schleef <ds@schleef.org>
11767 g_hash_table_insert() needs a cast to a non-const pointer duh.
11769 2006-10-25 David Schleef <ds@schleef.org>
11773 Change name parameter of _gst_debug_register_funcptr to const
11774 to reflect the constness of its use in the function as well
11775 as to quiet a gcc warning.
11777 2006-10-25 Edward Hervey <edward@fluendo.com>
11779 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11780 Don't push the buffer if it's empty.
11783 2006-10-24 Wim Taymans <wim@fluendo.com>
11788 * libs/gst/base/gstbasetransform.c:
11789 (gst_base_transform_sink_eventfunc):
11790 Debug segment values *after* updating them as this is more
11793 2006-10-23 Wim Taymans <wim@fluendo.com>
11795 * docs/design/part-events.txt:
11798 * docs/design/part-block.txt:
11799 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11800 (gst_pad_push_event):
11801 Revert BLOCKING patch, it tries to be smart without really having a
11802 clear idea what or how. So, now we discard all FLUSHING events again on
11803 a blocking pad. Should fix gnonlin again.
11805 2006-10-23 Wim Taymans <wim@fluendo.com>
11807 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11809 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11810 (gst_base_src_start), (gst_base_src_activate_push):
11811 Make sure size is always initialized. Fixes #364388.
11813 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11815 * docs/random/ensonic/distributed.txt:
11816 add some ideas about doing distributed processing
11818 * docs/random/ensonic/profiling.txt:
11819 get_rusage look promising
11821 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11823 * docs/manual/basics-helloworld.xml:
11824 Add a cast in example to fix compile warning
11826 2006-10-18 Wim Taymans <wim@fluendo.com>
11828 * gst/gstsegment.c: (gst_segment_set_last_stop),
11829 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11830 Relax arg checking again, -1 is allowed.
11832 2006-10-18 Wim Taymans <wim@fluendo.com>
11834 * gst/gstsegment.c: (gst_segment_set_last_stop),
11835 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11836 _set_last_stop() must be with a value != -1
11837 A _TYPE_SET to -1 means seek to 0.
11838 Calc last_stop correctly for negative rates.
11839 Make sure we work with positive durations when updating a segment.
11841 2006-10-18 Wim Taymans <wim@fluendo.com>
11843 * docs/design/part-live-source.txt:
11847 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11850 Add an explicit cast to GstBuffer** to keep old code that added an
11851 explicit cast to GstMiniObject** for gst_mini_object_replace()
11852 compiling without warning.
11854 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11856 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11857 check for validity of dates
11859 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11861 * docs/gst/gstreamer-sections.txt:
11862 Forgot this one, makes gtk-doc shut up.
11864 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11866 Patch by: Peter Kjellerstedt <pkj at axis com>
11869 Don't define xmlNodePtr to gpointer if the core was built with
11870 --disable-loadsave and --disable-registry, this will break
11871 applications that want to use libxml2 but are buildling against a
11872 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11873 instead so we don't have to mess with the libxml2 namespace
11876 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11879 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11880 type-punned pointer warnings.
11882 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11884 * gst/gstelement.h:
11885 Add casts to the correct return type to state <=> state transition
11888 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11890 * docs/design/part-live-source.txt:
11891 describe howto handle latency
11893 * docs/random/ensonic/profiling.txt:
11896 * tools/gst-plot-timeline.py:
11897 fix log parsing for solaris, remove unused function
11899 2006-10-16 Wim Taymans <wim@fluendo.com>
11901 * docs/design/part-trickmodes.txt:
11903 Update some docs regarding reverse playback.
11905 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11907 Patch by: Marcus Granado <mrc dot gran at gmail com>
11909 * win32/vs8/grammar.vcproj:
11910 Error out with a warning if glib-genmarshal.exe is not in path,
11911 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11913 2006-10-13 Wim Taymans <wim@fluendo.com>
11915 * gst/gstsegment.c: (gst_segment_set_seek):
11916 When seeking to stop -1, set last_stop (current position) to the
11917 duration of the segment.
11919 2006-10-13 Wim Taymans <wim@fluendo.com>
11921 * gst/gstelement.h:
11922 Clarify _NO_PREROLL a bit more.
11927 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11928 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11929 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11930 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11931 due to wrong locking order. Fixes #361769.
11932 Remove some redundant/misplaced checks in pad_block.
11934 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11935 For negative rates, count backwards from the duration.
11937 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11939 * gst/gsterror.c: (_gst_library_errors_init):
11940 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11941 up with something better).
11943 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11945 * win32/vs6/libgstreamer.dsp:
11946 * win32/vs7/libgstreamer.vcproj:
11947 * win32/vs8/libgstreamer.vcproj:
11948 Don't reference glib-compat.c which is currently not used and not
11949 disted; add gstquark.c which was recently added. Fixes #361730.
11951 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11953 * win32/common/libgstbase.def:
11954 * win32/common/libgstcontroller.def:
11955 * win32/common/libgstreamer.def:
11956 Add gst_caps_merge() and a bunch of other recently-added functions.
11959 2006-10-11 Wim Taymans <wim@fluendo.com>
11961 * docs/plugins/gstreamer-plugins.args:
11962 * docs/plugins/inspect/plugin-coreelements.xml:
11963 * docs/plugins/inspect/plugin-coreindexers.xml:
11964 Update element args.
11966 * gst/gstsystemclock.c:
11967 Small comment update.
11969 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11970 (gst_tee_request_new_pad), (gst_tee_release_pad),
11971 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11972 (gst_tee_sink_activate_pull):
11973 * plugins/elements/gsttee.h:
11975 Add default property defines.
11976 Implement release pad function.
11977 Give properties better blubs etc.
11978 Activate pads before adding them to a running tee.
11979 Do simple buffer_alloc on the first requested pad.
11980 Post error when activation fails.
11982 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11984 * gst/gst.c: (ensure_current_registry_forking):
11985 Check return value of write() to make compiler happy.
11987 2006-10-11 Wim Taymans <wim@fluendo.com>
11989 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11991 * plugins/elements/gstqueue.c: (gst_queue_chain):
11992 Recheck queue filledness after signalling the overrun when we're about
11993 to leak downstream because we released the lock when emitting the signal
11994 and the queue could be empty again. Fixes #352345.
11996 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11998 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11999 Fix refcounting here too, just like we did for _new_valist() a few
12000 days ago (#357180) (thanks to René Stadler). Also remove all those
12001 'Since: 0.9' from the gtk-doc blobs.
12003 * tests/check/libs/controller.c: (controller_refcount_new_list),
12004 (gst_controller_suite):
12005 Unit test for the above.
12007 2006-10-10 Wim Taymans <wim@fluendo.com>
12009 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12011 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12012 (gst_pad_save_thyself):
12014 Write pad direction in XML output. Fixes #345496.
12016 2006-10-10 Wim Taymans <wim@fluendo.com>
12018 Patch by: René Stadler <mail at renestadler dot de>
12020 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12021 (gst_controller_new_list), (_gst_controller_dispose),
12022 (_gst_controller_finalize), (_gst_controller_class_init):
12023 Take ref to controlled object so that it cannot disappear.
12026 2006-10-10 Wim Taymans <wim@fluendo.com>
12028 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12029 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12030 (gst_check_teardown_sink_pad):
12031 Activate/deactivate pads in setup/teardown respectively.
12033 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12035 Patch by: Josep Torra Valles <josep@fluendo.com>
12038 Cast values when making gstenumtypes.h. This pacifies Forte
12039 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12040 in the enumeration.
12042 2006-10-09 Wim Taymans <wim@fluendo.com>
12044 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12045 Rename some more @cur to @start to fix docs.
12047 * gst/gstsegment.c: (gst_segment_set_seek):
12049 time and start must always stay in sync as defined in design doc.
12051 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12052 Rename param to fix docs.
12054 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12055 Check that start and time are in sync.
12057 * tests/check/pipelines/parse-launch.c:
12058 (gst_parse_test_element_change_state):
12059 Activate pad before adding to the element.
12061 2006-10-09 Wim Taymans <wim@fluendo.com>
12063 * docs/design/part-qos.txt:
12068 Update seek event docs regarding negative rates.
12069 Rename @cur to @start.
12071 * gst/gstsegment.c: (gst_segment_set_seek):
12072 * gst/gstsegment.h:
12073 Update set_seek docs regarding negative rates.
12074 Correctly update last_stop to @stop when dealing with negative
12076 Rename @cur to @start.
12078 * tests/check/gst/gstpad.c: (GST_START_TEST):
12079 Activate pads before trying to use them.
12081 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12082 (gst_segment_suite):
12083 Add simple check for segments and negative rates.
12085 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12087 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12088 * gst/gsttaglist.h:
12089 * docs/gst/gstreamer-sections.txt:
12090 API: add gst_tag_list_is_empty() (#360467).
12092 * tests/check/gst/gsttag.c: (GST_START_TEST):
12095 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12097 * gst/gstmessage.h:
12098 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12099 a value that doesn't fit on enumeration.
12101 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12103 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12104 Remove local debugging system and use Gstreamer's instead.
12106 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12108 Patch by: Josep Torra Valles <josep@fluendo.com>
12110 * common/m4/gst-error.m4:
12111 Disable warning of statement not reached on Forte.
12112 * gst/gstmessage.h:
12113 Fix warning on Forte (value doesn't fit on enumeration).
12114 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12115 Fix warning on Forte (value doesn't fit on enumeration).
12116 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12117 DEBUG macro says it takes minimum of 2 args and so Forte
12118 complains about the use with just 1 arg.
12119 * plugins/elements/gstfdsink.c:
12120 * plugins/elements/gstfdsrc.c:
12121 * plugins/elements/gstfilesink.c:
12122 * plugins/elements/gstfilesrc.c:
12123 Use correct return type for the uri handler implementations.
12125 All these fix warnings in Forte. Fixes bug #360860.
12127 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12129 * gst/gstelement.h:
12130 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12131 format string, so don't use G_GNUC_PRINTF for those versions.
12133 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12135 * gst/gsttaglist.c: (gst_is_tag_list):
12136 * gst/gsttaglist.h:
12137 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12139 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12140 Small test for the above.
12142 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12144 * gst/gsttaglist.h:
12145 Less tabs, more spaces.
12147 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12150 Those two function declarations do actually belong there, revert
12151 commit from yesterday that turned them intro macros.
12153 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12155 Patch by: Josep Torra Valles <josep@fluendo.com>
12157 * gst/gst.c: (gst_init_get_option_group):
12158 Fix empty declaration and type mismatch.
12159 * gst/gstbin.c: (gst_bin_change_state_func):
12161 * gst/gstelement.c: (gst_element_continue_state),
12162 (gst_element_set_state_func), (gst_element_change_state),
12163 (gst_element_change_state_func):
12164 Fix type mismatches.
12165 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12166 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12167 Cast as appropriate.
12168 * gst/gstobject.c: (gst_class_signal_connect):
12169 Cast as appropriate. The function pointer parameter really
12170 has the wrong type but would break API if we change it.
12172 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12173 order of including string.h.
12174 * gst/gstutils.c: (gst_element_state_get_name):
12175 Remove unreachable line.
12176 * gst/gstxml.c: (gst_xml_parse_doc):
12178 All these caught by Forte.
12180 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12182 Patch by: Josep Torra Valles <josep@fluendo.com>
12184 * common/m4/gst-error.m4:
12186 We need to disable warnings on Forte for empty declarations
12187 due to gst-indent adding ;s to lines that just use macros
12188 where the macro actually doesn't need a ; at end to end
12191 2006-10-06 Wim Taymans <wim@fluendo.com>
12193 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12194 (gst_file_sink_close_file), (gst_file_sink_event),
12195 (gst_file_sink_render):
12196 Add some FIXME for the NEWSEGMENT handling.
12198 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12200 * gst/parse/grammar.y:
12201 Remove static function gst_parse_element_lock as all it does
12202 is return. Looks like cruft from 0.8.
12204 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12206 Patch by: Josep Torra Valles <josep@fluendo.com>
12208 * common/m4/gst-error.m4:
12210 * libs/gst/net/Makefile.am:
12211 Fix a compilation issue with Forte on Solaris. inet_aton is in
12214 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12216 * gst/gstpad.c: (pre_activate):
12217 * gst/gstregistry.c: (gst_registry_scan_path_level):
12218 * gst/gstregistryxml.c: (load_plugin):
12219 * libs/gst/controller/gstcontroller.c:
12220 (gst_controlled_property_set_interpolation_mode):
12221 * libs/gst/dataprotocol/dataprotocol.c:
12222 (gst_dp_packet_from_event_1_0):
12223 * libs/gst/net/gstnetclientclock.c:
12224 (gst_net_client_clock_observe_times):
12225 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12228 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12231 * docs/gst/gstreamer-sections.txt:
12232 * gst/gstconfig.h.in:
12233 * gst/gstelement.h:
12235 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12236 whether we can use G_GNUC_PRINTF in other header files and at
12237 least check the printf format/arguments of debug messages and
12238 GST_ELEMENT_ERROR messages when the printf extension is not
12240 Replace more tabs with spaces in gstinfo.h and remove two spurious
12241 function declarations in GST_DISABLE_DEBUG part with macros.
12243 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12245 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12246 More docs for the sync-message signal (mention that it is not
12247 emitted by default); log message structures of messages posted on
12250 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12252 * gst/gst.c: (ensure_current_registry_forking):
12253 Use a pipe pair to receive status results from the forked child, and
12254 ignore the result from waitpid. Fixes #355499
12256 2006-10-02 Wim Taymans <wim@fluendo.com>
12258 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12259 (gst_ghost_pad_suite):
12262 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12265 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12267 2006-10-02 Edward Hervey <edward@fluendo.com>
12269 * docs/design/part-block.txt:
12270 Further explain the use of flushing on blocked pads.
12271 * docs/gst/gstreamer-sections.txt:
12272 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12273 (gst_pad_push_event):
12275 Added new GstPadFlag : GST_PAD_BLOCKING.
12276 Adds the notion of pads really blocking, which enables to properly
12277 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12279 API: gst_pad_is_blocking()
12280 API: GST_PAD_IS_BLOCKING() macro
12281 API: GST_PAD_BLOCKING GstPadFlag
12283 2006-10-02 Wim Taymans <wim@fluendo.com>
12285 Patch by: mrcgran <mrc.gran at gmail dot com>
12287 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12288 Filter the proxied caps against the padtemplate if we have one.
12290 * gst/gstquery.c: (gst_query_new_segment):
12291 Add include for gstinfo.h so that compilation with
12292 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12294 2006-10-02 Wim Taymans <wim@fluendo.com>
12296 Patch by: Alessandro Decina <alessandro at nnva org>
12298 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12299 (gst_file_sink_set_location), (gst_file_sink_open_file),
12300 (gst_file_sink_close_file), (gst_file_sink_event),
12301 (gst_file_sink_render):
12302 Set file to NULL when closing filesink so that we can set a new filename
12303 in READY. Fixes #358613.
12305 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12307 Patch by: Alessandro Decina <alessandro at nnva org>
12309 * gst/gstevent.c: (_gst_event_copy):
12310 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12311 with event structures by setting the parent refcount address of the
12312 copied structure to the address of the refcount member of the newly
12313 copied event rather than the address of the refcount member of the
12314 original event. Fixes #358737.
12316 * tests/check/gst/gstevent.c: (GST_START_TEST):
12317 Unit test for the above.
12319 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12321 * docs/design/Makefile.am:
12322 Dist some more files.
12324 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12326 * tests/check/libs/controller.c: (GST_START_TEST),
12327 (gst_controller_suite):
12328 Add test for the previous fix; add some more tests
12329 for correct refcounting behaviour; fix a few leaks
12330 in test cases; call gst_controller_init() at start
12333 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12335 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12336 (gst_controller_set_from_list):
12337 Don't g_return_val_if_fail() on timed values with invalid timestamps
12338 inside a critical section without unlocking the mutex. Spotted by
12339 René Stadler. (#357617)
12340 Also, fix up refcounting properly: when returning an existing
12341 controller, we should increase the reference only once and not
12342 once per property and when trying to control a property again
12343 we should also increase the refcount.
12345 2006-09-29 Wim Taymans <wim@fluendo.com>
12347 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12348 * libs/gst/net/gstnettimeprovider.c:
12349 (gst_net_time_provider_thread):
12350 Stop reading commands when EOF as well.
12352 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12353 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12354 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12355 Unify description of the dump property.
12357 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12359 * tests/examples/manual/.cvsignore:
12360 OK, so it's actually cvsignore that needs changing. Stop laughing.
12362 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12364 * tests/examples/manual/Makefile.am:
12365 Gah, declare vars *before* using them
12367 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12369 * gst/gst.c: (init_pre), (scan_and_update_registry),
12370 (ensure_current_registry_nonforking),
12371 (ensure_current_registry_forking), (ensure_current_registry),
12372 (init_post), (gst_debug_help), (gst_deinit):
12373 * gst/gst_private.h:
12374 * gst/gstregistry.c: (gst_registry_finalize),
12375 (gst_registry_remove_features_for_plugin_unlocked),
12376 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12377 (gst_registry_scan_path),
12378 (_priv_gst_registry_remove_cache_plugins),
12379 (_priv_gst_registry_cleanup):
12380 * gst/gstregistry.h:
12381 Re-commit the registry changes, along with an extra fix:
12382 When a cached plugin is encountered at a different file path,
12383 update the stored path in the registry cache so that the parent
12384 process knows where it actually is now when it re-reads the registry
12385 cache. Fixes the thing that broke distcheck with the previous commit.
12387 * tests/check/Makefile.am:
12388 Clean up files named 'core' too when running make clean.
12390 * tests/examples/manual/Makefile.am:
12391 Set up a registry path for running these tests, and clean it properly
12394 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12397 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12398 want gmodule-no-export-2.0.pc instead so that we don't drag in
12399 --export-dynamic on every project that links to GStreamer.
12401 Also, make our export regex only match the start of symbols, rather
12402 than any symbol that contains '_gst' somewhere.
12404 * libs/gst/check/Makefile.am:
12405 The libgstcheck we build does however need export-dynamic, as it
12406 produces some symbols that don't match our _gst... style regex.
12409 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12411 * gst/gst.c: (init_pre), (scan_and_update_registry),
12412 (ensure_current_registry_nonforking),
12413 (ensure_current_registry_forking), (ensure_current_registry),
12414 (init_post), (gst_debug_help), (gst_deinit):
12415 * gst/gst_private.h:
12416 * gst/gstregistry.c: (gst_registry_finalize),
12417 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12418 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12419 (_gst_registry_cleanup):
12420 * gst/gstregistry.h:
12421 Revert previous change until I figure out why it breaks distcheck.
12423 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12425 * gst/gst.c: (init_pre), (scan_and_update_registry),
12426 (ensure_current_registry_nonforking),
12427 (ensure_current_registry_forking), (ensure_current_registry),
12428 (init_post), (gst_debug_help), (gst_deinit):
12430 Make init_pre and init_post take the full complement of GOptionFunc
12431 args so they can return useful GErrors. Make the registry updating
12434 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12435 ensure that the registry we're about to write out doesn't contain
12436 stale information about old-deleted plugin files.
12438 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12439 that deletion of plugin files is considered a registry change.
12441 * gst/gst_private.h:
12442 * gst/gstregistry.c: (gst_registry_finalize),
12443 (gst_registry_remove_features_for_plugin_unlocked),
12444 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12445 (gst_registry_scan_path),
12446 (_priv_gst_registry_remove_cache_plugins),
12447 (_priv_gst_registry_cleanup):
12448 * gst/gstregistry.h:
12449 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12450 by adding _priv prefix, so that they won't appear in the global
12451 symbol table. They still do atm though because of #318031. Move the
12452 prototypes to gst_private.h
12454 When removing a plugin, remove all features for that plugin too.
12457 2006-09-27 Wim Taymans <wim@fluendo.com>
12459 * docs/random/moving-plugins:
12460 Make it clear that the "compiled-in descriptions" really mean
12461 the element details.
12463 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12464 (gst_base_sink_wait_preroll):
12467 * docs/libs/gstreamer-libs-sections.txt:
12468 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12469 (gst_base_src_get_range), (gst_base_src_activate_push):
12470 * libs/gst/base/gstbasesrc.h:
12471 Added function to block while waiting for PLAYING, this function
12472 is used by live sources that block on the clock.
12473 API: gst_base_src_wait_playing()
12475 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12477 Patch by: Peter Kjellerstedt <pkj at axis com>
12480 gst-element-check.m4 is generated and should therefore be
12481 copied from the build dir rather than the source dir (#357593).
12482 'make distcheck' hasn't noticed this because we were disting
12483 the file as well, so stop doing that.
12485 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12487 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12488 Add some tests for gst_caps_intersect().
12490 * tools/gst-launch.c: (event_loop):
12491 Print all buffering percentages we get, even the 100% one.
12493 2006-09-26 Wim Taymans <wim@fluendo.com>
12495 * tools/gst-inspect.c: (print_element_properties_info),
12496 (print_signal_info):
12497 Fix printing of flags to match the look of enums.
12499 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12501 * gst/gstelementfactory.c:
12502 Fix typo in docs blurb.
12504 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12506 * gst/gsturi.c: (search_by_entry):
12507 Don't assert/crash here if a uri handler doesn't return any
12508 supported protocols. The list of protocols could be generated
12509 dynamically at runtime or at plugin registration, and an error
12510 in the underlying library shouldn't be fatal (#353301).
12512 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12515 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12516 (spotted by Peter Kjellerstedt).
12518 2006-09-23 Wim Taymans <wim@fluendo.com>
12520 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12522 * libs/gst/base/gstbasesrc.c:
12523 (gst_base_src_default_check_get_range), (gst_base_src_start),
12524 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12525 (gst_base_src_change_state):
12526 Match _start/_stop calls in the activate functions. Remove redundant
12527 _stop call from the state change function. Fixes #356910.
12528 Turn failure DEBUG into ERROR.
12530 2006-09-22 Wim Taymans <wim@fluendo.com>
12532 * docs/design/part-buffering.txt:
12533 * gst/gstmessage.c: (gst_message_new_buffering),
12534 (gst_message_parse_buffering):
12535 Update docs about buffering.
12537 * docs/design/part-trickmodes.txt:
12540 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12542 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12543 (gst_controller_new_list):
12544 Ref instances when returning them again (fixes #357180)
12546 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12548 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12549 Don't forget to release proxy lock when there's an error.
12551 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12554 Add extra initialisers for Caps things, to fix some plugin warnings
12557 2006-09-18 Wim Taymans <wim@fluendo.com>
12559 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12560 Also set template on the internal pad so that a getcaps from the
12561 target pad returns the template caps.
12563 2006-09-18 Wim Taymans <wim@fluendo.com>
12565 * gst/gstelement.c: (gst_element_post_message),
12566 (gst_element_dispose):
12567 Use _DEBUG_OBJECT some more.
12569 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12572 * tools/gst-launch.c: (main):
12573 If the toplevel element is not a GstPipeline, it must be put in a
12574 pipeline so that a bus and clock is selected.
12576 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12578 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12579 JITTER, RATE, and LATENCY query should be handled by the
12580 default case and not by the CONVERT query code.
12582 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12584 * gst/gstformat.c: (gst_format_register):
12585 Fix locking order (must take lock before using n_values).
12587 * gst/gstvalue.c: (gst_value_serialize_enum),
12588 (gst_value_deserialize_enum_iter_cmp),
12589 (gst_value_deserialize_enum):
12590 Fix serialisation/deserialisation of custom registered GstFormats.
12592 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12593 Unit test for custom format serialisation/deserialisation.
12595 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12597 * docs/pwg/building-boiler.xml:
12598 * plugins/elements/gstcapsfilter.c:
12599 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12602 2006-09-16 Edward Hervey <edward@fluendo.com>
12604 * libs/gst/base/gstbasetransform.c:
12605 (gst_base_transform_buffer_alloc):
12606 Check if requested caps are the same as the sinks caps IF
12607 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12609 This fixes the renegotiation issues stated in #352827.
12611 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12614 * docs/manual/advanced-autoplugging.xml:
12615 * tests/examples/Makefile.am:
12616 * tests/examples/manual/.cvsignore:
12617 * tests/examples/manual/Makefile.am:
12618 * tests/examples/manual/extract.pl:
12619 Extract the manual examples again like we used to do.
12622 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12624 * win32/common/config.h:
12627 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12630 Documents how to receive errors.
12632 2006-09-15 Wim Taymans <wim@fluendo.com>
12634 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12635 (event_loop), (main):
12636 Added some comments here and there.
12637 Post an application message when an interrupt is caught instead of doing
12638 an uncontrolled state change.
12639 Clean up the event loop.
12640 Handle buffering messages, pause/resume the pipeline.
12641 Make shutdown because of an interrupt more reliable.
12643 2006-09-15 Wim Taymans <wim@fluendo.com>
12645 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12646 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12647 (gst_base_sink_preroll_object):
12648 Make sure that our internal state is correct when we commit our state
12649 asynchronously. This solves a race where a state change to PLAYING
12650 could cause the sink to remain blocked in preroll in some situations.
12652 2006-09-15 Wim Taymans <wim@fluendo.com>
12654 * tools/gst-inspect.c: (print_element_properties_info),
12655 (print_signal_info):
12656 List flags as hex so it's easier to deal with.
12658 2006-09-15 Wim Taymans <wim@fluendo.com>
12660 * docs/libs/gstreamer-libs-sections.txt:
12661 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12662 (gst_base_sink_do_sync):
12663 * libs/gst/base/gstbasesink.h:
12664 Expose logic to wait for preroll so that subclasses such as audiosink
12665 can also use this method.
12666 API: gst_base_sink_wait_preroll()
12668 2006-09-15 Wim Taymans <wim@fluendo.com>
12670 * gst/gstobject.c: (gst_object_set_parent):
12671 * gst/gstpipeline.c: (do_pipeline_seek):
12672 Small cleanups in docs and code.
12674 * gst/gstsegment.c: (gst_segment_clip):
12675 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12676 if stop == start and start is in the segment, no clipping should be
12677 done. Also add a test for this.
12679 2006-09-15 Wim Taymans <wim@fluendo.com>
12681 * docs/design/part-buffering.txt:
12682 * docs/gst/gstreamer-sections.txt:
12683 * gst/gstmessage.c: (gst_message_new_buffering),
12684 (gst_message_parse_buffering):
12685 * gst/gstmessage.h:
12686 Added methods to create and parse BUFFERING messages.
12687 Added preliminary docs about buffering.
12688 API: gst_message_new_buffering
12689 API: gst_message_parse_buffering
12691 2006-09-06 Wim Taymans <wim@fluendo.com>
12694 Update documentation.
12696 * gst/gstelement.c: (gst_element_class_init),
12697 (gst_element_release_request_pad), (gst_element_set_clock),
12698 (gst_element_get_index), (gst_element_add_pad),
12699 (gst_element_remove_pad), (gst_element_get_random_pad),
12700 (gst_element_send_event), (gst_element_get_query_types),
12701 (gst_element_query), (gst_element_post_message),
12702 (gst_element_message_full), (gst_element_continue_state),
12703 (gst_element_lost_state), (gst_element_save_thyself),
12704 (gst_element_restore_thyself):
12705 Documentation updates.
12706 Rename last bit of the new-pad -> pad-added signal rename.
12707 Fix the case where an element query would only work if the source
12709 Avoid some useless type checking in message handling.
12714 Documentation updates.
12716 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12718 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12719 add an INFO line for when we actually update the fd
12721 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12726 === release 0.10.10 ===
12728 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12731 releasing 0.10.10, "Pais"
12733 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12735 * docs/manual/advanced-position.xml:
12736 Fix typo in sample code.
12738 2006-09-05 Wim Taymans <wim@fluendo.com>
12740 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12741 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12742 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12743 * libs/gst/net/gstnetclientclock.h:
12744 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12745 * libs/gst/net/gstnettimepacket.h:
12746 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12747 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12748 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12749 * libs/gst/net/gstnettimeprovider.h:
12750 Make stuff compile on windows. Fixes #345295.
12752 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12754 * gst/gst.c: (ensure_current_registry_forking):
12755 Print better details when child was terminated by signal.
12757 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12759 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12760 Print a warning rather than g_assert() if a plugin feature
12761 is a URI handler but returns no protocols (#353976).
12763 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12765 * docs/random/moving-plugins:
12768 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12770 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12771 Fix locking order, handle NULL function values properly.
12776 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12777 Initialise variable before using it and fix debug statement to
12778 print the address of the function rather than the address of the
12779 variable on the stack holding the address of the function.
12781 2006-09-01 Wim Taymans <wim@fluendo.com>
12783 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12784 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12785 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12786 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12787 (gst_ghost_pad_parent_unset),
12788 (gst_ghost_pad_internal_do_activate_push),
12789 (gst_ghost_pad_internal_do_activate_pull),
12790 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12791 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12792 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12793 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12794 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12795 (gst_ghost_pad_new_no_target_from_template),
12796 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12798 Avoid needless typechecking in macros.
12799 Since the internal pad is always present and never changes, there is
12800 no need to locking or ref when retrieving it.
12801 Improve debugging a bit.
12802 Handle link errors when setting the target. Fixes #341029.
12804 2006-09-01 Wim Taymans <wim@fluendo.com>
12806 * docs/libs/gstreamer-libs-sections.txt:
12807 * docs/plugins/gstreamer-plugins-sections.txt:
12808 Fix docs some more.
12810 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12811 (gst_collect_pads_event):
12812 * libs/gst/base/gstcollectpads.h:
12813 Documentation updates.
12814 Free queued buffer when removing a pad.
12816 2006-08-31 Michael Smith <msmith@fluendo.com>
12818 * gst/gstutils.c: (gst_element_link_pads),
12819 (gst_element_link_pads_filtered):
12820 Ensure that we set a capsfilter to NULL if we failed to link it
12821 when doing filtered linking, to avoid criticals.
12823 No need to check for unreffing srcpad, which is explicly NULLed
12824 above (a trivial code cleanup).
12826 2006-08-31 Wim Taymans <wim@fluendo.com>
12828 * docs/design/part-gstghostpad.txt:
12829 Update ascii art in documentation.
12831 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12832 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12833 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12834 (gst_ghost_pad_internal_do_activate_push),
12835 (gst_ghost_pad_internal_do_activate_pull),
12836 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12837 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12838 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12839 (gst_ghost_pad_set_target):
12840 Small cleanups and leak fixes.
12841 Remove some checks now that the internal pad is never NULL.
12842 Fix the case where linking pads without a target would create nasty
12843 criticals. Fixes #341029.
12844 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12845 value of _set_target().
12847 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12848 (gst_ghost_pad_suite):
12849 Some more tests for creating and linking untargeted ghostpads.
12851 2006-08-31 Edward Hervey <edward@fluendo.com>
12853 * docs/gst/gstreamer-sections.txt:
12854 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12855 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12856 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12857 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12858 (gst_ghost_pad_new_from_template),
12859 (gst_ghost_pad_new_no_target_from_template):
12860 * gst/gstghostpad.h:
12861 Refactored *_new() functions.
12862 Templates are now used as a g_object_new() parameter.
12863 Use template in _do_getcaps() if we don't have a target.
12864 Small documentation cleanups.
12865 Added two new constructors:
12866 gst_ghost_pad_new_from_template()
12867 gst_ghost_pad_new_no_target_from_template()
12868 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12869 (gst_ghost_pad_suite):
12870 Added tests for new ghostpad instanciation functions.
12872 API additions: gst_ghost_pad_new_from_template,
12873 gst_ghost_pad_new_no_target_from_template
12875 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12877 * docs/random/ensonic/profiling.txt:
12878 Ideas about qos profiling.
12880 2006-08-29 Wim Taymans <wim@fluendo.com>
12882 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12886 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12889 Improve and detypofy docs.
12891 * tests/check/Makefile.am:
12892 * tests/check/gst/.cvsignore:
12893 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12894 Add a basic test suite for GstXML.
12896 2006-08-29 Wim Taymans <wim@fluendo.com>
12898 * gst/gstelement.c: (activate_pads), (clear_caps),
12899 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12900 Clear the pad caps when the element shut down all of the pads and
12901 is not streaming data that could modify the caps.
12904 2006-08-28 Michael Smith <msmith@fluendo.com>
12906 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12907 Revert previous change; I misunderstood single-segment mode.
12909 2006-08-28 Michael Smith <msmith@fluendo.com>
12911 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12912 Unset DISCONT on buffers when using single-segment mode.
12914 2006-08-28 Wim Taymans <wim@fluendo.com>
12916 * gst/gstcaps.c: (gst_caps_merge_structure):
12918 Fix docs and indentation again.
12920 * tests/check/gst/gstquery.c: (GST_START_TEST):
12921 Fix leak in tests and add some more tests.
12923 2006-08-28 Edward Hervey <edward@fluendo.com>
12925 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12926 Inform GstSegment of the last stop position in order for the current
12927 segment to have a proper duration if it doesn't have a specific stop
12928 position from which a duration could be calculated.
12929 This bug was noticeable when a non-flushing, non-update new segment was
12930 followed by another segment (all buffers from the new segment were being
12933 2006-08-28 Wim Taymans <wim@fluendo.com>
12935 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12936 Small comment update.
12938 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12939 (gst_identity_transform_ip):
12940 Drop-probability is broken, mention this in the code with a
12941 FIXME and also in the property description.
12942 Make silent also be silent about the drop messages.
12944 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12946 * docs/manual/appendix-win32.xml:
12947 Remove mention of popt, we don't depend on that any
12948 longer (#353136). Add some comments pointing out that
12949 this section is slightly outdated.
12951 2006-08-28 Wim Taymans <wim@fluendo.com>
12953 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12955 * gst/gstquery.c: (gst_query_new_segment):
12956 * tests/check/gst/gstquery.c: (GST_START_TEST):
12957 Initialize variables when creating a new segment query.
12960 2006-08-28 Wim Taymans <wim@fluendo.com>
12962 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12964 * gst/gstelement.c: (gst_element_get_bus):
12965 * tests/check/gst/gstelement.c: (GST_START_TEST):
12966 Check for NULL before _reffing the bus. Fixes #353122.
12968 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12970 * docs/manual/basics-bus.xml:
12971 Docs update: fix wrong callback return value explanation; add
12972 some lines about the implicit relationship between main loop
12973 and main context; remove duplicate main loop variable declaration.
12975 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12977 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12978 Don't leak caps in unit test; add a few more simple
12981 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12983 * docs/gst/gstreamer-sections.txt:
12984 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12985 (gst_caps_structure_is_subset), (gst_caps_merge),
12986 (gst_caps_merge_structure):
12988 * libs/gst/base/gstbasetransform.c:
12989 (gst_base_transform_transform_caps):
12990 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12991 implement caps merging (fixes #352580)
12993 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12995 * tools/Makefile.am:
12996 * tools/gst-plot-timeline.py:
12997 add debug-log plotting developer tool (#340674)
12999 2006-08-23 Wim Taymans <wim@fluendo.com>
13001 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13002 (gst_pad_stop_task):
13003 Improve debugging for task functions.
13005 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13006 (gst_task_start), (gst_task_pause), (gst_task_join):
13007 Make sure that the task function started and finished after a
13009 Don't try to push the task function on the threadpool multiple
13011 Improve the g_warning message with some useful suggestions
13012 about how to fix the problem.
13014 2006-08-23 Wim Taymans <wim@fluendo.com>
13016 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13017 Handle RESYNC correctly in _proxy_getcaps.
13019 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13021 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13022 (gst_xml_parse_memory), (gst_xml_get_element):
13023 Chain up to parent class in dispose function and also
13024 unref the elements in the toplevel_elements GList.
13025 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13026 Always return a reference in gst_xml_get_element() rather
13027 than only sometimes.
13029 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13030 Don't leak GstXml object.
13032 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13034 * docs/gst/gstreamer-sections.txt:
13035 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13038 * libs/gst/base/gstbasetransform.c:
13039 (gst_base_transform_transform_caps):
13040 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13043 2006-08-21 Edward Hervey <edward@fluendo.com>
13045 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13046 Implement GObject::dispose virtual method in GstXML so we can free the
13047 top_elements GList.
13049 2006-08-21 Wim Taymans <wim@fluendo.com>
13051 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13052 (gst_buffer_create_sub):
13053 Copy duration/offset_end/caps when creating a subbuffer of the
13055 Make the subbuffer read-only when we make the metadata writable for
13056 now. Fixes #351768.
13058 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13059 Added check for metadata copy when creating subbuffers.
13061 2006-08-21 Edward Hervey <edward@fluendo.com>
13063 * libs/gst/base/gstbasetransform.c:
13064 (gst_base_transform_buffer_alloc):
13065 Only call downstream buffer_alloc if transform element is passthrough
13066 or always_in_place. Closes #350449.
13068 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13071 ChangeLog surgery to add comments to previous changes
13073 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13078 * gst/gstpad.c: (gst_pad_set_active):
13079 Be more verbose in the log
13081 * libs/gst/base/gstbasetransform.c:
13082 (gst_base_transform_transform_caps):
13083 Simplify caps to get rid of duplicates, fixes #345444
13085 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13089 Use these optimizations only internally.
13091 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13093 * gst/gstvalue.c: (gst_value_compare_list),
13094 (gst_value_compare_fraction_range),
13095 (gst_value_intersect_fraction_fraction_range),
13096 (gst_value_intersect_fraction_range_fraction_range),
13097 (gst_value_subtract_fraction_fraction_range),
13098 (gst_value_subtract_fraction_range_fraction_range),
13099 (gst_value_get_compare_func), (gst_value_compare),
13100 (gst_value_compare_with_func):
13102 Saves the expensive lookup of the compare function in many cases
13105 2006-08-18 Edward Hervey <edward@fluendo.com>
13107 * tests/check/gst/gstinfo.c: (gst_info_suite):
13108 Disable test that require gstdebug if it wasn't built in core.
13110 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13112 * docs/random/ensonic/logging.txt:
13115 * gst/gstinfo.c: (gst_debug_log_default):
13116 reorder fields, save some columns, add optional color codes for log
13119 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13121 * docs/random/ensonic/logging.txt:
13122 add ideas about making the logs a bit more useful
13124 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13126 * docs/pwg/advanced-events.xml:
13127 * docs/pwg/titlepage.xml:
13128 Update for 0.10 API (#340627). Add myself
13131 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13133 * docs/libs/gstreamer-libs-docs.sgml:
13134 * docs/libs/gstreamer-libs-sections.txt:
13135 * libs/gst/check/gstbufferstraw.c:
13136 Make gstcheck stuff show up in docs (still needs to
13137 be documented properly though).
13139 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13141 * docs/gst/gstreamer-sections.txt:
13143 * gst/gst.c: (init_post):
13144 * gst/gst_private.h:
13145 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13147 * gst/gstquery.c: (gst_query_new_position),
13148 (gst_query_set_position), (gst_query_parse_position),
13149 (gst_query_new_duration), (gst_query_set_duration),
13150 (gst_query_parse_duration), (gst_query_new_convert),
13151 (gst_query_set_convert), (gst_query_parse_convert),
13152 (gst_query_new_segment), (gst_query_set_segment),
13153 (gst_query_parse_segment), (gst_query_new_seeking),
13154 (gst_query_set_seeking), (gst_query_parse_seeking):
13155 Add internal helpers for pre-registering quarks from static strings
13156 and using the quark values directly instead of looking them up when
13157 creating and parsing queries. Can be used for event construction too.
13160 2006-08-16 Wim Taymans <wim@fluendo.com>
13165 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13167 * gst/gstutils.c: (gst_util_set_value_from_string):
13168 Fix memleak (#351502).
13170 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13171 Add unit test for most of gst_util_set_value_from_string()
13172 (not that one would want to encourage use of this function).
13174 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13176 * libs/gst/check/gstcheck.h:
13177 Use const gchar * variables in fail_unless_equals_string
13178 macro to avoid compiler warnings (and don't use tabs for
13181 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13183 * tools/gst-launch.c: (print_tag):
13184 More space on the left for the tag names, to cater
13185 for the 'extended comment' tag (not touching the
13186 string for the first line since it's translated).
13188 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13190 * libs/gst/check/gstcheck.h:
13191 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13192 print something when they fail.
13194 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13196 * docs/gst/gstreamer-sections.txt:
13197 * gst/gsttaglist.c: (_gst_tag_initialize):
13198 * gst/gsttaglist.h:
13199 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13200 Also change merge function for GST_TAG_COMMENT to
13203 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13205 * gst/gstinfo.c: (gst_debug_print_object):
13206 Make GST_PTR_FORMAT print messages as well.
13208 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13209 (GST_START_TEST), (gst_info_suite):
13212 2006-08-14 Edward Hervey <edward@fluendo.com>
13214 * gst/gstelementfactory.c: (gst_element_register):
13215 If the GstElementClass doesn't have a GstElementDetails with all fields
13216 filled up correctly (longname, description AND author), then error out
13217 nicely instead of crashing.
13219 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13221 * gst/gststructure.c:
13222 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13225 Expand on the difference between arrays and lists as we use them.
13227 2006-08-14 Wim Taymans <wim@fluendo.com>
13229 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13230 If the parent state change function failed, don't assume we can safely
13231 stop the source, this will be done when the pads are deactivated.
13233 2006-08-14 Wim Taymans <wim@fluendo.com>
13236 * gst/gsttask.c: (gst_task_join):
13239 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13240 (gst_pad_stop_task):
13241 When pad (de)activation failed for some reason, restore the old
13242 activation mode and set the pad to flushing instead of assuming the
13243 pad is deactivated.
13244 If the _task_join() failed, reinstall the task on the pad so that it can
13245 be stopped later and return an error.
13247 2006-08-11 Andy Wingo <wingo@pobox.com>
13250 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13251 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13252 is only for users of API that don't want to see deprecated
13253 functions in the headers; people that want to compile out
13254 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13255 CFLAGS. Fixes the build of multifdsink, or will soon..
13257 2006-08-11 Wim Taymans <wim@fluendo.com>
13259 * docs/gst/gstreamer-sections.txt:
13260 Add GstClockClass vmethod docs.
13263 Mark #endif with comment for associated #if
13265 * gst/gstclock.c: (gst_clock_id_wait):
13267 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13268 most clock implementations.
13270 Flesh out docs about resolution methods.
13271 API: GstClockClass::wait_jitter
13273 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13274 (gst_system_clock_async_thread),
13275 (gst_system_clock_id_wait_jitter_unlocked),
13276 (gst_system_clock_id_wait_jitter):
13277 Use base class wait_jitter variant for improved performance
13278 due to less clock polling.
13280 2006-08-11 Edward Hervey <edward@fluendo.com>
13282 * gst/gst.c: (gst_init_check), (init_post):
13283 Set gst as being initialized before scanning/updating the registry,
13284 since there might be my python plugin loader that calls gst_init() and
13285 we don't want to loop back in.
13288 2006-08-11 Wim Taymans <wim@fluendo.com>
13290 * docs/design/part-qos.txt:
13291 Bring docs in line with the code. Mostly the sign of the jitter was
13292 wrong in the docs. Fixes #349943.
13295 Fix the docs for the jitter.
13297 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13298 (gst_event_parse_tag), (gst_event_new_buffer_size),
13299 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13300 (gst_event_new_seek), (gst_event_parse_seek),
13301 (gst_event_new_navigation):
13302 Make sure the GstStructure has no parent when creating custom
13304 Add some more argument checking so that we avoid 0.0 rates.
13305 Flesh out the docs for the QoS event some more.
13307 2006-08-11 Wim Taymans <wim@fluendo.com>
13309 * docs/gst/gstreamer-sections.txt:
13310 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13311 (ensure_current_registry_forking), (ensure_current_registry),
13312 (parse_one_option), (parse_goption_arg), (gst_deinit),
13313 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13316 Added API and command line option to disable registry forking in
13317 addition to the environment variable.
13318 Constify some static arrays.
13319 Added some more debug.
13320 Don't deinit twice.
13321 API: gst_registry_fork_is_enabled()
13322 API: gst_registry_fork_set_enabled()
13323 API: --gst-disable-registry-fork command line option
13326 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13328 * gst/gst.c: (gst_init):
13329 Fix typo in error message.
13331 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13333 * libs/gst/controller/gstcontroller.h:
13334 fix ABI size-correction
13336 * tests/check/libs/gdp.c: (gst_dp_suite):
13337 make tests that use deprecated API conditional
13339 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13341 * docs/libs/gstreamer-libs-sections.txt:
13342 * libs/gst/controller/gstcontroller.c:
13343 (_gst_controller_get_property), (_gst_controller_set_property),
13344 (_gst_controller_init), (_gst_controller_class_init):
13345 * libs/gst/controller/gstcontroller.h:
13346 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13347 (gst_object_set_control_rate):
13348 API: add gst_object_{s,g}et_control_rate(), add private data section,
13351 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13352 * libs/gst/dataprotocol/dataprotocol.h:
13353 add deprecation guards to make gtk-doc happy and allow disabling cruft
13355 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13357 * tests/check/Makefile.am:
13358 * tests/check/gst/.cvsignore:
13359 Let's enable the new unit test as well.
13361 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13364 * docs/gst/gstreamer-sections.txt:
13365 * gst/gstconfig.h.in:
13366 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13367 (_gst_info_printf_extension_ptr),
13368 (_gst_info_printf_extension_segment):
13369 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13370 register that lets us easily dump GstSegments into debug
13373 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13374 (info_segment_format_printf_extension), (gst_info_suite):
13375 Add simple unit test that logs a bunch of different segments (not
13376 valgrinded at the moment because of leaks in
13377 gst_debug_add_log_function).
13379 2006-08-09 Edward Hervey <edward@fluendo.com>
13381 * libs/gst/base/gstbasetransform.c:
13382 (gst_base_transform_buffer_alloc):
13383 Even if we can't figure out the proper format to request downstream,
13384 call buffer_alloc() downstream with the input parameters without setting
13385 the caps on the srcpad. This will force negotiation in the chain
13389 2006-08-08 Edward Hervey <edward@fluendo.com>
13391 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13392 Unlinking from a pad without a target is now a perfectly valid case
13393 which should NOT raise an assertion.
13394 This case would happen if a linked ghostpad its target set to NULL after
13395 it was previously linked.
13397 2006-08-08 Edward Hervey <edward@fluendo.com>
13399 * tests/check/libs/gdp.c:
13400 Also comment out the test (see below).
13402 2006-08-08 Edward Hervey <edward@fluendo.com>
13404 * tests/check/libs/gdp.c: (gst_dp_suite):
13405 Use the architecture information from config.h and not gcc macros
13406 in order to properly disable a test that fails on PPC64.
13408 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13410 * gst/gstelement.c: (gst_element_remove_pad):
13411 Don't crash printing the warning if the pad has no parent.
13413 2006-08-02 Wim Taymans <wim@fluendo.com>
13415 * libs/gst/dataprotocol/dataprotocol.c:
13416 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13417 (gst_dp_crc), (gst_dp_header_payload_length),
13418 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13419 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13420 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13421 (gst_dp_event_from_packet), (gst_dp_validate_header),
13422 (gst_dp_validate_payload):
13423 Make debug category static
13424 Constify the crc table.
13425 Do some more arg checking in public functions.
13426 Fix some docs and do some small cleanups.
13428 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13429 Add some more checks to see if GDP deals with bogus input.
13431 2006-07-31 Wim Taymans <wim@fluendo.com>
13433 * gst/gstvalue.c: (gst_value_compare_list):
13434 Fix GstValueList comparison code. Fixes #347293.
13436 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13437 Check to test GstValueList comparison.
13439 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13441 * gst/gstelementfactory.c: (gst_element_factory_create):
13442 Remove unnecessary ref/unref pair
13444 * gst/parse/grammar.y:
13445 Make sure to free the parse buffer on all code paths.
13446 Move a g_free up to the error handler where it's easier to see.
13448 * tests/check/gst/gstevent.c: (test_event):
13449 Extending timeout for downstream travelling events to 10 seconds to
13450 hopefully avoid intermittent failure on the buildbots.
13452 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13453 Don't manually set the state of the src element - it will happen as a
13454 natural consequence of the pipeline changing state, and that way it
13455 will do it in the right order too.
13457 2006-07-31 Wim Taymans <wim@fluendo.com>
13459 * libs/gst/base/gstbasetransform.c:
13460 (gst_base_transform_buffer_alloc):
13461 Use OBJECT_LOCK and refcounting to get the pad caps in the
13462 buffer_alloc function because the caps could change while we are
13463 busy with them. Fixes #349105
13465 2006-07-31 Wim Taymans <wim@fluendo.com>
13467 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13468 Protect _PAD_CAPS with OBJECT_LOCK.
13470 2006-07-31 Wim Taymans <wim@fluendo.com>
13472 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13473 (gst_pad_get_property), (gst_pad_activate_pull),
13474 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13475 (gst_pad_set_activate_function),
13476 (gst_pad_set_activatepull_function),
13477 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13478 (gst_pad_set_getrange_function),
13479 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13480 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13481 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13482 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13483 (gst_pad_set_acceptcaps_function),
13484 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13485 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13486 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13487 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13488 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13489 (gst_pad_configure_sink), (gst_pad_configure_src),
13490 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13491 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13492 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13493 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13494 (gst_pad_send_event):
13495 Use _DEBUG_OBJECT when it makes sense.
13496 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13497 Small cleanups and code reflows.
13498 Avoid caps refcounting in _accept_caps.
13499 Refactor alloc_buffer so that the code performed on the peer is in a
13500 separate function. Also if the pad does not implement a buffer alloc
13501 function, we should still check if the pad is flushing before falling
13502 back to the default allocator.
13504 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13506 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13507 Make all uses of identity and fakesink have silent=true to avoid
13508 serialising every passing data structure, which is breaking tests
13509 on FC4 for some unknown reason.
13511 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13513 * gst/parse/Makefile.am:
13514 * gst/parse/grammar.y:
13515 * gst/parse/parse.l:
13516 Reverted previous patch as it required to bump the flex dependency to
13517 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13519 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13521 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13523 * gst/parse/Makefile.am:
13524 * gst/parse/grammar.y:
13525 * gst/parse/parse.l:
13526 push & pop the state of the lexer for reentrant use case
13529 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13531 * libs/gst/base/gstbasesrc.h:
13532 Note in the docs that the ::newsegment vfunc is not actually used by
13535 2006-07-28 Wim Taymans <wim@fluendo.com>
13537 * libs/gst/base/gstcollectpads.c:
13538 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13539 (gst_collect_pads_clear), (gst_collect_pads_flush),
13540 (gst_collect_pads_event), (gst_collect_pads_chain):
13541 When flushing a pad, also clear the queued buffer so that we don't
13542 accidentally use it when we shouldn't.
13543 Fix leaks by inreffing incomming buffer.
13544 Flush out queued buffers in case of errors.
13547 2006-07-28 Wim Taymans <wim@fluendo.com>
13549 * docs/random/phonon-gst:
13550 Random notes about a Phonon backend.
13552 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13554 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13556 * tests/check/libs/gdp.c: (gst_dp_suite):
13557 Take a whack at fixing the ppc compile using a different define to
13558 disable the broken test.
13560 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13561 Remove excess g_print()
13563 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13565 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13566 Oops, meant to uncomment this line too to dampen the noise a bit.
13568 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13570 * gst/parse/grammar.y:
13571 * gst/parse/parse.l:
13572 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13573 (GST_START_TEST), (parse_suite):
13574 Fix some of the leaks exposed by extending the parse-launch testsuite,
13575 and move the 3 I can't figure out into a separate test that won't run
13576 the pipelines unless the appropriate line is uncommented.
13578 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13580 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13581 Requesting 0 bytes before the end of the file should result in
13582 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13585 2006-07-27 Wim Taymans <wim@fluendo.com>
13587 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13588 Fix useless assert, a uint is always positive.
13590 * gst/gststructure.c: (gst_structure_nth_field_name),
13591 (gst_structure_foreach), (gst_structure_map_in_place):
13592 Check input arguments for public functions to avoid obvious crashes.
13594 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13595 * plugins/elements/gstfakesink.h:
13596 Do less useless typechecking.
13598 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13600 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13601 Do not use mmap() by default since there are a number of error
13602 conditions that we would like to handle in a non-fatal way that
13603 will result in a SIGBUS if we use mmap(). Examples: external
13604 devices (USB harddrive, portable music player) being unplugged
13605 while in use; file on mounted CD/DVD that can't be read because
13606 the medium is partly damaged. Fixes #348455 and #348475.
13608 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13611 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13612 rates are a gdouble
13614 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13616 * gst/gstregistry.c:
13617 Move big documentation comment into class section header, so that it
13618 appears in the API docs.
13620 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13622 * docs/gst/gstreamer-sections.txt:
13623 Oops. Commit the docs additions too for new API.
13624 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13626 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13628 * gst/gststructure.c: (gst_structure_id_set),
13629 (gst_structure_id_set_valist):
13630 * gst/gststructure.h:
13631 Add API for setting values into structures without performing
13632 a quark lookup, if the appropriate quark is already known.
13634 API: gst_structure_id_set
13635 API: gst_structure_id_set_valist
13637 * gst/parse/grammar.y:
13638 * gst/parse/parse.l:
13639 Remove some dead code shown by the coverage information.
13640 Don't throw a critical g_warning when encountering a syntax error,
13641 just warn and let the normal error path handle it.
13643 * plugins/elements/gstelements.c:
13644 Bump the rank of filesink up to PRIMARY so that it is preferred over
13645 gnomevfssink for file:// sink uri's
13647 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13648 (GST_START_TEST), (run_delayed_test),
13649 (gst_parse_test_element_base_init),
13650 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13651 (gst_parse_test_element_change_state),
13652 (gst_register_parse_element), (parse_suite):
13653 Beef up the tests for parse syntax to check that more error cases
13654 fail as they are supposed to. Increases the test coverage a bit.
13656 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13658 * docs/manual/basics-elements.xml:
13659 Fix gst_element_link() example.
13662 Mention in API docs that one should usually gst_bin_add()
13663 elements to a bin or pipeline before doing the linking.
13665 2006-07-26 Wim Taymans <wim@fluendo.com>
13667 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13668 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13669 Avoid function call for known types by keeping the buffer and
13670 subbuffer GType global.
13672 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13673 Random silly optimisations in read() path.
13675 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13677 * tools/gst-launch.c: (main):
13678 If the top-level of the parse is a normal bin, it doesn't do the
13679 right logic to run as a top-level element, so place it inside a
13682 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13684 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13685 Remove superfluous g_object_notify() calls, GObject does
13686 that for us automatically.
13688 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13691 on Win32, use dllspec to export the debug category symbols
13693 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13695 * gst/gsttaglist.c: (_gst_tag_initialize):
13696 Allow more than one GST_TAG_IMAGE per taglist.
13698 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13700 * gst/gstminiobject.c:
13702 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13703 (gst_fd_src_create):
13704 log recurring events at LOG level
13705 add more debug for when the fd gets set
13707 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13709 * gst/gstparse.c: (gst_parse_launch):
13710 Also remove reentrance checks if flex is MT safe (#348179)
13711 Fix my empty ChangeLog entry below
13713 2006-07-21 Andy Wingo <wingo@pobox.com>
13715 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13717 * libs/gst/check/Makefile.am
13718 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13719 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13720 * libs/gst/check/gstbufferstraw.h:
13721 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13722 functions, thus proving I am still a GStreamer haxor. OK I wrote
13723 them a long time ago, but anyways.
13725 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13728 * gst/gstparse.c: (gst_parse_launch):
13729 Check for flex version and omit mutex if we have a MT save flex
13732 2006-07-21 Wim Taymans <wim@fluendo.com>
13734 * gst/gstparse.c: (gst_parse_launch):
13735 Protect recursive calls to _parse with a recursive mutex
13738 2006-07-21 Wim Taymans <wim@fluendo.com>
13740 * tests/check/gst/gstpad.c: (GST_START_TEST):
13743 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13745 * gst/gstparse.c: (gst_parse_launch):
13746 Do not hang on recursive usage of gst_parse_launch()
13748 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13750 * gst/gsttaglist.c:
13751 Add some more docs, comments and FIXME 0.11s here and there
13752 and also fix some typos.
13754 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13756 * gst/gstsegment.h:
13757 Convert tabs to spaces for better readability.
13759 2006-07-20 Edward Hervey <edward@fluendo.com>
13761 * tests/check/libs/gdp.c: (gst_dp_suite):
13762 the test_buffer test fails at line 140 on ppc64 at the following
13764 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13765 GST_BUFFER_FLAG_IN_CAPS),
13766 "GST_BUFFER_IN_CAPS flag should have been copied !");
13767 See bug #348114 for more details.
13769 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13771 * docs/pwg/advanced-scheduling.xml:
13773 Fix typos (#348000).
13775 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13777 * docs/pwg/intro-basics.xml:
13778 Fix wrong links (#347927).
13780 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13782 * gst/gstregistry.h:
13783 * gst/gstregistryxml.c: (load_feature),
13784 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13785 * win32/common/config.h:
13786 make --disable-index work (#342564)
13788 2006-07-18 Wim Taymans <wim@fluendo.com>
13790 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13794 The attached patch adds two missing defines to gsttrace.h when tracing
13795 is disabled. It also corrects one existing define.
13798 2006-07-17 Wim Taymans <wim@fluendo.com>
13800 * docs/gst/gstreamer-sections.txt:
13801 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13803 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13804 Add two functions to check and change the SIGSEGV behaviour
13805 when loading plugins.
13806 Don't mess with the SIGSEGV handler when we were told not to.
13808 API: gst_segtrap_is_enabled
13809 API: gst_segtrap_set_enabled
13811 2006-07-14 Wim Taymans <wim@fluendo.com>
13813 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13814 * tests/check/elements/filesrc.c: (GST_START_TEST):
13815 Revert fix for regression in #347408 after release.
13817 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13819 Patch by: Antoine Tremblay <hexa00 at gmail com>
13821 * gst/gstutils.c: (gst_element_unlink):
13822 Free iterator when done (#347311).
13824 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13825 And add a test case for this.
13827 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13830 Bump nano back to CVS
13832 === release 0.10.9 ===
13834 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13837 releasing 0.10.9, "On the road again"
13839 2006-07-13 Wim Taymans <wim@fluendo.com>
13841 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13842 * tests/check/elements/filesrc.c: (GST_START_TEST):
13843 Revert pull-0 fix for release. Disable check. Fixes #347408.
13845 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13847 * libs/gst/dataprotocol/dataprotocol.c:
13848 (gst_dp_event_from_packet_1_0):
13849 Fixes #347337: failure to deserialize event packets with
13850 empty payload (only event type)
13852 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13855 do not install a .c file in the header directory
13857 2006-07-13 Edward Hervey <edward@fluendo.com>
13859 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13860 GhostPad no longer implicitely use the padtemplates of the targets.
13863 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13865 * gst/gstvalue.c: (gst_value_compare_list),
13866 (gst_value_compare_array), (_gst_value_initialize):
13867 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13868 Make GstValueArray comparison be order dependent as designed.
13869 Add checks for value lists and value array comparisons.
13872 2006-07-11 Edward Hervey <edward@fluendo.com>
13874 * gst/gstbin.c: (activate_pads),
13875 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13876 (gst_bin_change_state_func):
13877 (de)activate src pads before calling state_change on the childs.
13878 This is to avoid the case where a src ghostpad is blocked (holding the
13879 stream lock), which would block the deactivation of the ghostpad's
13881 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13882 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13883 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13884 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13885 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13886 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13887 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13888 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13889 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13890 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13891 (gst_ghost_pad_class_init),
13892 (gst_ghost_pad_internal_do_activate_push),
13893 (gst_ghost_pad_internal_do_activate_pull),
13894 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13895 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13896 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13897 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13898 GhostPads now create their internal GstProxyPad at creation (and not
13899 when they're linked, as it was being done previously).
13900 The internal and target pads are linked straight away.
13901 The data will also travel through the other pad in order to make
13902 pad blocking and probes non-hackish (the probe/block now really happens
13903 on the GhostPad and not on the target).
13904 * gst/gstpad.c: (gst_pad_set_blocked_async),
13905 (gst_pad_link_prepare), (gst_pad_push_event):
13906 Remove previous ghostpad cruft.
13907 * gst/gstutils.c: (gst_pad_add_data_probe),
13908 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13909 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13910 (gst_pad_remove_buffer_probe):
13911 Remove previous ghost pad cruft.
13912 Added more detailed debug statements.
13913 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13914 Fix the testsuite for refcounting changes.
13915 The comments about who has references were correct, but the refcount
13916 being checked wasn't the same (!?!).
13920 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13922 * docs/gst/gstreamer-sections.txt:
13923 * gst/gstconfig.h.in:
13924 More docs for configuration options, add docs to gtk-doc.
13926 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13929 * gst/gstconfig.h.in:
13930 * win32/common/config.h:
13931 Fix build when disabling tracing (fixes #344016). Also start to document
13932 the defines that disable the sub-systems.
13934 2006-07-10 Edward Hervey <edward@fluendo.com>
13936 * gst/gst.c: (ensure_current_registry_forking):
13937 let's make valgrind happy...
13939 2006-07-09 Wim Taymans <wim@fluendo.com>
13941 * gst/gstelement.c: (activate_pads),
13942 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13943 Better pad activation code: Reset the collect value too on resync.
13946 2006-07-09 Wim Taymans <wim@fluendo.com>
13948 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13949 (gst_pad_activate_push):
13950 Use some more macros where it makes sense.
13951 Allow pad mode switching instead of asserting. When a pad
13952 is activated in one mode and we activate it in another,
13953 deactivate it first before activating it in a different mode.
13956 2006-07-08 Andy Wingo <wingo@pobox.com>
13958 * tools/gst-launch.c (main): Handle err == NULL.
13960 * gst/gst.c (init_post, ensure_current_registry)
13961 (ensure_current_registry_forking)
13962 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13963 factoring out the registry scanning into separate functions. Don't
13964 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13965 Better environment var name/interface suggestions accepted.
13967 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13969 * gst/gstobject.c: (gst_object_set_name_default),
13970 (gst_object_set_name):
13971 Random micro-optimisation: don't use a hash table
13972 with strings as keys and the usual strdup/strcmp
13973 involved, but rather just use the GQuark of the
13974 type name as key, since it needs to be looked up
13975 anyway to get the type name string.
13977 * tests/check/gst/gstobject.c: (GST_START_TEST):
13980 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13982 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13983 (gst_bin_iterate_all_by_interface):
13984 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13985 GTypes are gulongs and thus the top 4 bytes might be cut
13986 off on some platforms when doing GPOINTER_TO_INT, leading
13987 to invalid GTypes and bad things happening (see RH bug #179654).
13988 Also add a check to make sure the type passed in is really
13991 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13996 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14000 * gst-element-check.m4:
14001 * gst-element-check.m4.in:
14002 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14003 instead of the unversioned gst-inspect (#324176, #168659).
14005 2006-07-06 Wim Taymans <wim@fluendo.com>
14007 * gst/gstmessage.h:
14008 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14011 2006-07-06 Wim Taymans <wim@fluendo.com>
14013 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14014 (gst_base_src_wait), (gst_base_src_update_length),
14015 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14016 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14017 (gst_base_src_loop), (gst_base_src_start),
14018 (gst_base_src_activate_pull):
14020 blocksize == 0 now means the default blocksize when working in push
14022 Remove some pointless asserts in _wait function.
14023 Fix offset/length calculations and EOS handling. We can now pull 0
14024 bytes as well, which is allowed.
14025 use _check_get_range() to decide if we can operate in _pull based
14027 Fix refcounting leak when check_get_range function was not
14029 API GstBaseSrc::blocksize range can be 0 too now (default)
14031 * tests/check/elements/filesrc.c: (GST_START_TEST),
14033 Added check to test _get_range() behaviour.
14035 2006-07-06 Wim Taymans <wim@fluendo.com>
14037 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14038 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14039 (gst_pad_pull_range):
14041 Lots of comments and docs added to the pad functions.
14042 Flesh out the expected behaviour of the get_range() functions.
14044 2006-07-06 Wim Taymans <wim@fluendo.com>
14049 * gst/gstiterator.h:
14053 Remove comma at end of enumerator list.
14055 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14057 * win32/common/libgstbase.def:
14058 * win32/common/libgstdataprotocol.def:
14059 * win32/common/libsgtreamer.def:
14060 Add new exported functions.
14062 2006-07-05 Wim Taymans <wim@fluendo.com>
14064 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14065 Add some more docs here and there.
14067 2006-07-05 Wim Taymans <wim@fluendo.com>
14069 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14070 (gst_base_sink_loop), (gst_base_sink_get_position):
14071 When operating in pull mode update the offset so that we
14074 2006-07-05 Wim Taymans <wim@fluendo.com>
14076 * gst/gstregistryxml.c: (read_string):
14077 Avoid strdup. (will happen in libxml, but hey!)
14080 Add some more docs.
14082 2006-07-05 Wim Taymans <wim@fluendo.com>
14084 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14085 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14086 (gst_buffer_suite):
14087 No point in checking if the size of the subbuffer > 0, the
14088 code handles it correclty as demonstrated by unit test.
14089 Also add a unit test for the zero sized _new_and_alloc and
14090 _copy. Fixes #346663.
14092 2006-07-05 Wim Taymans <wim@fluendo.com>
14094 * libs/gst/base/gstbasetransform.c:
14095 (gst_base_transform_prepare_output_buffer),
14096 (gst_base_transform_buffer_alloc),
14097 (gst_base_transform_handle_buffer):
14098 Make sure the buffer we pass to transform_ip has a refcount of
14099 1 and thus is writable. Fixes #343196
14101 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14103 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14104 (gst_file_src_init), (gst_file_src_set_property),
14105 (gst_file_src_get_property), (gst_file_src_map_region):
14106 * plugins/elements/gstfilesrc.h:
14107 Add "sequential" property, off by default, to use madvise and hint
14108 to the kernel that sequential access is desired.
14109 Touch all retrieved pages by default to ensure they are pulled
14110 into memory. (Closes #345720)
14112 2006-07-03 Wim Taymans <wim@fluendo.com>
14114 * docs/design/part-block.txt:
14115 * docs/design/part-dynamic.txt:
14116 Small docs updates.
14118 2006-07-03 Wim Taymans <wim@fluendo.com>
14120 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14121 (gst_caps_unref), (gst_static_caps_get),
14122 (gst_caps_append_structure):
14123 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14124 Use GSlice when the glib we build against is >= 2.10
14126 2006-07-03 Wim Taymans <wim@fluendo.com>
14128 * gst/gstelement.c: (gst_element_pads_activate):
14129 Small cleanup in pad activation code.
14131 2006-07-03 Wim Taymans <wim@fluendo.com>
14133 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14135 * gst/gst-i18n-app.h:
14136 * gst/gst-i18n-lib.h:
14137 * tools/gst-inspect.c: (print_signal_info):
14138 The attached patch will make the inclusion of gettext.h unconditional in
14139 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14140 libintl.h in tools/gst-inspect.c.
14141 This allows use of --disable-nls again and fixes #344642.
14143 2006-07-03 Edward Hervey <edward@fluendo.com>
14145 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14146 Implement pad blocking on events according to part-block.txt.
14147 More comments on behaviour.
14148 * tests/check/gst/gstevent.c: (test_event):
14149 Send event to peer pad of blocked pad (else it will block).
14151 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14153 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14154 (gst_check_run_suite):
14155 if we get the wrong message, give us the types as string
14156 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14158 * tests/check/elements/filesrc.c: (GST_START_TEST):
14159 add a test for trying to open a non-existing file
14161 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14163 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14164 add a test for adding self
14166 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14168 * libs/gst/check/gstcheck.h:
14169 add some assert_ as alias for fail_unless_*
14170 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14171 increase test coverage
14173 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14176 include lcov.mak for lcov coverage generation
14177 * tools/Makefile.am:
14180 2006-07-02 Edward Hervey <edward@fluendo.com>
14182 * tests/check/elements/.cvsignore:
14185 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14188 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14189 * tests/check/Makefile.am:
14190 clean up gcov files
14192 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14194 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14195 remove gst_caps_simplify; it was not declared and not used
14196 and deprecated in 0.8
14198 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14200 * docs/faq/gst-uninstalled:
14201 don't put empty paths on PYTHONPATH
14202 * docs/gst/gstreamer-sections.txt:
14203 remove some symbols that are not there
14205 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14207 * gst/gstcaps.c: (gst_caps_compare_structures):
14209 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14210 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14213 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14215 * libs/gst/dataprotocol/Makefile.am:
14216 build dataprotocol test by linking to the lib, instead of
14217 compiling the source, so we get coverage
14218 * tests/check/Makefile.am:
14219 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14220 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14221 add a test for filesrc
14223 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14225 * tests/check/gst/gststructure.c: (GST_START_TEST),
14226 (gst_structure_suite):
14227 Push coverage from 59.04% to 70.00%
14229 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14231 * tests/check/Makefile.am:
14232 gst-inspect every element; this makes sure that we also get
14233 coverage on element's get/set functions
14235 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14238 set CFLAGS and friends to -O0 if gcov is being used
14241 * libs/gst/base/Makefile.am:
14242 * libs/gst/check/Makefile.am:
14243 * libs/gst/controller/Makefile.am:
14244 * libs/gst/dataprotocol/Makefile.am:
14245 * libs/gst/net/Makefile.am:
14246 * plugins/elements/Makefile.am:
14247 * plugins/indexers/Makefile.am:
14248 add makefile rules to generate gcov data and clean up
14249 * tests/check/Makefile.am:
14250 add a coverage target that generates an html overview
14253 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14255 * tests/check/elements/fakesink.c:
14256 * tests/check/elements/fakesrc.c:
14257 * tests/check/elements/fdsrc.c:
14258 * tests/check/elements/identity.c:
14259 * tests/check/generic/sinks.c: (gst_sinks_suite):
14260 * tests/check/generic/states.c:
14261 * tests/check/gst/gst.c:
14262 * tests/check/gst/gstabi.c:
14263 * tests/check/gst/gstbin.c:
14264 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14265 * tests/check/gst/gstbus.c: (gst_bus_suite):
14266 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14267 * tests/check/gst/gstelement.c:
14268 * tests/check/gst/gstevent.c: (gst_event_suite):
14269 * tests/check/gst/gstghostpad.c:
14270 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14271 * tests/check/gst/gstmessage.c: (gst_message_suite):
14272 * tests/check/gst/gstminiobject.c:
14273 * tests/check/gst/gstobject.c:
14274 * tests/check/gst/gstpad.c:
14275 * tests/check/gst/gstpipeline.c:
14276 * tests/check/gst/gstplugin.c:
14277 * tests/check/gst/gstquery.c: (gst_query_suite):
14278 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14279 * tests/check/gst/gststructure.c:
14280 * tests/check/gst/gstsystemclock.c:
14281 * tests/check/gst/gsttag.c:
14282 * tests/check/gst/gsttask.c: (gst_task_suite):
14283 * tests/check/gst/gstutils.c:
14284 * tests/check/gst/gstvalue.c:
14285 * tests/check/libs/adapter.c:
14286 * tests/check/libs/basesrc.c:
14287 * tests/check/libs/collectpads.c:
14288 * tests/check/libs/controller.c:
14289 * tests/check/libs/gdp.c: (gst_dp_suite):
14290 * tests/check/libs/gstnetclientclock.c:
14291 * tests/check/libs/gstnettimeprovider.c:
14292 * tests/check/libs/libsabi.c: (libsabi_suite):
14293 * tests/check/libs/typefindhelper.c:
14294 * tests/check/pipelines/cleanup.c:
14295 * tests/check/pipelines/parse-launch.c:
14296 * tests/check/pipelines/simple-launch-lines.c:
14297 * tests/check/pipelines/stress.c: (stress_suite):
14300 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14302 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14303 * libs/gst/check/gstcheck.h:
14304 create a macro and function so that the simple unit test
14305 case can be just one macro to create main()
14307 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14309 * gst/gstbin.c: (gst_bin_restore_thyself):
14310 * gst/gstxml.c: (gst_xml_make_element):
14311 Fix deserialisation from XML. Set parent manually
14312 instead of using gst_bin_add(), since gst_bin_add()
14313 will unlink all pads of the element being added.
14316 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14318 Patch by: Peter Kjellerstedt <pkj at axis com>
14320 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14321 Fix missing g_strdup() and double free when using the
14322 --gst-plugin-load command line option (#346097).
14324 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14327 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14329 * libs/gst/net/gstnetclientclock.c:
14330 * libs/gst/net/gstnettimeprovider.c:
14331 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14333 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14335 * docs/manual/advanced-dataaccess.xml:
14336 Fix buffer probe example compilation in
14339 2006-06-22 Edward Hervey <edward@fluendo.com>
14341 * gst/gstelement.c: (gst_element_pads_activate):
14342 We need to deactivate src pads first and then sink pads.
14343 The reason is the src pads might be blocking while holding the streaming
14344 lock, so we need to deactivate them first so that deactivating the sink
14345 pads doesn't block (since it will require the streaming lock).
14347 2006-06-22 Wim Taymans <wim@fluendo.com>
14349 * libs/gst/base/gstbasetransform.c:
14350 (gst_base_transform_buffer_alloc):
14351 Forgot to remove two unneeded unrefs.
14352 Simplify a check _is_equal allready checks the obvious case.
14354 2006-06-22 Wim Taymans <wim@fluendo.com>
14356 * docs/design/part-block.txt:
14357 Some docs about what pad_block should do.
14359 2006-06-22 Wim Taymans <wim@fluendo.com>
14361 * gst/gstcaps.c: (gst_caps_replace):
14362 Fix crasher when passed NULL. Doc clarification.
14363 Optimize for the trivial case.
14365 * gst/gstpipeline.c: (gst_pipeline_change_state):
14368 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14369 Small documentation cleanup.
14371 * libs/gst/base/gstbasetransform.c:
14372 (gst_base_transform_buffer_alloc):
14373 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14374 is what we need and it avoids a whole lot of redundant
14375 refcount operations.
14377 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14379 Patch by: Philip Jägenstedt <philip at lysator liu se>
14381 * docs/manual/advanced-dataaccess.xml:
14382 Fix 'Embedding static elements' section to use
14383 GST_PLUGIN_DEFINE_STATIC (#345607).
14385 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14387 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14388 Attempt to 'fix' spuriously failing test case: it seems like the
14389 timeout of half a second is simply too small when the system is under
14390 load otherwise, and the timeout doesn't really seem to serve any
14391 particular purpose here. Give the pipeline a few seconds to preroll
14392 first, and then give it another half a second to go from PAUSED to
14393 PLAYING and marshal the message into the main thread.
14395 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14397 * tools/gst-feedback-m.m:
14398 Don't only use unversioned tools, try versioned tools as well
14401 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14403 * gst/gstbus.c: (gst_bus_class_init):
14404 Fix some typos, make docs more explicit.
14406 2006-06-20 Wim Taymans <wim@fluendo.com>
14408 * tests/check/gst/gstghostpad.c: (block_callback),
14409 (GST_START_TEST), (gst_ghost_pad_suite):
14410 Added some more ghostpad tests, mainly blocking
14413 2006-06-16 Wim Taymans <wim@fluendo.com>
14415 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14416 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14417 (gst_file_sink_event), (gst_file_sink_render):
14418 * plugins/elements/gstfilesink.h:
14419 Check if we can seek in the file instead of assuming
14420 we always can. Post an error when we are asked to seek in a
14421 non-seekable file (like a fifo). Fixes #343312.
14424 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14426 * tools/gst-launch.1.in:
14427 Un-garble (fourcc) bit in filtered caps section.
14429 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14431 * docs/manual/advanced-autoplugging.xml:
14432 * docs/manual/basics-helloworld.xml:
14433 * docs/manual/highlevel-components.xml:
14434 Don't leak bus reference in sample code.
14436 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14439 Add default for new --enable-plugin-docs switch.
14442 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14445 * docs/Makefile.am:
14446 Use new ENABLE_PLUGIN_DOCS conditional.
14448 2006-06-14 Wim Taymans <wim@fluendo.com>
14450 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14451 Make it clear with a FIXME and a real define what the #if 0
14452 previously disabled.
14454 2006-06-14 Wim Taymans <wim@fluendo.com>
14456 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14457 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14458 * libs/gst/base/gstbasetransform.c:
14459 (gst_base_transform_sink_eventfunc):
14460 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14461 Don't randomly and silently reset a segment when the format
14462 changes as this is a bug somewhere upstream. Fixes #330379.
14464 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14466 Patch by: Wouter Paesen <wouter at kangaroot net>
14468 * libs/gst/controller/gstcontroller.c:
14469 (gst_controlled_property_new):
14470 Fix controlling of float properties (#344849).
14472 * tests/check/libs/controller.c:
14473 (gst_test_mono_source_get_property),
14474 (gst_test_mono_source_set_property),
14475 (gst_test_mono_source_class_init), (GST_START_TEST):
14476 While we're at it, add some float stuff to unit test.
14478 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14481 * docs/images/gdp-header.svg:
14483 * docs/libs/Makefile.am:
14484 * docs/libs/gdp-header.png:
14485 * libs/gst/dataprotocol/dataprotocol.c:
14486 add it to the API docs
14487 * docs/manual/intro-motivation.xml:
14490 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14492 * gst/gst.c: (scan_and_update_registry), (init_post):
14493 If the fork()'ed child process can't write the updated registry cache
14494 file to disk for some reason, make it exit with a failure exit code,
14495 so that the parent can then re-scan the plugins itself and update the
14496 registry structures in memory and work with that (rather than failing
14497 when creating elements because seemingly no plugins are available).
14498 Refactor registry scanning code into separate function for this and
14499 also separate fork() and non-fork() code paths. Fixes #344748.
14501 2006-06-13 Wim Taymans <wim@fluendo.com>
14503 * docs/manual/advanced-dataaccess.xml:
14504 Fix wrong PluginDesc. Fixes #344755.
14506 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14508 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14509 Fix silly bug that prevented us from creating
14510 ~/.gstreamer-0.10 and writing the registry in one
14511 go (the first call to g_mkstemp() would overwrite the
14512 placeholder in the template string, so the second call
14513 to g_mkstemp() after creating the missing directory
14514 would then error out with 'invalid argument').
14516 2006-06-13 Edward Hervey <edward@fluendo.com>
14518 * gst/gst.c: (init_post):
14521 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14523 * gst/glib-compat-private.h:
14524 * gst/glib-compat.c:
14525 * gst/glib-compat.h:
14526 * gst/gstvalue.c: (gst_value_serialize_flags):
14527 remove GLib 2.6 compatibility code
14529 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14531 * gst/parse/Makefile.am:
14532 Fix build with 'make -j N' even more (#340016).
14534 2006-06-12 Wim Taymans <wim@fluendo.com>
14536 * docs/gst/gstreamer-sections.txt:
14539 2006-06-12 Wim Taymans <wim@fluendo.com>
14541 * gst/gstsegment.c: (gst_segment_set_duration),
14542 (gst_segment_set_last_stop), (gst_segment_set_seek),
14543 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14544 (gst_segment_to_running_time), (gst_segment_clip):
14545 Use G_UNLIKELY to help the compiler a bit.
14547 2006-06-12 Wim Taymans <wim@fluendo.com>
14549 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14551 * gst/gstevent.c: (gst_event_get_type):
14552 * gst/gstmessage.c:
14553 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14555 constify quark registration strings. Fixes #344115
14556 Avoid unneeded type checking is _pad_push() by internally
14557 calling gst_pad_chain_unchecked().
14559 2006-06-12 Wim Taymans <wim@fluendo.com>
14561 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14562 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14563 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14564 (gst_buffer_is_span_fast), (gst_buffer_span):
14565 Init _type for consistency.
14566 Use _FLAGS macro to avoid type check.
14567 Avoid unneeded type checks in subbufer code.
14569 2006-06-12 Wim Taymans <wim@fluendo.com>
14571 * gst/gst.c: (gst_debug_help):
14572 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14573 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14574 (gst_plugin_feature_list_free):
14575 * gst/gstregistry.c: (gst_registry_add_plugin),
14576 (gst_registry_add_feature), (gst_registry_plugin_filter),
14577 (gst_registry_feature_filter), (gst_registry_find_plugin),
14578 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14579 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14580 * gst/gstregistryxml.c: (load_feature),
14581 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14582 * gst/gstminiobject.c: (gst_mini_object_unref),
14583 (gst_mini_object_replace), (gst_value_mini_object_free),
14584 (gst_value_mini_object_copy):
14585 Use _CAST macros to avoid unneeded type checking.
14586 Added some more G_UNLIKELY.
14588 2006-06-12 Wim Taymans <wim@fluendo.com>
14591 Avoid unneeded type checking.
14592 API: GST_BUFFER_IS_DISCONT
14594 * gst/gstminiobject.h:
14595 Avoid type check in flag accessor.
14597 * gst/gstelementfactory.h:
14599 * gst/gstpluginfeature.h:
14601 API: GST_ELEMENT_FACTORY_CAST
14602 API: GST_PLUGIN_CAST
14603 API: GST_PLUGIN_FEATURE_CAST
14605 2006-06-12 Wim Taymans <wim@fluendo.com>
14607 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14608 (gst_object_unref):
14609 Add G_UNLIKELY in type registration.
14610 Avoid type check in _ref/_unref since that is also
14613 2006-06-12 Wim Taymans <wim@fluendo.com>
14615 * gst/gsterror.c: (gst_g_error_get_type):
14616 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14617 (gst_static_pad_template_get_type):
14618 * gst/gsttaglist.c: (gst_tag_list_get_type):
14619 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14620 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14621 * gst/gsturi.c: (gst_uri_handler_get_type):
14622 * gst/gstvalue.c: (gst_date_get_type):
14623 * gst/gstxml.c: (gst_xml_get_type):
14624 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14625 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14626 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14627 Add G_UNLIKELY in type registration.
14629 2006-06-12 Wim Taymans <wim@fluendo.com>
14631 * tools/gst-inspect.c: (print_signal_info):
14632 Properly print enum values.
14634 2006-06-12 Wim Taymans <wim@fluendo.com>
14636 * gst/gstinfo.c: (gst_debug_set_active),
14637 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14639 Add some G_[UN]LIKELY.
14640 Maintain __gst_debug_min to avoid formatting the arguments of
14641 debug messages that will be dropped anyway to avoid a lot of
14642 overhead from the debugging system.
14644 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14647 * po/POTFILES.skip:
14648 add missing files containing translatable strings, tell intltool about
14651 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14653 * tests/check/libs/.cvsignore:
14654 add test-binary to ignore list
14656 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14658 * docs/libs/gstreamer-libs-docs.sgml:
14659 reorder (put dp into a chapter) and indent
14661 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14666 === release 0.10.8 ===
14668 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14671 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14673 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14675 * gst/gst.c: (init_post):
14676 move pid declaration to declaration block
14678 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14680 * gst/gst.c: (init_post):
14681 use _exit() instead of exit() in our forked child; this ensures
14682 that none of the registered exit handlers from whatever is using
14683 GStreamer get executed. This fixes gnome-mixer-applet failing
14684 to load, because ORBit would shut down.
14685 Spotted by: Edward Hervey <edward@fluendo.com>
14686 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14689 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14694 === release 0.10.7 ===
14696 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14699 releasing 0.10.7, "Soepeke, ik zie ou"
14701 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14724 * win32/common/config.h:
14725 0.10.6.2 prerelease
14727 2006-06-07 Wim Taymans <wim@fluendo.com>
14729 * gst/gstindex.c: (gst_index_gtype_resolver):
14730 * tools/gst-xmlinspect.c: (print_plugin_info):
14731 Fix leak spotted by coverity checker. Fixes #343827
14732 Fix another other leak found by paolo borelli.
14734 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14736 * libs/gst/dataprotocol/dataprotocol.c:
14737 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14738 (gst_dp_version_get_type), (gst_dp_init),
14739 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14740 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14741 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14742 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14743 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14744 (gst_dp_packetizer_free):
14745 * libs/gst/dataprotocol/dataprotocol.h:
14746 API: add a GstDPPacketizer object, and create/free functions
14747 API: add GstDPVersion enum
14748 Add 1.0 event function that uses the string serialization
14749 Serialize more useful buffer flags
14752 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14754 * tests/check/Makefile.am:
14755 * tests/check/gst/gstabi.c:
14756 * tests/check/gst/struct_ppc64.h:
14757 * tests/check/libs/libsabi.c:
14758 * tests/check/libs/struct_ppc64.h:
14759 add ppc64 structure sizes
14761 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14763 * tests/check/Makefile.am:
14764 * tests/check/gst/gstabi.c:
14765 * tests/check/gst/struct_x86_64.h:
14766 * tests/check/libs/libsabi.c:
14767 * tests/check/libs/struct_x86_64.h:
14768 generate and add structure size lists for x86_64
14770 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14772 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14773 * libs/gst/check/gstcheck.h:
14774 factor out the method from tests that checks size of structures,
14775 and add code to generate the header containing these sizes
14776 * tests/check/gst/gstabi.c: (GST_START_TEST):
14777 * tests/check/gst/struct_i386.h:
14778 * tests/check/libs/libsabi.c: (GST_START_TEST):
14779 * tests/check/libs/struct_i386.h:
14782 2006-06-06 Michael Smith <msmith@fluendo.com>
14784 * gst/gstsegment.h:
14785 Don't use c++-style comments, fixes #343929
14787 2006-06-05 Edward Hervey <edward@fluendo.com>
14790 plugin_paths is not used if we build without registry support.
14792 * gst/gstsegment.c: (gst_segment_copy):
14793 _copy() was always returning NULL...
14795 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14797 * libs/gst/dataprotocol/dataprotocol.c:
14798 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14799 (gst_dp_packet_from_event):
14800 factor out CRC code
14802 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14804 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14805 make sure we unset caps
14807 2006-06-02 Michael Smith <msmith@fluendo.com>
14809 * libs/gst/check/gstcheck.c: (gst_check_init),
14810 (gst_check_chain_func):
14811 * libs/gst/check/gstcheck.h:
14812 Add a cond/mutex to the check support lib, signal this whenever we
14813 add to the buffers list. This will allow tests to not busy-wait on
14816 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14818 * libs/gst/dataprotocol/dataprotocol.c:
14819 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14820 (gst_dp_packet_from_event):
14821 factor out some common header init code
14823 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14825 * docs/libs/gstreamer-libs-sections.txt:
14826 * docs/libs/tmpl/gstdataprotocol.sgml:
14827 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14828 * libs/gst/dataprotocol/dataprotocol.h:
14829 API: make gst_dp_crc() public
14831 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14833 * plugins/indexers/gstindexers.c: (plugin_init):
14834 conditionally register fileindexer (fixes #343598)
14836 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14838 * gst/gsttagsetter.h:
14839 Can't cast ifaces to a class
14841 * libs/gst/net/gstnetclientclock.h:
14842 * libs/gst/net/gstnettimeprovider.h:
14843 * plugins/elements/gstfakesink.h:
14844 * plugins/elements/gstfakesrc.h:
14845 * plugins/elements/gstfdsink.h:
14846 * plugins/elements/gstfdsrc.h:
14847 * plugins/elements/gstfilesink.h:
14848 * plugins/elements/gstfilesrc.h:
14849 * plugins/elements/gstidentity.h:
14850 * plugins/elements/gstqueue.h:
14851 * plugins/elements/gsttee.h:
14852 * plugins/indexers/gstfileindex.c:
14853 * plugins/indexers/gstmemindex.c:
14854 * tests/old/examples/plugins/example.h:
14855 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14857 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14859 * libs/gst/dataprotocol/dataprotocol.c:
14860 (gst_dp_header_from_buffer):
14861 make sure we zero the whole ABI-compatible area
14863 2006-06-01 Wim Taymans <wim@fluendo.com>
14865 Patch by: Alessandro Decina <alessandro at nnva dot org>
14867 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14868 Make sure the EOS flag is cleared from pads after a flush
14869 or stop. Fixes #343538.
14871 * tests/check/libs/collectpads.c: (GST_START_TEST),
14872 (gst_collect_pads_suite):
14873 Added test for collectpads reusage after EOS.
14875 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14878 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14879 * win32/common/libgstbase.def:
14880 export gst_collect_pads_set_flushing
14881 * win32/common/libgstreamer.def:
14882 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14883 gst_value_fraction_multiply
14884 * win32/vs6/gst_inspect.dsp:
14885 add a link to intl.lib
14887 2006-05-30 Wim Taymans <wim@fluendo.com>
14889 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14890 (gst_collect_pads_chain):
14891 Handle the case where a pad is removed from the collection
14892 that could cause the other pads to become collectable.
14894 2006-05-30 Wim Taymans <wim@fluendo.com>
14896 * gst/gstelement.c:
14897 Clarify the use of _release_request_pad() and
14898 _get_request_pad() a bit better.
14900 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14901 (gst_adapter_take_buffer):
14902 Fix some doc and comment typos.
14904 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14906 * docs/gst/gstreamer-sections.txt:
14907 * docs/libs/gstreamer-libs-sections.txt:
14908 add declared symbols
14910 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14912 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14913 Add debug that can be enabled using a #define at the top of the file,
14914 for dumping stats about how late/early we were when waking up from
14915 waiting on the clock.
14917 2006-05-30 Wim Taymans <wim@fluendo.com>
14919 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14920 When rebuilding the pad list, don't leak the previous list.
14922 2006-05-30 Wim Taymans <wim@fluendo.com>
14924 Patch by: Lutz Mueller <lutz at topfrose dot de>
14926 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14927 (gst_base_src_get_query_types), (gst_base_src_update_length):
14928 Publish supported query types.
14929 Update last_stop field in get_range mode so the position
14930 query works. Fixes #342321.
14932 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14934 * docs/gst/gstreamer-sections.txt:
14935 * gst/gsttaglist.c: (_gst_tag_initialize):
14936 * gst/gsttaglist.h:
14937 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14939 2006-05-30 Wim Taymans <wim@fluendo.com>
14941 Patch by: Alessandro Decina <alessandro at nnva dot org>
14943 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14944 Unlock mutex when removing an unknown pad.
14947 * tests/check/Makefile.am:
14948 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14949 (push_event), (setup), (teardown), (GST_START_TEST),
14950 (gst_collect_pads_suite), (main):
14951 Added collecpads check, disabled for now as check crashes for
14954 2006-05-29 Wim Taymans <wim@fluendo.com>
14956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14957 Don't leak pads lists.
14959 2006-05-29 Wim Taymans <wim@fluendo.com>
14961 * docs/libs/gstreamer-libs-sections.txt:
14962 * libs/gst/base/gstcollectpads.c:
14963 (gst_collect_pads_set_flushing_unlocked),
14964 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14965 (gst_collect_pads_stop):
14966 * libs/gst/base/gstcollectpads.h:
14967 API: gst_collect_pads_set_flushing()
14968 Added api to set the pads to flushing, useful for seeking
14969 code in elements using collectpads.
14970 Clear segment when receiving a flush.
14972 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14974 * gst/gst.c: (add_path_func), (init_post):
14975 Don't scan registry paths passed via --gst-plugin-path immediately
14976 (will crash, because absolutely nothing is set up and no types are
14977 registered etc.); do this later in init_post(). Fixes #343057.
14979 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14981 * gst/gst.c: (init_post):
14982 if we have fork, fork while reading/rebuilding the registry
14983 so the parent doesn't take the hit of having all plugins loaded
14984 in memory. Fixes #342777.
14986 Check if we have fork()
14987 * win32/common/config.h.in:
14990 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14992 * plugins/elements/gstelements.c:
14993 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14994 (gst_file_src_init), (gst_file_src_set_property),
14995 (gst_file_src_get_property), (gst_file_src_start):
14996 * plugins/elements/gstfilesrc.h:
14997 API: GstFileSrc::use-mmap
14999 Add a use-mmap property to enable easier testing of all code paths.
15000 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15001 in the absence of gnomevfssrc. (Closes #340501)
15003 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15005 * tools/gst-inspect.c:
15006 Add missing include, removes warning of ngettext not being defined on
15009 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15011 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15012 Handle NULL input and output pointers silently as a failed conversion,
15013 rather than g_warnings.
15015 2006-05-25 Wim Taymans <wim@fluendo.com>
15017 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15018 Initialize variable before using. Fixes #342820.
15020 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15022 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15023 Fix off-by-one bug that would only allow peeks of N-1 bytes
15024 from the start even if the buffer to typefind on contains
15025 in fact N bytes of data (makes vorbis typefinding from a
15026 vorbis identification header buffer work).
15028 * tests/check/Makefile.am:
15029 * tests/check/libs/.cvsignore:
15030 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15031 (gst_typefindhelper_suite), (main), (foobar_typefind),
15033 Add very basic unit test for gst_type_find_helper_for_buffer()
15034 that checks for the problem fixed above.
15036 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15038 * tools/gst-inspect.c: (print_interfaces),
15039 (print_element_properties_info), (print_element_list), (main):
15040 add more translatable strings
15042 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15044 Patch by: Julien Moutte <julien at moutte net>
15046 * docs/gst/gstreamer-sections.txt:
15047 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15049 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15050 (gst_fake_sink_preroll):
15051 * plugins/elements/gstfakesink.h:
15052 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15054 2006-05-23 Wim Taymans <wim@fluendo.com>
15056 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15058 Added _CUSTOM error and success GstFlowReturn that can be
15059 used be elements internally.
15060 Added macro to check for SUCCESS flowreturns.
15061 API: GST_FLOW_CUSTOM_SUCCESS
15062 API: GST_FLOW_CUSTOM_ERROR
15063 API: GST_FLOW_IS_SUCCESS
15065 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15066 Added check for GstFlowReturn sanity.
15068 2006-05-23 Wim Taymans <wim@fluendo.com>
15070 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15072 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15073 (gst_collect_pads_event):
15074 clear/reset segment info in FLUSH_STOP.
15077 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15080 (gst_collect_pads_check_collected):
15081 Flush queued buffer on _stop(), fixes playing again (#342454)
15083 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15085 * tests/check/gst/gststructure.c: (GST_START_TEST),
15086 (gst_structure_suite):
15087 add a test for a complete structure
15089 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15091 * docs/faq/developing.xml:
15092 * docs/faq/faq.xml:
15093 * docs/faq/troubleshooting.xml:
15094 * docs/faq/using.xml:
15095 Some minor FAQ updates that won't change the fact that
15096 our FAQ is badly structured, full of information hardly
15097 anyone new to GStreamer needs to know and lacking lots
15098 of information people constantly ask for.
15100 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15102 * gst/gstpad.c: (gst_pad_set_caps):
15103 Short-circuit gst_pad_set_caps if setting the existing
15104 caps pointer again, and avoid printing debug and
15105 reffing/unreffing the caps.
15107 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15108 There's actually no need to set the caps before pushing -
15109 the acceptcaps method will handle it anyway.
15111 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15113 * docs/gst/gstreamer-sections.txt:
15114 * win32/common/libgstreamer.def:
15115 * gst/gstutils.c: (gst_element_seek_simple):
15117 API: add gst_element_seek_simple() (#342238).
15119 2006-05-18 Edward Hervey <edward@fluendo.com>
15121 * gst/gsttypefind.c: (gst_type_find_get_type):
15122 * gst/gsttypefind.h:
15123 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15124 registered for GstTypeFind pointers. This allows wrapping the structure
15125 in bindings (i.e. gst-python).
15127 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15129 * gst/gsttagsetter.c:
15130 Docs additions and fixes (see #339918).
15132 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15134 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15135 The caps intersection algorithm can produce multiple copies of the
15136 caps. Until that is fixed, we need to simplify the result to be
15137 sure whether the allowed caps are fixed or not.
15139 * plugins/elements/gstqueue.c: (gst_queue_init),
15140 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15141 (gst_queue_push_one):
15142 Proxied buffer alloc should not set the caps on the source pad.
15143 When pushing buffers, we always accept the caps change that triggers.
15144 This prevents negotiation errors caused by caps changing mid-stream
15145 and then being refused on our source pad (because upstream is now
15146 refusing those caps).
15148 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15150 * tests/examples/helloworld/helloworld.c: (main):
15151 Must plug audioconvert and audioresample between decoder
15154 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15156 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15157 (load_feature), (load_plugin):
15158 Allow empty strings for some of the plugin fields so we don't
15159 drop valid plugin entries that were written out correctly
15162 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15164 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15165 Use g_remove and g_rename instead of remove and rename that don't
15166 handle utf8 characters. rename was failing for users who had specific
15167 characters in their name then the registry was built at each
15169 * win32/vs6/gst_inspect.dsp:
15170 * win32/vs6/gst_launch.dsp:
15171 * win32/vs6/libgstbase.dsp:
15172 * win32/vs6/libgstcoreelements.dsp:
15173 * win32/vs6/libgstreamer.dsp:
15174 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15175 build of libgstreamer and clean unused libraries in projects link
15178 2006-05-17 Edward Hervey <edward@fluendo.com>
15180 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15181 The queue is not responsible for pushing an EOS when receiving a fatal
15182 flow error. It's up to the real element driving the pipeline to do that.
15184 2006-05-16 Edward Hervey <edward@fluendo.com>
15186 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15187 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15188 buffer returned a fatal error. It should just send an EOS and stop
15190 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15191 when pushing buffers on the queue and will be able to handle the event.
15193 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15195 * docs/manual/basics-bins.xml:
15196 * docs/manual/basics-init.xml:
15197 Fix typos and minor errors in sample code (#341856).
15199 2006-05-16 Wim Taymans <wim@fluendo.com>
15201 * docs/design/part-qos.txt:
15202 Fix indexes in formulas to make more sense.
15204 2006-05-15 Wim Taymans <wim@fluendo.com>
15206 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15207 Don't report POSITION based on clock time if sync is
15208 disabled in a sink.
15210 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15213 Add cast to make compiler happy - refcount variable was a gint
15214 in GstObject but is a guint in GObject and g_atomic_int_get()
15217 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15219 * gst/parse/Makefile.am:
15220 chain commands using &&, which also makes parallel make work
15222 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15224 * docs/gst/gstreamer-sections.txt:
15227 * gst/gstmessage.h:
15230 === release 0.10.6 ===
15232 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15235 releasing 0.10.6, "Take the cannoli"
15237 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15239 * tools/gst-launch.c: (print_tag):
15240 Fix use of uninitialized variable in the hypothetical
15241 case that some broken plugin creates a GST_TAG_IMAGE
15242 tag containing a NULL buffer (#341667).
15244 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15246 * tools/gst-launch.c: (print_tag):
15247 Print something more intelligible for image tags when
15248 using the -t switch (#341556).
15250 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15255 define GST_MAJORMINOR so we have it available in win32/common/config.h
15256 Possibly remove it from our Makefile.am files later
15257 * win32/common/config.h:
15258 * win32/common/config.h.in:
15259 added GST_MAJORMINOR
15260 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15261 * win32/common/gstversion.h:
15264 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15267 Update win32 files listing.
15268 * win32/common/gstversion.h:
15269 Add GST_MAJORMINOR definition.
15270 * win32/common/libgstreamer.def:
15271 Add new exported functions.
15273 2006-05-12 Michael Smith <msmith@fluendo.com>
15275 * gst/gstplugin.c: (gst_plugin_load_file):
15276 If an so file has no plugin entry point, unload the module.
15278 2006-05-11 Wim Taymans <wim@fluendo.com>
15280 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15281 (gst_queue_set_property):
15282 Don't forget to signal the _chain or _loop function
15283 when the queue size or thresholds change since that might
15284 cause them to make progres again.
15286 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15288 * gst/gstclock.c: (gst_clock_class_init):
15289 * gst/gstindex.c: (gst_index_class_init):
15290 * gst/gstobject.c: (gst_object_class_init):
15291 * gst/gstpad.c: (gst_pad_class_init):
15292 * gst/gstpipeline.c: (gst_pipeline_class_init):
15293 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15294 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15295 * libs/gst/base/gstbasetransform.c:
15296 (gst_base_transform_class_init):
15297 * libs/gst/net/gstnetclientclock.c:
15298 (gst_net_client_clock_class_init):
15299 * libs/gst/net/gstnettimeprovider.c:
15300 (gst_net_time_provider_class_init):
15301 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15302 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15303 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15304 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15305 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15306 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15307 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15308 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15309 * plugins/elements/gsttee.c: (gst_tee_class_init):
15310 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15311 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15312 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15314 2006-05-11 Wim Taymans <wim@fluendo.com>
15316 * gst/gstbuffer.c: (_gst_buffer_initialize):
15317 Register subbufer along with the buffer type so that
15318 it does not accidentally gets registered from N
15319 different streaming threads in a non threadsafe way.
15321 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15325 * gst/gstmessage.h:
15326 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15327 gst_event_ref() and gst_message_ref() functions again
15328 (ugly hack, please do fix if there's a better way besides
15329 overrides.txt, which doesn't seem to work).
15331 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15333 * libs/gst/check/gstcheck.h:
15334 add an assert for setting state to avoid lots of repetitive code
15337 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15339 * gst/gstvalue.c: (gst_value_serialize_flags):
15340 fix a leak if no flags are set
15341 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15344 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15346 * docs/manual/basics-pads.xml:
15347 Expand a bit on caps and filtered links and update
15348 examples that were still using the no longer existing
15349 gst_pad_link_filtered() (#338206).
15351 2006-05-10 Wim Taymans <wim@fluendo.com>
15353 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15354 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15355 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15356 (gst_collect_pads_stop):
15357 * libs/gst/base/gstcollectpads.h:
15358 No need to call _stop in _finalize.
15359 Iterate the main pad list in _finalize.
15360 Added some more debug.
15361 Free lists and data in the right order.
15362 Also free data whem doing _remove_pad when stopped for
15363 backward compatibility protect ::started with PAD_LOCK as
15366 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15368 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15369 (gst_structure_parse_value):
15371 rename a method so that it actually says what it does better
15373 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15375 * gst/gstevent.c: (_gst_event_initialize):
15376 * gst/gstformat.c: (_gst_format_initialize):
15377 make sure some essential types used by events are registered
15378 as part of gst_init()
15379 * gst/gstvalue.c: (gst_value_serialize_flags):
15380 if no flags are set, serialize them to a value that represents NONE
15381 so that deserializing them works
15382 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15383 add tests for serialization and deserialization of flags
15385 2006-05-10 Wim Taymans <wim@fluendo.com>
15387 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15388 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15389 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15390 (gst_collect_pads_event), (gst_collect_pads_chain):
15393 Catch and return errors from the collect function
15394 Refuse data on eos pads.
15396 2006-05-10 Edward Hervey <edward@fluendo.com>
15398 * gst/gstinterface.h:
15399 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15400 GInterface type checking.
15401 They were previously using non-defined macros.
15403 2006-05-09 Wim Taymans <wim@fluendo.com>
15405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15406 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15407 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15408 (gst_collect_pads_start), (gst_collect_pads_stop),
15409 (gst_collect_pads_peek), (gst_collect_pads_pop),
15410 (gst_collect_pads_available), (gst_collect_pads_read),
15411 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15412 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15413 (gst_collect_pads_chain):
15414 * libs/gst/base/gstcollectpads.h:
15415 Clean up the mess that is collectpads, add comments and
15416 FIXMEs where needed.
15417 Maintain a separate pad list so we can add pads while
15418 collecting the other ones. For this we need a new separate
15420 Fix memory leak in finalize.
15421 Refactor some weird code to set/unset pad flushing flags, mark
15423 Don't crash in _available, _read, _flush when we're EOS.
15425 * tests/check/libs/.cvsignore:
15426 Ignore adapter check binary.
15428 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15430 * gst/gstindex.c: (gst_index_resolver_get_type):
15431 * plugins/elements/gstfakesink.c:
15432 (gst_fake_sink_state_error_get_type):
15433 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15434 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15435 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15436 Const-ify GEnumValue arrays.
15438 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15440 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15441 Add test case for flags + gst_buffer_make_metadata_writable().
15443 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15445 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15446 gst_buffer_make_metadata_writable() should maintain the
15447 buffer flags (those that make sense at least) (see #340859).
15449 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15451 * tools/gst-inspect.c:
15452 * tools/gst-launch.c:
15453 * tools/gst-typefind.c:
15454 * tools/gst-xmlinspect.c:
15456 Fix up includes: need to include stdlib.h in tools.h for exit().
15458 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15460 * gst/gsttaglist.c: (_gst_tag_initialize):
15461 * gst/gsttaglist.h:
15462 API: add GST_TAG_IMAGE tag (#340721).
15464 2006-05-08 Wim Taymans <wim@fluendo.com>
15467 Added some docs for the segment query.
15469 2006-05-08 Wim Taymans <wim@fluendo.com>
15471 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15472 (gst_base_src_loop), (gst_base_src_change_state):
15473 Always push non-flushing serialized events in the streaming
15476 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15478 * gst/gsterror.c: (_gst_stream_errors_init):
15479 Add a missing error string.
15481 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15483 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15484 Add applied_rate to the debug
15486 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15487 Copy applied_rate into the outgoing NEWSEGMENT event
15489 2006-05-08 Wim Taymans <wim@fluendo.com>
15491 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15493 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15494 (gst_base_sink_change_state):
15495 call ::unlock before taking the PREROLL_LOCK so we can safely
15496 handle elements that lock in ::render.
15499 2006-05-08 Edward Hervey <edward@fluendo.com>
15501 * autogen.sh: (CONFIGURE_DEF_OPT):
15502 Darwin's libtoolize is in fact called glibtoolize.
15503 Adding glibtoolize to the list of accepted names for libtoolize.
15505 2006-05-08 Wim Taymans <wim@fluendo.com>
15507 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15508 Unify error handling, don't post an error message
15509 when a push() returns EOS but perform our normal EOS
15510 handling code. Fixes #340772.
15512 2006-05-08 Wim Taymans <wim@fluendo.com>
15514 * docs/design/part-overview.txt:
15515 Make upsteam/downstream concepts more clear.
15516 Give an example of serialized/non-serialized events.
15518 * docs/design/part-events.txt:
15519 * docs/design/part-streams.txt:
15520 Mention applied_rate.
15522 * docs/design/part-trickmodes.txt:
15523 Mention applied rate, flesh out some more use cases.
15525 * gst/gstevent.c: (gst_event_new_new_segment),
15526 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15527 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15528 (gst_event_parse_tag), (gst_event_new_buffer_size),
15529 (gst_event_parse_buffer_size), (gst_event_new_qos),
15530 (gst_event_parse_qos), (gst_event_parse_seek),
15531 (gst_event_new_navigation):
15533 Add applied_rate field to NEWSEGMENT event.
15534 API: gst_event_new_new_segment_full()
15535 API: gst_event_parse_new_segment_full()
15537 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15538 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15539 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15540 * gst/gstsegment.h:
15541 Add applied_rate to GstSegment structure.
15542 Make calculation of stream_time and running_time more correct
15543 wrt rate/applied_rate.
15544 Add some more docs.
15545 API: GstSegment::applied_rate field
15546 API: gst_segment_set_newsegment_full();
15548 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15549 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15550 * libs/gst/base/gstbasetransform.c:
15551 (gst_base_transform_sink_eventfunc),
15552 (gst_base_transform_handle_buffer):
15553 Parse and use applied_rate in the GstSegment field.
15555 * tests/check/gst/gstevent.c: (GST_START_TEST):
15556 Add check for applied_rate field.
15558 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15559 (gstsegments_suite):
15560 Add more checks for various GstSegment operations.
15562 2006-05-08 Wim Taymans <wim@fluendo.com>
15564 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15565 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15566 (gst_base_sink_get_position), (gst_base_sink_change_state):
15567 Store the sync time of the buffer end position separatly in a
15568 new variable eos_rtime so we can properly sync the EOS event.
15570 Fix the docs for gst_base_sink_set_qos_enabled().
15571 Don't set segment start to invalid value when we receive a
15572 non TIME newsegment.
15573 get closer to handling position reporting for negative rates
15576 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15579 Docs about how to print caps for debug purposes.
15581 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15582 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15584 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15586 * gst/gstelement.c:
15587 use full enum names and preprend a '%' in docs strings to make recent
15588 gtk-doc turn that into a link
15590 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15592 * docs/manual/basics-bins.xml:
15593 * docs/manual/basics-bus.xml:
15594 * docs/manual/basics-pads.xml:
15595 Some typo fixes, some additions, some clarifications.
15597 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15599 * tools/gst-inspect.c: (main):
15600 * tools/gst-launch.c: (main):
15601 * tools/gst-run.c: (main):
15602 * tools/gst-typefind.c: (main):
15603 * tools/gst-xmlinspect.c: (main):
15604 Use the string passed to g_option_context_new() for
15605 what it's intended for - the program name is already
15608 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15610 * tools/Makefile.am:
15611 * tools/gst-inspect.c: (main):
15612 * tools/gst-launch.c: (main):
15613 * tools/gst-xmlinspect.c: (main):
15615 Add back --version command line option (#340460).
15617 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15618 Add --version option and use GOption for argument parsing; refactor a
15619 bit; accept directories as arguments and recurse into them; lastly,
15620 print a decent error message when things go wrong.
15622 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15624 * docs/manual/basics-bins.xml:
15625 Don't mention GstThread (#340611)
15626 * docs/manual/basics-elements.xml:
15627 Update link to GObject tutorial (#340607)
15629 2006-05-05 Wim Taymans <wim@fluendo.com>
15632 * gst/gstminiobject.c:
15633 Add note about refcounting and miniobject/buffer writeability
15634 to docs. Fixes #340604
15636 * gst/gstelementfactory.h:
15637 Added some explanation about @klass.
15639 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15641 * docs/manual/intro-motivation.xml:
15642 * docs/manual/manual.xml:
15643 Avoid CORBA & Bonobo references (#340598)
15645 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15647 * docs/manual/basics-bus.xml:
15648 * docs/manual/basics-pads.xml:
15649 Fix up some inaccuracies and omissions (#340609)
15651 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15653 * gst/gstghostpad.c:
15654 Small typo in docs (#340625)
15656 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15658 * gst/parse/Makefile.am:
15659 Make 'make -j' proof (see #340698).
15661 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15664 Require GLib-2.8 here as well.
15666 2006-05-05 Wim Taymans <wim@fluendo.com>
15668 * gst/glib-compat.c:
15669 * gst/gst.c: (init_pre):
15670 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15671 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15672 (gst_object_dispatch_properties_changed):
15674 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15675 * gst/gststructure.c: (gst_structure_set_valist):
15676 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15677 Remove pre glib2.8 compatibility, fixes #340508
15679 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15681 * gst/gsttaglist.h:
15682 Mention type of tags in doc blurbs.
15684 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15686 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15687 (gst_pad_configure_src), (gst_pad_push):
15688 Restore acceptcaps checking behaviour now that good plugins have
15691 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15693 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15700 * gst/gstmessage.c:
15704 * gst/parse/Makefile.am:
15705 * libs/gst/base/gstadapter.c:
15706 * libs/gst/base/gstbasesrc.c:
15707 * libs/gst/base/gstpushsrc.c:
15708 * libs/gst/base/gsttypefindhelper.c:
15709 * plugins/elements/gstfakesrc.c:
15710 * plugins/elements/gstidentity.c:
15711 Make sure gstprivate.h and/or config.h are
15712 always included first, otherwise some of our
15713 defines (like _FILE_OFFSET_BITS) might be
15714 redefined in the system headers. Fixes build
15715 on opensolaris (#340016).
15717 2006-05-04 Wim Taymans <wim@fluendo.com>
15719 * docs/libs/gstreamer-libs-sections.txt:
15720 API: addition: gst_adapter_take_buffer()
15722 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15723 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15724 (gst_adapter_available_fast):
15725 * libs/gst/base/gstadapter.h:
15726 Prepare for optimizing the hell out of this hugely inefficient
15728 Added gst_adapter_take_buffer() so we can at least start thinking
15729 about subbuffering and merging.
15730 Added some comments.
15732 * tests/check/Makefile.am:
15733 * tests/check/libs/adapter.c: (GST_START_TEST),
15734 (gst_adapter_suite), (main):
15735 Added GstAdapter check.
15737 2006-05-04 Wim Taymans <wim@fluendo.com>
15739 * docs/design/part-overview.txt:
15740 Fix some typos, add blurb about buffer flags.
15742 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15744 * docs/libs/gstreamer-libs-sections.txt:
15745 make sure GstBaseTransformClass shows up in the docs
15746 * libs/gst/base/gstbasetransform.c:
15747 * libs/gst/base/gstbasetransform.h:
15748 move docs so gtk-doc picks it up now
15750 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15752 * docs/libs/gstreamer-libs-sections.txt:
15753 add missing symbols to docs
15755 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15757 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15758 back out the newsegment handling change, see #340060 for ongoing
15761 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15763 * tools/gst-run.c: (get_candidates), (main):
15764 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15765 work); fix typo in error message. Fixes #340079.
15767 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15769 * common/Makefile.am:
15770 * docs/Makefile.am:
15771 * docs/faq/Makefile.am:
15772 * docs/gst/Makefile.am:
15773 * docs/libs/Makefile.am:
15774 * docs/manual/Makefile.am:
15775 * docs/plugins/Makefile.am:
15776 * docs/pwg/Makefile.am:
15777 * docs/slides/Makefile.am:
15779 * common/upload.mak:
15780 move upload.mak to common
15782 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15784 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15785 add more asserts on refcounts
15786 do more cleanup at end of tests
15787 fix test leaks showing in FC5
15789 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15791 * plugins/elements/gsttypefindelement.c:
15792 (gst_type_find_element_handle_event):
15793 reverted wrong change and reflowed code to avoid others falling into
15796 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15798 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15799 fix changelog entry about last collectpads change,
15800 add notes about proper fix
15802 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15805 * gst/gstregistry.c: (gst_registry_scan_path_level),
15806 (gst_registry_scan_path):
15807 * gst/gstregistry.h:
15808 only write out registry if it has changed, fixes #338339
15810 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15813 * gst/gstpipeline.c:
15814 * plugins/elements/gstcapsfilter.c:
15815 * plugins/elements/gstfakesink.c:
15816 * plugins/elements/gstfakesrc.c:
15817 * plugins/elements/gstfdsink.c:
15818 * plugins/elements/gstfdsrc.c:
15819 * plugins/elements/gstfilesink.c:
15820 * plugins/elements/gstfilesrc.c:
15821 * plugins/elements/gstidentity.c:
15822 * plugins/elements/gstqueue.c:
15823 * plugins/elements/gsttee.c:
15824 * plugins/elements/gsttypefindelement.c:
15825 (gst_type_find_element_handle_event):
15826 make GstElementDetails const
15828 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15830 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15831 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15832 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15833 more detailed debug and formatting cleanup,
15834 forward newsegments to src-pad (so that e.g. adder not eats them)
15836 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15838 * gst/gstutils.c: (gst_element_link_pads):
15839 cleanup double code
15841 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15843 * libs/gst/controller/gstcontroller.c:
15844 (gst_controller_sync_values):
15846 * tests/check/libs/controller.c: (GST_START_TEST),
15847 (gst_controller_suite):
15848 a new test for live value handling
15850 2006-04-28 Wim Taymans <wim@fluendo.com>
15852 * gst/gstutils.c: (push_and_ref):
15853 Added some more docs.
15854 Fix refcount issue whith gst_element_found_tags() helper
15855 function. Fixes #338335
15857 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15858 Added testsuite for gst_element_found_tags().
15860 2006-04-28 Michael Smith <msmith@fluendo.com>
15862 * gst/gstvalue.c: (gst_value_serialize_flags):
15863 Avoid NULL dereference when trying to serialize flags containing
15866 2006-04-28 Michael Smith <msmith@fluendo.com>
15868 * plugins/elements/gsttypefindelement.c:
15869 (gst_type_find_element_handle_event):
15870 If we get EOS before any data is accumulated, don't use
15871 uninitialised local variables.
15873 2006-04-28 Michael Smith <msmith@fluendo.com>
15875 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15876 (gst_dp_event_from_packet):
15877 Fixes in reading/writing events over GDP (not currently used?) -
15878 dereferencing NULL events for unknown/invalid event types, memory
15879 leak, and change g_warning to GST_WARNING.
15881 2006-04-28 Wim Taymans <wim@fluendo.com>
15883 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15884 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15885 (gst_base_sink_get_position), (gst_base_sink_change_state):
15886 When frame dropping is enabled, we should not ignore frames
15887 without a duration.
15888 Update some documentation.
15890 2006-04-28 Wim Taymans <wim@fluendo.com>
15892 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15893 (gst_base_src_send_event), (gst_base_src_change_state):
15894 Documentation updates.
15896 2006-04-28 Wim Taymans <wim@fluendo.com>
15898 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15899 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15900 handle EAGAIN, EINTR and short writes correctly. Also clean
15901 up some error cases, avoid a deadlock on bad file descriptors and
15902 use GST_DEBUG_OBJECT.
15905 2006-04-28 Wim Taymans <wim@fluendo.com>
15907 * gst/gstvalue.c: (gst_value_serialize_buffer),
15908 (gst_value_deserialize_buffer):
15909 Don't try to serialize a GValue with a NULL buffer.
15912 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15913 Added check for serialisation of NULL buffers.
15915 2006-04-28 Wim Taymans <wim@fluendo.com>
15917 * gst/gstminiobject.c: (gst_value_take_mini_object):
15918 Taking a NULL miniobject is valid, fix the case where
15919 we try to unref the NULL miniobject.
15921 2006-04-28 Wim Taymans <wim@fluendo.com>
15923 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15925 * gst/gstbin.c: (gst_bin_handle_message_func):
15927 Don't leak bin refcount when a state recalc is
15928 in progress and we delay another one #339808.
15930 2006-04-28 Wim Taymans <wim@fluendo.com>
15932 * docs/design/part-TODO.txt:
15933 Mention QoS as an ongoing work item.
15935 * docs/design/part-buffering.txt:
15936 New doc about buffering that needs to be fleshed out
15939 * docs/design/part-qos.txt:
15940 More QoS policy for decoders/demuxers/transforms
15942 * docs/design/part-trickmodes.txt:
15945 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15950 === release 0.10.5 ===
15952 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15955 releasing 0.10.5, "Fogo"
15957 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15959 patch by: Wim Taymans
15961 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15962 (gst_pad_configure_src), (gst_pad_push):
15963 * gst/gstpipeline.c: (gst_pipeline_init):
15964 Fix internal data flow errors. Fixes #338711.
15966 2006-04-12 Wim Taymans <wim@fluendo.com>
15968 * tests/check/gst/gstelement.c: (GST_START_TEST):
15969 Don't leak the factory.
15971 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15974 * win32/common/config.h:
15977 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15979 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15980 (gst_controller_unset_all):
15981 Free allocated GstTimedValues when freeing list nodes.
15982 Should fix leaks 'make check-valgrind' complains about.
15984 * win32/common/libgstcontroller.def:
15985 Add gst_controller_unset_all.
15987 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15989 * docs/libs/gstreamer-libs-sections.txt:
15990 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15991 (gst_controller_unset_all):
15992 * libs/gst/controller/gstcontroller.h:
15993 API: Added new method gst_controller_unset_all()
15994 fixed gst_controller_unset()
15995 * tests/check/libs/controller.c: (GST_START_TEST),
15996 (gst_controller_suite):
15997 Added two testcases for new and fixed method
15999 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16001 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16002 MSG_DONTWAIT is not defined on Cygwin, so work
16003 around that (fixes #317048).
16005 2006-04-11 Wim Taymans <wim@fluendo.com>
16007 * gst/gstelementfactory.c: (gst_element_register),
16008 (gst_element_factory_create), (gst_element_factory_make):
16011 Updated docs (Fixes #131079)
16013 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16016 * tests/check/gst/gstelement.c: (GST_START_TEST),
16017 (gst_element_suite):
16018 Added testcase for elementfactory class field.
16020 2006-04-10 Wim Taymans <wim@fluendo.com>
16022 * gst/gstsegment.c:
16023 Added some more docs.
16025 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16026 (gst_base_sink_reset_qos):
16027 Calculate more accurate rate values.
16029 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16031 * gst/gst_private.h:
16032 add a new #ifdef to use __declspec(dllimport) only for
16033 other modules and not for gstreamer core
16034 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16035 use gst_guint64_to_gdouble for conversion
16036 * win32/common/libgstreamer.def:
16037 add new exported functions
16038 * win32/vs6/gst_inspect.dsp:
16039 * win32/vs6/gst_launch.dsp:
16040 * win32/vs6/libgstbase.dsp:
16041 * win32/vs6/libgstcontroller.dsp:
16042 * win32/vs6/libgstcoreelements.dsp:
16043 * win32/vs6/libgstdataprotocol.dsp:
16044 * win32/vs6/libgstnet.dsp:
16045 update project files
16047 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16049 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16050 * gst/gstclock.c: (gst_clock_class_init):
16051 * gst/gstelement.c: (gst_element_class_init):
16052 * gst/gstindex.c: (gst_index_class_init):
16053 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16054 * gst/gstobject.c: (gst_object_class_init),
16055 (gst_signal_object_class_init):
16056 * gst/gstpad.c: (gst_pad_class_init):
16057 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16058 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16059 * gst/gstregistry.c: (gst_registry_class_init):
16060 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16061 * gst/gsttask.c: (gst_task_class_init):
16062 * gst/gstxml.c: (gst_xml_class_init):
16063 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16064 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16065 (gst_base_src_loop):
16066 * libs/gst/controller/gstcontroller.c:/
16067 (_gst_controller_class_init):
16068 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16069 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16070 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16071 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16072 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16073 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16075 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16077 * gst/gstpad.c: (gst_pad_link):
16078 Must set peer pads before calling the link function, otherwise
16079 a task started from a link function might get a flow-not-linked
16080 result when trying to push because the other thread where the
16081 linking happens hasn't had a chance to set the peers yet. This
16082 might happen for example when a queue gets linked to a downstream
16083 element, as queue starts a streaming task when its source pad
16084 gets linked. Happens in real life when playing back flac/musepack
16085 files in playbin (#332390).
16087 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16091 * libs/gst/base/gstadapter.h:
16092 * libs/gst/base/gstbasesink.h:
16093 * libs/gst/base/gstbasesrc.h:
16094 * libs/gst/base/gstbasetransform.h:
16095 * libs/gst/base/gstcollectpads.h:
16096 * libs/gst/base/gstpushsrc.h:
16097 Fix broken GObject macros
16099 2006-04-07 Wim Taymans <wim@fluendo.com>
16101 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16102 Initialize start and stop times, thanks valgrind.
16104 2006-04-07 Wim Taymans <wim@fluendo.com>
16106 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16107 Be a bit nicer to badly behaving upstream elements that expect
16108 us to deal with non TIME segments and timestamps (such as fakesrc
16111 2006-04-07 Wim Taymans <wim@fluendo.com>
16114 Small documentation clarification about the signal watch.
16116 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16117 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16118 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16119 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16120 (gst_base_sink_get_position_last),
16121 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16122 Convert and store timestamps in stream time and running time, the
16123 raw timestamps are not useful, also document this better.
16124 Use different window sizes for good and bad QoS observations so
16125 we react to badness a little quicker.
16126 Keep track of the amount of rendered and dropped buffers.
16127 Send QoS timestamps in running time.
16129 * libs/gst/base/gstbasetransform.c:
16130 (gst_base_transform_sink_eventfunc),
16131 (gst_base_transform_handle_buffer):
16132 Compare QoS timestamps against running time.
16134 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16137 Typo fixes in docs.
16139 2006-04-06 Michael Smith <msmith@fluendo.com>
16141 * gst/gstpad.c: (gst_pad_set_property):
16142 Use g_value_get_object() instead of g_value_dup_gst_object(),
16143 to avoid double-reffing the pad template (which we then sink,
16144 so this worked previously if (and only if) the pad template
16147 * gst/gstpadtemplate.c: (gst_pad_template_init),
16148 (gst_pad_template_pad_created):
16149 Never return floating references to pad templates, create
16150 them as initially-sunken.
16152 Document an extra function (and make this stop sinking our
16153 pad template, since that is now guaranteed to do nothing,
16154 since we created it sunken).
16156 * gst/gstghostpad.c:
16159 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16161 * gst/gstinfo.c: (__gst_in_valgrind):
16164 * plugins/elements/gsttypefindelement.c:
16165 (gst_type_find_element_chain):
16166 Don't leak buffer caps.
16168 2006-04-06 Michael Smith <msmith@fluendo.com>
16170 * gst/parse/grammar.y:
16171 Fix a leak in parse-launch for any source-or-sink named element
16174 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16175 Unref the pipeline if it exists after we've failed parsing.
16177 2006-04-05 Michael Smith <msmith@fluendo.com>
16179 * gst/gstpipeline.c: (gst_pipeline_init):
16180 When we create a pipeline bus, initially create it in flushing mode.
16181 Fixes leaks in at least one test, and makes a new pipeline work the
16182 same as one that has gone to READY and then back to NULL.
16184 * gst/gstelement.c:
16187 2006-04-05 Michael Smith <msmith@fluendo.com>
16189 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16190 Unref a pad we reffed.
16191 * tests/check/gst/gstutils.c: (GST_START_TEST):
16194 2006-04-05 Michael Smith <msmith@fluendo.com>
16196 * gst/gstquery.c: (gst_query_set_formats),
16197 (gst_query_set_formatsv):
16198 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16200 2006-04-05 Michael Smith <msmith@fluendo.com>
16202 * tests/check/generic/sinks.c: (GST_START_TEST):
16203 Fix a variety of memleaks in sinks check, which are only sometimes
16204 shown by running the tests under valgrind (weird?).
16206 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16208 * docs/version.entities.in:
16209 Fix the substituted entity name after thomas' changes on the
16212 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16214 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16217 2006-04-05 Andy Wingo <wingo@pobox.com>
16219 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16221 * libs/gst/base/gstbasetransform.c
16222 (gst_base_transform_sink_eventfunc): When resetting our segment on
16223 FLUSH_STOP, also update the flag saying we haven't seen a
16226 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16228 Patch by: Paolo Borelli <pborelli at katamail dot com>
16230 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16231 (gst_plugin_check_license):
16232 minor clean-ups: G_DEFINE_TYPE already takes care of the
16233 parent_class stuff, no need to do it twice. Mark array of
16234 license strings as constant. (#337103)
16236 2006-04-04 Michael Smith <msmith@fluendo.com>
16238 * tools/gst-inspect.c: (print_element_list):
16239 Free the right plugin list; fixes a memory leak.
16241 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16243 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16245 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16246 Don't error out on empty buffers (#336945).
16248 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16250 * docs/libs/gstreamer-libs-sections.txt:
16251 * gst/gsttaglist.c:
16252 * libs/gst/base/gstbasesink.c:
16253 * libs/gst/base/gstbasesink.h:
16254 * libs/gst/base/gstbasesrc.c:
16255 * libs/gst/base/gstbasesrc.h:
16256 Documentation updates. Make BaseSink and BaseSrc docs contain the
16257 class structure so that people can actually see the prototypes for
16258 virtual functions they're supposed to be overriding.
16260 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16262 * plugins/elements/gsttypefindelement.c:
16263 (gst_type_find_element_chain):
16264 More debug info; when skipping typefinding, send cached
16265 events in all cases.
16267 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16270 use new AS_VERSION and AS_NANO macros
16271 * gst/gst-i18n-lib.h:
16274 * gst/gstversion.h.in:
16275 * win32/common/config.h:
16276 * win32/common/config.h.in:
16279 2006-03-31 Michael Smith <msmith@fluendo.com>
16281 * plugins/elements/gsttypefindelement.c:
16282 (gst_type_find_element_chain):
16283 Do not typefind content if the buffers already have caps.
16284 Neccesary for icydemux (#333657), and the right thing to do anyway.
16286 2006-03-30 Wim Taymans <wim@fluendo.com>
16288 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16289 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16290 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16291 (gst_base_sink_record_qos_observation),
16292 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16293 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16294 (gst_base_sink_change_state):
16295 More QoS measurements as described in the design doc.
16296 Get rid of ringbuffer with observations, running average is
16297 more simple and equally good.
16298 Calculates valid proportion now.
16299 Added beginning of flood measurement.
16301 2006-03-29 Wim Taymans <wim@fluendo.com>
16303 * docs/design/part-qos.txt:
16305 Small documentation updates and additions.
16307 2006-03-29 Wim Taymans <wim@fluendo.com>
16309 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16310 (gst_base_src_send_event), (gst_base_src_loop),
16311 (gst_base_src_change_state):
16312 Perform the EOS logic when we reach the segment stop position.
16313 Fix compilation on gcc4.1
16315 2006-03-29 Wim Taymans <wim@fluendo.com>
16317 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16319 * plugins/elements/gstqueue.c: (gst_queue_init),
16320 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16321 (gst_queue_set_property):
16322 * plugins/elements/gstqueue.h:
16323 In queue, when EOS is received, if minimum threshold > max_size -
16324 current_level, there is chance that queue blocks forever in conditional
16325 item del wait. This is because the queue is not emptied completely due
16326 to minimum threshold. Here is another approach. Instead of setting
16327 cur_levels to max in EOS, just zero all minimum threshold levels. This
16328 should make sure that queue gives out all data. When going to READY
16329 (stop) state, just reset the original minimum threshold levels.
16332 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16334 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16335 (gst_type_find_element_handle_event),
16336 (gst_type_find_element_send_cached_events),
16337 (gst_type_find_element_change_state):
16338 * plugins/elements/gsttypefindelement.h:
16339 When typefinding is done in push mode, we should cache
16340 events we receive during typefinding instead of just
16341 dropping them (e.g. newsegment, custom events from
16342 dvdreadsrc etc.) and then send them out once we've
16343 determined the type of the stream (and decodebin
16344 has had a chance to plug in a decoder/demuxer).
16346 2006-03-27 Wim Taymans <wim@fluendo.com>
16348 * docs/design/part-qos.txt:
16351 2006-03-27 Wim Taymans <wim@fluendo.com>
16353 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16355 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16356 (gst_base_src_send_event), (gst_base_src_change_state):
16357 Handle element seek correctly when we are streaming.
16360 2006-03-24 Michael Smith <msmith@fluendo.com>
16362 * docs/faq/gst-uninstalled:
16363 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16364 allow you to correctly run intalled applications built against old
16365 core, using plugins that require updated core (e.g. running
16366 installed totem against a full uninstalled gstreamer stack)
16368 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16370 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16373 2006-03-24 Wim Taymans <wim@fluendo.com>
16375 * docs/gst/gstreamer-sections.txt:
16376 Rearrange the order of the methods so that related methods
16377 are grouped together in sections.
16379 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16381 * gst/gstelement.c:
16382 Little clarification in the docs
16384 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16388 * plugins/elements/gstidentity.c:
16389 * plugins/elements/gstqueue.c:
16390 * plugins/elements/gsttee.c:
16391 * plugins/elements/gsttypefindelement.c:
16392 GST_ELEMENT_DETAILS formatting
16394 2006-03-24 Wim Taymans <wim@fluendo.com>
16396 * libs/gst/base/gstbasesink.h:
16397 Only add fields, not insert or we break ABI.
16399 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16401 * win32/common/libgstbase.def:
16402 * win32/common/libgstreamer.def:
16403 Update, add recently added functions.
16405 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16407 * docs/gst/gstreamer-sections.txt:
16408 * gst/gstutils.c: (gst_pad_query_peer_position),
16409 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16411 API: add some new utility functions:
16412 - gst_pad_query_peer_position()
16413 - gst_pad_query_peer_duration()
16414 - gst_pad_query_peer_convert()
16416 2006-03-23 Wim Taymans <wim@fluendo.com>
16418 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16419 (gst_base_sink_init), (gst_base_sink_finalize),
16420 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16421 (gst_base_sink_set_property), (gst_base_sink_get_property),
16422 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16423 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16424 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16425 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16426 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16427 (gst_base_sink_preroll_object), (gst_base_sink_event),
16428 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16429 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16430 (gst_base_sink_query), (gst_base_sink_change_state):
16431 Decouple max-lateness and the fact that QoS messages are generated
16432 with a new property (qos).
16433 added API: GstBaseSink::async_play()
16434 Add vmethod so subclasses can be notified of ASYNC playing
16436 Collect timestamp start and stop to report better current
16437 position in EOS/PLAYING/PAUSED/READY/NULL.
16438 Refactor QoS/frame dropping and other measurements.
16439 API: GstBaseSrc::qos
16442 * libs/gst/base/gstbasesink.h:
16443 Added Private struct.
16444 API: gst_base_sink_set_qos_enabled()
16445 API: gst_base_sink_is_qos_enabled()
16447 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16449 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16450 If compiling against GLib-2.8 or newer, try to read the
16451 registry file using GMappedFile first before falling back
16452 to fopen() + fread() (#332151).
16454 2006-03-22 Wim Taymans <wim@fluendo.com>
16456 * gst/gstinfo.c: (gst_debug_set_active),
16457 (gst_debug_category_set_threshold):
16458 Disable debugging unless explicitly activated.
16461 2006-03-22 Wim Taymans <wim@fluendo.com>
16463 * gst/gstelement.c: (gst_element_set_locked_state),
16464 (gst_element_dispose):
16465 Cleanup the error case.
16467 * gst/gstobject.c: (gst_object_dispose):
16468 print a critical when some object was disposed with
16469 a parent, also revive the object since it might
16472 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16474 * tools/gst-launch.1.in:
16477 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16480 * tests/check/Makefile.am:
16481 disable some tests when we don't have a registry
16482 * tests/check/gst/gstutils.c: (gst_utils_suite):
16483 don't build the part that needs parsing
16485 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16488 * tests/examples/Makefile.am:
16489 fix --disable-parse build
16491 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16493 * tools/gst-feedback.1.in:
16494 Fix typo: s/feeback/feedback/ (#133494).
16496 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16498 * tools/Makefile.am:
16499 * tools/gst-launch.1.in:
16500 Add FILES section and correct entry about GST_REGISTRY_PATH
16501 environment variable (#133495; #133494).
16503 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16505 * tools/Makefile.am:
16506 * tools/gst-md5sum.1.in:
16507 * tools/gst-md5sum.c:
16508 Remove gst-md5sum and man page (the md5sink element
16509 required was removed ages ago)
16511 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16513 * gst/gststructure.c: (gst_structure_id_set_value):
16514 Make sure that string fields in structures/taglists
16515 contain valid UTF-8 - we don't want to pass rubbish to
16516 applications because of a buggy plugin (cp. #334167).
16518 2006-03-21 Edward Hervey <edward@fluendo.com>
16520 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16521 (gst_bin_handle_message_func):
16522 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16523 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16524 (gst_element_set_bus_func):
16525 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16526 * gst/gstminiobject.c: (gst_value_set_mini_object),
16527 (gst_value_take_mini_object):
16528 * gst/gstpad.c: (gst_pad_set_pad_template):
16529 * gst/gstpipeline.c: (gst_pipeline_dispose),
16530 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16531 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16532 (gst_collect_pads_chain):
16533 * libs/gst/net/gstnettimeprovider.c:
16534 (gst_net_time_provider_set_property):
16535 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16536 It's in fact all issues with gst_*object_replace().
16538 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16540 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16542 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16543 * pkgconfig/gstreamer-check.pc.in:
16544 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16546 2006-03-21 Edward Hervey <edward@fluendo.com>
16550 * gst/gstmessage.h:
16551 gst_[buffer|event|message]_ref() macros are replaced by a static
16552 inline functions because gcc-4.1 will about if the return value
16554 * tests/check/gst/gstevent.c: (event_probe):
16555 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16557 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16560 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16561 the type' case. (Closes: #335195 for now). In the future, when we
16562 depend on GLib 2.10, we could also intern the type name using
16563 g_intern_static_string()
16565 2006-03-20 Wim Taymans <wim@fluendo.com>
16567 * gst/gstbin.c: (gst_bin_handle_message_func),
16568 (bin_query_max_init), (bin_query_position_fold),
16569 (bin_query_position_done), (gst_bin_query):
16570 Position query should also take max of all streams.
16572 2006-03-20 Wim Taymans <wim@fluendo.com>
16574 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16575 (gst_fake_src_finalize):
16576 Fix leaks in fakesrc.
16578 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16579 Fix leaks in the testcase.
16581 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16583 * gst/gst_private.h:
16584 add win32 specific import decoration(__declspec(dllimport))
16585 for all extern GstDebugCategory * variables
16586 * win32/common/libgstbase.def:
16587 * win32/common/libgstcontroller.def:
16588 * win32/common/libgstreamer.def:
16589 Add some exports, remove empty lines
16590 * win32/common/libgstdataprotocol.def:
16591 * win32/common/libgstdataprotocol.dsp:
16592 * win32/common/libgstnet.def:
16593 * win32/common/libgstnet.dsp:
16594 new project files and exportation files added
16596 2006-03-19 Wim Taymans <wim@fluendo.com>
16598 * tests/check/libs/basesrc.c: (eos_event_counter):
16599 Use proper return value for probe.
16601 2006-03-17 Wim Taymans <wim@fluendo.com>
16603 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16605 Don't leak buffers, caps and pads on negotiation errors.
16607 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16609 * docs/faq/cvs.xml:
16610 * docs/faq/dependencies.xml:
16611 * docs/faq/developing.xml:
16612 * docs/faq/faq.xml:
16613 * docs/faq/general.xml:
16614 * docs/faq/getting.xml:
16615 * docs/faq/legal.xml:
16616 * docs/faq/troubleshooting.xml:
16617 * docs/faq/using.xml:
16618 Faq review and update.
16620 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16622 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16624 Don't pound the cpu to pieces by checking get_caps when accept_caps
16625 is called with the same caps as the pad already has.
16626 Use GST_DEBUG_OBJECT when outputting caps change information.
16628 2006-03-15 Wim Taymans <wim@fluendo.com>
16630 * gst/gstclock.c: (gst_clock_class_init):
16633 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16638 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16639 (gst_pad_accept_caps), (gst_pad_configure_sink),
16640 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16641 Make the default acceptcaps behaviour be to check the requested
16642 caps against the gst_pad_get_caps output.
16644 Ensure that gst_pad_accept_caps is used to check caps when a pad
16645 doesn't have a setcaps function, so that pads automatically refuse
16646 caps that they don't allow in their pad template. (Fixes #332986)
16648 When a buffer with attached caps is pushed, ensure that the source
16649 pad receives those caps even if the element didn't call
16650 gst_pad_set_caps first.
16652 2006-03-15 Wim Taymans <wim@fluendo.com>
16654 * libs/gst/base/gstadapter.c:
16657 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16659 * win32/common/libgstbase.def:
16660 * win32/common/libgstcontroller.def:
16661 * win32/common/libgstreamer.def:
16662 Add a whole bunch of missing functions (#334434).
16664 2006-03-14 Wim Taymans <wim@fluendo.com>
16666 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16667 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16668 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16669 Better debug info when we receive a segment event.
16670 Reorganize a bit so we can pass the get_times() results around.
16671 Use the segment format when calculating the running time.
16672 Don't do QoS is sync is disabled or we have no clock or the
16673 element does not want us to sync to the clock.
16674 Don't drop buffers if QoS is disabled for now.
16676 2006-03-14 Wim Taymans <wim@fluendo.com>
16678 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16679 Marked the stats property as unimplemented so people don't get
16681 Add debug message when regression goes wrong.
16682 Added some more docs.
16684 2006-03-14 Wim Taymans <wim@fluendo.com>
16686 * gst/gstsegment.c: (gst_segment_to_stream_time):
16687 Return correct return type in case of errors.
16689 2006-03-14 Wim Taymans <wim@fluendo.com>
16691 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16692 Don't segfault on invalid formats.
16694 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16696 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16697 Can't use gst_segment_to_running_time() when the segment
16698 is not in GST_TIME_FORMAT (like with filesink, for example).
16699 Stops flac encoding pipelines from spewing critical warnings
16702 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16704 * gst/gstpipeline.c: (gst_pipeline_class_init):
16705 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16707 * plugins/elements/gsttypefindelement.c:
16708 (gst_type_find_element_handle_event):
16709 Don't try to typefind empty streams.
16711 2006-03-14 Wim Taymans <wim@fluendo.com>
16713 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16714 (gst_base_sink_do_qos):
16715 Separate QoS calculation.
16716 Only drop buffers when lateness is bigger than the
16717 duration of the buffer.
16719 2006-03-13 Wim Taymans <wim@fluendo.com>
16721 * gst/gstpipeline.c: (gst_pipeline_set_property),
16722 (gst_pipeline_get_property), (do_pipeline_seek),
16723 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16724 (gst_pipeline_get_delay):
16725 Don't deadlock when reading properties.
16727 2006-03-13 Wim Taymans <wim@fluendo.com>
16729 * libs/gst/base/gstbasetransform.c:
16730 (gst_base_transform_class_init), (gst_base_transform_init),
16731 (gst_base_transform_sink_event),
16732 (gst_base_transform_sink_eventfunc),
16733 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16734 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16735 (gst_base_transform_set_property),
16736 (gst_base_transform_get_property),
16737 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16738 (gst_base_transform_set_qos_enabled),
16739 (gst_base_transform_is_qos_enabled):
16740 * libs/gst/base/gstbasetransform.h:
16741 Make basetransform virtual method for src events too.
16742 Handle QOS in basetransform.
16743 API: gst_base_transform_update_qos()
16744 API: gst_base_transform_set_qos_enabled()
16745 API: gst_base_transform_is_qos_enabled()
16747 2006-03-13 Wim Taymans <wim@fluendo.com>
16749 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16750 (gst_base_sink_do_sync):
16752 Use QOS debug category.
16754 2006-03-13 Wim Taymans <wim@fluendo.com>
16756 * plugins/elements/gstqueue.c:
16757 Very small doc update.
16759 2006-03-13 Wim Taymans <wim@fluendo.com>
16761 * gst/gst_private.h:
16762 * gst/gstinfo.c: (_gst_debug_init):
16763 Added QOS debug category
16765 2006-03-13 Wim Taymans <wim@fluendo.com>
16767 * docs/gst/gstreamer-sections.txt:
16768 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16770 * gst/gstbus.c: (gst_bus_class_init):
16773 * gst/gstelement.c: (gst_element_set_locked_state):
16774 * gst/gstsegment.c:
16775 Documentation updates.
16777 * gst/gstpipeline.c: (gst_pipeline_get_type),
16778 (gst_pipeline_class_init), (gst_pipeline_init),
16779 (gst_pipeline_dispose), (gst_pipeline_set_property),
16780 (gst_pipeline_get_property), (do_pipeline_seek),
16781 (gst_pipeline_send_event), (gst_pipeline_change_state),
16782 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16783 (gst_pipeline_get_delay):
16784 * gst/gstpipeline.h:
16785 Added methods for setting the delay.
16786 API: gst_pipeline_set_delay()
16787 API: gst_pipeline_get_delay()
16788 Add pipeline debug category
16791 Don't reset stream time when seek failed.
16793 2006-03-13 Wim Taymans <wim@fluendo.com>
16795 * docs/design/draft-klass.txt:
16796 * docs/design/part-clocks.txt:
16797 * docs/design/part-events.txt:
16798 * docs/design/part-gstbin.txt:
16799 * docs/design/part-gstpipeline.txt:
16800 * docs/design/part-messages.txt:
16801 * docs/design/part-negotiation.txt:
16802 * docs/design/part-overview.txt:
16803 * docs/design/part-preroll.txt:
16804 * docs/design/part-seeking.txt:
16805 * docs/design/part-states.txt:
16806 * docs/design/part-streams.txt:
16807 Documentation updates.
16809 2006-03-12 Julien MOUTTE <julien@moutte.net>
16811 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16812 us to leak strings...
16814 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16816 * libs/gst/net/gstnettimeprovider.c:
16818 * win32/common/config.h:
16821 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16823 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16826 Don't check for libgnomeui (leftover from old examples
16827 that aren't built or disted any longer) (#334303).
16829 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16831 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16832 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16833 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16834 there's no space left on the device.
16836 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16839 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16840 to cast the input to GstClockTime before comparing with
16841 another GstClockTime value.
16843 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16848 === release 0.10.4 ===
16850 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16853 releasing 0.10.4, "Light"
16855 2006-03-10 Michael Smith <msmith@fluendo.com>
16857 * libs/gst/dataprotocol/dataprotocol.c:
16858 Fix docs for dataprocotol to not get the return types completely
16859 wrong for a few functions.
16861 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16863 * docs/gst/gstreamer-sections.txt:
16864 * gst/gstpipeline.c: (gst_pipeline_class_init),
16865 (gst_pipeline_init), (gst_pipeline_set_property),
16866 (gst_pipeline_get_property), (gst_pipeline_change_state),
16867 (gst_pipeline_set_auto_flush_bus),
16868 (gst_pipeline_get_auto_flush_bus):
16869 * gst/gstpipeline.h:
16870 Add new API: gst_pipeline_set_auto_flush_bus() and
16871 gst_pipeline_get_auto_flush_bus() to disable automatic
16872 flushing of the pipeline's GstBus when going from READY
16873 to NULL state (#332045).
16875 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16877 * docs/gst/gstreamer-sections.txt:
16878 * gst/gsturi.c: (gst_uri_has_protocol):
16880 Add new API: gst_uri_has_protocol() (#333779).
16882 2006-03-09 Wim Taymans <wim@fluendo.com>
16884 * gst/gstclock.c: (gst_clock_entry_new),
16885 (gst_clock_id_compare_func), (gst_clock_id_wait),
16886 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16887 (gst_clock_init), (gst_clock_get_internal_time),
16888 (gst_clock_set_master), (do_linear_regression),
16889 (gst_clock_add_observation), (gst_clock_set_property):
16893 Fix a possible segfault when the window-size is made smaller.
16894 Calculate jitter before performing the clock wait. Ideally
16895 the clock implementation should calculate jitter but we need
16896 API breakage for that.
16898 * gst/gstsystemclock.c: (gst_system_clock_init):
16901 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16902 Remove leftover else
16904 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16905 (gst_systemclock_suite):
16906 Added check to test GST_CLOCK_DIFF.
16908 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16910 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16911 (gst_type_find_helper_get_range):
16912 If we are provided with the size, we should implement
16913 GstTypeFind::get_length, so that typefind functions who
16914 want to can actually peek at the middle of a file.
16916 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16918 * docs/manual/advanced-dataaccess.xml:
16919 Add some very very basic error checking.
16921 * docs/pwg/appendix-checklist.xml:
16922 Some updates to the list of things to check when writing an element.
16924 2006-03-08 Wim Taymans <wim@fluendo.com>
16926 * docs/design/part-element-transform.txt:
16927 Added some docs about the design of tranform elements.
16929 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16930 (gst_base_src_loop), (gst_base_src_change_state):
16931 Mark buffers with the DISCONT flag.
16933 2006-03-08 Michael Smith <msmith@fluendo.com>
16935 * gst/gstregistry.h:
16936 * gst/gstregistryxml.c: (gst_registry_save),
16937 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16938 (gst_registry_xml_save_pad_template),
16939 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16940 (gst_registry_xml_write_cache):
16941 Rewrite registry-saving to avoid race conditions and check for
16944 2006-03-08 Wim Taymans <wim@fluendo.com>
16946 * libs/gst/base/gstbasetransform.c:
16947 (gst_base_transform_transform_caps),
16948 (gst_base_transform_transform_size),
16949 (gst_base_transform_prepare_output_buffer),
16950 (gst_base_transform_get_unit_size),
16951 (gst_base_transform_buffer_alloc),
16952 (gst_base_transform_handle_buffer),
16953 (gst_base_transform_change_state):
16954 Cleanups, separate normal flow from errors, add sensible
16956 Don't try to renegotiate when allocating an output buffer.
16957 Also copy DISCONT buffer flag when copying a buffer.
16958 Reset the transform after we finish streaming, not during.
16960 2006-03-08 Wim Taymans <wim@fluendo.com>
16962 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16963 Use last buffer timestamp in qos message.
16965 2006-03-07 Wim Taymans <wim@fluendo.com>
16967 Patch by: Christophe Fergeau
16969 * docs/pwg/advanced-tagging.xml:
16970 * docs/pwg/building-pads.xml:
16973 2006-03-07 Wim Taymans <wim@fluendo.com>
16975 * docs/libs/gstreamer-libs-sections.txt:
16976 Added basesink new methods.
16980 Docs updates. Flesh out the QoS docs.
16982 * libs/gst/base/gstadapter.c:
16983 Small doc clarification about ownership and flushing.
16985 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16986 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16987 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16988 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16989 * libs/gst/base/gstbasesink.h:
16991 Added new methods to allow subclass to control max-lateness
16993 Generate very basic QoS events based on last sync observation.
16994 Updated docs, fix typo, added some QoS blurb.
16996 * libs/gst/base/gstbasesrc.c:
16997 Remove obsolete _get_state() calls from docs.
16999 2006-03-07 Wim Taymans <wim@fluendo.com>
17001 * docs/libs/gstreamer-libs-sections.txt:
17002 * libs/gst/base/gstbasetransform.h:
17003 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17004 Fix docs for GstBaseSrc.
17006 2006-03-07 Wim Taymans <wim@fluendo.com>
17008 * docs/gst/gstreamer-sections.txt:
17011 * libs/gst/base/gstbasetransform.h:
17012 Small documentation fixes.
17014 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17017 Document thread-unsafety of gst_value_register_foo_func()
17018 when used at the same time as gst_value_foo() (#322628).
17020 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17022 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17023 (gst_push_src_check_get_range):
17024 Push sources don't support pull mode by default.
17026 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17028 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17029 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17030 (gst_base_src_default_check_get_range):
17031 * libs/gst/base/gstbasesrc.h:
17032 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17033 provide default implementation, and rename
17034 gst_base_src_check_get_range() to
17035 gst_base_src_pad_check_get_range() for clarity.
17037 2006-03-06 Wim Taymans <wim@fluendo.com>
17039 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17040 Make property overridable.
17042 2006-03-06 Wim Taymans <wim@fluendo.com>
17044 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17045 (gst_base_sink_init), (gst_base_sink_set_property),
17046 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17047 * libs/gst/base/gstbasesink.h:
17048 API addition: Make max-lateness a property.
17050 2006-03-06 Wim Taymans <wim@fluendo.com>
17052 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17053 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17054 Don't ever draw a frame that is >10ms late.
17056 2006-03-06 Michael Smith <msmith@fluendo.com>
17058 * gst/gstmessage.c: (_gst_message_copy):
17059 When copying a message, set the parent_refcount of the enclosed
17060 structure to point at the copy, not the original message.
17062 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17064 Patch by: Christophe Fergeau
17067 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17068 usable in c++ code (#333417)
17070 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17073 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17075 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17077 * libs/gst/base/gstbasetransform.c:
17078 (gst_base_transform_transform_caps):
17079 Make sure caps are writable before passing them to
17082 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17085 Fix some minor docs errors.
17087 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17089 Patch by: Ross Burton <ross at burtonini dot com>
17091 * gst/gsterror.c: (_gst_resource_errors_init):
17093 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17095 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17098 Add a check and output a g_warning when GStreamer is built
17099 against GLib 2.6 but running against 2.8 or higher, and vice
17100 versa. (Closes: #323542)
17102 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17104 * gst/parse/parse.l:
17105 Commit patch for parse_launch syntax from #331255. Removes
17106 support for quoted strings and mimetypes when writing filtered
17107 caps. See the bug report for more details - I'm pretty sure this
17108 obscure feature is not in use by _anyone_ anywhere.
17110 With this simple change, the size of the gstreamer.so here
17111 drops from 2193KB to 1565KB.
17113 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17115 * plugins/elements/gsttypefindelement.h:
17116 * plugins/elements/gsttypefindelement.c:
17117 (gst_type_find_element_src_event), (start_typefinding),
17118 (stop_typefinding), (gst_type_find_element_handle_event),
17119 (gst_type_find_element_chain),
17120 (gst_type_find_element_chain_do_typefinding):
17121 Use gst_type_find_helper_for_buffer() for chain-based
17124 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17126 * plugins/elements/gsttypefindelement.c:
17127 (gst_type_find_element_class_init),
17128 (gst_type_find_element_set_property),
17129 (gst_type_find_element_get_property):
17130 Deprecate "maximum" property (not only was it only taken into
17131 account for typefinding in push-mode anyway, it also was never
17132 actually possible to set it in the first place because the
17133 property was registered with the numeric property ID for the
17134 "minimum" property). Register "maximum" property correctly,
17135 for the sake of future copy'n'pasters. Remove some cruft
17136 from property get/set functions.
17138 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17140 * plugins/elements/gsttypefindelement.c:
17141 (gst_type_find_element_activate):
17142 Use gst_type_find_helper_get_range() here, so we
17143 can honour the "minimum" property and also emit
17144 the signal with the correct probability of the found caps.
17146 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17148 * docs/libs/gstreamer-libs-sections.txt:
17149 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17150 (helper_find_suggest), (gst_type_find_helper_get_range),
17151 (gst_type_find_helper):
17152 * libs/gst/base/gsttypefindhelper.h:
17153 New API: gst_type_find_helper_get_range() (#333042).
17155 2006-03-02 Michael Smith <msmith@fluendo.com>
17157 * gst/gstregistryxml.c: (load_feature):
17158 Asserting on a failure to read part of the registry is Not Cool.
17159 Just log a warning and return NULL (which is already handled)
17161 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17163 * win32/common/libgstbase.def:
17164 added export of gst_type_find_helper_for_buffer
17165 * win32/common/libgstbase.def:
17166 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17167 gst_ghost_pad_get_target
17169 2006-02-28 Wim Taymans <wim@fluendo.com>
17171 * docs/design/draft-klass.txt:
17173 Added Connector to mark elements that are only used to
17174 allow pipeline connections.
17175 Moved Debug to extra feature since most of them are
17176 functionally something else.
17178 2006-02-28 Wim Taymans <wim@fluendo.com>
17180 * docs/design/draft-klass.txt:
17181 Some updates and clarifications.
17183 2006-02-28 Wim Taymans <wim@fluendo.com>
17185 * docs/design/draft-klass.txt:
17186 Proposal for klass field values.
17188 * docs/design/part-streams.txt:
17189 Start of a doc describing stream anatomy.
17191 2006-02-28 Wim Taymans <wim@fluendo.com>
17193 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17194 Help the compiler a bit with type registration.
17195 Use existing forward cod path instead of duplicating it when
17196 handling a message.
17198 * gst/gstbus.c: (gst_bus_get_type):
17199 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17200 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17201 * gst/gstclock.c: (gst_clock_get_type):
17202 * gst/gstelement.c: (gst_element_get_type),
17203 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17204 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17205 * gst/gstminiobject.c: (gst_mini_object_get_type):
17206 * gst/gstpad.c: (gst_pad_get_type):
17207 * gst/gstsegment.c: (gst_segment_get_type):
17208 * gst/gststructure.c: (gst_structure_get_type):
17209 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17210 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17212 Help compiler with type registration.
17214 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17217 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17219 * plugins/elements/gsttypefindelement.c:
17220 (gst_type_find_element_handle_event):
17221 When we get an EOS event and have not found a type yet
17222 (most likely because we had not yet accumulated
17223 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17224 type given the data we have so far. Fixes typefinding
17225 for very short streams again, most notably quicktime
17226 redirections as used on Apple's trailer site (#331701).
17228 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17230 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17231 (gst_type_find_helper):
17232 Try typefinding factories with the highest rank first.
17234 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17236 * docs/libs/gstreamer-libs-docs.sgml:
17237 * docs/libs/gstreamer-libs-sections.txt:
17238 * libs/gst/base/gsttypefindhelper.c:
17239 Add section for typefind helper and add documentation
17240 for the old and the new function.
17242 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17244 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17245 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17246 (gst_type_find_helper_for_buffer):
17247 * libs/gst/base/gsttypefindhelper.h:
17248 New API: gst_type_find_helper_for_buffer() (#332723).
17250 2006-02-27 Michael Smith <msmith@fluendo.com>
17252 Patch by: Loïc Minier
17255 * docs/Makefile.am:
17256 * docs/slides/Makefile.am:
17257 prevent CVS directories getting disted.
17259 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17261 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17262 Use the REFCOUNTING category for caps refcounting.
17264 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17266 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17267 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17269 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17271 * plugins/elements/gsttypefindelement.c:
17272 (gst_type_find_element_activate):
17273 Use gst_pad_check_pull_range() before _activate_pull()
17274 to avoid unnecessary open/close (see #331690).
17276 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17279 Docs enhancement: make it crystal clear what the
17280 gst_pad_add_*_probe() callbacks should look like.
17282 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17284 * libs/gst/base/gstbasesrc.c:
17285 Document how applications can stop recording from
17286 live sources (see #330996).
17288 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17290 * tests/check/Makefile.am:
17291 * tests/check/libs/basesrc.c: (eos_event_counter),
17292 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17293 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17294 (gst_basesrc_suite), (main):
17295 ... and add some tests for the base source EOS stuff.
17297 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17299 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17300 Test case originally showed the problem fixed below,
17301 but was then amended. Add checks back at the place
17302 where they used to be.
17304 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17306 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17307 (gst_base_src_init), (gst_base_src_loop),
17308 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17309 (gst_base_src_change_state):
17310 * libs/gst/base/gstbasesrc.h:
17311 Don't unconditionally send EOS when going from PAUSED to
17312 READY state, esp. make sure we don't send two EOS events
17313 in some cases (e.g. one when reaching EOS and one when
17314 going from PAUSED to READY). Also, we don't want to send
17315 EOS events when operating in pull mode. However, we do
17316 want to send an EOS event when shutting down a live
17317 source explicitly, for example (fixes #330996).
17319 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17321 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17322 Update src->read_position after a seek when not using mmap.
17323 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17325 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17331 Make things work with --disable-parse as they do with
17332 --disable-load-save - the symbols involved disappear, but the
17333 header is still installed and GST_DISABLE_PARSE is included via
17336 2006-02-20 Julien MOUTTE <julien@moutte.net>
17338 * libs/gst/base/gstbasetransform.c:
17339 (gst_base_transform_change_state): Fix a stupid bug. I was
17340 sure I compiled that.
17342 2006-02-20 Julien MOUTTE <julien@moutte.net>
17344 * gst/gstpad.c: (gst_pad_set_blocked_async):
17345 * gst/gstutils.c: (gst_pad_add_data_probe),
17346 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17347 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17348 (gst_pad_remove_buffer_probe): Make those function act on the
17349 ghostpad target when it's a ghostpad. (Closes #331727)
17351 2006-02-20 Julien MOUTTE <julien@moutte.net>
17353 * libs/gst/base/gstbasetransform.c:
17354 (gst_base_transform_change_state): Make basetransform reusable.
17357 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17359 * docs/random/release:
17360 Move the current documentation of how to do a release to the top
17363 * gst/gstbin.c: (gst_bin_class_init),
17364 (gst_bin_handle_message_func):
17365 Allow multiple state-recalculation threads. (Closes #328873)
17367 2006-02-19 Julien MOUTTE <julien@moutte.net>
17369 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17370 * gst/gstpad.c: (gst_pad_set_event_function),
17371 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17372 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17373 2 strings. You can't use the STR_NULL macro on that.
17375 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17377 * gst/gstpad.c: (gst_pad_set_event_function),
17378 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17379 (gst_pad_set_getcaps_function)
17380 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17381 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17382 So now, we can use --gst-debug-level=5 on Windows
17383 * win32/common/libgstcontroller.def:
17384 Added export of gst_controller_init
17385 * win32/vs6/libgstcontroller.dsp:
17386 Fixed Release post build configuration
17388 2006-02-17 Wim Taymans <wim@fluendo.com>
17390 * tests/check/gst/gstquery.c: (GST_START_TEST):
17391 Added another check.
17393 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17395 * plugins/elements/gsttypefindelement.c: (find_peek):
17396 We can do peeks at non-zero offsets, as long as they
17397 fall within the buffer we have.
17399 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17401 * tests/check/Makefile.am:
17402 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17403 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17404 (parse_suite), (main):
17405 Add testsuite for parse launch syntax
17407 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17409 * plugins/elements/gsttypefindelement.c:
17410 (gst_type_find_element_chain):
17411 When typefinding is unsuccessful in the chain function, don't
17412 error out immediately. Only error out with NO_CAPS_FOUND if
17413 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17414 otherwise simply wait for more data so we can try typefinding
17415 again with more data later. Also, don't attempt to typefind
17416 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17417 this should improve typefinding from network sources where the
17418 size of the first buffer can be somewhat random.
17420 2006-02-14 Wim Taymans <wim@fluendo.com>
17422 * docs/gst/gstreamer-sections.txt:
17423 * gst/gstpadtemplate.c:
17424 * gst/gstpadtemplate.h:
17425 Fix padtemplate docs, fixes #328805.
17427 2006-02-14 Wim Taymans <wim@fluendo.com>
17429 * tools/gst-launch.c: (main):
17430 NO_PREROLL is not an ERROR so don't send confusing messages
17433 2006-02-14 Wim Taymans <wim@fluendo.com>
17435 Patch by: Torsten Schoenfeld
17437 * gst/gstregistry.c: (gst_registry_get_default),
17438 (_gst_registry_cleanup):
17439 Protect default registry with lock and ref/sink it.
17442 2006-02-14 Wim Taymans <wim@fluendo.com>
17445 * gst/gstquery.c: (gst_query_list_add_format),
17446 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17447 (gst_query_parse_formats_nth):
17448 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17451 2006-02-14 Wim Taymans <wim@fluendo.com>
17453 * docs/gst/gstreamer-sections.txt:
17454 Reworked query docs.
17456 * gst/gstquery.c: (gst_query_new_formats),
17457 (gst_query_list_add_format), (gst_query_set_formats),
17458 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17459 (gst_query_parse_formats_nth):
17461 Flesh out formats query, added some new methods.
17462 Fix part of #324398.
17464 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17465 Added query creation tests.
17467 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17469 * gst/gstpad.c: (fixate_value):
17470 Add a default fixation for fraction lists.
17472 2006-02-13 Wim Taymans <wim@fluendo.com>
17474 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17475 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17478 Detect and warn for obvious deadlocks. fixes #320340
17479 Fix error case where lock was not released.
17481 * tests/check/Makefile.am:
17482 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17483 (task_func), (gst_element_suite), (main):
17486 2006-02-13 Wim Taymans <wim@fluendo.com>
17488 * docs/gst/gstreamer-sections.txt:
17490 Add new functions to docs.
17492 2006-02-13 Wim Taymans <wim@fluendo.com>
17494 * docs/design/part-TODO.txt:
17495 Updated TODO list, basesrc supports seeking to non-bytes
17498 * docs/design/part-element-sink.txt:
17501 * gst/gstbin.c: (bin_replace_message),
17502 (gst_bin_handle_message_func):
17503 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17504 * gst/gstevent.c: (gst_event_finalize):
17505 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17506 (gst_pad_send_event):
17507 Use shiny new _TYPE_NAME macros.
17509 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17510 Move debug statement up.
17512 * gst/gstelement.c: (gst_element_set_locked_state):
17513 Add some debugging.
17515 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17517 * docs/gst/gstreamer-sections.txt:
17518 * gst/gstmessage.h:
17520 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17521 macros (#330906). Also, document the already existing
17522 GST_QUERY_TYPE macro.
17524 2006-02-13 Wim Taymans <wim@fluendo.com>
17526 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17527 (event_probe), (GST_START_TEST):
17528 Only events up to the pipeline EOS are counted, there are
17529 some more when going to NULL currently which we don't care
17532 2006-02-13 Wim Taymans <wim@fluendo.com>
17534 * gst/gstpad.c: (gst_pad_send_event):
17535 Correctly check flushing and emit probes. fixes #330125
17537 2006-02-10 Andy Wingo <wingo@pobox.com>
17539 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17541 (gst_bus_init): Cache the location of the private data in the
17542 instance structure.
17543 (gst_bus_enable_sync_message_emission)
17544 (gst_bus_disable_sync_message_emission): Implement new public
17546 (gst_bus_post): Emit the sync-message signal if the user asked for
17549 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17550 location of the bus-private structure.
17551 (gst_bus_enable_sync_message_emission)
17552 (gst_bus_disable_sync_message_emission): API addition
17554 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17556 Patch by: Vincent Torri
17558 * docs/pwg/building-boiler.xml:
17559 PWG patch from #326800
17561 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17564 * docs/Makefile.am:
17565 * docs/design/Makefile.am:
17568 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17573 === release 0.10.3 ===
17575 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17578 releasing 0.10.3, "Like a virgin"
17580 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17583 2nd prerelease of 0.10.3
17584 Bump libtool versioning.
17586 2006-02-07 Andy Wingo <wingo@pobox.com>
17588 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17589 update last_stop if we're in TIME format and the timestamp is
17592 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17593 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17594 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17595 If we get a new newsegment with a different format, adapt
17598 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17599 of 0. Not a problem, really.
17601 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17604 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17609 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17612 project files updated to the default vs7 configuration
17613 * win32/common/libgstbase.def:
17614 * win32/common/libgstreamer.def:
17616 removed empty lines,
17617 sorted all exported symbols alphabetically
17618 * win32/common/dirent.c:
17619 * win32/common/dirent.h:
17620 * win32/common/gchar.h:
17621 use windows line end.
17623 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17625 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17626 Send EOS event when stopping.
17628 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17631 Tell folks what to do if the plugin-foobar.xml file
17632 hasn't been generated for a newly-added plugin.
17634 2006-02-05 Julien MOUTTE <julien@moutte.net>
17636 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17637 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17638 (gst_collect_pads_start), (gst_collect_pads_stop),
17639 (gst_collect_pads_event): Collectpads now holds a reference
17640 to the GstPad that was added. Indeed we don't want to look
17641 at pads that might just go away with no warning...
17643 2006-02-05 Julien MOUTTE <julien@moutte.net>
17645 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17646 (gst_collect_pads_start), (gst_collect_pads_stop),
17647 (gst_collect_pads_event), (gst_collect_pads_chain):
17648 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17649 Mark Nauwelaerts's patch on bug #328491.
17651 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17653 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17655 Add some simple tests for gst_parse_bin_from_description() and
17656 gst_bin_find_unconnected_pad() (#329069).
17658 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17660 * tools/gst-launch.c: (event_loop), (main):
17661 Catch errors during preroll (#320084).
17663 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17665 * plugins/elements/gsttypefindelement.c:
17666 (gst_type_find_element_activate):
17667 Post TYPE_NOT_FOUND error message when typefinding
17668 is unsuccessful in the activate function as well.
17670 2006-02-02 Wim Taymans <wim@fluendo.com>
17672 * docs/design/part-element-sink.txt:
17675 2006-02-02 Wim Taymans <wim@fluendo.com>
17677 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17678 (gst_base_sink_render_object),
17679 (gst_base_sink_queue_object_unlocked):
17680 Only keep track of prerollable items when we are
17682 Before rendering after preroll, always check if we
17684 Added some more debugging.
17686 2006-02-02 Wim Taymans <wim@fluendo.com>
17688 * gst/gstelement.c: (gst_element_continue_state),
17689 (gst_element_set_state_func), (gst_element_change_state):
17690 Fixed #326576, been running this for quite some time with
17691 no regressions at all.
17693 2006-02-02 Wim Taymans <wim@fluendo.com>
17696 Added more suppressions
17698 2006-02-02 Wim Taymans <wim@fluendo.com>
17700 * docs/design/part-element-sink.txt:
17703 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17704 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17705 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17706 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17707 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17708 (gst_base_sink_preroll_object),
17709 (gst_base_sink_queue_object_unlocked),
17710 (gst_base_sink_queue_object), (gst_base_sink_event),
17711 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17712 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17713 (gst_base_sink_get_position), (gst_base_sink_change_state):
17714 * libs/gst/base/gstbasesink.h:
17715 Totally refactored matching the design doc.
17716 Use two segments, one to clip incomming buffers and another to
17718 Handle queueing correctly, bypass the queue when playing.
17719 Make EOS cancelable.
17720 Handle errors correctly when operating in pull based mode.
17722 * tests/check/elements/fakesink.c: (GST_START_TEST),
17724 Added new check for sinks.
17726 2006-02-02 Wim Taymans <wim@fluendo.com>
17728 * gst/gstsegment.c: (gst_segment_clip):
17729 No reason to refuse to clip when start == -1
17731 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17734 * docs/manual/intro-basics.xml:
17735 * docs/manual/intro-preface.xml:
17736 * docs/manual/manual.xml:
17737 * docs/pwg/advanced-dparams.xml:
17738 * docs/pwg/intro-basics.xml:
17739 * docs/pwg/intro-preface.xml:
17740 * docs/pwg/pwg.xml:
17741 describe dparams (controller) for plugins
17742 unify docs a little more
17744 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17746 * docs/gst/gstreamer-sections.txt:
17747 * gst/gstutils.c: (element_find_unconnected_pad),
17748 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17750 Add new API: gst_parse_bin_from_description() and
17751 gst_bin_find_unconnected_pad() (#329069).
17753 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17755 * docs/manual/README:
17756 uncover a nasty detail of the docs build
17758 2006-01-31 Wim Taymans <wim@fluendo.com>
17760 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17761 Don't cache duration messages if we're not going to use or
17764 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17766 * docs/manual/advanced-dparams.xml:
17767 * docs/pwg/advanced-dparams.xml:
17771 * libs/gst/controller/lib.c: (gst_controller_init):
17774 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17776 * gst/gstelement.c: (gst_element_message_full):
17777 also show file/line/func if no additional debug was given
17779 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17781 * win32/vs7/grammar.vcproj:
17782 activate copy of autogenerated files for Release mode
17784 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17786 * win32/common/libgstreamer.def:
17787 export gst_value_compare
17789 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17791 * plugins/elements/Makefile.am:
17792 * plugins/elements/gstelements.c:
17793 * plugins/elements/gstfdsink.c: (_do_init),
17794 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17795 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17796 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17797 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17798 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17799 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17800 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17801 * plugins/elements/gstfdsink.h:
17802 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17804 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17806 * docs/manual/advanced-dparams.xml:
17807 describe controller
17808 * docs/manual/advanced-position.xml:
17809 * docs/manual/basics-init.xml:
17810 * docs/manual/manual.xml:
17811 * docs/manual/titlepage.xml:
17812 * docs/pwg/pwg.xml:
17813 * docs/pwg/titlepage.xml:
17814 cleanup xml (more to come)
17815 * libs/gst/controller/gstcontroller.c:
17818 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17820 * win32/vs6/grammar.dsp:
17821 add autogen of gstmarshal.c,h for Release mode
17823 2006-01-30 Wim Taymans <wim@fluendo.com>
17825 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17826 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17827 (gst_base_sink_handle_object), (gst_base_sink_event),
17828 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17829 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17830 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17831 (gst_base_sink_deactivate), (gst_base_sink_activate),
17832 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17833 (gst_base_sink_query), (gst_base_sink_change_state):
17834 Basesink cleanups, remove some old code.
17835 Handle the case where a subclass can preroll in the render
17836 method (mostly audiosinks).
17837 Handle more events.
17838 Remove some locks around variables that are now protected
17839 with the PREROLL_LOCK (clock_id, flushing, ..).
17840 Optimize position query some more, do correct locking.
17841 Remove old code to push queue in state change, this is not
17842 needed anymore since preroll blocks on all prerollable items
17844 Almost implemented as described in design doc.
17846 2006-01-30 Wim Taymans <wim@fluendo.com>
17848 * tests/check/gst/gstbin.c: (GST_START_TEST):
17849 Wait for refcount to settle down before checking.
17851 2006-01-30 Wim Taymans <wim@fluendo.com>
17853 * docs/design/part-element-sink.txt:
17854 Pseudo code overview of desired sink behaviour regarding
17857 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17858 * win32/vs6/grammar.dsp:
17859 fix some bugs in Release mode for autogenerated files
17861 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17862 * win32/common/libgstbase.def:
17863 * win32/common/libgstreamer.def:
17864 export some new symbols: gst_base_src_set_format,
17865 gst_iterator_next, gst_structure_set_valist
17867 2006-01-29 Julien MOUTTE <julien@moutte.net>
17869 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17870 Set pad functions unconditionally. Fixes #329105.
17872 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17874 add vs8 project files created by Sergey Scobich
17876 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17878 * gst/gstutils.c: (gst_element_unlink_pads):
17879 Don't leak pad references.
17881 * tests/check/elements/fakesink.c: (GST_START_TEST):
17882 * tests/check/generic/sinks.c: (GST_START_TEST):
17883 * tests/check/generic/states.c: (GST_START_TEST):
17884 * tests/check/gst/gstbin.c: (GST_START_TEST):
17885 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17886 * tests/check/gst/gstelement.c: (GST_START_TEST):
17887 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17888 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17889 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17890 Fix a bunch of leaks. Make generic/sinks.c
17891 use a bit less cpu by slowing the buffer rate
17892 between fakesrc and fakesink.
17894 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17896 * gst/gstelement.c: (gst_element_send_event):
17899 * gst/gstiterator.c:
17900 * gst/gstiterator.h:
17901 * gst/gstpad.c: (gst_pad_send_event):
17902 * gst/gststructure.c:
17906 * libs/gst/base/gstadapter.c:
17907 doc fixes, to link to function, just write gst_cool_function(), don't
17910 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17912 * plugins/elements/gsttee.c: (gst_tee_do_push),
17913 (gst_tee_handle_buffer):
17914 Always prefer an actual return value from a src
17915 pad in place of NOT_LINKED. This means we return
17916 WRONG_STATE when all src pads are WRONG_STATE
17917 instead of NOT_LINKED.
17919 Lock when replacing the last message to prevent
17920 racing with the get_property method.
17924 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17926 * tests/check/Makefile.am:
17927 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17929 Add a very simple check that should have caught the memleak I fixed
17930 last night (if not for the slice allocator hiding it)
17932 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17934 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17935 (gst_bin_remove_func), (gst_bin_handle_message_func),
17936 (bin_query_duration_fold), (bin_query_generic_fold):
17937 Clean up references to the clock provider when disposed or when
17938 handling a clock-lost message from it.
17940 Unref sinks when performing a query via gst_iterator_fold, as the
17941 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17943 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17944 (gst_clock_set_master):
17945 Drop our reference to the master clock, if any, when we are disposed.
17947 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17948 Chain up in dispose.
17950 2006-01-26 Wim Taymans <wim@fluendo.com>
17952 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17953 Add some debugging.
17955 2006-01-26 Julien MOUTTE <julien@moutte.net>
17957 * plugins/elements/gsttee.c: (gst_tee_do_push),
17958 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17959 handles pad being NOT_LINKED or in WRONG_STATE.
17961 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17966 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17969 remove obsolete entry
17971 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17973 * docs/gst/gstreamer-sections.txt:
17974 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17975 (gst_bin_iterate_sources), (gst_bin_send_event):
17977 * gst/gstelement.c: (gst_element_send_event):
17979 * gst/gstpad.c: (gst_pad_send_event):
17980 added code for downstream events, reviewed docs in gstevent.c
17982 2006-01-25 Julien MOUTTE <julien@moutte.net>
17984 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17985 We only query position using the clock in the playing state.
17986 Query peer in the other cases.
17987 * win32/common/config.h: Updates.
17989 2006-01-24 Wim Taymans <wim@fluendo.com>
17991 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17992 A clock entry that is scheduled for the exact time of the
17993 clock is still in time.
17995 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17996 (gst_base_sink_do_sync):
17997 Add some more debug info.
17999 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18002 Add new vs7 project files and solution.
18004 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18007 all files removed as they were out-dated.
18009 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18011 * docs/random/release:
18013 * gst/gstbin.c: (gst_bin_init):
18014 * gst/gstbus.c: (gst_bus_new):
18016 * gst/gstpipeline.c: (gst_pipeline_init):
18017 use gst_bus_new(), improve logging, fix docs
18018 * win32/common/config.h:
18019 update for cvs build
18021 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18024 up required version of automake to 1.7
18026 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18028 * win32/common/libgstreamer.def:
18029 export gst_buffer_is_metadata_writable
18031 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18033 * docs/gst/gstreamer-sections.txt:
18035 Add gst_event_replace() (#327001)
18037 2006-01-20 Wim Taymans <wim@fluendo.com>
18039 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18040 Make it actually compile too..
18042 2006-01-20 Wim Taymans <wim@fluendo.com>
18045 Clarify behaviour of _is_equal() when passing NULL parameters.
18047 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18048 (gst_pad_set_caps):
18049 Cleanups. Don't unref NULL caps.
18050 When setting the same caps, protect caps of the pad with
18052 Use full functionality of _is_equal() when comparing caps.
18054 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18056 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18057 Don't loop infinitely if there are no buffers to present. Partially
18058 fixes #327197, but collectpads is just broken for reusing elements
18059 to do multiple encodes atm.
18061 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18063 * tools/gst-inspect.c: (print_element_features):
18064 * tools/gst-xmlinspect.c: (main):
18065 URL_HANDLER is not a plugin feature we can search for in
18068 2006-01-19 Edward Hervey <edward@fluendo.com>
18070 * gst/gstelement.c: (gst_element_pads_activate):
18071 When activating, do src pads first, then sink pads.
18072 When de-activating, do sink pads first, then src pads.
18074 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18076 * docs/gst/gstreamer-sections.txt:
18077 Add gst_index_add_associationv to the docs
18079 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18084 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18085 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18086 Do some refactoring. Doesn't actually change functionality,
18087 but makes landing the DRAIN event easier later.
18089 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18091 * docs/pwg/advanced-scheduling.xml:
18092 Update from 0.9.x to 0.10 API and make example a bit
18095 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18097 * docs/gst/gstreamer-sections.txt:
18098 Add gst_buffer_(is|make)_metadata_writable methods.
18100 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18102 * docs/design/part-sparsestreams.txt:
18103 Update sparse streams doc, hopefully for greater clarity
18105 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18107 * docs/design/part-events.txt:
18108 Remove mention of FILLER events.
18111 * docs/design/part-sparsestreams.txt:
18112 Write some things about using NEWSEGMENT to keep sparse streams
18115 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18117 * gst/gstbin.c: (gst_bin_dispose):
18118 Guard gst_object_unref call against a NULL object (dispose
18119 can theoretically be called multiple times).
18121 2006-01-18 Wim Taymans <wim@fluendo.com>
18123 * gst/gstbin.c: (gst_bin_element_set_state):
18124 * gst/gstclock.c: (gst_clock_id_wait):
18125 Added some more debug info.
18127 * libs/gst/base/gstadapter.c:
18130 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18131 (gst_base_sink_do_sync), (gst_base_sink_chain):
18132 Added some comments.
18134 2006-01-18 Wim Taymans <wim@fluendo.com>
18136 * tests/check/Makefile.am:
18137 * tests/check/elements/fakesink.c: (chain_async_buffer),
18138 (chain_async), (chain_async_return), (GST_START_TEST),
18139 (fakesink_suite), (main):
18140 Added fakesink test that checks prerolling and clipping
18143 * tests/check/gst/gstutils.c: (GST_START_TEST):
18144 Make check run faster so that buildbots don't timeout.
18146 2006-01-18 Wim Taymans <wim@fluendo.com>
18148 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18149 (gst_base_sink_do_sync):
18151 When the sink finishes blocking on the preroll buffer, it can
18152 immediatly render it instead of rendering when the next buffer
18155 2006-01-18 Wim Taymans <wim@fluendo.com>
18157 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18158 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18159 (gst_base_sink_chain):
18161 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18162 Don't store _last_stop if the buffer is dropped.
18164 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18166 * plugins/elements/gsttypefindelement.c:
18167 (gst_type_find_element_class_init):
18168 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18169 object method handler that sets the caps on the pad and we want
18170 that to happen before we emit the signal (fixes e.g. feeding a
18171 plain text file to decodebin).
18173 2006-01-18 Christian Schaller <Christian@fluendo.com>
18175 * gst/gstplugin.c: Add MPL and Proprietary as license options
18177 2006-01-18 Andy Wingo <wingo@pobox.com>
18179 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18180 symbol was exported before, it appears this was just an oversight.
18182 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18184 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18185 prototype to gint. OK since this prototype was not in the header.
18187 2006-01-17 Andy Wingo <wingo@pobox.com>
18189 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18190 registry while we remove plugins.
18192 * tools/gst-inspect.c (print_element_info): Don't unref the
18193 factory arg, that should be the responsibility of whatever code
18194 received the ref. Fixes a double-free when called from
18195 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18196 (main): Unref the factory if we have one.
18197 (print_element_list): No change -- relies on the
18198 plugin_feature_list_free to free the list of features.
18200 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18202 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18203 (gst_buffer_make_metadata_writable):
18205 * libs/gst/base/gstbasetransform.c:
18206 (gst_base_transform_prepare_output_buf):
18207 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18208 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18209 Replace gst_buffer_(make|is)_metadata_writable patch now
18210 that the release is out.
18212 2006-01-17 Andy Wingo <wingo@pobox.com>
18214 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18215 in the present tense without reference to versions.
18217 * gst/gstregistry.c (gst_registry_add_plugin)
18218 (gst_registry_remove_plugin, gst_registry_remove_feature)
18219 (gst_registry_find_feature, gst_registry_get_feature_list)
18220 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18221 (gst_registry_lookup, gst_registry_scan_path)
18222 (_gst_registry_remove_cache_plugins)
18223 (gst_registry_get_feature_list_by_plugin): Add argument
18226 === release 0.10.2 ===
18228 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18231 releasing 0.10.2, "If man is five"
18233 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18237 * libs/gst/base/gstbasetransform.c:
18238 (gst_base_transform_prepare_output_buf):
18239 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18240 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18241 Back out patch until after the release.
18243 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18245 * gst/gstminiobject.c:
18246 Spelling fix in docs.
18247 * ChangeLog - remove conflict indicator
18249 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18251 Reviewed By: Andy Wingo
18253 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18254 (gst_buffer_make_metadata_writable):
18256 Add gst_buffer_(is|make)_metadata_writable as analogues of
18257 gst_buffer_(is|make)_writable.
18259 * libs/gst/base/gstbasetransform.c:
18260 (gst_base_transform_prepare_output_buf):
18261 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18262 Use name gst_buffer_(is|make)_metadata_writable functions.
18264 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18265 Test gst_buffer_(is|make)_metadata_writable
18269 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18271 * docs/manual/Makefile.am:
18272 don't do parallel make
18275 * win32/common/config.h.in:
18276 add generations for HOST_CPU and GST_MAJORMINOR
18277 * win32/common/config.h:
18278 commit generated result
18280 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18282 * docs/manual/appendix-integration.xml:
18283 Update GNOME integration section to use gst_init_get_option_group()
18284 instead of the old popt stuff (#322911). Also, GNOME applications
18285 should now use gconf*sink and gconf*src instead of the old gconf
18288 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18291 * docs/gst/gstreamer-docs.sgml:
18292 * docs/gst/gstreamer-sections.txt:
18293 * docs/libs/gstreamer-libs-sections.txt:
18294 add new API entries to the docs
18295 * libs/gst/controller/Makefile.am:
18296 * libs/gst/controller/gstcontroller.c:
18297 * libs/gst/controller/gstcontroller.h:
18298 * libs/gst/controller/gstcontrollerprivate.h:
18299 * libs/gst/controller/gsthelper.c:
18300 * libs/gst/controller/gstinterpolation.c:
18301 move private structs to private header
18303 gstreamer-0.7 -> gstreamer-0.10
18304 * tests/check/libs/struct_i386.h:
18305 remove private structs
18307 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18309 * plugins/indexers/Makefile.am:
18310 Fixes as part of #317048
18312 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18314 * plugins/indexers/Makefile.am:
18315 fix #316086 - compilation when mmap is missing
18317 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18319 * libs/gst/base/gstbasesink.c:
18320 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18321 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18322 * win32/common/config.h:
18323 added some defines GST_MAJORMINOR and HOST_CPU
18324 * win32/common/libgstbase.def:
18325 * win32/common/libgstreamer.def:
18326 added some exported functions.
18328 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18330 * libs/gst/controller/gstcontroller.c:
18331 (gst_controlled_property_set_interpolation_mode),
18332 (gst_controlled_property_new):
18333 * libs/gst/controller/gstcontroller.h:
18334 * libs/gst/controller/gstinterpolation.c:
18335 (interpolate_none_get_string_value_array):
18336 make G_TYPE_STRING controlable
18338 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18341 * tools/gst-feedback.1.in:
18342 * tools/gst-inspect.1.in:
18343 * tools/gst-launch.1.in:
18344 * tools/gst-md5sum.1.in:
18345 * tools/gst-typefind.1.in:
18346 * tools/gst-xmlinspect.1.in:
18347 * tools/gst-xmllaunch.1.in:
18348 cleanup man-pages, remove reference to gst-register, document env-vars
18350 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18352 * gst/gstbuffer.c: (gst_buffer_span):
18353 gst_buffer_span should copy the timestamp of the first buffer
18354 if they were both originally overlapping subbuffers of the
18355 same parent, using the same logic as the 'slow copy' case.
18357 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18359 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18360 Need to awaken ALL the pads when we pop a buffer, otherwise
18361 collectpads only works when there is 2 input streams.
18363 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18365 * docs/random/ensonic/media-device-daemon.txt:
18368 fix doc example, add clarification
18369 * tools/gst-launch.1.in:
18370 add initial info about GST_PLUGIN_PATH, needs more work
18372 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18374 * docs/manual/basics-bins.xml:
18375 * docs/manual/basics-elements.xml:
18376 * docs/manual/intro-basics.xml:
18377 Some more minor docs additions and updates.
18379 2006-01-11 Wim Taymans <wim@fluendo.com>
18381 * docs/manual/basics-bins.xml:
18382 * docs/manual/basics-elements.xml:
18383 Some small fixes as pointed out by Ser-ver on IRC.
18385 2006-01-10 Edward Hervey <edward@fluendo.com>
18387 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18388 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18389 the single-segment mode.
18391 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18393 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18395 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18396 (gst_base_src_perform_seek), (gst_base_src_send_event),
18397 (gst_base_src_set_property), (gst_base_src_get_property),
18398 (gst_base_src_loop), (gst_base_src_start),
18399 (gst_base_src_activate_push):
18400 * libs/gst/base/gstbasesrc.h:
18401 Name (private) union; makes Sun's Forte compiler happy (#324900).
18403 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18406 gst-register is gone.
18408 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18410 * gst/gstvalue.c: (_gst_value_initialize):
18411 make the G_TYPE_DATE instantiation work if debug is disabled
18413 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18415 * gst/gstmessage.c: (gst_message_parse_tag),
18416 (gst_message_parse_error), (gst_message_parse_warning):
18417 Don't crash when return location for error/warning debug
18418 string is NULL; add fact that return locations can be
18419 NULL to docs where appropriate.
18421 2006-01-05 Wim Taymans <wim@fluendo.com>
18423 * gst/gstplugin.c: (gst_plugin_load_file):
18424 Replace strdup by g_strdup.
18426 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18428 * docs/pwg/advanced-types.xml:
18431 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18433 submitted by: Abel Cheung
18437 Added Chinese (traditional) translation
18439 2006-01-04 Wim Taymans <wim@fluendo.com>
18441 * docs/manual/basics-pads.xml:
18442 * docs/plugins/Makefile.am:
18443 * docs/plugins/gstreamer-plugins-docs.sgml:
18444 * docs/plugins/gstreamer-plugins-sections.txt:
18445 * docs/pwg/advanced-clock.xml:
18446 * docs/pwg/advanced-scheduling.xml:
18447 * docs/pwg/advanced-types.xml:
18448 * plugins/elements/gstfdsink.c:
18449 * plugins/elements/gstfdsrc.c:
18450 * plugins/elements/gstfdsrc.h:
18451 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18452 * plugins/elements/gstidentity.h:
18453 * plugins/elements/gstqueue.h:
18454 * plugins/elements/gsttee.c:
18455 * plugins/elements/gsttee.h:
18456 * plugins/elements/gsttypefindelement.c:
18457 (gst_type_find_element_class_init):
18458 * plugins/elements/gsttypefindelement.h:
18459 Small updates to various docs.
18460 Added core plugins to docs.
18462 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18465 add a suppression for liboil's uninitialized variable
18467 2006-01-02 James Livingston <jrl at ids dot org dot au>
18469 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18472 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18473 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18474 compiler switch is being used (#325429).
18476 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18478 * gst/gstbin.c: (gst_bin_query):
18479 Disable duration query caching in bins until it gets
18480 fixed (see #324807).
18482 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18484 * tools/gst-inspect.c: (print_element_properties_info):
18485 Handle properties of POINTER and BOXED type.
18487 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18489 * gst/gst.c: (init_post):
18490 Init tags stuff and some other things before loading
18491 any static plugins (there may be other static plugins
18492 than just the GStreamer ones, and they may want to
18493 register their own tags or formats or whatever, and
18494 preferably without segfaulting).
18496 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18497 Print at least a warning in the debug logs if we drop a
18498 query just because we don't know how to adjust the value
18499 in the particular format.
18501 2005-12-24 David Schleef <ds@schleef.org>
18503 * tools/gstreamer-completion:
18504 Replacement for gst-complete written in sh and sed. Only
18505 completes names of features, but that's 90% of what I want
18506 it for. Properties are not available in registry.xml. (Maybe
18509 === release 0.10.1 ===
18511 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18514 releasing 0.10.1, "Nollaig chridheil"
18516 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18518 * docs/faq/cvs.xml:
18519 Add missing quote, should be make ERROR_CFLAGS="".
18521 2005-12-20 Wim Taymans <wim@fluendo.com>
18523 * docs/design/part-trickmodes.txt:
18524 More documentation on trickmodes.
18526 2005-12-20 Edward Hervey <edward@fluendo.com>
18528 * gst/gstcaps.c: (gst_static_caps_get_type):
18530 API addition: GST_TYPE_STATIC_CAPS
18531 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18532 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18533 * gst/gstpadtemplate.h:
18534 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18535 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18538 2005-12-18 Wim Taymans <wim@fluendo.com>
18540 * libs/gst/base/gstadapter.c:
18541 * libs/gst/base/gstadapter.h:
18542 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18543 (gst_base_sink_get_position):
18544 * libs/gst/base/gstbasesink.h:
18545 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18546 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18547 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18548 (gst_base_src_send_event), (gst_base_src_update_length),
18549 (gst_base_src_get_range), (gst_base_src_loop),
18550 (gst_base_src_start):
18551 * libs/gst/base/gstbasesrc.h:
18552 * libs/gst/base/gstbasetransform.h:
18553 * libs/gst/base/gstcollectpads.h:
18554 * libs/gst/base/gstpushsrc.c:
18555 * libs/gst/base/gstpushsrc.h:
18556 * libs/gst/dataprotocol/dataprotocol.c:
18557 * libs/gst/dataprotocol/dataprotocol.h:
18558 * libs/gst/net/gstnetclientclock.h:
18559 * libs/gst/net/gstnettimeprovider.h:
18560 Documentation updates.
18562 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18564 * docs/manual/basics-helloworld.xml:
18565 Remove superfluous closing bracket in helloworld example.
18567 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18569 * tools/gst-launch.1.in:
18570 Update gst-launch man page; add a section with useful
18571 environment variables. Fixes #323882.
18573 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18576 * gst/gst_private.h:
18577 change some char* into char[]
18579 2005-12-16 Wim Taymans <wim@fluendo.com>
18581 * gst/gstregistryxml.c: (load_feature):
18583 Don't use g_object_unref on GstObjects so that we avoid
18584 leaks on unsafe glibs.
18586 2005-12-16 Wim Taymans <wim@fluendo.com>
18588 * gst/gstbin.c: (gst_bin_recalc_state):
18591 2005-12-16 Wim Taymans <wim@fluendo.com>
18593 * common/check.mak:
18594 Added make forever target for check.
18596 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18598 * gst/gst.c: (init_post):
18599 make the registry cache file HOST_CPU-dependent
18601 2005-12-16 Andy Wingo <wingo@pobox.com>
18603 * plugins/elements/gstbufferstore.c
18604 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18607 * tests/check/gst/gstobject.c
18608 (test_fake_object_name_threaded_unique): Pay attention to
18609 g_list_sort return value.
18611 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18613 * tools/gst-feedback-m.m:
18614 Update for 0.9/0.10 (fixes #323870).
18616 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18618 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18619 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18621 * tests/check/gst/gstminiobject.c: (my_foo_init),
18622 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18623 (test_value_collection), (gst_mini_object_suite):
18624 Add test to ensure refcounts end up as expected when passing
18625 GstMiniObjects through g_object_get() and g_object_set().
18627 2005-12-14 Julien MOUTTE <julien@moutte.net>
18629 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18630 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18631 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18632 of collectpads. This version removes a lot of races without
18633 touching API/ABI. Yay !
18635 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18637 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18638 Don't allow activation of a srcpad in pull_range if it has no
18640 Change some debug statements to be a little clearer
18642 * plugins/elements/gsttypefindelement.c:
18643 (gst_type_find_handle_src_query):
18644 Check that we have a peer before executing queries thereupon.
18646 * tests/examples/metadata/read-metadata.c: (message_loop):
18647 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18648 immediately return us any available message with 0 timeout.
18650 2005-12-12 Michael Smith <msmith@fluendo.com>
18652 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18653 Don't unref factories after calling them.
18654 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18655 * plugins/elements/gsttypefindelement.c:
18656 (gst_type_find_element_chain):
18657 Free lists of factories after using them. Fixing typefinding memory
18660 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18662 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18663 (gst_plugin_feature_load):
18664 more meaningful debug output
18666 * tests/Makefile.am:
18667 * tests/old/examples/Makefile.am:
18668 make make distcheck happy again
18670 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18672 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18673 Catch the special case where we are operating chain-based,
18674 but the downstream peer pad has no chain function. Emit a
18675 custom error message in this case instead of letting the
18676 core generate one implying that this is some sort of core
18677 bug. It's not, it just means that whatever got plugged
18678 into the pipeline downstream when we announced the type
18679 can only operate pull-based, while our source can only
18680 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18681 Error string has not been marked for translation yet, as
18682 it probably needs some more work first.
18684 (gst_type_find_element_get_best_possibility):
18685 Add helper function to find the best of all available
18686 found possibilities that qualify given the min. threshold.
18688 (gst_type_find_element_handle_event):
18689 Fix the case where we get an EOS while still in TYPEFIND
18690 mode (we want to chose the best of all possible types,
18691 not just the first type that happens to be in our unsorted
18692 list of possible types).
18694 (gst_type_find_element_chain):
18695 Make sure we return GST_FLOW_ERROR when we errored out
18696 in stop_typefinding(); also, don't just find the best of
18697 all found type entries and then use the last examined
18698 type entry, but actually use the best entry.
18700 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18702 * tests/examples/typefind/typefind.c: (type_found):
18703 * tests/examples/xml/runxml.c: (xml_loaded):
18704 More gcc4 fixes and a mem leak fix.
18706 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18708 * tests/examples/xml/createxml.c: (object_saved):
18711 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18713 * tests/Makefile.am:
18714 enable the examples even more
18716 2005-12-12 Andy Wingo <wingo@pobox.com>
18718 * libs/gst/net/gstnettimeprovider.c
18719 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18720 (gst_net_time_provider_set_property)
18721 (gst_net_time_provider_get_property):
18722 API addition: Export "active" as a GObject property.
18723 (gst_net_time_provider_thread): Only respond to time queries if
18724 the time provider is active.
18726 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18727 NetTimeProvider, preserving binary compat.
18729 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18731 * tests/examples/controller/audio-example.c: (main):
18732 * tests/examples/launch/Makefile.am:
18733 convert comments again
18735 2005-12-12 Wim Taymans <wim@fluendo.com>
18737 * libs/gst/base/gstpushsrc.c:
18740 2005-12-12 Wim Taymans <wim@fluendo.com>
18742 * docs/libs/gstreamer-libs-sections.txt:
18743 Added new symbol to docs.
18745 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18746 (gst_base_src_init), (gst_base_src_set_format),
18747 (gst_base_src_default_query), (gst_base_src_query),
18748 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18749 (gst_base_src_perform_seek), (gst_base_src_send_event),
18750 (gst_base_src_default_event), (gst_base_src_event_handler),
18751 (gst_base_src_set_property), (gst_base_src_get_property),
18752 (gst_base_src_wait), (gst_base_src_do_sync),
18753 (gst_base_src_update_length), (gst_base_src_get_range),
18754 (gst_base_src_check_get_range), (gst_base_src_loop),
18755 (gst_base_src_default_negotiate), (gst_base_src_start),
18756 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18757 (gst_base_src_change_state):
18758 * libs/gst/base/gstbasesrc.h:
18759 Implement seeking to other formats than _BYTES.
18760 Implement more seeking methods correctly.
18762 Added query vmethod.
18763 Added do_seek vmethod to make life easier for subclasses
18765 API addition: gst_base_src_set_format()
18767 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18769 * tests/examples/Makefile.am:
18772 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18775 * docs/random/ensonic/media-device-daemon.txt:
18776 * tests/examples/controller/.cvsignore:
18777 * tests/examples/controller/Makefile.am:
18778 * tests/examples/controller/audio-example.c: (main):
18779 * tests/examples/helloworld/.cvsignore:
18780 * tests/examples/helloworld/Makefile.am:
18781 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18782 * tests/examples/launch/.cvsignore:
18783 * tests/examples/launch/Makefile.am:
18784 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18785 * tests/examples/metadata/.cvsignore:
18786 * tests/examples/metadata/Makefile.am:
18787 * tests/examples/metadata/read-metadata.c: (message_loop),
18788 (make_pipeline), (print_tag), (main):
18789 * tests/examples/queue/.cvsignore:
18790 * tests/examples/queue/Makefile.am:
18791 * tests/examples/queue/queue.c: (event_loop), (main):
18792 * tests/examples/typefind/.cvsignore:
18793 * tests/examples/typefind/Makefile.am:
18794 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18796 * tests/examples/xml/.cvsignore:
18797 * tests/examples/xml/Makefile.am:
18798 * tests/examples/xml/createxml.c: (object_saved), (main):
18799 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18800 * tests/old/examples/Makefile.am:
18801 * tests/old/examples/TODO:
18802 * tests/old/examples/controller/.cvsignore:
18803 * tests/old/examples/controller/Makefile.am:
18804 * tests/old/examples/controller/audio-example.c:
18805 * tests/old/examples/helloworld/.cvsignore:
18806 * tests/old/examples/helloworld/Makefile.am:
18807 * tests/old/examples/helloworld/helloworld.c:
18808 * tests/old/examples/launch/.cvsignore:
18809 * tests/old/examples/launch/Makefile.am:
18810 * tests/old/examples/launch/mp3parselaunch.c:
18811 * tests/old/examples/launch/mp3play:
18812 * tests/old/examples/manual/Makefile.am:
18813 * tests/old/examples/metadata/Makefile.am:
18814 * tests/old/examples/metadata/read-metadata.c:
18815 * tests/old/examples/queue/.cvsignore:
18816 * tests/old/examples/queue/Makefile.am:
18817 * tests/old/examples/queue/queue.c:
18818 * tests/old/examples/typefind/.cvsignore:
18819 * tests/old/examples/typefind/Makefile.am:
18820 * tests/old/examples/typefind/typefind.c:
18821 * tests/old/examples/xml/.cvsignore:
18822 * tests/old/examples/xml/Makefile.am:
18823 * tests/old/examples/xml/createxml.c:
18824 * tests/old/examples/xml/runxml.c:
18825 applied some simple fixing to some examples
18826 re-enabled the working examples
18828 2005-12-12 Wim Taymans <wim@fluendo.com>
18830 * gst/gstsegment.c: (gst_segment_init),
18831 (gst_segment_set_last_stop), (gst_segment_set_seek),
18832 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18833 (gst_segment_to_running_time):
18834 Added more documentation.
18835 Make sure the last_pos value is updated properly.
18836 Make sure to_stream_time and to_running_time don't
18837 operate on wrong values.
18839 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18842 2005-12-12 Michael Smith <msmith@fluendo.com>
18844 * plugins/elements/gsttypefindelement.c: (free_entry),
18845 (gst_type_find_element_chain):
18846 Now that we're not leaking factories, make sure we keep references
18847 to them while we need them.
18849 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18851 * tests/check/gst/struct_i386.h:
18852 ifdef out the XML structs
18854 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18856 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18857 floor is not needed, F is always positive; this obviates the
18858 need for adding -lm when building without libxml
18860 2005-12-12 Wim Taymans <wim@fluendo.com>
18862 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18863 Take current playback rate into account when reporting
18866 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18868 * docs/manual/mime-world.fig:
18869 Let's try this again, this time with a file that is
18870 actually in XFig format.
18872 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18874 * docs/manual/mime-world.fig:
18875 Add audioconvert element to diagram so that it
18876 matches the text and the code (fixes #319526).
18878 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18880 * docs/pwg/building-chainfn.xml:
18881 * docs/pwg/building-pads.xml:
18882 * docs/pwg/building-state.xml:
18883 * docs/pwg/other-source.xml:
18884 Update state change stuff for 0.10 (fixes #322969).
18886 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18888 * docs/manual/advanced-dataaccess.xml:
18889 * docs/manual/appendix-checklist.xml:
18890 * docs/manual/appendix-programs.xml:
18891 * docs/manual/basics-pads.xml:
18892 * docs/manual/highlevel-components.xml:
18893 * docs/manual/manual.xml:
18894 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18895 add converters in front of pipelines; remove curly
18896 brackets for threads stuff, they no longer exist; use
18897 GST_TYPE_FRACTION for framerates; update some pieces of
18898 code to 0.10, but there's plenty more to do.
18900 * docs/manual/appendix-porting.xml:
18901 Expand on asynchroneous state changes; s/0.9/0.10/;
18902 mention disappearance of gst_init_get_popt_table()
18905 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18907 * docs/faq/using.xml:
18908 Spider no longer exists, and neither does gst-launch-ext.
18909 Update examples to use decodebin and playbin and put
18910 converters in front of sinks (fixes #323726).
18912 2005-12-09 Michael Smith <msmith@fluendo.com>
18914 * plugins/elements/gsttypefindelement.c: (find_peek),
18915 (gst_type_find_element_chain):
18916 Fix leaking element factories in typefinding.
18917 Fix problem where we forgot about a probable type on non-seekable
18918 files, and thus later mis-typefound it.
18920 2005-12-09 Michael Smith <msmith@fluendo.com>
18922 * common/m4/gst-makecontext.m4:
18923 * common/m4/gst-mcsc.m4:
18925 * win32/common/config.h:
18926 * win32/common/config.h.in:
18927 Remove makecontext stuff; not used in 0.10 and causes problems on
18928 HPUX according to bug #322441
18930 2005-12-07 Wim Taymans <wim@fluendo.com>
18932 * tests/check/Makefile.am:
18933 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18935 * tests/check/libs/struct_i386.h:
18936 Added ABI check for libs
18938 2005-12-07 Wim Taymans <wim@fluendo.com>
18940 * tests/check/Makefile.am:
18941 And add the struct_i386.h to dist.
18943 2005-12-07 Wim Taymans <wim@fluendo.com>
18945 * tests/check/Makefile.am:
18946 * tests/check/gst/.cvsignore:
18947 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18949 * tests/check/gst/struct_i386.h:
18950 Added check for ABI compatibility.
18952 2005-12-07 Wim Taymans <wim@fluendo.com>
18954 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18955 (gst_fake_src_get_times), (gst_fake_src_create):
18956 Fix broken sync option, fixes #323259
18958 2005-12-07 Wim Taymans <wim@fluendo.com>
18963 * gst/gstcaps.c: (gst_caps_is_equal):
18964 Don't assert on NULL <--> X. Fixes #323260
18966 * gst/gstminiobject.c: (gst_mini_object_replace):
18967 If we're doing atomic operations, we might just as well use
18968 the proper way to get an atomic pointer.
18970 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18971 Clean up debugging.
18973 2005-12-07 Michael Smith <msmith@fluendo.com>
18975 * gst/parse/grammar.y:
18976 Remove handling of { } for threads.
18978 2005-12-06 David Schleef <ds@schleef.org>
18980 * libs/gst/base/gstbasetransform.c: speling fix.
18982 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18984 * docs/libs/tmpl/gstdataprotocol.sgml:
18985 * docs/random/omega/testing/gstobject.c:
18988 * gst/gstelement.c:
18989 * gst/gstelementfactory.c:
18992 * gst/gstghostpad.c:
18994 * gst/gstpadtemplate.c:
18995 * gst/gstregistryxml.c:
18996 * gst/gsttaglist.c:
18997 * gst/gsttagsetter.c:
18998 * gst/gsttypefind.c:
19000 * libs/gst/base/gstbasesrc.c:
19001 * libs/gst/net/gstnetclientclock.c:
19002 * libs/gst/net/gstnettimeprovider.c:
19003 * plugins/elements/gstfakesrc.c:
19004 * plugins/elements/gstfdsrc.c:
19005 * plugins/elements/gstfilesrc.c:
19006 * plugins/elements/gstidentity.c:
19007 * plugins/elements/gstqueue.c:
19008 * plugins/elements/gsttypefindelement.c:
19009 * plugins/indexers/gstfileindex.c:
19010 * plugins/indexers/gstmemindex.c:
19011 * tests/check/gst/gsttag.c:
19012 * tests/old/examples/cutter/cutter.c:
19013 * tests/old/examples/mixer/mixer.c:
19014 * tests/old/examples/xml/runxml.c: (main):
19015 * tests/old/testsuite/caps/normalisation.c:
19016 * tests/old/testsuite/debug/global.c:
19017 * tests/old/testsuite/parse/parse1.c:
19018 * tools/gst-xmlinspect.c:
19019 * win32/common/dirent.c:
19022 === release 0.10.0 ===
19024 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19027 releasing 0.10.0, "Maroilles"
19029 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19031 submitted by: Funda Wang <fundawang@linux.net.cn>
19035 added Chinese (Traditional) translation
19037 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19039 * docs/gst/gstreamer-sections.txt:
19040 * docs/libs/tmpl/gstdataprotocol.sgml:
19041 * docs/random/thomasvs/TODO:
19046 2005-12-05 Andy Wingo <wingo@pobox.com>
19048 patch by: Wim Taymans <wim@fluendo.com>
19050 * libs/gst/base/gstbasetransform.c
19051 (gst_base_transform_prepare_output_buf)
19052 (gst_base_transform_buffer_alloc):
19053 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19054 alloc_buffer_and_set_caps.
19056 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19057 set_caps on the source pad.
19058 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19059 alloc_buffer used to do. Fixes #322874.
19061 * docs/gst/gstreamer-sections.txt:
19062 * docs/design/part-negotiation.txt:
19063 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19066 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19068 patch by: Sebastien Moutte
19071 * win32/common/config.h.in:
19072 * win32/vs6/libgstcontroller.dsp:
19075 2005-12-05 Wim Taymans <wim@fluendo.com>
19077 * gst/gstcaps.c: (gst_caps_is_equal):
19078 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19079 (gst_fake_src_create):
19080 Back out previous code changes, leave doc updates, file bugs
19083 2005-12-05 Wim Taymans <wim@fluendo.com>
19085 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19086 (gst_fake_src_get_times), (gst_fake_src_create):
19087 * plugins/elements/gstfakesrc.h:
19088 Fix broken sync code.
19090 2005-12-05 Wim Taymans <wim@fluendo.com>
19092 * gst/gstcaps.c: (gst_caps_is_equal):
19093 Comparing NULL against !NULL yields different caps, not a
19096 2005-12-05 Wim Taymans <wim@fluendo.com>
19098 * gst/gstpipeline.c:
19099 Fix small typo in docs.
19101 2005-12-05 Andy Wingo <wingo@pobox.com>
19103 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19105 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19106 registries/plugins with a MAJORMINOR one.
19107 (plugin_desc): Rename library from gstcoreleements to
19108 staticelements. Fixes #323222.
19110 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19112 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19113 Change debug category to 'collectpads' from 'collect_pads'
19116 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19118 patch by: Sebastien Moutte
19120 * libs/gst/controller/gstinterpolation.c:
19121 use convert function for uint64/double
19122 * win32/vs6/libgstcontroller.dsp:
19125 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19127 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19128 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19130 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19131 add tests that seem to show that the guint64/gdouble conversions
19134 2005-12-02 Wim Taymans <wim@fluendo.com>
19136 * gst/gstregistry.c: (gst_registry_add_path):
19137 * gst/gstregistry.h:
19138 * gst/gstregistryxml.c:
19141 2005-12-02 Wim Taymans <wim@fluendo.com>
19143 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19144 (gst_util_uint64_scale_int):
19147 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19148 Add debug log line.
19150 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19153 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19156 * win32/common/config.h:
19157 * win32/vs6/gstreamer.dsw:
19158 * win32/vs6/libgstcoreelements.dsp:
19159 * win32/vs6/libgstelements.dsp:
19160 renamed core elements plugin
19162 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19164 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19166 do piece-wise major/minor comparison so 0.9 < 0.10
19167 also allow .exe extensions for tools
19169 2005-12-02 Michael Smith <msmith@fluendo.com>
19172 Escape a % to make gtkdoc happier; bug 322958.
19174 === release 0.9.7 ===
19176 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19179 releasing 0.9.7, "My Dog Has No Nose"
19181 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19183 * common/gst-xmlinspect.py:
19185 * docs/libs/tmpl/gstdataprotocol.sgml:
19186 * docs/random/release:
19205 * win32/common/config.h:
19206 * win32/common/config.h.in:
19207 * win32/vs6/gst_inspect.dsp:
19208 * win32/vs6/gst_launch.dsp:
19209 * win32/vs6/libgstbase.dsp:
19210 * win32/vs6/libgstelements.dsp:
19211 * win32/vs6/libgstreamer.dsp:
19212 * win32/vs7/GStreamer.vcproj:
19213 * win32/vs7/gst-inspect.vcproj:
19214 * win32/vs7/gst-launch.vcproj:
19215 * win32/vs7/libgstbase.vcproj:
19216 bump GST_MAJORMINOR to 0.10
19217 reset libtool version
19219 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19223 Added Bulgarian translation by (Alexander Shopov)
19225 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19227 * tests/check/gst/gstplugin.c:
19230 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19232 * common/gst-xmlinspect.py:
19233 * common/gtk-doc-plugins.mak:
19235 * docs/Makefile.am:
19236 * docs/gst/Makefile.am:
19237 * docs/gst/gstreamer-docs.sgml:
19238 * docs/gst/gstreamer-sections.txt:
19239 * docs/gst/gstreamer.types:
19240 * docs/gst/gstreamer.types.in:
19241 * docs/plugins/Makefile.am:
19242 * docs/plugins/gstreamer-plugins-docs.sgml:
19243 * docs/plugins/gstreamer-plugins-sections.txt:
19244 * docs/plugins/gstreamer-plugins.types:
19245 * docs/plugins/inspect.stamp:
19246 * docs/plugins/inspect/plugin-coreelements.xml:
19247 * docs/plugins/inspect/plugin-coreindexers.xml:
19248 * docs/plugins/scanobj-build.stamp:
19249 * gstreamer.spec.in:
19250 * plugins/elements/Makefile.am:
19251 * plugins/elements/gstelements.c:
19252 * plugins/elements/gstfakesink.c:
19253 * plugins/elements/gstfakesrc.c:
19254 * plugins/elements/gstfilesink.c:
19255 * plugins/elements/gstfilesrc.c:
19256 * plugins/elements/gstqueue.c:
19257 * plugins/indexers/Makefile.am:
19258 * plugins/indexers/gstindexers.c:
19259 document core plugins in a separate document just like all the
19261 rename these plugins to something starting with core
19263 2005-12-01 Andy Wingo <wingo@pobox.com>
19265 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19266 padding here before, but it missed the commit.
19268 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19270 * libs/gst/controller/gstinterpolation.c:
19271 whitespace prices have crashed, we should feel free to use some now
19272 use gst_guint64_to_gdouble
19274 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19276 * libs/gst/controller/gstcontroller.c:
19277 * libs/gst/controller/gsthelper.c:
19278 * libs/gst/controller/gstinterpolation.c:
19279 * libs/gst/controller/lib.c:
19280 wrap config.h include
19282 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19284 * docs/gst/gstreamer-sections.txt:
19287 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19289 * plugins/elements/gstelements.c:
19290 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19291 (gst_fd_sink__class_init), (gst_fd_sink__init),
19292 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19293 (gst_fd_sink__get_property):
19294 * plugins/elements/gstfdsink.h:
19295 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19296 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19297 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19298 (gst_fd_src_unlock), (gst_fd_src_set_property),
19299 (gst_fd_src_get_property), (gst_fd_src_create),
19300 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19301 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19302 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19303 (gst_fd_src_uri_handler_init):
19304 * plugins/elements/gstfdsrc.h:
19305 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19308 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19310 * docs/gst/Makefile.am:
19311 * docs/gst/gstreamer.types.in:
19315 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19321 * gst/gstregistry.h:
19322 * tests/benchmarks/complexity.c:
19323 * tests/benchmarks/mass-elements.c:
19324 * tests/check/Makefile.am:
19325 * tools/Makefile.am:
19326 * tools/gst-inspect.c:
19327 * tools/gst-xmlinspect.c:
19328 various fixes to make
19329 --disable-nls --disable-registry --disable-loadsave
19330 --disable-parse --disable-gst-debug
19331 work and get the core .so down to 360444 bytes after stripping
19333 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19338 * docs/random/thomasvs/TODO:
19339 * tests/Makefile.am:
19343 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19345 * win32/GStreamer.vcproj:
19348 * win32/Makefile.inspect:
19349 * win32/Makefile.launch:
19350 * win32/Makefile.register:
19351 * win32/README.txt:
19352 * win32/gst-inspect.vcproj:
19353 * win32/gst-launch.vcproj:
19354 * win32/gst-register.vcproj:
19355 * win32/gstelements.vcproj:
19356 * win32/gstgetbits.def:
19357 * win32/gstgetbits.vcproj:
19358 * win32/gstreamer-dbg.def:
19359 * win32/gstreamer.def:
19360 * win32/libgstbase.def:
19361 * win32/libgstbase.vcproj:
19362 * win32/link_oldruntime.c:
19366 * win32/msvc71.sln:
19367 move even more stuff, win32/ is nice and clean now
19369 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19371 * libs/gst/control/.cvsignore:
19376 * win32/gstbytestream.def:
19377 * win32/gstbytestream.vcproj:
19378 * win32/gstconfig.h:
19379 * win32/gstenumtypes.c:
19380 * win32/gstenumtypes.h:
19381 * win32/gstoptimalscheduler.vcproj:
19382 * win32/gstversion.h:
19384 * win32/testsuite/bins.vcproj:
19385 * win32/testsuite/bytestream.vcproj:
19386 * win32/testsuite/caps.vcproj:
19387 * win32/testsuite/cleanup.vcproj:
19388 * win32/testsuite/clock.vcproj:
19389 * win32/testsuite/debug.vcproj:
19390 * win32/testsuite/dlopen.vcproj:
19391 * win32/testsuite/dynparams.vcproj:
19392 * win32/testsuite/elements.vcproj:
19393 * win32/testsuite/ghostpads.vcproj:
19394 * win32/testsuite/indexers.vcproj:
19395 * win32/testsuite/negotiation.vcproj:
19396 * win32/testsuite/parse.vcproj:
19397 * win32/testsuite/plugin.vcproj:
19398 * win32/testsuite/refcounting.vcproj:
19399 * win32/testsuite/schedulers.vcproj:
19400 * win32/testsuite/states.vcproj:
19401 * win32/testsuite/tags.vcproj:
19402 * win32/testsuite/threads.vcproj:
19403 remove old win32 stuff that isn't maintained and should be
19406 2005-11-30 Andy Wingo <wingo@pobox.com>
19408 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19409 loading the gst.interfaces python module bork.
19411 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19412 available since GLib 2.2. Fixes #318031.
19414 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19417 * check/.cvsignore:
19418 * check/Makefile.am:
19419 * check/elements/.cvsignore:
19420 * check/elements/fakesrc.c:
19421 * check/elements/fdsrc.c:
19422 * check/elements/identity.c:
19423 * check/generic/.cvsignore:
19424 * check/generic/states.c:
19425 * check/gst-libs/.cvsignore:
19426 * check/gst-libs/controller.c:
19427 * check/gst-libs/gdp.c:
19428 * check/gst/.cvsignore:
19429 * check/gst/capslist.h:
19431 * check/gst/gstbin.c:
19432 * check/gst/gstbuffer.c:
19433 * check/gst/gstbus.c:
19434 * check/gst/gstcaps.c:
19435 * check/gst/gstelement.c:
19436 * check/gst/gstevent.c:
19437 * check/gst/gstghostpad.c:
19438 * check/gst/gstiterator.c:
19439 * check/gst/gstmessage.c:
19440 * check/gst/gstminiobject.c:
19441 * check/gst/gstobject.c:
19442 * check/gst/gstpad.c:
19443 * check/gst/gstpipeline.c:
19444 * check/gst/gstplugin.c:
19445 * check/gst/gstsegment.c:
19446 * check/gst/gststructure.c:
19447 * check/gst/gstsystemclock.c:
19448 * check/gst/gsttag.c:
19449 * check/gst/gstutils.c:
19450 * check/gst/gstvalue.c:
19451 * check/net/.cvsignore:
19452 * check/net/gstnetclientclock.c:
19453 * check/net/gstnettimeprovider.c:
19454 * check/pipelines/.cvsignore:
19455 * check/pipelines/cleanup.c:
19456 * check/pipelines/simple_launch_lines.c:
19457 * check/pipelines/stress.c:
19458 * check/states/.cvsignore:
19459 * check/states/sinks.c:
19461 * examples/Makefile.am:
19462 * examples/appreader/.cvsignore:
19463 * examples/appreader/Makefile.am:
19464 * examples/appreader/appreader.c:
19465 * examples/controller/.cvsignore:
19466 * examples/controller/Makefile.am:
19467 * examples/controller/audio-example.c:
19468 * examples/cutter/.cvsignore:
19469 * examples/cutter/Makefile.am:
19470 * examples/cutter/cutter.c:
19471 * examples/cutter/cutter.h:
19472 * examples/events/Makefile.am:
19473 * examples/events/seek.c:
19474 * examples/helloworld/.cvsignore:
19475 * examples/helloworld/Makefile.am:
19476 * examples/helloworld/helloworld.c:
19477 * examples/helloworld2/.cvsignore:
19478 * examples/helloworld2/Makefile.am:
19479 * examples/helloworld2/helloworld2.c:
19480 * examples/launch/.cvsignore:
19481 * examples/launch/Makefile.am:
19482 * examples/launch/mp3parselaunch.c:
19483 * examples/launch/mp3play:
19484 * examples/manual/.cvsignore:
19485 * examples/manual/Makefile.am:
19486 * examples/manual/extract.pl:
19487 * examples/metadata/Makefile.am:
19488 * examples/metadata/read-metadata.c:
19489 * examples/mixer/.cvsignore:
19490 * examples/mixer/Makefile.am:
19491 * examples/mixer/mixer.c:
19492 * examples/mixer/mixer.h:
19493 * examples/pingpong/.cvsignore:
19494 * examples/pingpong/Makefile.am:
19495 * examples/pingpong/pingpong.c:
19496 * examples/plugins/.cvsignore:
19497 * examples/plugins/Makefile.am:
19498 * examples/plugins/example.c:
19499 * examples/plugins/example.h:
19500 * examples/pwg/.cvsignore:
19501 * examples/pwg/Makefile.am:
19502 * examples/pwg/extract.pl:
19503 * examples/queue/.cvsignore:
19504 * examples/queue/Makefile.am:
19505 * examples/queue/queue.c:
19506 * examples/queue2/.cvsignore:
19507 * examples/queue2/Makefile.am:
19508 * examples/queue2/queue2.c:
19509 * examples/queue3/.cvsignore:
19510 * examples/queue3/Makefile.am:
19511 * examples/queue3/queue3.c:
19512 * examples/queue4/.cvsignore:
19513 * examples/queue4/Makefile.am:
19514 * examples/queue4/queue4.c:
19515 * examples/retag/.cvsignore:
19516 * examples/retag/Makefile.am:
19517 * examples/retag/retag.c:
19518 * examples/retag/transcode.c:
19519 * examples/thread/.cvsignore:
19520 * examples/thread/Makefile.am:
19521 * examples/thread/thread.c:
19522 * examples/typefind/.cvsignore:
19523 * examples/typefind/Makefile.am:
19524 * examples/typefind/typefind.c:
19525 * examples/xml/.cvsignore:
19526 * examples/xml/Makefile.am:
19527 * examples/xml/createxml.c:
19528 * examples/xml/runxml.c:
19529 * tests/Makefile.am:
19530 * tests/check/Makefile.am:
19531 * testsuite/.cvsignore:
19532 * testsuite/Makefile.am:
19534 * testsuite/caps/.cvsignore:
19535 * testsuite/caps/Makefile.am:
19536 * testsuite/caps/app_fixate.c:
19537 * testsuite/caps/audioscale.c:
19538 * testsuite/caps/caps.c:
19539 * testsuite/caps/caps.h:
19540 * testsuite/caps/caps_strings:
19541 * testsuite/caps/compatibility.c:
19542 * testsuite/caps/deserialize.c:
19543 * testsuite/caps/enumcaps.c:
19544 * testsuite/caps/eratosthenes.c:
19545 * testsuite/caps/filtercaps.c:
19546 * testsuite/caps/fixed.c:
19547 * testsuite/caps/fraction-convert.c:
19548 * testsuite/caps/fraction-multiply-and-zero.c:
19549 * testsuite/caps/intersect2.c:
19550 * testsuite/caps/intersection.c:
19551 * testsuite/caps/normalisation.c:
19552 * testsuite/caps/random.c:
19553 * testsuite/caps/renegotiate.c:
19554 * testsuite/caps/sets.c:
19555 * testsuite/caps/simplify.c:
19556 * testsuite/caps/string-conversions.c:
19557 * testsuite/caps/structure.c:
19558 * testsuite/caps/subtract.c:
19559 * testsuite/caps/union.c:
19560 * testsuite/debug/.cvsignore:
19561 * testsuite/debug/Makefile.am:
19562 * testsuite/debug/category.c:
19563 * testsuite/debug/commandline.c:
19564 * testsuite/debug/global.c:
19565 * testsuite/debug/output.c:
19566 * testsuite/debug/printf_extension.c:
19567 * testsuite/dlopen/.cvsignore:
19568 * testsuite/dlopen/Makefile.am:
19569 * testsuite/dlopen/dlopen_gst.c:
19570 * testsuite/dlopen/loadgst.c:
19571 * testsuite/elements/.cvsignore:
19572 * testsuite/elements/Makefile.am:
19573 * testsuite/elements/gst-inspect-check.in:
19574 * testsuite/elements/struct_i386.h:
19575 * testsuite/elements/struct_size.c:
19576 * testsuite/indexers/.cvsignore:
19577 * testsuite/indexers/Makefile.am:
19578 * testsuite/indexers/cache1.c:
19579 * testsuite/indexers/indexdump.c:
19580 * testsuite/parse/.cvsignore:
19581 * testsuite/parse/Makefile.am:
19582 * testsuite/parse/parse1.c:
19583 * testsuite/parse/parse2.c:
19584 * testsuite/plugin/.cvsignore:
19585 * testsuite/plugin/Makefile.am:
19586 * testsuite/plugin/README:
19587 * testsuite/plugin/dynamic.c:
19588 * testsuite/plugin/linked.c:
19589 * testsuite/plugin/loading.c:
19590 * testsuite/plugin/registry.c:
19591 * testsuite/plugin/static.c:
19592 * testsuite/plugin/static2.c:
19593 * testsuite/plugin/testplugin.c:
19594 * testsuite/plugin/testplugin2.c:
19595 * testsuite/plugin/testplugin2_s.c:
19596 * testsuite/plugin/testplugin_s.c:
19597 * testsuite/refcounting/.cvsignore:
19598 * testsuite/refcounting/Makefile.am:
19599 * testsuite/refcounting/bin.c:
19600 * testsuite/refcounting/element.c:
19601 * testsuite/refcounting/element_pad.c:
19602 * testsuite/refcounting/mainloop.c:
19603 * testsuite/refcounting/mem.c:
19604 * testsuite/refcounting/mem.h:
19605 * testsuite/refcounting/object.c:
19606 * testsuite/refcounting/pad.c:
19607 * testsuite/refcounting/sched.c:
19608 * testsuite/refcounting/thread.c:
19609 * testsuite/states/.cvsignore:
19610 * testsuite/states/Makefile.am:
19611 * testsuite/states/bin.c:
19612 * testsuite/states/locked.c:
19613 * testsuite/states/parent.c:
19614 * testsuite/threads/.cvsignore:
19615 * testsuite/threads/159566.c:
19616 * testsuite/threads/159852.c:
19617 * testsuite/threads/Makefile.am:
19618 * testsuite/threads/queue.c:
19619 * testsuite/threads/signals.c:
19620 * testsuite/threads/staticrec.c:
19621 * testsuite/threads/thread.c:
19622 * testsuite/threads/threadb.c:
19623 * testsuite/threads/threadc.c:
19624 * testsuite/threads/threadd.c:
19625 * testsuite/threads/threade.c:
19626 * testsuite/threads/threadf.c:
19627 * testsuite/threads/threadg.c:
19628 * testsuite/threads/threadh.c:
19629 * testsuite/threads/threadi.c:
19630 move all of these under tests
19632 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19635 * tests/Makefile.am:
19638 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19640 * docs/gst/gstreamer-sections.txt:
19641 * tests/sched/.cvsignore:
19642 * tests/sched/Makefile.am:
19643 * tests/sched/cases/(fs-fs).xml:
19644 * tests/sched/cases/(fs-i-fs).xml:
19645 * tests/sched/cases/(fs-i-i-fs).xml:
19646 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19647 * tests/sched/dynamic-pipeline.c:
19648 * tests/sched/interrupt1.c:
19649 * tests/sched/interrupt2.c:
19650 * tests/sched/interrupt3.c:
19651 * tests/sched/runtestcases:
19652 * tests/sched/runxml.c:
19653 * tests/sched/sched-stress.c:
19654 * tests/sched/sort.c:
19655 * tests/sched/testcases:
19656 * tests/sched/testcases1.tc:
19657 * tests/seeking/.cvsignore:
19658 * tests/seeking/Makefile.am:
19659 * tests/seeking/seeking1.c:
19660 * tests/threadstate/.cvsignore:
19661 * tests/threadstate/Makefile.am:
19662 * tests/threadstate/test1.c:
19663 * tests/threadstate/test2.c:
19664 * tests/threadstate/threadstate1.c:
19665 * tests/threadstate/threadstate2.c:
19666 * tests/threadstate/threadstate3.c:
19667 * tests/threadstate/threadstate4.c:
19668 * tests/threadstate/threadstate5.c:
19669 remove obsolete tests
19671 * tests/bench-complexity.scm:
19672 * tests/bench-mass_elements.scm:
19673 * tests/complexity.c:
19674 * tests/complexity.gnuplot:
19675 * tests/instantiate/.cvsignore:
19676 * tests/instantiate/Makefile.am:
19677 * tests/instantiate/caps.c:
19678 * tests/mass_elements.c:
19679 * tests/network-clock-utils.scm:
19680 * tests/network-clock.scm:
19682 First pass at cleaning up tests/ dir before moving the rest
19683 Combined with CVS surgery
19685 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19688 queue has moved, update
19690 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19692 * docs/gst/gstreamer-sections.txt:
19693 remove double entries from the docs
19694 * gst/gst_private.h:
19695 * gst/gstinfo.c: (_gst_debug_init):
19696 remove the THREAD debug category
19700 * docs/gst/gstreamer.types:
19701 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19702 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19703 completely move queue and fix up debugging categories
19705 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19707 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19708 make initialization portable, using LL is not
19710 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19712 * win32/common/gstconfig.h:
19715 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19717 * win32/common/libgstreamer.def:
19718 rename symbols; sort base section
19720 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19722 * gst/gstclock.c: (do_linear_regression):
19723 remove crack non-portable handrolled DEBUG macro
19725 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19727 * docs/random/release:
19729 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19730 (gst_object_flags_get_type), (register_gst_bin_flags),
19731 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19732 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19733 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19734 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19735 (gst_caps_flags_get_type), (register_gst_clock_return),
19736 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19737 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19738 (gst_clock_flags_get_type), (register_gst_state),
19739 (gst_state_get_type), (register_gst_state_change_return),
19740 (gst_state_change_return_get_type), (register_gst_state_change),
19741 (gst_state_change_get_type), (register_gst_element_flags),
19742 (gst_element_flags_get_type), (register_gst_core_error),
19743 (gst_core_error_get_type), (register_gst_library_error),
19744 (gst_library_error_get_type), (register_gst_resource_error),
19745 (gst_resource_error_get_type), (register_gst_stream_error),
19746 (gst_stream_error_get_type), (register_gst_event_type_flags),
19747 (gst_event_type_flags_get_type), (register_gst_event_type),
19748 (gst_event_type_get_type), (register_gst_seek_type),
19749 (gst_seek_type_get_type), (register_gst_seek_flags),
19750 (gst_seek_flags_get_type), (register_gst_format),
19751 (gst_format_get_type), (register_gst_index_certainty),
19752 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19753 (gst_index_entry_type_get_type),
19754 (register_gst_index_lookup_method),
19755 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19756 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19757 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19758 (gst_index_flags_get_type), (register_gst_debug_level),
19759 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19760 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19761 (gst_iterator_result_get_type), (register_gst_iterator_item),
19762 (gst_iterator_item_get_type), (register_gst_message_type),
19763 (gst_message_type_get_type), (register_gst_mini_object_flags),
19764 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19765 (gst_pad_link_return_get_type), (register_gst_flow_return),
19766 (gst_flow_return_get_type), (register_gst_activate_mode),
19767 (gst_activate_mode_get_type), (register_gst_pad_direction),
19768 (gst_pad_direction_get_type), (register_gst_pad_flags),
19769 (gst_pad_flags_get_type), (register_gst_pad_presence),
19770 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19771 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19772 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19773 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19774 (gst_plugin_flags_get_type), (register_gst_rank),
19775 (gst_rank_get_type), (register_gst_query_type),
19776 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19777 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19778 (gst_tag_flag_get_type), (register_gst_task_state),
19779 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19780 (gst_alloc_trace_flags_get_type),
19781 (register_gst_type_find_probability),
19782 (gst_type_find_probability_get_type), (register_gst_uri_type),
19783 (gst_uri_type_get_type), (register_gst_parse_error),
19784 (gst_parse_error_get_type):
19785 * win32/common/gstenumtypes.h:
19786 * win32/common/gstversion.h:
19787 update visual studio generated files
19789 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19791 * win32/vs6/libgstbase.dsp:
19792 * win32/vs6/libgstelements.dsp:
19793 update project files for new locations
19795 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19800 reinstate and update
19805 * docs/random/LICENSE:
19808 2005-11-30 Edward Hervey <edward@fluendo.com>
19810 * gst/gsttypefind.c: (gst_type_find_register):
19811 * gst/gsttypefind.h:
19812 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19813 (gst_type_find_factory_dispose):
19814 * gst/gsttypefindfactory.h:
19815 Fix memory leak in GstTypeFindFactory.
19817 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19820 * plugins/elements/Makefile.am:
19821 * plugins/elements/gstelements.c:
19822 * plugins/elements/gstqueue.c:
19823 move queue from core to the elements plugin
19825 2005-11-29 Andy Wingo <wingo@pobox.com>
19827 * libs/gst/base/gstbasetransform.h:
19828 * libs/gst/base/gstbasesrc.h:
19829 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19831 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19832 of pointers by which to pad very extensible base classes (like the
19833 ones in libs/gst/base).
19835 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19837 * docs/gst/gstreamer-docs.sgml:
19838 * docs/gst/gstreamer-sections.txt:
19839 * docs/libs/gstreamer-libs-docs.sgml:
19840 * docs/libs/gstreamer-libs-sections.txt:
19841 moving documentation from core to lib
19843 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19845 * check/Makefile.am:
19847 * docs/gst/Makefile.am:
19849 * gst/base/.cvsignore:
19850 * gst/base/Makefile.am:
19852 * gst/base/gstadapter.c:
19853 * gst/base/gstadapter.h:
19854 * gst/base/gstbasesink.c:
19855 * gst/base/gstbasesink.h:
19856 * gst/base/gstbasesrc.c:
19857 * gst/base/gstbasesrc.h:
19858 * gst/base/gstbasetransform.c:
19859 * gst/base/gstbasetransform.h:
19860 * gst/base/gstcollectpads.c:
19861 * gst/base/gstcollectpads.h:
19862 * gst/base/gstpushsrc.c:
19863 * gst/base/gstpushsrc.h:
19864 * gst/base/gsttypefindhelper.c:
19865 * gst/base/gsttypefindhelper.h:
19866 * gst/check/Makefile.am:
19867 * gst/check/gstcheck.c:
19868 * gst/check/gstcheck.h:
19869 * gst/net/Makefile.am:
19870 * gst/net/gstnet.h:
19871 * gst/net/gstnetclientclock.c:
19872 * gst/net/gstnetclientclock.h:
19873 * gst/net/gstnettimepacket.c:
19874 * gst/net/gstnettimepacket.h:
19875 * gst/net/gstnettimeprovider.c:
19876 * gst/net/gstnettimeprovider.h:
19877 * libs/gst/Makefile.am:
19878 * libs/gst/base/Makefile.am:
19879 * libs/gst/base/gstbasetransform.c:
19880 * libs/gst/check/Makefile.am:
19881 * plugins/elements/Makefile.am:
19883 CVS surgery + support to move base, check, and net out of gst
19886 2005-11-29 Andy Wingo <wingo@pobox.com>
19888 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19890 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19893 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19895 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19897 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19899 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19900 padding; reduces object size by about 30%. We don't expect
19901 anything else to go into gstobject.
19903 * gst/gstminiobject.h (struct _GstMiniObject)
19904 (struct _GstMiniObjectClass): Only one pointer of padding; the
19905 payload is only a pointer and two ints anyway. For the class there
19906 are only two methods as well.
19908 * gst/gstelement.h (struct _GstElementClass): Removed
19909 the state_changed signal callback, it is not used.
19911 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19913 * docs/gst/gstreamer.types:
19914 fix includes, though they are a little dinky
19916 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19918 * check/Makefile.am:
19919 look in the right place for elements, a lot more chance of
19922 remove indexers and elements subdirs
19923 * plugins/Makefile.am:
19924 make indexers conditional
19926 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19930 * plugins/elements/Makefile.am:
19931 * plugins/elements/gstcapsfilter.c:
19932 * plugins/elements/gstfilesink.c:
19933 * plugins/elements/gstfilesrc.c:
19934 * plugins/elements/gstidentity.c:
19935 * plugins/indexers/Makefile.am:
19936 do CVS surgery and related build fixery to move elements
19937 and indexers in a new gstreamer/plugins directory, out of the
19940 2005-11-29 Andy Wingo <wingo@pobox.com>
19942 * check/Makefile.am:
19943 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19944 * pkgconfig/gstreamer-net.pc.in:
19945 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19948 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19950 * tools/Makefile.am:
19951 * tools/gst-complete.1.in:
19952 * tools/gst-complete.c:
19953 * tools/gst-compprep.1.in:
19954 * tools/gst-compprep.c:
19955 removing -compprep and -complete
19957 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19959 * gst/gstevent.c: (gst_event_new_new_segment),
19960 (gst_event_parse_new_segment):
19962 fix #320529 - clean up new_segment API and structure.
19963 Let's hope everyone was using the methods, and not the structure.
19965 2005-11-29 Edward Hervey <edward@fluendo.com>
19967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19968 (gst_base_sink_event), (gst_base_sink_do_sync),
19969 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19970 Properly handle non GST_FORMAT_TIME segment
19971 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19972 Properly handle non GST_FORMAT_TIME segment
19973 * gst/gstsegment.c:
19974 This function is valid if the accumulator is 0 and the format
19975 is different from the requested format.
19977 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19979 * docs/gst/gstreamer-sections.txt:
19980 Add gst_query_new_seeking and gst_query_parse_seeking to the
19983 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19985 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19986 Treat a pad alloc with new caps the same as if we were not
19987 negotiated, in order to allow a changing upstream output
19988 to produce a new format of data.
19990 2005-11-29 Edward Hervey <edward@fluendo.com>
19992 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19993 (gst_base_transform_event), (gst_base_transform_eventfunc):
19994 The event virtual method is now properly implemented, with a default
19996 Sub classes should call the parent_class event method. They should
19997 return FALSE if they had a problem handling the given event, or don't
19998 want GstBaseTransform to send that even downstream
19999 * gst/elements/gstidentity.c: (gst_identity_class_init),
20000 (gst_identity_init), (gst_identity_event),
20001 (gst_identity_transform_ip), (gst_identity_set_property),
20002 (gst_identity_get_property):
20003 * gst/elements/gstidentity.h:
20004 Added the single-segment boolean property.
20005 If set to TRUE, it will output a single segment of data, starting from
20006 0, will eat up all incoming newsegment, and modify the timestamp of the
20007 buffers accordingly
20009 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20011 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20012 Don't ref NULL target pad (#322751). Improve docs.
20014 2005-11-29 Michael Smith <msmith@fluendo.com>
20016 * gst/gstregistryxml.c: (load_plugin):
20017 Don't crash if we failed to load a feature from a plugin.
20019 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20021 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20023 use more check API and less GLib API
20025 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20028 don't run checks if we don't have check
20029 * common/check.mak:
20030 remove the registry when running make torture
20031 * docs/gst/gstreamer-sections.txt:
20032 remove second multiply
20033 * gst/gstqueue.c: (gst_queue_loop):
20034 fix a compile warning when disabling debug
20036 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20039 Hey! Let's print the pad name if the pointer != NULL instead
20040 of when it == NULL :-)
20042 2005-11-28 Wim Taymans <wim@fluendo.com>
20044 * check/gst/gstutils.c: (GST_START_TEST):
20045 Updated check, add some scaling accuracy checking code.
20047 * gst/gstutils.c: (gst_util_div128_64),
20048 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20049 (gst_util_uint64_scale_int):
20050 Fix 6 times faster division code. Optimize for common
20051 1/1 and less common X/1 cases.
20053 2005-11-28 Wim Taymans <wim@fluendo.com>
20055 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20058 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20059 (do_linear_regression), (gst_clock_add_observation):
20061 Release lock when the clock cannot be slaved.
20062 Catch the case where the regression returned an invalid denominator.
20064 * gst/gstutils.c: (gst_util_div128_64_iterate),
20065 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20066 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20067 Add protentially more performant non-iterative 128/64 divide function
20068 that unfortunatly does not work yet.
20069 Shortcut the trivial 0/X = 0 case.
20070 Remove the warnings on overflow.
20072 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20074 * gst/gstplugin.c: (gst_plugin_register_func):
20075 everything causing a plugin not to load should be at least a WARNING
20077 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20079 * docs/random/ensonic/dparams.txt:
20080 some TODOs for the next dev cycle
20081 * libs/gst/controller/gstcontroller.c:
20082 (gst_controlled_property_set_interpolation_mode),
20083 (gst_controlled_property_new):
20084 * libs/gst/controller/gstcontroller.h:
20085 use base type to assign acccessor functions
20087 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20089 * check/Makefile.am:
20090 Oops, that should have been top_srcdir
20092 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20094 * check/Makefile.am:
20095 * check/elements/fdsrc.c: (GST_START_TEST):
20096 Use a cmdline define to specify the location of a file to use for
20097 testing, to avoid breaking distcheck.
20099 2005-11-28 Andy Wingo <wingo@pobox.com>
20101 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20103 2005-11-28 Edward Hervey <edward@fluendo.com>
20105 * tools/gst-launch.c: (main):
20106 Clarify the output strings, makes it easier to translate.
20109 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20112 don't try and build net if we don't even have <sys/socket.h>
20114 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20116 * check/Makefile.am:
20117 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20118 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20119 Add tests for fdsrc seekability
20121 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20122 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20123 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20124 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20125 * gst/elements/gstfdsrc.h:
20126 fdsrc should not be a 'live' source.
20127 Implement seeking on seekable fd's.
20129 * gst/gstquery.c: (gst_query_new_seeking),
20130 (gst_query_parse_seeking):
20132 Implement SEEKING query functions:
20133 *_new_seeking and *_parse_seeking
20135 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20137 * gst/gstelement.c: (gst_element_dispose):
20140 * gst/gstiterator.c:
20141 * gst/gststructure.c:
20144 * libs/gst/controller/gstcontroller.c:
20145 (gst_controlled_property_set_interpolation_mode):
20146 * libs/gst/controller/gstcontroller.h:
20147 * libs/gst/controller/gstinterpolation.c:
20148 (interpolate_none_get_enum_value_array):
20149 support controlling enums
20151 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20154 Improve documentation for gst_value_union().
20157 Change return value for union, intersect and subtract functions
20158 from gint to gboolean.
20160 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20162 * gst/gstvalue.c: (gst_value_serialize_any_list),
20163 (gst_value_transform_any_list_string),
20164 (gst_value_deserialize_list), (gst_value_deserialize_array),
20165 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20166 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20167 (gst_value_set_fraction_range_full),
20168 (gst_value_deserialize_fraction_range),
20169 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20170 (gst_value_deserialize_boolean),
20171 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20172 (gst_value_serialize_float), (gst_value_deserialize_float),
20173 (gst_string_wrap), (gst_value_deserialize_string),
20174 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20175 (gst_value_union_int_range_int_range),
20176 (gst_value_intersect_int_range_int_range),
20177 (gst_value_intersect_double_range_double_range),
20178 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20179 (gst_value_subtract_int_range_int_range),
20180 (gst_value_subtract_double_double_range),
20181 (gst_value_subtract_double_range_double_range),
20182 (gst_value_deserialize_fraction):
20184 Use gint, gdouble and gchar in our API instead of int, double and
20185 char (and make usage in gstvalue.c more consistent).
20187 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20189 * check/Makefile.am:
20190 * libs/gst/controller/Makefile.am:
20191 * libs/gst/dataprotocol/Makefile.am:
20192 fix up Makefile.am and remove GST_ENABLE_NEW
20194 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20198 * gst/base/Makefile.am:
20199 * gst/check/Makefile.am:
20200 * gst/elements/Makefile.am:
20201 * gst/net/Makefile.am:
20202 update LDFLAGS use some more
20204 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20206 * common/m4/gst-doc.m4:
20209 2005-11-26 Edward Hervey <edward@fluendo.com>
20211 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20212 This shouldn't issue a g_warning since it returns NULL if it
20213 couldn't find the plugin, and all functions using this behave
20214 properly on a NULL return. Switching to a GST_WARNING.
20216 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20218 * gst/gstbin.c: (gst_bin_handle_message_func):
20219 Don't leak clock messages.
20221 2005-11-25 Wim Taymans <wim@fluendo.com>
20223 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20224 (gst_util_uint64_scale_int):
20225 Optimisations, remove unneeded vars.
20227 2005-11-25 Wim Taymans <wim@fluendo.com>
20229 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20230 Added more checks for the high precision uint64 cases.
20232 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20233 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20234 Implement high precision (guint64 * guint64) / guint64.
20236 2005-11-24 Wim Taymans <wim@fluendo.com>
20238 * gst/base/gstbasesrc.c: (gst_base_src_query):
20239 Fix wrong percentage query.
20241 * gst/gstutils.c: (gst_util_uint64_scale),
20242 (gst_util_uint64_scale_int):
20243 Add some more common cases that can be handled
20244 efficiently to _scale.
20246 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20248 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20249 (gst_mini_object_suite):
20250 don't use check calls from threads; check probably isn't
20251 threadsafe and using a lock to make it threadsafe would
20252 defeat the purpose of this check
20253 * gst/check/gstcheck.c:
20254 * gst/check/gstcheck.h:
20255 use GST_DEBUG some more
20257 2005-11-24 Wim Taymans <wim@fluendo.com>
20259 * gst/gstutils.c: (gst_util_uint64_scale),
20260 (gst_util_uint64_scale_int):
20261 Chain trivial case to _scale_int.
20263 2005-11-24 Wim Taymans <wim@fluendo.com>
20265 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20266 Added test for scaling.
20271 * gst/gstutils.c: (gst_util_uint64_scale_int):
20272 Implemented high precision scaling code.
20274 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20277 do not crash on pad==NULL
20279 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20281 Patch by: Stefan Kost
20283 * common/gtk-doc.mak:
20284 * docs/gst/Makefile.am:
20285 * docs/libs/Makefile.am:
20286 Fix distcheck issues for the libraries docs build
20289 2005-11-24 Michael Smith <msmith@fluendo.com>
20291 * docs/manual/basics-helloworld.xml:
20292 Fix bug #315027: memory leak in example code in docs.
20294 2005-11-24 Michael Smith <msmith@fluendo.com>
20296 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20297 Unlock the PREROLL_LOCK in a failure case.
20299 2005-11-24 Wim Taymans <wim@fluendo.com>
20301 * docs/gst/gstreamer-sections.txt:
20302 * gst/base/gstadapter.h:
20303 * gst/base/gstbasesink.h:
20304 * gst/base/gstbasesrc.h:
20305 * gst/base/gstbasetransform.h:
20306 * gst/base/gstpushsrc.h:
20307 * gst/elements/gstfakesink.h:
20308 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20309 * gst/elements/gstfakesrc.h:
20310 * gst/elements/gstfilesink.h:
20311 * gst/elements/gstfilesrc.h:
20314 * gst/gstbuffer.c: (_gst_buffer_copy):
20317 * gst/gstchildproxy.c:
20319 * gst/gstelement.c:
20320 * gst/gstelementfactory.c:
20321 * gst/gstelementfactory.h:
20323 * gst/gstghostpad.h:
20325 * gst/gstinterface.h:
20326 * gst/gstminiobject.c:
20327 * gst/gstminiobject.h:
20330 * gst/gstpadtemplate.h:
20331 * gst/gstpipeline.h:
20332 * gst/gstpluginfeature.h:
20335 * gst/gsttaglist.c:
20336 * gst/gsttaglist.h:
20337 * gst/gsttagsetter.c:
20338 * gst/gsttagsetter.h:
20341 * gst/gsttypefind.h:
20344 * gst/net/gstnetclientclock.c:
20345 * gst/net/gstnetclientclock.h:
20346 * gst/net/gstnettimepacket.c:
20347 * gst/net/gstnettimeprovider.c:
20348 * gst/net/gstnettimeprovider.h:
20351 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20353 * configure.ac: back to HEAD
20355 === release 0.9.6 ===
20357 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20360 releasing 0.9.6, "Always On Time"
20362 2005-11-23 Wim Taymans <wim@fluendo.com>
20364 * docs/gst/gstreamer-sections.txt:
20365 * gst/glib-compat.c:
20366 * gst/gsttagsetter.c:
20368 * gst/net/gstnetclientclock.c:
20369 * gst/net/gstnettimepacket.h:
20372 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20374 * docs/faq/using.xml:
20375 * docs/libs/tmpl/gstcontrol.sgml:
20376 * docs/manual/advanced-dparams.xml:
20377 * docs/manual/appendix-checklist.xml:
20378 * docs/manual/basics-elements.xml:
20379 * docs/pwg/other-source.xml:
20380 * docs/random/moving-plugins:
20382 * tools/gst-launch.1.in:
20383 remove mentions of sinesrc
20385 2005-11-23 Michael Smith <msmith@fluendo.com>
20387 * docs/gst/gstreamer-sections.txt:
20388 Update for new API and API changes.
20390 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20392 Documentation typo fix.
20393 * gst/net/gstnettimepacket.c:
20394 Documentation fixes for arguments.
20396 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20398 * gst/gststructure.c: (gst_structure_get_fraction),
20399 (gst_structure_parse_value),
20400 (gst_structure_fixate_field_nearest_fraction):
20401 * gst/gststructure.h:
20402 * gst/gstutils.c: (gst_util_uint64_scale_int):
20404 * scripts/update-funcnames:
20406 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20407 Make gst_structure_fixate_field_nearest_fraction take a numerator
20408 and denominator argument instead of a GValue
20409 add gst_structure_get_fraction helper function.
20411 2005-11-23 Wim Taymans <wim@fluendo.com>
20413 * docs/design/part-TODO.txt:
20416 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20417 * gst/net/gstnetclientclock.h:
20418 Use parent fields for timeout and window_size.
20420 2005-11-23 Andy Wingo <wingo@pobox.com>
20422 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20423 rate_num/rate_denom change.
20425 * gst/net/gstnetclientclock.c
20426 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20427 OBJECT_LOCK. Don't call add_observation with the lock.
20429 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20431 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20433 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20434 deal with rate as a fraction whose numerator and denominator are
20435 GstClockTime values.
20436 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20437 master; the other fields are protected by the SLAVE_LOCK.
20438 (do_linear_regression): Note that this must be called with the
20440 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20441 OBJECT_LOCK. Call set_calibration instead of touching the
20442 variables directly.
20443 (gst_clock_set_property, gst_clock_get_property): Protect
20444 master/slave parameters with the SLAVE_LOCK.
20446 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20447 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20448 note that all of the instance variables that add_observation and
20449 the set_master functions use are protected by that lock and not
20451 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20453 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20454 the caller to take the object lock.
20456 2005-11-23 Wim Taymans <wim@fluendo.com>
20458 * gst/gsterror.c: (_gst_core_errors_init):
20460 Add error for clock stuff.
20462 * gst/gstpipeline.c: (gst_pipeline_change_state),
20463 (gst_pipeline_set_clock):
20464 Post clock error when clock cannot be used in a pipeline.
20466 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20468 * docs/gst/gstreamer-sections.txt:
20469 make two symbols from gstinfo private for the docs
20470 * gst/base/gstcollectpads.h:
20472 fix doc typos, update docs
20474 2005-11-22 Wim Taymans <wim@fluendo.com>
20476 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20477 (gst_base_sink_wait), (gst_base_sink_do_sync),
20478 (gst_base_sink_handle_event):
20479 * gst/base/gstbasesink.h:
20480 No need to store the clock, the parent element class already
20483 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20484 Updates for clock_set returning a gboolean
20486 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20487 (gst_clock_id_wait_async), (gst_clock_class_init),
20488 (gst_clock_init), (gst_clock_finalize),
20489 (gst_clock_get_internal_time), (gst_clock_get_time),
20490 (gst_clock_slave_callback), (gst_clock_set_master),
20491 (gst_clock_get_master), (do_linear_regression),
20492 (gst_clock_add_observation), (gst_clock_set_property),
20493 (gst_clock_get_property):
20495 Implement master/slave. When setting a clock as a slave, a
20496 periodic timeout is scheduled to sample master and slave times.
20497 Then the slave clock is recalibrated to match offset and rate
20498 of the master clock.
20499 Update logging a bit.
20500 Add flag so that a clock can state that is cannot be slaved to
20503 * gst/gstelement.c: (gst_element_set_clock):
20504 * gst/gstelement.h:
20505 The set clock returns a gboolean for when an element cannot
20506 deal with the selected clock in the pipeline.
20508 * gst/gstpipeline.c: (gst_pipeline_change_state),
20509 (gst_pipeline_set_clock):
20510 * gst/gstpipeline.h:
20511 Handle the case where the selected clock cannot be set on
20514 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20515 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20516 (gst_net_client_clock_set_property),
20517 (gst_net_client_clock_get_property),
20518 (gst_net_client_clock_observe_times):
20519 * gst/net/gstnetclientclock.h:
20520 Use regression code in GstClock parent, remove duplicated
20523 2005-11-22 Michael Smith <msmith@fluendo.com>
20525 * gst/gstutils.c: (gst_util_clock_time_scale):
20527 * docs/gst/gstreamer-sections.txt:
20528 Rename method to have extra underscore.
20530 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20532 * gst/elements/Makefile.am:
20533 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20534 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20535 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20536 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20537 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20538 * gst/elements/gstfakesrc.h:
20539 * gst/gstqueue.c: (queue_leaky_get_type):
20540 correctly fix GEnumValues so that nick is the short lowercase
20542 * tools/gst-inspect.c: (print_element_properties_info):
20543 also show the nick, since it's useful to use from parse_launch
20547 2005-11-22 Michael Smith <msmith@fluendo.com>
20549 * gst/gstutils.c: (gst_util_clocktime_scale):
20551 * docs/gst/gstreamer-sections.txt:
20552 Add util method for scaling a clocktime by a fraction. Useful
20553 implementation is left as an exercise for the reader.
20555 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20557 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20558 If needed, allocate storage in the destination value during
20561 2005-11-22 Edward Hervey <edward@fluendo.com>
20563 * docs/gst/gstreamer-sections.txt:
20566 * gst/gsturitype.c:
20567 * gst/gsturitype.h:
20568 * gst/gstutils.c: (gst_util_set_object_arg):
20569 * tools/gst-compprep.c: (main):
20570 * tools/gst-inspect.c: (print_element_properties_info):
20571 Removed GstURI, closes bug #321061
20573 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20575 * check/gst/gststructure.c: (GST_START_TEST):
20576 * gst/gststructure.c: (gst_structure_parse_value):
20577 Oops, broke automatic string type parsing.
20578 Add a test to catch it in future.
20580 2005-11-22 Andy Wingo <wingo@pobox.com>
20582 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20583 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20584 Actually rename the function implementations. Grr.
20586 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20588 * check/gst/capslist.h:
20590 * check/gst/gststructure.c: (GST_START_TEST),
20591 (gst_structure_suite):
20592 Test automatic value type detection in gst_structure_from_string.
20593 * gst/gststructure.c: (gst_structure_parse_value):
20594 Add fraction as a type we try and guess automatically in
20595 caps/structure strings.
20597 2005-11-22 Andy Wingo <wingo@pobox.com>
20599 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20601 * gst/gsttagsetter.h:
20602 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20603 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20604 (gst_tag_setter_add_tag_valist)
20605 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20606 _add_values, _add_valist, and _add_valist_values. Since this is an
20607 interface the function suffixes should be more explicit so
20608 language binding don't end up with element.add_valist ->
20609 gst_tag_setter_add_valist, for example. Fixes #322069.
20611 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20613 * check/gst/gstcaps.c: (GST_START_TEST):
20614 Extend caps string tests to check that a caps to string
20615 conversion is reversible and produces the same caps.
20617 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20618 Output "fraction" as the generic type fraction range, so caps
20619 serialisation and deserialisation works.
20620 * check/gst/capslist.h:
20621 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20622 Support 'MIN' and 'MAX' for deserialising fractions.
20624 2005-11-22 Andy Wingo <wingo@pobox.com>
20626 * gst/gstevent.h (gst_event_new_new_segment)
20627 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20628 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20629 Renamed from *_newsegment, *_buffersize, *_notarget.
20631 * scripts/update-funcnames: New script, performs the changes
20634 2005-11-22 Wim Taymans <wim@fluendo.com>
20636 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20637 Make sure the GstFlowReturn is returned.
20639 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20640 (gst_bus_add_signal_watch):
20642 add gst_bus_add_signal_watch_full.
20644 * gst/gstplugin.c: (gst_plugin_load_file):
20645 Small style cleanup.
20647 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20649 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20650 Block the fakesrc srcpad when we send an event, to avoid
20651 contention on the stream_lock causing random test failures.
20653 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20655 * check/gst/gstvalue.c: (GST_START_TEST):
20656 * gst/gstvalue.c: (gst_value_fraction_subtract):
20659 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20662 include "gstchildproxy.h"
20663 * gst/gstchildproxy.h:
20664 * libs/gst/controller/gstcontroller.h:
20665 use G_GNUC_NULL_TERMINATED
20667 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20669 * check/gst/capslist.h:
20670 * check/gst/gstcaps.c: (GST_START_TEST):
20671 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20672 * gst/gststructure.c: (gst_structure_parse_range),
20673 (gst_structure_fixate_field_nearest_fraction):
20674 * gst/gststructure.h:
20675 * gst/gstvalue.c: (gst_value_init_fraction_range),
20676 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20677 (gst_value_collect_fraction_range),
20678 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20679 (gst_value_set_fraction_range_full),
20680 (gst_value_get_fraction_range_min),
20681 (gst_value_get_fraction_range_max),
20682 (gst_value_serialize_fraction_range),
20683 (gst_value_transform_fraction_range_string),
20684 (gst_value_compare_fraction_range),
20685 (gst_value_deserialize_fraction_range),
20686 (gst_value_intersect_fraction_fraction_range),
20687 (gst_value_intersect_fraction_range_fraction_range),
20688 (gst_value_subtract_fraction_fraction_range),
20689 (gst_value_subtract_fraction_range_fraction),
20690 (gst_value_subtract_fraction_range_fraction_range),
20691 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20692 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20693 (gst_value_transform_string_fraction), (_gst_value_initialize):
20695 Implement fraction ranges and extend GstFraction to support
20696 arithmetic subtraction, as well as deserialization from integer
20697 strings such as "100"
20698 Add a testsuite as for int and double range set operations
20700 2005-11-21 Andy Wingo <wingo@pobox.com>
20702 * gst/gsttaglist.h:
20704 * gst/gststructure.h: Add glib-compat.h.
20706 2005-11-21 Wim Taymans <wim@fluendo.com>
20708 * gst/gstbin.c: (gst_bin_change_state_func):
20711 2005-11-21 Wim Taymans <wim@fluendo.com>
20713 * gst/gstsegment.h:
20714 And add a nice define too.
20716 2005-11-21 Wim Taymans <wim@fluendo.com>
20718 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20719 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20720 (gst_segment_set_duration), (gst_segment_set_last_stop),
20721 (gst_segment_set_seek), (gst_segment_set_newsegment),
20722 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20723 (gst_segment_clip):
20724 * gst/gstsegment.h:
20725 Make binding friendly.
20727 2005-11-21 Andy Wingo <wingo@pobox.com>
20729 * gst/gsttagsetter.h:
20730 * gst/gsttaglist.h:
20731 * gst/gststructure.h:
20733 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20736 * gst/gsterror.c (_gst_core_errors_init):
20737 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20740 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20741 (noinst_HEADERS): noinst the -private.
20743 2005-11-21 Michael Smith <msmith@fluendo.com>
20746 * gst/gstregistry.h:
20747 Remove unimplemented declarations for which we can see no sensible
20750 2005-11-21 Andy Wingo <wingo@pobox.com>
20752 * gst/gst.h: Include glib-compat.h.
20754 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20756 * gst/glib-compat.c: Include the public and the private header.
20758 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20762 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20764 * check/gst/gstevent.c (create_custom_events): Check that
20765 FLUSH_STOP is serialized.
20767 * check/elements/identity.c (event_func):
20768 * check/elements/fakesrc.c (event_func): No stream lock, the core
20771 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20772 stream lock taking, yay.
20774 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20775 ensure that core takes the stream lock.
20777 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20780 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20781 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20782 it already. For the flush start we do take it though so we get the
20783 right preroll state change messages.
20785 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20786 the stream lock here, the core does it for us.
20788 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20789 GST_STREAM_GET_LOCK.
20790 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20791 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20792 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20793 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20794 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20795 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20797 * gst/gstpad.c: Update for stream lock name change.
20799 * gst/base/gstbasesink.c: Update for preroll lock name change.
20801 2005-11-21 Wim Taymans <wim@fluendo.com>
20803 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20804 (gst_clock_get_master):
20806 * gst/gstsystemclock.c: (gst_system_clock_init):
20807 Convert Clock flags to object flags.
20808 Added methods to manage master/slave clocks.
20810 2005-11-21 Wim Taymans <wim@fluendo.com>
20812 * check/gst/gstsegment.c: (GST_START_TEST):
20813 * docs/design/part-TODO.txt:
20814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20815 (gst_base_sink_event), (gst_base_sink_do_sync),
20816 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20817 (gst_base_sink_query), (gst_base_sink_change_state):
20818 * gst/base/gstbasesink.h:
20819 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20820 (gst_base_src_default_newsegment),
20821 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20822 (gst_base_src_get_range), (gst_base_src_loop),
20823 (gst_base_src_change_state):
20824 * gst/base/gstbasesrc.h:
20825 * gst/base/gstbasetransform.c:
20826 (gst_base_transform_prepare_output_buf),
20827 (gst_base_transform_event), (gst_base_transform_change_state):
20828 * gst/base/gstbasetransform.h:
20829 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20830 (gst_collect_pads_event):
20831 * gst/base/gstcollectpads.h:
20832 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20833 (gst_fake_src_create):
20834 * gst/elements/gstfakesrc.h:
20835 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20836 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20837 (gst_segment_set_last_stop), (gst_segment_set_seek),
20838 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20839 (gst_segment_to_running_time), (gst_segment_clip):
20840 * gst/gstsegment.h:
20841 More segment updates, replace code in plugins with segment
20844 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20846 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20847 Don't ignore sscanf results
20849 2005-11-21 Andy Wingo <wingo@pobox.com>
20851 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20854 * *.c: Ran scripts/update-macros. Oh yes.
20856 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20857 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20860 * scripts/update-macros: New script. Run it on your files to
20861 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20864 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20866 * docs/gst/Makefile.am:
20867 * docs/gst/gstreamer-docs.sgml:
20868 * docs/gst/gstreamer-sections.txt:
20869 * docs/gst/gstreamer.types:
20871 more docs fixes, add new api to the docs
20873 2005-11-21 Andy Wingo <wingo@pobox.com>
20875 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20876 state_broadcast call.
20878 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20880 2005-11-21 Julien MOUTTE <julien@moutte.net>
20882 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20883 function calls for arrays.
20885 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20887 * docs/random/ensonic/media-device-daemon.txt:
20888 wild idea, can this be done?
20889 * docs/gst/gstreamer-sections.txt:
20894 * gst/gstpluginfeature.c:
20898 doc fixes and additions
20900 2005-11-21 Andy Wingo <wingo@pobox.com>
20902 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20903 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20904 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20905 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20906 private to the basesrc implementation.
20908 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20909 behalf of event function if necessary. It should no longer be
20910 necessary to take the stream lock in pad's event functions. Fixes
20913 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20914 * docs/gst/gstreamer-sections.txt:
20915 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20916 (gst_structure_fixate_field_nearest_double),
20917 (gst_structure_fixate_field_boolean):
20918 * gst/gststructure.h:
20919 * win32/common/libgstreamer.def:
20920 * win32/gstreamer.def:
20922 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20925 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20927 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20928 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20929 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20930 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20931 (gst_fdsrc_uri_handler_init):
20932 * gst/elements/gstfdsrc.h:
20933 Port fd:// URI handler from 0.8 to fdsrc
20935 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20937 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20938 (gst_value_serialize_fourcc):
20940 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20941 consistent with our other format defines (#320324).
20943 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20945 * gst/gstvalue.c: (gst_value_is_fixed):
20946 Revert previous commit. Value lists are by definition
20947 not fixed, as they are a list of possible values.
20949 2005-11-21 Andy Wingo <wingo@pobox.com>
20951 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20952 during the stable series if we need it. Fixes #319178.
20954 * gst/gstevent.c (gst_event_new_filler): Removed.
20956 * check/gst/gstevent.c: Update comment about filler events.
20958 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20960 * gst/gstvalue.c: (gst_value_is_fixed):
20961 Should handle both value arrays and value lists.
20963 2005-11-21 Andy Wingo <wingo@pobox.com>
20965 patch by: Alessandro Dessina <alessandro nnva org>
20967 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20968 functions to access arrays. Fixes #321962.
20970 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20972 * docs/gst/gstreamer.types:
20973 gst_collectpads_get_type => gst_collect_pads_get_type.
20975 * gst/base/gstbasetransform.c:
20976 Remove unused SIGNAL_HANDOFF enum.
20978 2005-11-21 Andy Wingo <wingo@pobox.com>
20980 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20981 the event type (upstream, downstream, serialized). Renamed
20982 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20983 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20984 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20986 * gst/gstevent.c: Update for new CUSTOM event names.
20988 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20991 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20994 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20996 * docs/gst/gstreamer-sections.txt:
20997 * win32/common/libgstbase.def:
20998 * win32/libgstbase.def:
20999 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21000 (gst_collect_pads_class_init), (gst_collect_pads_init),
21001 (gst_collect_pads_finalize), (gst_collect_pads_new),
21002 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21003 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21004 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21005 (gst_collect_pads_start), (gst_collect_pads_stop),
21006 (gst_collect_pads_peek), (gst_collect_pads_pop),
21007 (gst_collect_pads_available), (gst_collect_pads_read),
21008 (gst_collect_pads_flush), (gst_collect_pads_event),
21009 (gst_collect_pads_chain):
21010 * gst/base/gstcollectpads.h:
21011 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21012 unimplemented functions as unimplemented. Add padding to
21013 GstCollectData. (#320766, #320423)
21015 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21017 * gst/gstmessage.c:
21018 Improve docs for DURATION message (usage of duration parameter)
21021 2005-11-20 Wim Taymans <wim@fluendo.com>
21023 * check/Makefile.am:
21024 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21028 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21029 (gst_segment_set_seek), (gst_segment_set_newsegment),
21030 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21031 (gst_segment_clip):
21032 * gst/gstsegment.h:
21033 Added segment helper structure and methods. Not fully implemented
21035 Added segment check.
21037 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21039 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21040 Add a deserialisation test for fractions
21041 * examples/metadata/read-metadata.c: (message_loop),
21042 (make_pipeline), (main):
21043 Fix up metadata reading sample.
21044 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21046 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21047 Don't try and fixate empty caps
21048 * gst/gst_private.h:
21049 Wrap in G_BEGIN_DECLS/G_END_DECLS
21050 * gst/gstvalue.c: (gst_value_collect_fraction),
21051 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21052 (gst_value_transform_string_fraction),
21053 (gst_value_compare_fraction):
21054 Add some extra guards to ensure that we don't end up
21055 with an invalid denominator of 0 in a gstfraction and
21056 that fractions always get reduced.
21058 2005-11-20 Wim Taymans <wim@fluendo.com>
21060 * docs/gst/gstreamer-sections.txt:
21062 * gst/gstelement.c:
21071 2005-11-20 Wim Taymans <wim@fluendo.com>
21073 * docs/design/part-TODO.txt:
21075 Make a proper enum of the flag.
21077 2005-11-19 Wim Taymans <wim@fluendo.com>
21079 * docs/design/part-TODO.txt:
21080 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21081 (gst_format_to_quark), (gst_format_register):
21083 * gst/gstquery.c: (_gst_query_initialize),
21084 (gst_query_type_get_name), (gst_query_type_to_quark),
21085 (gst_query_type_register):
21087 Add type to quark and type to string conversions.
21089 2005-11-19 Andy Wingo <wingo@pobox.com>
21091 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21094 2005-11-19 Wim Taymans <wim@fluendo.com>
21096 * docs/design/part-TODO.txt:
21097 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21098 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21099 (gst_bin_handle_message_func):
21101 Make message handling overridable.
21103 2005-11-19 Andy Wingo <wingo@pobox.com>
21105 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21108 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21110 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21111 is a GstClockTime. Fixes #321710.
21113 * gst/gstclock.h (GstClock): Remove offset property. Add
21114 internal_calibration and external_calibration. Fix padding. Pad
21115 also by GstClockTime so we don't run into problems.
21117 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21118 (gst_clock_get_rate_offset): Remove.
21119 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21122 * gst/gstutils.c (g_static_rec_cond_wait)
21123 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21125 * gst/gstbin.c: Remove terrible continue_state prototype.
21127 * gst/gstelement.h (gst_element_continue_state): Make public.
21129 * gst/gstelement.h:
21130 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21131 by continue_state. Fixes #319389.
21133 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21134 Really fixes #168438. However I don't see anywhere where the
21135 filter function is called... stupid GStreamer...
21137 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21138 don't have a dispose function, so it won't get called when the
21139 object is unreffed, but oh well!
21141 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21142 allows a destroy function to be set so user_data can be freed.
21144 (gst_index_set_filter): Call gst_index_set_filter_full.
21146 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21148 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21149 string should produce an error, given the lack of a way to
21150 represent NULL strings. Fixes #165650.
21153 * gst/gstvalue.c (gst_value_array_append_value)
21154 (gst_value_array_prepend_value, gst_value_array_get_size)
21155 (gst_value_array_get_value): New API, copied from
21156 gst_value_list_*, only operates on arrays.
21157 (gst_value_list_append_value, gst_value_list_prepend_value)
21158 (gst_value_list_concat, gst_value_list_get_size)
21159 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21161 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21162 init_list, because it works on both.
21163 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21164 (gst_value_copy_list_or_array): Renamed from copy_list.
21165 (gst_value_free_list_or_array): Renamed from free_list.
21166 (gst_value_collect_list_or_array): Renamed from collect_list.
21167 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21168 (gst_value_list_or_array_peek_pointer): Renamed from
21170 (_gst_value_array_value_table, _gst_value_list_value_table):
21171 Update value table functions.
21172 (gst_value_compare_list_or_array): Renamed from compare_list.
21174 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21177 * gst/gsttaglist.c:
21178 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21179 GstTagList*. Fixes #143472.
21181 * gst/gststructure.h: Clarify what the foreach/map functions can
21182 or can't do to their arguments.
21184 2005-11-18 Wim Taymans <wim@fluendo.com>
21186 * gst/gstclock.c: (gst_clock_set_calibration),
21187 (gst_clock_get_calibration):
21189 Calibration can be set with internal time equal to current
21192 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21198 2005-11-18 Andy Wingo <wingo@pobox.com>
21201 * pkgconfig/gstreamer-net.pc.in:
21202 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21203 * pkgconfig/Makefile.am: Add net pkgconfig files.
21205 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21208 * gst/gstghostpad.c:
21214 2005-11-18 Andy Wingo <wingo@pobox.com>
21216 * gst/net/gstnetclientclock.c: Turn off debugging.
21218 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21219 times connverge somewhat. Can't make a real test.
21221 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21222 integer arithmetic. Return the minimum of the domain, which can be
21223 set as "internal" for gst_clock_set_calibration.
21224 (gst_net_client_clock_observe_times): Call _set_calibration.
21225 (gst_net_client_clock_new): Call _set_calibration instead of
21228 * check/net/gstnetclientclock.c (test_functioning): Use the right
21232 * gst/gstclock.c (gst_clock_get_calibration)
21233 (gst_clock_set_calibration): New functions, obsolete the ones I
21234 added yesterday. Doh. Precision issues mean we have to extrapolate
21235 from a point in the more recent past than 1970.
21236 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21238 (gst_clock_adjust_unlocked): Use the right calibration data.
21240 2005-11-18 Edward Hervey <edward@fluendo.com>
21242 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21243 Also reset the ->current_* values in READY->PAUSED
21245 2005-11-18 Andy Wingo <wingo@pobox.com>
21247 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21248 Whoops, check the right fd. Also add some debugging.
21249 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21250 (do_linear_regression): Add a crapload of debugging. Subtract off
21251 the minimum values from the input series to discard unneeded bits.
21252 Use only int arithmetic. There is still double arithmetic when
21253 calculating the intercept that needs fixing. Return boolean to
21254 indicate success; FALSE would mean the domain or range is too
21255 great. Still needs fixes.
21257 2005-11-18 Wim Taymans <wim@fluendo.com>
21259 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21260 For the current position in stream time, we need to subtract
21263 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21264 Release lock before calling the callback function of async
21267 2005-11-18 Andy Wingo <wingo@pobox.com>
21269 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21270 Port goes all the way to MAXUINT16.
21272 * gst/net/gstnettimeprovider.c: Make the port range the same as
21273 for the kernel: 0 assigns, otherwise ports are less than
21276 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21279 * check/net/gstnetclientclock.c (test_functioning): Add the start
21282 2005-11-18 Wim Taymans <wim@fluendo.com>
21284 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21285 (gst_bin_remove_func), (bin_bus_handler):
21287 Removing a clock provider from a bin, triggers a clock lost message
21288 so that a new clock will be selected.
21289 Adding a clock to a bin triggers a clock provider message.
21290 Make sure we reselect a clock when we received a clock lost message.
21291 Keep a reference to the element that provided the clock.
21293 2005-11-18 Andy Wingo <wingo@pobox.com>
21295 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21296 the clock initially so it produces values around the base time.
21297 (gst_net_client_clock_class_init): Typo fix.
21298 (gst_net_client_clock_thread): Add note on when the socket gets
21301 2005-11-17 Wim Taymans <wim@fluendo.com>
21303 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21304 Free remote and local time arrays.
21306 2005-11-17 Wim Taymans <wim@fluendo.com>
21308 * gst/net/gstnetclientclock.c: (do_linear_regression),
21309 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21310 Fix compilation, uninitialized vars and a forgotten continue.
21312 2005-11-17 Andy Wingo <wingo@pobox.com>
21314 * check/Makefile.am (check_PROGRAMS):
21315 * check/net/gstnetclientclock.c: Add a most minimal test for the
21316 net client clock. More to come later.
21318 * gst/net/gstnet.h:
21319 * gst/net/Makefile.am: Add netclientclock.
21321 * gst/net/gstnetclientclock.h:
21322 * gst/net/gstnetclientclock.c: New files, implement an untested
21323 GstClock that takes its time from a network time provider.
21324 Implements the algorithm in network-clock.scm.
21326 * tests/network-clock.scm (*window-size*): Rename from
21328 * tests/network-clock.scm (network-time):
21329 * tests/network-clock-utils.scm (q-push): Update callers.
21331 2005-11-17 Wim Taymans <wim@fluendo.com>
21333 * gst/gstbin.c: (gst_bin_provide_clock_func),
21334 (gst_bin_sort_iterator_new):
21335 And unref the child too..
21337 2005-11-17 Wim Taymans <wim@fluendo.com>
21339 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21340 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21341 Refactor the sort iterator so it can be used while holding the
21343 Make clock selection select a clock closest to the source.
21345 2005-11-17 Michael Smith <msmith@fluendo.com>
21347 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21348 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21350 Anonymous structs are a gcc (and some other compilers) extension, so
21351 don't use them. Since this is only for ABI-compatibility, and our
21352 API/ABI freeze is over in a few days, this whole thing will only
21353 last a few days, so don't bother trying to think up a meaningful
21354 name for the struct.
21356 2005-11-17 Andy Wingo <wingo@pobox.com>
21358 * gst/gstclock.h (GstClock): Add rate and offset properties,
21359 preserving ABI stability. Add rate/offset accessors. Will file bug
21360 for the freeze break.
21362 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21363 and offset, trying to keep precision and avoiding
21364 underflow/overflow.
21365 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21366 functions. Make gst_clock_set_time_adjust obsolete.
21367 (gst_clock_set_time_adjust): Note that this function is obsolete.
21368 Will file bug soon.
21370 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21371 greppable by using GST_PADDING-1+1.
21373 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21375 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21377 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21378 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21380 * gst/gstpadtemplate.h:
21381 * gst/gstpluginfeature.h:
21382 Don't use c++ style comments in headers (#321638).
21384 2005-11-16 Andy Wingo <wingo@pobox.com>
21386 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21389 * check/net/gstnettimeprovider.c: Check to see that the time
21390 provider actually provides times. Works, yo!
21392 2005-11-16 Wim Taymans <wim@fluendo.com>
21394 * check/Makefile.am:
21397 * check/elements/fakesrc.c: (GST_START_TEST):
21398 Set element to NULL before disposing it.
21400 2005-11-16 Andy Wingo <wingo@pobox.com>
21402 * gst/net/Makefile.am:
21403 * gst/net/gstnet.h:
21404 * gst/net/gstnettimeprovider.c:
21405 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21406 provider, include it from gstnet.h, and add it to the build.
21408 * gst/net/gstnettimepacket.h:
21409 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21410 sending and receiving.
21412 2005-11-16 Wim Taymans <wim@fluendo.com>
21414 * check/Makefile.am:
21415 Enable valgrind check.
21417 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21418 (gst_fake_src_alloc_buffer):
21421 2005-11-16 Wim Taymans <wim@fluendo.com>
21423 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21424 Call parent finalize too.
21426 2005-11-16 Wim Taymans <wim@fluendo.com>
21428 * check/Makefile.am:
21429 Enable valgrind check that should work fine now.
21431 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21432 * gst/gstqueue.c: (gst_queue_init):
21433 Fix memleaks in pad allocation.
21435 2005-11-16 Andy Wingo <wingo@pobox.com>
21437 * gst/net/Makefile.am:
21438 * gst/net/gstnet.h: New part of core to hold network elements and
21439 objects. Put in core because it exposes API that applications want
21440 to use. The library is named libgstnet-tempname right now because
21441 of the existing libgstnet in gst-plugins-base. Solution is
21442 probably to rename the one in plugins-base; will file a bug for
21445 * gst/net/gstnettimeprovider.c:
21446 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21447 get_time call over the network.
21450 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21452 * check/Makefile.am:
21453 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21454 get additions shortly.
21456 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21458 * gst/gstpad.c: (gst_pad_new_from_static_template):
21460 add gst_pad_new_from_static_template functions
21461 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21462 (gst_check_setup_sink_pad):
21463 * gst/elements/gsttee.c: (gst_tee_init):
21466 2005-11-16 Wim Taymans <wim@fluendo.com>
21468 * gst/gstpad.c: (gst_pad_pause_task):
21469 Removed warning, it's not really an error either.
21471 2005-11-16 Wim Taymans <wim@fluendo.com>
21473 * gst/base/gstbasetransform.c:
21474 (gst_base_transform_prepare_output_buf),
21475 (gst_base_transform_event):
21476 Check if the caps are NULL, this can happen if the element
21477 is shutting down and the pad caps are set to NULL.
21479 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21481 * gst/elements/gsttee.c: (gst_tee_init):
21482 fix pad template leak in tee
21484 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21486 * gst/glib-compat.c: (g_value_dup_gst_object):
21487 * gst/glib-compat.h:
21488 * gst/gstpad.c: (gst_pad_set_property):
21489 use gst_object_ref when setting the pad template; this will
21490 trigger the pad template leaks on GLib 2.6 and the slaves
21492 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21494 * gst/glib-compat.c: (gst_flags_get_first_value):
21495 * gst/glib-compat.h:
21496 * gst/gstregistryxml.c:
21497 remove functions copied from GLib 2.6
21499 2005-11-16 Michael Smith <msmith@fluendo.com>
21502 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21503 do, but only breaks with newer valgrind versions. We're not a
21504 valgrind tool, we have no link-time dependencies on libcoregrind.
21506 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21508 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21510 * gst/gstmessage.h:
21513 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21515 * gst/base/gstbasesrc.c: (gst_base_src_init):
21516 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21517 * gst/gstqueue.c: (gst_queue_init):
21518 * gst/gstregistryxml.c: (load_feature):
21519 Revert all these unrefs, they don't even pass make check !
21521 2005-11-15 Johan Dahlin <johan@gnome.org>
21523 * gst/base/gstbasesrc.c: (gst_base_src_init):
21524 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21525 * gst/gstqueue.c: (gst_queue_init):
21526 Free pad templates, fixes a couple of leaks.
21528 2005-11-15 Daniel Fischer <dan at f3c dot com>
21530 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21532 * gst/gstpad.c: (gst_pad_get_property):
21533 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21534 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21537 2005-11-15 Wim Taymans <wim@fluendo.com>
21542 2005-11-15 Andy Wingo <wingo@pobox.com>
21544 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21546 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21547 using GST_CLOCK_TIME_NONE to disable base time management.
21548 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21549 time if it was NONE before.
21550 (gst_pipeline_change_state): Only munge the base time if
21551 stream_time != GST_CLOCK_TIME_NONE.
21553 * check/gst/gstpipeline.c (test_base_time): Punt around the
21554 problem of the probe not being called, because that's not the
21555 issue I'm looking at. Add a check that setting stream_time to NONE
21556 disables base time management.
21558 2005-11-15 Wim Taymans <wim@fluendo.com>
21560 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21561 segment_stop == -1 at startup.
21563 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21564 (gst_base_transform_change_state):
21565 Init segment values at start.
21567 2005-11-15 Wim Taymans <wim@fluendo.com>
21569 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21570 0 segment values are 0 in any format.
21572 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21573 * gst/base/gstbasetransform.h:
21574 Parse newsegment correctly in basetransform
21576 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21577 Sync to clock using updated segment values.
21579 2005-11-15 Andy Wingo <wingo@pobox.com>
21581 * check/gst/gstpipeline.c (test_base_time): Add check that the
21582 base time and stream time are reset correctly.
21584 2005-11-15 Wim Taymans <wim@fluendo.com>
21586 * docs/design/part-TODO.txt:
21587 Some more TODO items.
21589 2005-11-15 Andy Wingo <wingo@pobox.com>
21591 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21592 error if the user selected "no clock" as the clocking method.
21594 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21595 timestamps with live capture.
21597 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21598 is 0 but we are a live source, timestamp the buffers using the
21601 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21603 * docs/gst/gstreamer-sections.txt:
21605 * gst/gstghostpad.c:
21610 2005-11-14 Wim Taymans <wim@fluendo.com>
21613 add suppressions from Wim's Debian machine
21615 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21618 add suppressions from Andy's AMD64 Ubuntu machine
21620 2005-11-14 Andy Wingo <wingo@pobox.com>
21622 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21623 STATE_LOCK not necessary. Fixes #311489.
21625 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21628 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21629 this function is not implemented.
21631 2005-11-14 Julien MOUTTE <julien@moutte.net>
21633 * gst/base/gstbasetransform.c:
21634 (gst_base_transform_prepare_output_buf):
21635 Ref the source pad caps while we need them.
21638 2005-11-11 Wim Taymans <wim@fluendo.com>
21640 * docs/gst/gstreamer-sections.txt:
21641 Added some docs for GstCollectData.
21643 * gst/base/gstadapter.c:
21644 Some small code example fix.
21646 * gst/base/gstcollectpads.c:
21647 * gst/base/gstcollectpads.h:
21648 Document some more.
21650 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21652 * configure.ac: back to HEAD
21654 === release 0.9.5 ===
21656 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21659 releasing 0.9.5, "Bike Lunch Day"
21661 2005-11-11 Wim Taymans <wim@fluendo.com>
21663 * gst/gstbuffer.c: (_gst_buffer_copy):
21666 * gst/gstcaps.c: (gst_caps_is_equal):
21668 Make _is_equal fast in the trivial cases.
21670 * gst/gstminiobject.c:
21671 * gst/gstminiobject.h:
21672 More docs. Spifify .h file.
21677 2005-11-11 Wim Taymans <wim@fluendo.com>
21679 * gst/base/gstbasetransform.c:
21680 (gst_base_transform_prepare_output_buf),
21681 (gst_base_transform_handle_buffer):
21683 If we're processing a buffer and need to allocate an output
21684 buffer, we cannot accept a format change. If we did get a
21685 format change, we have to alloc a buffer ourselves of the
21688 2005-11-11 Wim Taymans <wim@fluendo.com>
21690 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21691 While checking the flag for reentrancy in the gstcaps function
21692 is nice to detect recursive invocations, it also makes it
21693 impossible to call getcaps from multiple threads, which must be
21694 possible. So, checking for recursive calls has to go.
21696 2005-11-11 Michael Smith <msmith@fluendo.com>
21698 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21699 Don't sync on buffers that fall partially outside our current
21700 segment. Prevents an assertion failure/abort playing some files.
21702 2005-11-10 Andy Wingo <wingo@pobox.com>
21704 * check/gst/gstbin.c (test_message_state_changed_children): Style
21707 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21708 gst_bus_poll with the signal watch. Ensures that poll and a signal
21709 watch see the same messages.
21711 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21712 a poll and a watch at the same time get the same messages.
21714 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21716 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21717 * gst/gstcaps.c: (gst_caps_intersect):
21718 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21719 and it's not needed.
21721 2005-11-10 Wim Taymans <wim@fluendo.com>
21723 * docs/design/part-TODO.txt:
21726 2005-11-10 Wim Taymans <wim@fluendo.com>
21728 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21729 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21730 (gst_base_src_do_sync), (gst_base_src_get_range):
21731 Implement clock sync in base class.
21733 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21735 patch by: Tim-Philipp Müller <tim at centricular dot net>
21737 * gst/gststructure.c: (gst_structure_parse_field),
21738 (gst_structure_from_string):
21739 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21740 so that gst_parse_launch() can deal with spaces in filtered link
21741 caps (fixes #164479)
21742 * check/gst/capslist.h:
21743 * check/gst/gststructure.c: (GST_START_TEST):
21744 add unit tests for this change
21746 2005-11-10 Wim Taymans <wim@fluendo.com>
21748 * docs/gst/gstreamer-sections.txt:
21749 * gst/gstelement.c:
21750 * gst/gstelement.h:
21751 Fix docs, move some STATE macros to private.
21753 2005-11-10 Wim Taymans <wim@fluendo.com>
21755 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21756 Added check for bug #317341
21760 Some more spiffifying.
21762 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21763 Call peer linkfunction if we are a source pad. Totally fixes
21767 Update docs, source pads should call the peer linkfunction
21768 so they can atomically perform the pad link.
21770 2005-11-09 Wim Taymans <wim@fluendo.com>
21774 Uber-spiffy-spiffify some more.
21776 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21778 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21779 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21780 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21781 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21782 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21783 * gst/gstpad.c: (gst_pad_init):
21784 Use GST_DEBUG_FUNCPTR() more extensively.
21786 2005-11-09 Wim Taymans <wim@fluendo.com>
21788 * gst/gstobject.c: (gst_object_class_init):
21790 Documentation fixes.
21792 2005-11-09 Edward Hervey <edward@fluendo.com>
21794 * gst/gsttypefindfactory.c:
21797 2005-11-09 Edward Hervey <edward@fluendo.com>
21799 * gst/base/gsttypefindhelper.c:
21800 * gst/gsttypefind.c:
21801 * gst/gsttypefind.h:
21804 2005-11-09 Wim Taymans <wim@fluendo.com>
21806 * gst/gstiterator.c:
21813 2005-11-09 Wim Taymans <wim@fluendo.com>
21819 2005-11-09 Wim Taymans <wim@fluendo.com>
21821 * docs/gst/gstreamer-sections.txt:
21822 Moved the message async delivery private lock and cond
21823 to the private section.
21825 * gst/gstmessage.c:
21826 * gst/gstmessage.h:
21829 2005-11-09 Edward Hervey <edward@fluendo.com>
21831 * docs/gst/gstreamer-sections.txt:
21834 Document GstURIHandler
21836 2005-11-09 Wim Taymans <wim@fluendo.com>
21838 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21839 (gst_iterator_find_custom):
21840 * gst/gstiterator.h:
21843 2005-11-09 Wim Taymans <wim@fluendo.com>
21846 Document another field.
21848 * gst/gststructure.c:
21849 * gst/gststructure.h:
21852 2005-11-09 Wim Taymans <wim@fluendo.com>
21855 Documented structs.
21857 2005-11-09 Wim Taymans <wim@fluendo.com>
21859 * docs/gst/gstreamer-sections.txt:
21860 Added some new macros.
21867 2005-11-09 Wim Taymans <wim@fluendo.com>
21869 * docs/design/part-TODO.txt:
21870 Some more items for the TODO
21876 2005-11-09 Andy Wingo <wingo@pobox.com>
21878 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21879 to work on something else now tho...
21881 * gst/base/gstadapter.c: More adapter docs.
21883 * gst/elements/gstfilesink.c (gst_file_sink_start)
21884 (gst_file_sink_stop): New functions, replace the state change
21886 (gst_file_sink_class_init): Hook up the start and stop functions.
21887 (gst_file_sink_base_init): Don't set the state change handler any
21888 more. It was a bit ugly too, being set from here...
21889 (gst_file_sink_get_property, gst_file_sink_set_property):
21891 (gst_file_sink_set_location): More robust check that doesn't call
21892 GST_STATE. Ugggggg.
21894 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21896 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21897 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21899 2005-11-08 Wim Taymans <wim@fluendo.com>
21901 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21902 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21903 (gst_base_sink_chain), (gst_base_sink_change_state):
21904 * gst/base/gstbasesink.h:
21905 * gst/base/gstbasesrc.h:
21906 * gst/gstelement.h:
21908 Avoid excessive typechecking in macros.
21910 * gst/gstminiobject.c: (gst_mini_object_get_type),
21911 (gst_mini_object_init), (gst_mini_object_new),
21912 (gst_mini_object_free):
21913 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21914 (gst_object_finalize):
21915 Remove cruft code, optimize alloc_trace.
21917 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21919 * docs/faq/gst-uninstalled:
21920 fix up PS1 for systems that try to reset it
21922 2005-11-07 Wim Taymans <wim@fluendo.com>
21924 * gst/base/gstbasesrc.c: (gst_base_src_init),
21925 (gst_base_src_get_range):
21926 Set the segment_end to -1 initially. Fixed typefind.
21928 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21930 * gst/base/gstadapter.c:
21931 Debug category should be 'adapter', not 'GstAdapter'.
21933 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21934 (gst_collectpads_class_init), (gst_collectpads_init),
21935 (gst_collectpads_peek), (gst_collectpads_pop),
21936 (gst_collectpads_event), (gst_collectpads_chain):
21937 Add debug category and some debugging output. Use boilerplate
21938 macros. Remove some extraneous words from docs.
21940 2005-11-05 Andy Wingo <wingo@pobox.com>
21942 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21945 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21947 * docs/gst/gstreamer-sections.txt:
21950 * gst/gstminiobject.h:
21955 2005-11-04 Wim Taymans <wim@fluendo.com>
21957 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21958 Small update to stop at the configured segment_end
21961 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21963 * gst/gstregistry.c:
21964 * gst/gstregistry.h:
21967 2005-11-04 Edward Hervey <edward@fluendo.com>
21969 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21970 Check if we are doing a segment seek and have arrived at the
21971 end of that segment.
21973 2005-11-04 Wim Taymans <wim@fluendo.com>
21975 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21976 Don't leak a mutex unlock in case of an error.
21981 2005-11-04 Wim Taymans <wim@fluendo.com>
21983 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21985 Get the context to wake up only once.
21987 2005-11-03 Wim Taymans <wim@fluendo.com>
21989 * check/states/sinks.c: (GST_START_TEST):
21990 Uncomment fixed check.
21992 * docs/design/part-TODO.txt:
21995 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21996 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21997 (gst_base_sink_get_position):
21998 If we are going to PLAYING, post the right pending state
21999 when we post the intermediate paused message.
22001 * gst/gstelement.c: (gst_element_continue_state),
22002 (gst_element_set_state_func), (gst_element_change_state):
22003 Don't post state changes that were between the same state
22004 and were not ASYNC.
22006 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22008 * docs/gst/gstreamer-sections.txt:
22011 * gst/gstminiobject.h:
22014 more docs and doc style fixes
22016 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22018 * docs/gst/gstreamer-sections.txt:
22019 * gst/gstelement.c:
22020 * gst/gstminiobject.c:
22023 2005-11-03 Andy Wingo <wingo@pobox.com>
22025 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22026 state-changed messages actually have the right order and the right
22029 2005-11-03 Wim Taymans <wim@fluendo.com>
22031 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22032 Added some more checks. Specifically the case where NO_PREROLL
22033 elements are in the pipeline.
22035 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22036 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22037 (gst_base_sink_get_position):
22038 Post READY->PAUSED state change messages too.
22039 Fix bug where VOID was posted as pending state...
22041 * gst/gstbin.c: (gst_bin_recalc_state):
22042 use _element_continue_state() to continue the state change.
22044 * gst/gstelement.c: (gst_element_continue_state),
22045 (gst_element_commit_state), (gst_element_set_state_func),
22046 (gst_element_change_state), (gst_element_change_state_func):
22047 Lots of state change cleanups, assign the STATE_RETURN in
22048 a new continue_state() function that also propagates the
22049 last return value from a state change to the app.
22050 Update some debug statements with proper category.
22052 2005-11-03 Wim Taymans <wim@fluendo.com>
22054 * docs/design/part-events.txt:
22055 * docs/design/part-gstpipeline.txt:
22056 * docs/design/part-messages.txt:
22057 * docs/design/part-overview.txt:
22058 * docs/design/part-seeking.txt:
22059 * docs/design/part-states.txt:
22060 * docs/design/part-trickmodes.txt:
22061 * docs/manual/advanced-position.xml:
22062 Small docs updates.
22065 People think !! is ugly, this looks better.
22067 * gst/gstpad.c: (gst_pad_set_blocked_async):
22068 Remove !! since it's fixed elsewhere now.
22070 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22072 * gst/gstminiobject.h:
22074 Add !! to _FLAG_IS_SET macros to make the result boolean.
22076 2005-11-03 Edward Hervey <edward@fluendo.com>
22078 * gst/gstpad.c: (gst_pad_set_blocked_async):
22079 comparing a flag and a gboolean rarely returns coherent results...
22080 Added two characters (!!) to make that work correctly.
22082 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22084 * gst/gstbus.c: (gst_bus_class_init):
22087 * gst/gstqueue.c: (gst_queue_loop):
22088 Don't assume a miniobject that isn't a buffer is an
22089 event (it could be that there is a refcounting
22090 problem somewhere and the pointer is stale and
22091 refers to an already destroyed miniobject).
22093 2005-11-03 Julien MOUTTE <julien@moutte.net>
22095 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22097 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22099 * docs/manual/advanced-position.xml:
22100 Update seek example and explanations to current 0.9 API.
22102 * gst/elements/gsttypefindelement.c:
22103 (gst_type_find_element_activate):
22104 Remove FIXME comment now that the found caps
22107 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22109 * gst/gstregistryxml.c: (load_feature):
22110 Add another GST_STR_NULL instance
22112 2005-11-02 Edward Hervey <edward@fluendo.com>
22114 * gst/gstpad.c: (handle_pad_block):
22115 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22117 2005-11-02 Wim Taymans <wim@fluendo.com>
22122 * gst/gstelement.c: (gst_element_commit_state):
22123 Remove unused value.
22125 * gst/gstiterator.c:
22126 Mention that the returned element is reffed in the docs.
22128 2005-11-02 Wim Taymans <wim@fluendo.com>
22130 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22131 (gst_pad_push), (gst_pad_push_event):
22132 Unlock blocked pads when they are flushed.
22134 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22137 * docs/gst/gstreamer-sections.txt:
22140 * gst/gstregistry.c: (gst_registry_scan_path_level):
22141 fix for a nasty little missed situation where an installed plug-in
22142 which was in the cache did not get overridden by an uninstalled one
22143 which was earlier in the plugin path because the newly created plugin
22144 for the uninstalled one (not in the registry) didn't get its
22145 ->registered set to TRUE
22147 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22149 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22150 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22151 (gst_collectpads_is_active), (gst_collectpads_collect),
22152 (gst_collectpads_collect_range), (gst_collectpads_start),
22153 (gst_collectpads_stop), (gst_collectpads_peek),
22154 (gst_collectpads_pop), (gst_collectpads_available),
22155 (gst_collectpads_read), (gst_collectpads_flush):
22156 Guard public API with assertions.
22159 Fix docs for gst_pad_set_link_function().
22161 2005-11-02 Johan Dahlin <johan@gnome.org>
22163 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22164 Unref found_caps after we used it.
22166 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22168 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22169 Don't try to ref NULL.
22171 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22173 * win32/common/config.h.in:
22174 provide a GST_FUNCTION that just gives a string for now
22176 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22178 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22179 (gst_object_flags_get_type), (register_gst_bin_flags),
22180 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22181 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22182 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22183 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22184 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22185 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22186 (gst_clock_flags_get_type), (register_gst_state),
22187 (gst_state_get_type), (register_gst_state_change_return),
22188 (gst_state_change_return_get_type), (register_gst_state_change),
22189 (gst_state_change_get_type), (register_gst_element_flags),
22190 (gst_element_flags_get_type), (register_gst_core_error),
22191 (gst_core_error_get_type), (register_gst_library_error),
22192 (gst_library_error_get_type), (register_gst_resource_error),
22193 (gst_resource_error_get_type), (register_gst_stream_error),
22194 (gst_stream_error_get_type), (register_gst_event_type),
22195 (gst_event_type_get_type), (register_gst_seek_type),
22196 (gst_seek_type_get_type), (register_gst_seek_flags),
22197 (gst_seek_flags_get_type), (register_gst_format),
22198 (gst_format_get_type), (register_gst_index_certainty),
22199 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22200 (gst_index_entry_type_get_type),
22201 (register_gst_index_lookup_method),
22202 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22203 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22204 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22205 (gst_index_flags_get_type), (register_gst_debug_level),
22206 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22207 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22208 (gst_iterator_result_get_type), (register_gst_iterator_item),
22209 (gst_iterator_item_get_type), (register_gst_message_type),
22210 (gst_message_type_get_type), (register_gst_mini_object_flags),
22211 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22212 (gst_pad_link_return_get_type), (register_gst_flow_return),
22213 (gst_flow_return_get_type), (register_gst_activate_mode),
22214 (gst_activate_mode_get_type), (register_gst_pad_direction),
22215 (gst_pad_direction_get_type), (register_gst_pad_flags),
22216 (gst_pad_flags_get_type), (register_gst_pad_presence),
22217 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22218 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22219 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22220 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22221 (gst_plugin_flags_get_type), (register_gst_rank),
22222 (gst_rank_get_type), (register_gst_query_type),
22223 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22224 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22225 (gst_tag_flag_get_type), (register_gst_task_state),
22226 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22227 (gst_alloc_trace_flags_get_type),
22228 (register_gst_type_find_probability),
22229 (gst_type_find_probability_get_type), (register_gst_uri_type),
22230 (gst_uri_type_get_type), (register_gst_parse_error),
22231 (gst_parse_error_get_type):
22232 * win32/common/gstversion.h:
22233 update win32 copies
22235 2005-11-01 Luca Ognibene <luogni@tin.it>
22238 fix docs. popt is dead, long live GOption.
22240 2005-10-31 Wim Taymans <wim@fluendo.com>
22245 2005-10-31 Andy Wingo <wingo@pobox.com>
22249 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22251 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22252 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22253 the possibility of deadlocks here if code calling notify() or
22254 set() has a lock that can be taken in another notify handler (ABBA
22255 with class lock and e.g. python GIL state lock).
22257 2005-10-28 Julien MOUTTE <julien@moutte.net>
22259 * gst/gstbus.c: Doc updates.
22261 2005-10-28 Wim Taymans <wim@fluendo.com>
22263 * docs/design/part-TODO.txt:
22264 * gst/gstiterator.c:
22265 * gst/gstsystemclock.c:
22266 * gst/gstsystemclock.h:
22269 2005-10-28 Edward Hervey <edward@fluendo.com>
22271 * docs/gst/gstreamer-docs.sgml:
22272 * docs/gst/gstreamer-sections.txt:
22273 the GstURIType documentation page is private, it only defines GstURIType
22274 which should be defined in the GstURIHandler page
22276 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22278 * gst/gstbin.c: (gst_bin_class_init):
22281 Documentation updates.
22283 2005-10-28 Wim Taymans <wim@fluendo.com>
22285 * docs/gst/gstreamer-sections.txt:
22288 Documented the clocks.
22290 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22292 * docs/gst/gstreamer-sections.txt:
22293 move some macros to private sections
22294 * gst/gstminiobject.c:
22295 * gst/gstminiobject.h:
22296 add descriptions provided by ds and some more
22298 mark macro as to be removed
22300 2005-10-28 Wim Taymans <wim@fluendo.com>
22302 * docs/design/part-TODO.txt:
22303 Add an item to TODO.
22305 * gst/gstiterator.c: (gst_iterator_fold),
22306 (gst_iterator_find_custom):
22307 * gst/gstiterator.h:
22310 2005-10-28 Wim Taymans <wim@fluendo.com>
22312 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22313 (gst_base_transform_init):
22316 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22317 An EOS event marks the queue as completely filled.
22319 2005-10-27 Wim Taymans <wim@fluendo.com>
22321 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22322 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22323 Some more debugging.
22325 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22326 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22327 (gst_base_transform_event), (gst_base_transform_getrange),
22328 (gst_base_transform_chain):
22329 * gst/base/gstbasetransform.h:
22331 Protect transform and concurrent buffer alloc with a new lock.
22332 Try not to break ABI/API.
22334 2005-10-27 Wim Taymans <wim@fluendo.com>
22336 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22337 (gst_base_src_init), (gst_base_src_query),
22338 (gst_base_src_default_newsegment),
22339 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22340 (gst_base_src_send_event), (gst_base_src_event_handler),
22341 (gst_base_src_pad_get_range), (gst_base_src_loop),
22342 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22343 (gst_base_src_start), (gst_base_src_deactivate),
22344 (gst_base_src_activate_push), (gst_base_src_change_state):
22345 Move some stuff around and cleanup things.
22347 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22349 * gst/base/gstbasesrc.c: (gst_base_src_query):
22350 Add missing break statements.
22352 2005-10-27 Wim Taymans <wim@fluendo.com>
22354 * check/gst/gstbin.c: (GST_START_TEST):
22355 An extra refcount is taken in basesrc.
22357 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22358 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22359 (gst_base_src_loop):
22360 Small cleanups, check for flushing after being unlocked from the
22361 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22362 Don't send out EOS when going to READY.
22364 2005-10-27 Wim Taymans <wim@fluendo.com>
22366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22367 (gst_base_sink_get_position):
22370 * gst/gstbin.c: (message_check), (bin_replace_message),
22371 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22372 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22373 (bin_query_duration_init), (bin_query_duration_fold),
22374 (bin_query_duration_done), (bin_query_generic_fold),
22376 * tools/gst-launch.c: (main):
22379 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22381 * examples/controller/audio-example.c: (main):
22382 * examples/queue/queue.c: (event_loop):
22383 * gst/base/gstbasetransform.h:
22384 * gst/gstelement.c: (gst_element_send_event):
22386 * gst/gstpad.c: (gst_pad_send_event):
22389 changing log priority in error situations
22391 2005-10-25 Wim Taymans <wim@fluendo.com>
22393 * gst/gstbin.c: (message_check), (bin_replace_message),
22394 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22395 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22396 (bin_query_duration_init), (bin_query_duration_fold),
22397 (bin_query_duration_done), (bin_query_generic_fold),
22399 Some doc and debug updates.
22400 Cache previously requested query DURATION for speed. invalidate
22401 cached duration if element posts a DURATION message.
22403 2005-10-25 Wim Taymans <wim@fluendo.com>
22405 * docs/design/part-TODO.txt:
22408 * gst/gstbin.c: (message_check), (bin_replace_message),
22409 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22410 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22411 (bin_query_duration_init), (bin_query_duration_fold),
22412 (bin_query_duration_done), (bin_query_generic_fold),
22414 Handle SEGMENT_START/DONE messages correctly.
22415 More evolved query algorithm that handles duration queries
22418 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22419 (gst_element_get_state_func), (gst_element_abort_state),
22420 (gst_element_commit_state), (gst_element_lost_state):
22421 Some more debugging.
22423 * gst/gstmessage.h:
22426 2005-10-25 Wim Taymans <wim@fluendo.com>
22428 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22429 Don't use invalid stream_time.
22431 * gst/gstevent.c: (gst_event_new_newsegment):
22432 stream_time in newsegment cannot be undefined.
22434 2005-10-24 Wim Taymans <wim@fluendo.com>
22439 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22441 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22443 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22445 * docs/libs/tmpl/gstdparam.sgml:
22446 * docs/libs/tmpl/gstdplinint.sgml:
22447 * docs/libs/tmpl/gstdpman.sgml:
22448 * docs/libs/tmpl/gstdpsmooth.sgml:
22449 * docs/libs/tmpl/gstunitconvert.sgml:
22452 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22457 === release 0.9.4 ===
22459 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22462 releasing 0.9.4, "Tyrannosaurus Rex"
22464 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22466 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22467 (gst_file_sink_get_current_offset):
22468 Use fseeko() and ftello() if available. When falling back on
22469 lseek() to get the current offset, fflush() first to make sure
22470 everything is up-to-date and we get the right offset.
22472 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22475 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22476 * gst/gsterror.c: (_gst_stream_errors_init):
22478 * gst/gstqueue.c: (gst_queue_loop):
22480 remove prematurely added error category and clean up the instances
22482 2005-10-21 Wim Taymans <wim@fluendo.com>
22484 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22485 (gst_base_sink_get_position), (gst_base_sink_query),
22486 (gst_base_sink_change_state):
22487 Simply set the right flag when going to playing, that's all
22488 we need to do instead of calling a function inside the object
22489 lock (that could take the lock as well and deadlock)
22491 2005-10-21 Wim Taymans <wim@fluendo.com>
22493 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22494 (gst_base_src_loop):
22495 Don't warn, the peer element knows what to do best when
22496 the seek failed, it might try something else.
22498 2005-10-21 Wim Taymans <wim@fluendo.com>
22500 * gst/base/gstbasesrc.c: (gst_base_src_init),
22501 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22504 2005-10-21 Wim Taymans <wim@fluendo.com>
22506 * docs/design/part-segments.txt:
22509 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22510 Correctly set caps, even on the subbufer.
22512 2005-10-21 Wim Taymans <wim@fluendo.com>
22514 * docs/gst/gstreamer-docs.sgml:
22515 * docs/gst/gstreamer-sections.txt:
22516 * gst/gstelement.h:
22519 * gst/gstmessage.h:
22522 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22526 And 2% more doc coverage.
22528 2005-10-21 Andy Wingo <wingo@pobox.com>
22530 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22531 position reporting.
22533 2005-10-20 Wim Taymans <wim@fluendo.com>
22535 * gst/gsterror.c: (gst_error_get_message):
22538 * gst/gststructure.c:
22543 2005-10-20 Wim Taymans <wim@fluendo.com>
22548 Another 1% more coverage.
22550 2005-10-20 Wim Taymans <wim@fluendo.com>
22552 * docs/gst/gstreamer-sections.txt:
22553 * gst/gstelement.c: (gst_element_get_state_func),
22554 (gst_element_abort_state), (gst_element_commit_state),
22555 (gst_element_lost_state):
22557 * gst/gstquery.c: (gst_query_set_position),
22558 (gst_query_parse_position), (gst_query_set_duration),
22559 (gst_query_parse_duration), (gst_query_new_convert):
22561 Yay! 1% more docs coverage.
22563 2005-10-20 Wim Taymans <wim@fluendo.com>
22566 * gst/gstquery.c: (gst_query_set_position),
22567 (gst_query_parse_position), (gst_query_set_duration),
22568 (gst_query_parse_duration), (gst_query_new_convert):
22570 * gst/gstutils.c: (gst_element_query_convert):
22572 Docs and consistency fixes.
22574 2005-10-20 Wim Taymans <wim@fluendo.com>
22580 2005-10-20 Wim Taymans <wim@fluendo.com>
22582 * gst/gstbin.c: (message_check), (bin_replace_message),
22583 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22584 (update_degree), (gst_bin_sort_iterator_next),
22585 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22586 Reworked the message handling a bit, cache the messages instead of
22587 only the senders. alows us to do more in the future.
22589 2005-10-20 Wim Taymans <wim@fluendo.com>
22591 * docs/design/part-TODO.txt:
22594 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22595 (gst_base_sink_query):
22596 Don't use clock time to report position when in EOS.
22598 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22600 * tools/gst-inspect.c: (print_interfaces),
22601 (print_element_properties_info), (print_element_info):
22602 Fix interface output with gst-inspect -a; don't print
22603 newlines after double/float properties.
22605 2005-10-20 Wim Taymans <wim@fluendo.com>
22607 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22608 (gst_base_sink_query):
22609 Speed up current position calculation.
22611 * gst/base/gstbasesrc.c: (gst_base_src_query),
22612 (gst_base_src_default_newsegment):
22613 Correctly set stream position in newsegment.
22615 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22616 (update_degree), (gst_bin_sort_iterator_next),
22617 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22618 * gst/gstmessage.c: (gst_message_new_custom):
22619 Clean up debugging info
22621 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22622 (gst_queue_loop), (gst_queue_handle_src_query):
22625 2005-10-19 Wim Taymans <wim@fluendo.com>
22627 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22628 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22629 Fix query handling again.
22631 2005-10-19 Wim Taymans <wim@fluendo.com>
22633 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22634 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22635 * gst/base/gstbasesrc.c: (gst_base_src_query):
22636 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22637 * gst/elements/gsttypefindelement.c:
22638 (gst_type_find_handle_src_query), (find_element_get_length),
22639 (gst_type_find_element_activate):
22642 * gst/gstquery.c: (gst_query_new_position),
22643 (gst_query_set_position), (gst_query_parse_position),
22644 (gst_query_new_duration), (gst_query_set_duration),
22645 (gst_query_parse_duration), (gst_query_set_segment),
22646 (gst_query_parse_segment):
22648 Bundling query position/duration is not a good idea since duration
22649 does not change much and we don't want to recalculate it for every
22650 position query, so they are separated again..
22651 Base value in segment query is not needed.
22653 * gst/gstqueue.c: (gst_queue_handle_src_query):
22654 * gst/gstutils.c: (gst_element_query_position),
22655 (gst_element_query_duration), (gst_pad_query_position),
22656 (gst_pad_query_duration):
22658 Updates for query API change.
22659 Added some docs here and there.
22661 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22663 * check/gst/gstbin.c: (GST_START_TEST):
22664 * check/gst/gstghostpad.c: (GST_START_TEST):
22665 * check/pipelines/cleanup.c: (GST_START_TEST):
22666 wait on thread to die so we can check refcount correctly
22668 2005-10-18 Wim Taymans <wim@fluendo.com>
22670 * check/pipelines/stress.c: (GST_START_TEST):
22671 Make check a little more time consuming.
22673 2005-10-18 Wim Taymans <wim@fluendo.com>
22675 * check/Makefile.am:
22676 * check/pipelines/stress.c: (GST_START_TEST),
22677 (simple_launch_lines_suite), (main):
22678 Small state change torture test.
22680 * docs/design/part-states.txt:
22681 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22682 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22683 (gst_base_sink_change_state):
22684 Never take state lock from streaming thread, clean up ugly
22685 hacks. Unfortunatly core does not yet support nice ways to
22686 async commit state.
22688 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22690 Start state recalc if a STATE_DIRTY message is posted, but only
22691 on the toplevel bin.
22693 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22694 (gst_element_get_state_func), (gst_element_abort_state),
22695 (gst_element_commit_state), (gst_element_lost_state),
22696 (gst_element_set_state_func), (gst_element_change_state):
22697 * gst/gstelement.h:
22698 State variables are now protected with the LOCK, the state
22699 lock is only used to serialize _set_state().
22701 2005-10-18 Wim Taymans <wim@fluendo.com>
22703 * check/gst/gstbin.c: (GST_START_TEST):
22704 * check/gst/gstmessage.c: (GST_START_TEST):
22705 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22706 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22708 * gst/gstelement.c: (gst_element_abort_state),
22709 (gst_element_commit_state), (gst_element_lost_state):
22710 * gst/gstmessage.c: (gst_message_new_state_changed),
22711 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22712 (gst_message_new_segment_done), (gst_message_new_duration),
22713 (gst_message_parse_state_changed),
22714 (gst_message_parse_segment_start),
22715 (gst_message_parse_segment_done), (gst_message_parse_duration):
22716 * gst/gstmessage.h:
22717 * tools/gst-launch.c: (event_loop):
22718 Seriously, this is better than a previous commit as we only need
22719 to notify the fact that an element changed state in a streaming
22720 thread, marking the state of the parents dirty, hence the
22721 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22724 2005-10-18 Wim Taymans <wim@fluendo.com>
22726 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22727 (gst_bin_recalc_func):
22728 * gst/gstelement.c: (gst_element_set_clock),
22729 (gst_element_abort_state), (gst_element_lost_state):
22730 Cleanups, prepare for state change fixes.
22732 2005-10-18 Wim Taymans <wim@fluendo.com>
22735 * gst/gstelement.c: (gst_element_class_init),
22736 (gst_element_set_state), (gst_element_set_state_func):
22737 * gst/gstelement.h:
22738 Pending ABI changes.
22739 GThreadPool in GstBinClass to monitor async state changes.
22740 state_cookie in GstElement to detect concurrent gst/set state.
22741 set_state is now virtual too in case a very complicated element
22742 has to be constructed.
22744 2005-10-18 Wim Taymans <wim@fluendo.com>
22746 * check/gst/gstbin.c: (GST_START_TEST):
22747 * check/gst/gstmessage.c: (GST_START_TEST):
22748 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22749 * gst/gstbin.c: (bin_bus_handler):
22750 * gst/gstelement.c: (gst_element_commit_state),
22751 (gst_element_lost_state):
22752 * gst/gstmessage.c: (gst_message_new_state_changed),
22753 (gst_message_new_segment_start), (gst_message_new_segment_done),
22754 (gst_message_new_duration), (gst_message_parse_state_changed),
22755 (gst_message_parse_segment_start),
22756 (gst_message_parse_segment_done), (gst_message_parse_duration):
22757 * gst/gstmessage.h:
22758 * tools/gst-launch.c: (event_loop):
22759 Make messages future proof.
22760 state-change gets a flag if it was a message comming from the
22762 segment-start/stop can also be specified in other formats.
22763 A message to notify an app that a pipeline changed playback
22765 Also fix a GstMessage leak in -launch
22767 2005-10-18 Andy Wingo <wingo@pobox.com>
22769 * gst/gstelement.c (gst_element_dispose): More helpful message.
22771 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22773 reviewed by: <delete if not using a buddy>
22775 * common/gtk-doc.mak:
22777 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22779 * gst/gstregistry.c: (gst_registry_scan_path_level):
22780 unref a plug-in we get that was already initialized
22782 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22784 * docs/gst/gstreamer-sections.txt:
22785 * docs/libs/gstreamer-libs-sections.txt:
22786 * gst/gstelement.h:
22787 add new api entries
22788 hide internal macro
22790 2005-10-17 Andy Wingo <wingo@pobox.com>
22792 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22795 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22797 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22799 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22800 (gst_element_get_state_func): Better debug message.
22801 (gst_element_commit_state): s/INFO/DEBUG/.
22802 (gst_element_lost_state, gst_element_change_state):
22804 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22805 (gst_message_new_custom): s/INFO/LOG/.
22807 2005-10-17 Michael Smith <msmith@fluendo.com>
22809 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22810 Check if end time is valid using end time, not start time.
22812 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22814 * check/gst-libs/controller.c: (GST_START_TEST),
22815 (gst_controller_suite):
22816 * libs/gst/controller/gstcontroller.c:
22817 (gst_controlled_property_set_interpolation_mode):
22818 * libs/gst/controller/gstcontroller.h:
22819 * libs/gst/controller/gstinterpolation.c:
22820 * testsuite/controller/.cvsignore:
22821 * testsuite/controller/Makefile.am:
22822 * testsuite/controller/interpolator.c:
22823 merge controller testsuites
22825 remove mem-chunk from docs
22827 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22829 * gst/gstmemchunk.c:
22830 * gst/gstmemchunk.h:
22831 * gst/gsttrashstack.c:
22832 * gst/gsttrashstack.h:
22833 out. get out. you're fired. to the Attic !
22835 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22837 * gst/gstcaps.c: (gst_caps_intersect):
22838 fix signedness issues in a (hopefully) correct way
22839 * gst/gstelement.c: (gst_element_pads_activate):
22841 * gst/gstobject.c: (gst_object_set_parent):
22844 2005-10-17 Julien MOUTTE <julien@moutte.net>
22846 * gst/gstvalue.h: Fix prototypes.
22848 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22850 * docs/gst/gstreamer-sections.txt:
22851 * gst/gst.c: (gst_version_string):
22853 * gst/gstversion.h.in:
22854 * win32/common/libgstreamer.def:
22855 add gst_version_string ()
22857 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22861 * gst/gst.c: (init_post):
22862 * win32/common/config.h.in:
22864 * gst/gstcaps.c: (gst_caps_intersect):
22865 use gint64, the range could be bigger than a guint
22867 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22870 document potential problem in 2038
22872 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22874 * gst/gstcaps.c: (gst_caps_intersect):
22875 Fix guint j diving under 0
22877 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22880 * win32/common/config.h:
22881 * win32/common/config.h.in:
22882 check for process.h, declares getpid() on Windows
22884 include process.h if we have it
22885 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22886 * gst/gstmemchunk.h:
22887 fix signedness issues
22888 * win32/common/libgstreamer.def:
22891 2005-10-16 Julien MOUTTE <julien@moutte.net>
22893 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22894 fix. Because of unsigned ints, caps intersection was going nuts and
22895 trying to access structures with G_MAXUINT index. That fixes
22896 videotestsrc ! ffmpegcolorspace ! fakesink
22897 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22900 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22903 use the gettext macro
22904 * gst/elements/gstelements.c:
22906 * gst/indexers/gstindexers.c:
22907 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22908 * win32/common/config.h:
22910 * win32/common/config.h.in:
22911 add the template to generate config.h
22912 * win32/common/gstenumtypes.c:
22913 * win32/common/gstversion.h:
22916 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22918 * gst/gst.c: (gst_version):
22919 * gst/gstversion.h.in:
22922 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22925 Oops, add missing closing bracket.
22927 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22930 use common m4's for argument checking
22932 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22934 * docs/gst/gstreamer-sections.txt:
22936 Add GST_EVENT_TYPE_NAME() macro.
22938 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22941 * gst/gstpluginfeature.c:
22943 privatize more symbols
22945 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22948 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22949 everything that uses GStreamer API should have the includes
22951 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22953 * docs/gst/gstreamer-sections.txt:
22954 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22956 give each value a _get_type, removes the DATA exports
22958 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22962 remove _gst_registry_auto_load, not used anymore
22963 * gst/gstbin.c: (gst_bin_get_type):
22965 * gst/gstelement.c: (gst_element_get_type):
22966 * gst/gstelement.h:
22967 * gst/gstobject.c: (gst_object_get_type):
22969 * gst/gstpad.c: (gst_pad_get_type):
22971 make _get_type functions similar, fixes data export from library
22973 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22976 correctly make conditionals
22977 * gst/elements/Makefile.am:
22978 * gst/elements/gstelements.c:
22979 fix typo causing fdsrc not to build
22981 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22983 * testsuite/Makefile.am:
22984 * testsuite/bytestream/.cvsignore:
22985 * testsuite/bytestream/Makefile.am:
22986 * testsuite/bytestream/filepadsink.c:
22987 * testsuite/bytestream/gstbstest.c:
22988 * testsuite/bytestream/test1.c:
22989 * testsuite/bytestream/testfile1:
22990 * testsuite/caps/normalisation.c:
22991 * testsuite/caps/random.c: (main):
22992 * testsuite/cleanup/.cvsignore:
22993 * testsuite/cleanup/Makefile.am:
22994 * testsuite/cleanup/cleanup1.c:
22995 * testsuite/cleanup/cleanup2.c:
22996 * testsuite/cleanup/cleanup3.c:
22997 * testsuite/cleanup/cleanup4.c:
22998 * testsuite/cleanup/cleanup5.c:
22999 * testsuite/controller/interpolator.c:
23000 * testsuite/debug/printf_extension.c: (main):
23001 * testsuite/elements/tee.c:
23002 * testsuite/negotiation/.cvsignore:
23003 * testsuite/negotiation/Makefile.am:
23004 * testsuite/negotiation/pad_link.c:
23005 * testsuite/pad/Makefile.am:
23006 * testsuite/pad/chainnopull.c:
23007 * testsuite/pad/getnopush.c:
23008 * testsuite/pad/link.c:
23009 * testsuite/refcounting/sched.c: (create_pipeline):
23010 * testsuite/registry/Makefile.am:
23011 * testsuite/registry/gst-print-formats.c:
23012 * testsuite/schedulers/.cvsignore:
23013 * testsuite/schedulers/142183-2.c:
23014 * testsuite/schedulers/142183.c:
23015 * testsuite/schedulers/143777-2.c:
23016 * testsuite/schedulers/143777.c:
23017 * testsuite/schedulers/147713.c:
23018 * testsuite/schedulers/147819.c:
23019 * testsuite/schedulers/147894-2.c:
23020 * testsuite/schedulers/147894.c:
23021 * testsuite/schedulers/Makefile.am:
23022 * testsuite/schedulers/group_link.c:
23023 * testsuite/schedulers/queue_link.c:
23024 * testsuite/schedulers/relink.c:
23025 * testsuite/schedulers/unlink.c:
23026 * testsuite/schedulers/unref.c:
23027 * testsuite/schedulers/useless_iteration.c:
23028 * testsuite/states/bin.c:
23029 clean out/remove some stuff from the testsuite directories
23031 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23034 check for some headers
23035 * gst/elements/Makefile.am:
23036 * gst/elements/gstelements.c:
23037 don't compile fdsrc without sys/socket.h
23038 * gst/indexers/Makefile.am:
23039 * gst/indexers/gstindexers.c: (plugin_init):
23040 don't compile fileindex without mmap
23042 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23049 * check/Makefile.am:
23050 * docs/gst/Makefile.am:
23051 * examples/helloworld/Makefile.am:
23053 * gst/base/Makefile.am:
23054 * gst/check/Makefile.am:
23055 * gst/elements/Makefile.am:
23056 * gst/indexers/Makefile.am:
23057 * gst/parse/Makefile.am:
23058 * libs/gst/controller/Makefile.am:
23059 * libs/gst/dataprotocol/Makefile.am:
23060 * examples/helloworld/helloworld.c: (event_loop):
23061 compile fixes, though it's not being compiled currently
23063 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23065 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23066 Add some simple tests for the new taglist date API.
23068 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23070 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23071 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23072 Beautify 'last-message' output: print 'none' for buffer timestamps
23073 and durations if none is set; improve alignment with next messages.
23075 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23077 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23078 * gst/gstpluginfeature.h:
23079 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23080 * gst/gstregistry.h:
23081 * docs/gst/gstreamer-sections.txt:
23082 Add new API to check plugin feature version requirements.
23084 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23085 Some basic tests for the above.
23087 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23089 * gst/gststructure.c: (gst_structure_to_string):
23090 guard against NULL printf - happens when for example
23091 a message structure with GstClock gets serialized
23093 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23095 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23096 Fix presumable copy'n'pasto.
23098 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23100 * gst/elements/gstfakesrc.h:
23101 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23102 * gst/elements/gsttypefindelement.c:
23103 fix some signedness
23104 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23105 I wonder if this could actually write +2GB files before
23107 2005-10-13 Andy Wingo <wingo@pobox.com>
23109 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23110 Fix Timmeke Waymans bug.
23111 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23112 string of the proper length to gst_caps_from_string. There's a
23113 potential for, before this fix, that this could cause someone
23114 connecting over the network to cause a segfault if the payload is
23115 not NUL-terminated.
23117 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23119 * docs/design/draft-push-pull.txt:
23120 * docs/design/part-overview.txt:
23121 * docs/random/TODO-pre-0.9:
23122 * docs/random/old/ChangeLog.gstreamer:
23123 * gst/base/gstpushsrc.c:
23127 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23129 * gst/glib-compat.c: (gst_flags_get_first_value):
23130 * gst/glib-compat.h:
23131 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23132 (gst_value_compare_double), (gst_value_serialize_flags):
23133 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23136 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23139 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23141 * tools/gst-launch.c: (event_loop):
23142 print out clock nicely
23144 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23146 * docs/gst/gstreamer-sections.txt:
23147 * gst/gsttaglist.h:
23148 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23149 (gst_tag_list_get_date_index):
23150 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23151 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23153 2005-10-13 Julien MOUTTE <julien@moutte.net>
23155 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23156 (gst_collectpads_chain):
23157 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23160 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23162 * docs/gst/gstreamer-sections.txt:
23165 * tools/gst-inspect.c: (main):
23166 * tools/gst-launch.c: (main):
23167 * tools/gst-run.c: (main):
23168 * tools/gst-xmlinspect.c: (main):
23169 fix GOption context leaks
23172 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23176 * win32/common/config.h:
23178 * win32/vs6/grammar.dsp:
23179 * win32/vs6/libgstelements.dsp:
23180 * win32/vs6/libgstreamer.dsp:
23183 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23185 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23186 * gst/base/gstbasesrc.c: (gst_base_src_query):
23187 fix more guint64<->gdouble conversions
23189 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23192 add win32-update target
23193 * win32/common/gstconfig.h:
23194 * win32/common/gstenumtypes.c:
23195 * win32/common/gstenumtypes.h:
23196 * win32/common/gstversion.h:
23197 add files that visual studio can't generate
23199 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23202 add a win32-update target
23205 2005-10-12 Wim Taymans <wim@fluendo.com>
23207 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23208 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23209 * gst/gstelement.c: (gst_element_commit_state),
23210 (gst_element_set_state):
23211 Protect flags with proper lock.
23212 unref provided cached clock in dispose.
23214 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23217 * gst/gstminiobject.h:
23219 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23220 removed unused flags from miniobject
23223 2005-10-12 Wim Taymans <wim@fluendo.com>
23225 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23226 (gst_file_sink_event), (gst_file_sink_render):
23227 Flush before seeking.
23229 2005-10-12 Andy Wingo <wingo@pobox.com>
23231 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23232 always been the case.
23234 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23236 * check/gst/gstbin.c: (GST_START_TEST):
23237 * docs/gst/gstreamer-sections.txt:
23238 * gst/base/gstbasesink.c: (gst_base_sink_init):
23239 * gst/base/gstbasesrc.c: (gst_base_src_init),
23240 (gst_base_src_get_range), (gst_base_src_check_get_range),
23241 (gst_base_src_start), (gst_base_src_stop):
23242 * gst/base/gstbasesrc.h:
23243 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23244 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23245 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23249 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23251 * gst/gstelement.c: (gst_element_is_locked_state),
23252 (gst_element_set_locked_state), (gst_element_commit_state),
23253 (gst_element_set_state):
23254 * gst/gstelement.h:
23255 * gst/gstindex.c: (gst_index_init):
23257 * gst/gstminiobject.h:
23258 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23259 (gst_object_set_parent):
23261 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23262 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23264 * gst/gstpadtemplate.h:
23265 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23266 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23267 * gst/gstpipeline.h:
23268 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23269 (gst_file_index_commit):
23270 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23271 * testsuite/pad/link.c: (gst_test_src_init),
23272 (gst_test_filter_init), (gst_test_sink_init):
23273 * testsuite/states/locked.c: (main):
23274 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23275 moved bitshift from macro to enum definition
23277 2005-10-12 Wim Taymans <wim@fluendo.com>
23279 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23280 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23281 (gst_file_sink_render):
23282 Some more debugging info.
23284 2005-10-12 Wim Taymans <wim@fluendo.com>
23286 * docs/design/part-states.txt:
23287 * tools/gst-launch.c: (main):
23289 Revert non-intentional change.
23291 2005-10-12 Wim Taymans <wim@fluendo.com>
23293 * check/gst/gstbin.c: (GST_START_TEST):
23294 * check/gst/gstelement.c: (GST_START_TEST):
23295 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23296 * check/gst/gstghostpad.c: (GST_START_TEST):
23297 * check/gst/gstpipeline.c: (GST_START_TEST):
23298 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23299 * check/states/sinks.c: (GST_START_TEST):
23300 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23301 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23302 (gst_bin_remove_func), (gst_bin_get_state_func),
23303 (gst_bin_recalc_state), (gst_bin_change_state_func),
23305 * gst/gstelement.c: (gst_element_get_state_func),
23306 (gst_element_get_state), (gst_element_abort_state),
23307 (gst_element_commit_state), (gst_element_set_state),
23308 (gst_element_change_state), (gst_element_change_state_func):
23309 * gst/gstelement.h:
23310 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23311 (gst_pipeline_provide_clock_func):
23312 * gst/gstutils.c: (gst_element_link_pads_filtered):
23313 * tools/gst-launch.c: (main):
23314 * tools/gst-typefind.c: (main):
23315 Use GstClockTime in _get_state() instead of GTimeVal.
23316 Remove old code in gstutils.c
23318 2005-10-12 Andy Wingo <wingo@pobox.com>
23320 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23323 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23324 there is no task. Shouldn't affect any code, as nothing in our
23325 plugins checks this return value.
23326 (gst_pad_stop_task): Also take the stream lock if the pad has no
23327 task. Docs updated.
23329 2005-10-12 Wim Taymans <wim@fluendo.com>
23331 * gst/gstpad.c: (pre_activate), (post_activate),
23332 (gst_pad_activate_pull), (gst_pad_activate_push):
23333 Cleanup activation code. Reset old state if
23336 2005-10-12 Wim Taymans <wim@fluendo.com>
23338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23339 (gst_base_sink_change_state):
23340 No need to prerol after receiving EOS.
23342 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23343 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23344 * gst/elements/gstidentity.c: (gst_identity_event):
23345 Print events more verbosely.
23347 2005-10-12 Wim Taymans <wim@fluendo.com>
23349 * check/Makefile.am:
23350 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23351 * check/states/sinks2.c:
23352 Moved sinks2 testcode in sinks check.
23354 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23355 (gst_bin_remove_func), (gst_bin_recalc_state),
23356 (gst_bin_change_state_func), (bin_bus_handler):
23357 Fix potential race condition when _get_state() iterated over an
23358 ASYNC element right before it posted a state completion.
23361 Do proper cast here.
23363 * gst/gstevent.c: (gst_event_new_newsegment),
23364 (gst_event_parse_newsegment):
23365 A playback rate of 0.0 is not allowed.
23367 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23369 * win32/common/config.h:
23370 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23371 (_trewinddir), (_ttelldir), (_tseekdir):
23372 * win32/common/dirent.h:
23373 * win32/common/gtchar.h:
23374 * win32/common/libgstbase.def:
23375 * win32/common/libgstreamer.def:
23376 * win32/vs6/grammar.dsp:
23377 * win32/vs6/gst_inspect.dsp:
23378 * win32/vs6/gst_launch.dsp:
23379 * win32/vs6/gstreamer.dsw:
23380 * win32/vs6/libgstbase.dsp:
23381 * win32/vs6/libgstelements.dsp:
23382 * win32/vs6/libgstreamer.dsp:
23383 Visual Studio 6 project files, and a new common directory.
23386 2005-10-11 Wim Taymans <wim@fluendo.com>
23388 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23389 (gst_base_sink_do_sync), (gst_base_sink_query),
23390 (gst_base_sink_change_state):
23391 * gst/base/gstbasesink.h:
23392 Correctly parse newsegment info.
23394 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23396 * gst/gst.c: (init_post):
23397 split plugin paths correctly
23399 2005-10-11 Wim Taymans <wim@fluendo.com>
23401 * check/gst/gstevent.c: (GST_START_TEST):
23402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23403 (gst_base_sink_change_state):
23404 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23405 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23406 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23407 * gst/gstevent.c: (gst_event_new_newsegment),
23408 (gst_event_parse_newsegment):
23410 Added extra flag to newsegment for future API freeze.
23411 Updated check and base elements.
23413 2005-10-11 Julien MOUTTE <julien@moutte.net>
23415 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23416 (gst_collectpads_add_pad), (gst_collectpads_pop),
23417 (gst_collectpads_event), (gst_collectpads_chain):
23418 * gst/base/gstcollectpads.h: Handle EOS correctly.
23420 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23422 * tools/gst-launch.c: (main):
23423 more null protecting
23425 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23427 * gst/gst-i18n-lib.h:
23428 check for ENABLE_NLS, not GETTEXT_PACKAGE
23429 * gst/gstregistry.c: (gst_registry_add_plugin),
23430 (gst_registry_scan_path_level),
23431 (_gst_registry_remove_cache_plugins):
23432 protect possibly NULL strings
23433 * gst/parse/types.h:
23434 config.h already included before
23435 * tools/gst-inspect.c: (main):
23436 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23437 check for ENABLE_NLS, not GETTEXT_PACKAGE
23438 * tools/gst-launch.c: (main):
23439 check for ENABLE_NLS, not GETTEXT_PACKAGE
23441 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23444 if we don't have glib, fail before testing 2.8
23445 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23446 fix a leak, should fix plugins-base testsuite
23448 2005-10-11 Andy Wingo <wingo@pobox.com>
23450 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23451 take the mode we're going to as an arg. Go head and set the mode
23452 and flushing flags now, so that if the activate function starts a
23453 thread all the flags will be in the right state.
23454 (post_activate): Renamed also. Just handle making sure streaming
23455 finishes for the deactivation case, and setting the deactivated
23457 (gst_pad_set_active): Complain loudly if deactivation fails.
23458 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23459 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23460 remove the terrible hack.
23462 2005-10-11 Wim Taymans <wim@fluendo.com>
23464 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23465 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23466 (gst_bin_recalc_state), (gst_bin_change_state_func),
23467 (gst_bin_dispose), (bin_bus_handler):
23469 Prepare to make current EOS message queue more generic.
23472 * gst/gstevent.c: (gst_event_new_newsegment),
23473 (gst_event_parse_newsegment):
23475 Rename base to stream_time.
23477 * gst/gstmessage.h:
23480 2005-10-11 Wim Taymans <wim@fluendo.com>
23482 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23483 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23484 (gst_bin_change_state_func), (bin_bus_handler):
23486 Work on proper clock selection.
23488 2005-10-11 Edward Hervey <edward@fluendo.com>
23490 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23491 * libs/gst/controller/gstcontroller.h:
23492 Added GList* version of _remove_properties() in order to be able to wrap
23495 2005-10-11 Wim Taymans <wim@fluendo.com>
23497 * docs/design/part-states.txt:
23500 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23501 (gst_bin_change_state_func), (bin_bus_handler):
23502 Doc updates. Don't distribute the same clock over and over again.
23508 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23509 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23510 (gst_pad_send_event):
23512 Make probe emission threadsafe again.
23513 Register quarks and move _get_name() from utils.
23516 * gst/gstpipeline.c: (gst_pipeline_class_init),
23517 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23518 Only redistribute the clock of it changed.
23520 * gst/gstsystemclock.h:
23525 Moved the _flow_get_name() to GstPad.
23527 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23529 * check/gst-libs/gdp.c: (GST_START_TEST):
23530 * check/gst/gstcaps.c: (GST_START_TEST):
23531 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23532 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23533 (gst_dp_packet_from_caps):
23534 fix more valgrind warnings before turning up the heat
23536 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23538 * gst/parse/grammar.y:
23539 some cleanup before the hacking
23541 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23543 * gst/base/gstbasesrc.c: (gst_base_src_query):
23545 * gst/gstutils.c: (gst_guint64_to_gdouble),
23546 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23548 externalize, basesrc uses it
23549 obviously the implementation needs testing
23551 2005-10-10 Wim Taymans <wim@fluendo.com>
23553 * tests/sched/Makefile.am:
23554 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23555 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23557 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23559 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23560 apparently converting from guint64 to double is not implemented
23563 2005-10-10 Wim Taymans <wim@fluendo.com>
23565 * check/Makefile.am:
23566 * check/generic/states.c: (GST_START_TEST):
23567 * check/gst/gstbin.c: (GST_START_TEST):
23568 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23569 * check/states/sinks.c: (GST_START_TEST):
23570 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23572 Check fixes, use API as stated in design docs, remove hacks.
23574 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23575 (gst_base_sink_change_state):
23576 Catch stopping our task while we're shutting down.
23578 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23579 (gst_bin_remove_func), (gst_bin_get_state_func),
23580 (gst_bin_recalc_state), (gst_bin_change_state_func),
23583 * gst/gstelement.c: (gst_element_init),
23584 (gst_element_get_state_func), (gst_element_abort_state),
23585 (gst_element_commit_state), (gst_element_lost_state),
23586 (gst_element_set_state), (gst_element_change_state),
23587 (gst_element_change_state_func):
23588 * gst/gstelement.h:
23589 New state change algorithm (see #318116)
23591 * gst/gstpipeline.c: (gst_pipeline_class_init),
23592 (gst_pipeline_init), (gst_pipeline_set_property),
23593 (gst_pipeline_get_property), (do_pipeline_seek),
23594 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23595 * gst/gstpipeline.h:
23596 Remove crude state change hacks.
23599 Remove crude hacks.
23601 * tools/gst-launch.c: (main):
23602 Fixes for state change. Needs some more work to fully use the
23605 2005-10-10 Andy Wingo <wingo@pobox.com>
23607 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23609 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23610 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23613 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23615 * gst/gstiterator.c: (gst_iterator_new):
23616 Fix my previous commit: GTypes passed to gst_iterator_new()
23617 can be fundamental types.
23619 2005-10-10 Wim Taymans <wim@fluendo.com>
23621 * gst/gstelement.c: (gst_element_iterate_pad_list),
23622 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23623 (gst_element_iterate_sink_pads):
23624 Use src/sink pads lists for the respective iterators instead
23627 2005-10-10 Andy Wingo <wingo@pobox.com>
23629 Merged in popt removal + GOption addition patch from Ronald, bug
23632 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23633 GstElement macros around, remove popt-related symbols, add goption
23636 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23638 * docs/gst/Makefile.am:
23639 * docs/libs/Makefile.am: No POPT_CFLAGS.
23641 * examples/manual/Makefile.am:
23642 * docs/manual/basics-init.xml: Doc updates with an example.
23644 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23645 (gst_init), (parse_one_option), (parse_goption_arg):
23646 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23647 bit of hand merging and debugging to get the GOption stuff working
23650 * tests/Makefile.am:
23651 * tools/Makefile.am:
23652 * tools/gst-inspect.c: (main):
23653 * tools/gst-launch.c: (main):
23654 * tools/gst-run.c: (main):
23655 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23657 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23659 * gst/gstiterator.c: (gst_iterator_new):
23660 Add assertions to make sure passed GType is likely to really
23661 be a GType (as the compiler won't catch it if the size and
23662 GType arguments get mixed up, see #318447).
23664 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23666 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23668 * gst/gstbin.c: (gst_bin_iterate_sorted):
23669 Pass GType and size arguments to gst_iterator_new() in the right
23670 order (maybe we should make _new() take the GType as first argument
23671 just like _new_list()?) (#318447).
23674 2005-10-10 Wim Taymans <wim@fluendo.com>
23676 * gst/gstelement.c: (gst_element_finalize):
23677 And free the GStaticRecMutex too
23679 2005-10-10 Andy Wingo <wingo@pobox.com>
23681 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23682 Allocate and free the mutex properly.
23684 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23686 (GstElement): The state_lock is now recursive. Rebuild your
23687 plugins, suckers. Old macros adapted.
23689 * docs/gst/gstreamer-sections.txt: Doc updates.
23692 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23693 (g_static_rec_cond_wait): Ported from state changes patch, while
23694 we wait on bug #317802 to be solved in a well-distributed GLib.
23696 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23697 gst_element_change_state, variable name changes.
23698 (gst_element_change_state): Split out of gst_element_set_state in
23699 preparation for the state change merge. Doesn't pay attention to
23700 the 'transition' argument.
23701 (gst_element_set_state): Updates, hopefully purely cosmetic.
23702 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23703 state change patch.
23704 (gst_element_get_state_func): Renamed from get_state, cosmetic
23707 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23709 * gst/elements/gstelements.c:
23710 * win32/GStreamer.vcproj:
23712 * win32/dirent.c: (_tseekdir):
23713 * win32/gst-inspect.vcproj:
23714 * win32/gst-launch.vcproj:
23715 * win32/gstconfig.h:
23716 * win32/gstelements.vcproj:
23717 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23718 * win32/gstreamer.def:
23719 * win32/msvc71.sln:
23720 updates for the win32 build (patch from Sebastien Moutte)
23722 2005-10-10 Andy Wingo <wingo@pobox.com>
23724 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23725 gst_bin_get_state, cleaned up (but no logic changes).
23726 (bin_element_is_sink): Comment updates.
23727 (sink_iterator_filter): Remove needless cast.
23728 (gst_bin_iterate_sinks): Doc update.
23729 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23730 cleaned up (but no logic changes).
23732 * check/states/sinks.c (test_src_sink): Cleanups from the state
23734 (test_livesrc_sink): Sync on the state.
23736 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23737 the state change patch.
23739 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23742 * check/gst/gstbin.c: Merge in some style fixes and additional
23743 checks from Wim's state change patch.
23745 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23747 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23748 (gst_type_find_helper):
23749 Check whether we have the requested data already in our list of
23750 cached buffers before pulling a new buffer; also make the buffer
23751 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23753 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23758 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23759 don't use long long, it's not portable. Replacing with
23760 gint64 seems to work; let's hope no skeletons fall out of the closet.
23762 2005-10-10 Andy Wingo <wingo@pobox.com>
23764 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23766 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23768 * docs/gst/gstreamer-sections.txt:
23773 * gst/gstmessage.c: (gst_message_parse_state_changed):
23776 more docs, fix compilation
23778 2005-10-09 Philippe Khalaf <burger@speedy.org>
23779 * gst/gstmessage.c:
23780 Fixed a few forgotten variables on previous commit
23782 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23784 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23785 Fix evil typefind crasher: getrange() might return a short
23786 buffer at the end of a file, but gst_type_find_peek() must
23787 either return the full data as requested or NULL, but
23788 never a short buffer.
23790 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23792 * gst/gstmessage.c: (gst_message_new_state_changed),
23793 (gst_message_parse_state_changed):
23794 * gst/gstmessage.h:
23795 don't use "new", it's a C++ keyword
23797 2005-10-08 Wim Taymans <wim@fluendo.com>
23799 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23800 * gst/gstelement.c: (gst_element_post_message):
23801 * gst/gstpipeline.c: (gst_pipeline_change_state):
23802 Small docs and debug updates.
23804 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23806 * docs/gst/gstreamer-sections.txt:
23807 * gst/gstelementfactory.c:
23809 * gst/gsttaglist.c:
23812 2005-10-08 Wim Taymans <wim@fluendo.com>
23814 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23815 (gst_bin_dispose), (bin_bus_handler):
23816 Fix typos, add comments.
23817 Clear EOS list when going to PAUSED from any direction and do it
23818 in a threadsafe way.
23819 Get base time in a threadsafe way too.
23820 Fix confusing debug in the change_state function.
23821 Various other small cleanups.
23823 * gst/gstelement.c: (gst_element_post_message):
23824 Fix very verbose bus posting code.
23826 * gst/gstpipeline.c: (gst_pipeline_class_init),
23827 (gst_pipeline_set_property), (gst_pipeline_get_property),
23828 (gst_pipeline_change_state):
23829 Small ARG_ -> PROP_ cleanup
23831 2005-10-08 Wim Taymans <wim@fluendo.com>
23833 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23834 Do a less CPU demanding EOS check because we can.
23836 2005-10-08 Wim Taymans <wim@fluendo.com>
23838 * libs/gst/dataprotocol/dataprotocol.c:
23839 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23840 (gst_dp_packet_from_event):
23841 * libs/gst/dataprotocol/dataprotocol.h:
23842 * libs/gst/dataprotocol/dp-private.h:
23843 It's about time we bump the version number.
23844 Since event types don't fit in the guint8 anymore describing
23845 the payload type, make payload type 16 bits wide.
23847 2005-10-08 Wim Taymans <wim@fluendo.com>
23849 * docs/design/part-TODO.txt:
23850 * docs/design/part-clocks.txt:
23851 * docs/design/part-events.txt:
23852 * docs/design/part-gstbin.txt:
23853 * docs/design/part-gstelement.txt:
23854 * docs/design/part-gstpipeline.txt:
23855 * docs/design/part-live-source.txt:
23856 * docs/design/part-messages.txt:
23857 * docs/design/part-overview.txt:
23858 * docs/design/part-states.txt:
23861 2005-10-08 Wim Taymans <wim@fluendo.com>
23865 Fix event quark registration.
23866 Add some space between events so we can insert them in the
23869 2005-10-08 Wim Taymans <wim@fluendo.com>
23871 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23872 (gst_base_sink_handle_buffer):
23873 Better log message.
23876 * gst/gstelement.h:
23879 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23880 (gst_queue_set_property), (gst_queue_get_property):
23882 Remove old unused properties.
23884 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23885 * docs/gst/gstreamer-sections.txt:
23886 * gst/gstmessage.c:
23887 * gst/gstmessage.h:
23888 * gst/gstminiobject.c:
23889 * gst/gstminiobject.h:
23893 lots of new docs and doc fixes
23895 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23897 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23899 * gst/gstregistry.c: (gst_registry_lookup_locked),
23900 (gst_registry_scan_path_level):
23901 * gst/gstregistryxml.c: (load_plugin):
23902 Only ever load one plugin for a given plugin basename.
23903 This ensures correct overriding of GST_PLUGIN_PATH over
23904 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23905 system installed plugins.
23907 2005-10-08 Wim Taymans <wim@fluendo.com>
23909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23910 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23911 Prepare for doing QOS.
23913 2005-10-08 Wim Taymans <wim@fluendo.com>
23915 * check/gst/gstbin.c: (GST_START_TEST):
23916 * check/pipelines/cleanup.c: (GST_START_TEST):
23917 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23918 Allow new clock message too.
23920 2005-10-08 Wim Taymans <wim@fluendo.com>
23922 * gst/gstmessage.c: (gst_message_new_error),
23923 (gst_message_new_warning), (gst_message_new_tag),
23924 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23925 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23926 (gst_message_new_segment_start), (gst_message_new_segment_done),
23927 (gst_message_parse_state_changed),
23928 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23929 (gst_message_parse_new_clock):
23930 * gst/gstmessage.h:
23931 Also carry the clock in question.
23933 2005-10-08 Wim Taymans <wim@fluendo.com>
23935 * gst/gstmessage.c: (gst_message_new_custom),
23936 (gst_message_new_eos), (gst_message_new_error),
23937 (gst_message_new_warning), (gst_message_new_tag),
23938 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23939 (gst_message_new_new_clock), (gst_message_new_segment_start),
23940 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23941 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23942 * gst/gstmessage.h:
23944 Added clock related messages.
23946 * gst/gstpipeline.c: (gst_pipeline_change_state):
23947 Post message when the clock changed.
23949 * tools/gst-launch.c: (event_loop):
23952 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23954 * tools/gst-inspect.c: (print_element_properties_info):
23955 Can't pass NULL strings to g_print() on windows.
23957 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23959 * docs/Makefile.am:
23960 * docs/gst/Makefile.am:
23961 * docs/gst/gstreamer-docs.sgml:
23962 * docs/gst/running.xml:
23963 * docs/version.entities.in:
23964 add a chapter on running GStreamer.
23965 document GST_DEBUG and GST_PLUGIN* env vars
23967 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23972 remove PLUGINS_BUILDDIR stuff
23973 * gst/gst.c: (init_post):
23974 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23976 remove, it was condescending and not needed
23978 2005-10-08 Wim Taymans <wim@fluendo.com>
23980 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23981 (gst_base_sink_handle_object), (gst_base_sink_event),
23982 (gst_base_sink_wait), (gst_base_sink_handle_event),
23983 (gst_base_sink_change_state):
23984 * gst/base/gstbasesink.h:
23985 Repost EOS message while going to PLAYING if still EOS.
23986 Make sure that when receiving a FLUSH_START we don't attempt
23987 to sync on the clock anymore.
23989 2005-10-08 Wim Taymans <wim@fluendo.com>
23991 * tools/gst-launch.c: (event_loop):
23992 Better message printout.
23994 2005-10-08 Wim Taymans <wim@fluendo.com>
23996 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23997 (gst_bin_child_proxy_get_children_count):
23998 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23999 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24000 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24001 (gst_child_proxy_set_valist):
24002 * gst/parse/grammar.y:
24003 Make ChildProxy threadsafe and fix mem leaks.
24005 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24007 * gst/gst.c: (init_post):
24008 debug the GST_PLUGIN_ env vars
24010 2005-10-08 Wim Taymans <wim@fluendo.com>
24012 * check/gst/gstbin.c: (GST_START_TEST):
24013 * check/gst/gstmessage.c: (GST_START_TEST):
24014 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24015 * gst/gstelement.c: (gst_element_commit_state),
24016 (gst_element_lost_state):
24017 * gst/gstmessage.c: (gst_message_new_state_changed),
24018 (gst_message_parse_state_changed):
24019 * gst/gstmessage.h:
24020 * tools/gst-launch.c: (event_loop):
24021 Added extra field to STATE_CHANGE message with the pending
24022 state, which will be different from the new state soon.
24024 2005-10-08 Wim Taymans <wim@fluendo.com>
24026 * gst/gstbus.c: (gst_bus_pop):
24028 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24029 Small cleanups and doc updates.
24031 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24033 * gst/gst.c: (init_pre):
24034 * gst/gstbin.c: (gst_bin_add_func):
24035 log distributing clocks and base time
24036 * gst/gstregistry.c: (gst_registry_add_plugin),
24037 (gst_registry_scan_path_level), (gst_registry_scan_path):
24038 clean up the debugging output a little
24039 * gst/gstutils.c: (gst_element_state_get_name):
24040 warn about a memleak (I've actually seen this be used, though
24041 it was probably a bug)
24043 2005-10-07 Wim Taymans <wim@fluendo.com>
24045 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24046 (gst_base_src_init), (gst_base_src_default_newsegment),
24047 (gst_base_src_newsegment), (gst_base_src_do_seek),
24048 (gst_base_src_loop), (gst_base_src_start):
24049 * gst/base/gstbasesrc.h:
24050 Make the newsegment event customizable by subclasses.
24052 2005-10-07 Wim Taymans <wim@fluendo.com>
24054 * gst/gstevent.c: (gst_event_new_buffersize),
24055 (gst_event_parse_buffersize):
24057 New event for future idea.
24059 2005-10-07 Andy Wingo <wingo@pobox.com>
24061 * gst/gstelement.c (gst_element_post_message): Doc update.
24063 * docs/gst/gstreamer-sections.txt: Update.
24065 * gst/gstmessage.c (gst_message_new_application): Made into a
24066 function like honest API calls.
24067 (gst_message_new_element): New message type.
24069 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24071 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24072 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24075 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24076 NO_PREROLL from gst_element_change_state to fall through.
24078 2005-10-07 Wim Taymans <wim@fluendo.com>
24080 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24081 (gst_ghost_pad_do_activate_push):
24082 Activating a ghostpad with no internal pad in push mode
24085 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24088 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24089 Fixes compilation on Windows.
24091 2005-10-07 Michael Smith <msmith@fluendo.com>
24093 * tools/gst-inspect.c:
24094 Print out feature and plugin count at the end when printing out
24097 2005-10-04 Michael Smith <msmith@fluendo.com>
24099 * gst/gsterror.c: (_gst_stream_errors_init):
24100 Add another error string used in a few existing plugins.
24103 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24104 * tools/gst-inspect.c: (print_element_info):
24105 When a feature disappears from a plugin (and the feature exists in
24106 the cached registry file), things went horribly wrong. This isn't a
24107 complete fix, we should actually be removing the 'missing' features
24108 from the features list when we load the actual plugin. That's not
24111 2005-10-04 Johan Dahlin <johan@gnome.org>
24113 * check/gst/gstiterator.c: (GST_START_TEST):
24114 * gst/gstbin.c: (gst_bin_iterate_elements),
24115 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24116 * gst/gstelement.c: (gst_element_iterate_pads):
24117 * gst/gstformat.c: (gst_format_iterate_definitions):
24118 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24119 (gst_iterator_new_list), (gst_iterator_filter):
24120 * gst/gstiterator.h:
24121 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24122 Add a GType to GstIterator, update callsites and tests.
24124 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24126 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24127 give events a chance to be handled by event probes when the pad
24130 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24132 * gst/gstevent.c: (gst_event_type_get_name),
24133 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24135 add string representations for event types
24137 2005-10-06 Wim Taymans <wim@fluendo.com>
24139 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24140 Don't use NULL pointers.
24142 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24144 * gst/gst_private.h:
24146 * gst/gstelement.c:
24148 * gst/gstpluginfeature.c:
24149 widen the debug category in output to fit the biggest one we have
24150 add a bus category and use it
24151 play with the colors
24152 fix up some categories
24154 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24156 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24157 add push activation of sink ghost pads.
24158 Andye, please verify
24160 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24162 * gst/gstutils.c: (gst_element_link_pads):
24163 fix a bug in the case where neither element has a pad
24164 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24165 add a test for that case
24167 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24169 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24170 emit have-data before checking for peers. This allows
24171 for probe handlers to connect elements. This helps autopluggers.
24172 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24174 add six checks, linked/unlinked with no/true/false probe
24176 2005-10-04 Wim Taymans <wim@fluendo.com>
24178 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24179 (gst_fake_sink_event), (gst_fake_sink_preroll),
24180 (gst_fake_sink_render), (gst_fake_sink_change_state):
24181 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24182 (gst_fake_src_get_property), (gst_fake_src_create),
24183 (gst_fake_src_stop):
24184 * gst/elements/gstidentity.c: (gst_identity_stop):
24185 Protect last_message with lock.
24187 2005-10-04 Edward Hervey <edward@fluendo.com>
24190 Added precision in the comments for GST_FORMAT_DEFAULT
24192 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24194 * tools/gst-launch.c: (main):
24195 Don't try to run erroneous pipelines.
24197 2005-10-04 Julien MOUTTE <julien@moutte.net>
24199 * gst/gstbus.c: We don't need this header.
24201 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24204 back to development
24206 === release 0.9.3 ===
24208 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24212 Releasing 0.9.3, "Unregistered"
24214 2005-10-03 Andy Wingo <wingo@pobox.com>
24216 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24217 whereby calling a pad's activatepush() function can start a thread
24218 that starts to push or pull before the pad gets the FLUSHING flag
24219 unset. Hack around it by holding the stream lock until the flag is
24220 set. Need to replace this with a proper solution. Together with
24221 the ghost pad fixes, this fixes mp3 playing/tagreading.
24223 * docs/design/part-gstghostpad.txt: Add a note about activation of
24224 proxy pads outside of ghost pads.
24226 * gst/gstghostpad.c: Implement the ghost pad activation design.
24228 2005-10-02 Andy Wingo <wingo@pobox.com>
24230 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24231 It is volatile, after all.
24233 * docs/design/part-gstghostpad.txt: Flesh out activation with
24236 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24239 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24242 Fix (unused) AM_CONDITIONAL tests.
24244 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24246 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24248 * gst/gstutils.c: (gst_pad_query_convert):
24249 Add assertion that makes sure src_val is >=0, just like
24250 gst_query_new_convert() has. (#315895)
24252 2005-09-30 Edward Hervey <edward@fluendo.com>
24254 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24255 Let's not iterate pads we're not interested in, it avoids getting
24256 sky-high refcounts on sinkpad.
24258 2005-09-30 Wim Taymans <wim@fluendo.com>
24260 * gst/gstelement.c: (gst_element_set_state),
24261 (gst_element_change_state):
24262 Small tweak, element in ASYNC remains ASYNC.
24264 2005-09-30 Wim Taymans <wim@fluendo.com>
24266 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24267 Only error is an error.
24269 * gst/gstbin.c: (gst_bin_change_state):
24272 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24273 Also call pad_block in pad alloc.
24275 * gst/gstutils.c: (gst_flow_get_name):
24278 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24280 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24281 (gst_base_src_get_range):
24282 Fix documentation typos. Add some more debug info.
24284 2005-09-29 David Schleef <ds@schleef.org>
24286 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24287 more end-user friendly.
24288 * tools/gst-inspect.c: (main): Check if command-line argument is
24289 a file and attempt to load that file as a plugin.
24291 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24293 * check/gst/gstbin.c:
24294 * check/states/sinks.c:
24295 fix tests for the new warning
24296 * check/gst/gstpipeline.c:
24297 add a test for pipeline and bus interaction
24298 * gst/gstelement.c:
24299 elements should be NULL if they get disposed; add a warning if not
24301 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24304 for 2.6 refcounting, make debug log more correct by printing
24305 the actual refcounts at the time of swap (Wim)
24307 2005-09-29 Andy Wingo <wingo@pobox.com>
24309 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24310 removes signal watches previously added via
24311 gst_bus_add_signal_watch.
24312 (gst_bus_add_signal_watch): Don't return the source id, just store
24313 it on the bus if there wasn't an id already.
24315 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24316 add_signal_watch and remove_signal_watch.
24318 2005-09-29 Edward Hervey <edward@fluendo.com>
24320 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24321 Better if we actually iterate the list :)
24323 2005-09-29 Wim Taymans <wim@fluendo.com>
24325 * check/gst/gstbin.c: (GST_START_TEST):
24326 Change for new bus API.
24328 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24329 (send_messages), (GST_START_TEST), (gstbus_suite):
24330 Change for new bus signal API.
24332 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24333 (gst_bus_source_prepare), (gst_bus_source_check),
24334 (gst_bus_create_watch), (gst_bus_add_watch_full),
24335 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24336 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24338 Remove support for multiple GSources operating on different
24339 message types as it is too complex and unneeded when using
24341 Added support for receiving signals from the bus.
24343 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24345 * docs/libs/tmpl/gstdataprotocol.sgml:
24346 * docs/manual/advanced-dataaccess.xml:
24347 * gst/elements/gstcapsfilter.c:
24349 rename filter-caps to caps property
24351 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24353 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24354 More robust fraction string parsing.
24356 * docs/pwg/appendix-porting.xml:
24357 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24359 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24361 * gst/gstcaps.c: (gst_caps_do_simplify):
24362 Thou shalt not free a structure and then continue using it
24363 in the next loop iteration.
24365 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24367 Add test case for caps simplification.
24369 2005-09-29 Wim Taymans <wim@fluendo.com>
24371 * check/gst/gstbin.c: (GST_START_TEST):
24374 2005-09-29 Wim Taymans <wim@fluendo.com>
24376 * check/gst/gstbin.c: (GST_START_TEST):
24379 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24380 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24381 (find_element), (gst_bin_sort_iterator_next),
24382 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24383 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24384 (gst_bin_change_state), (gst_bin_dispose):
24385 A bin does not have a bus, it gets the bus from the parent.
24387 * gst/gstelement.c: (gst_element_requires_clock),
24388 (gst_element_provides_clock), (gst_element_is_indexable),
24389 (gst_element_is_locked_state), (gst_element_change_state),
24390 (gst_element_set_bus_func):
24393 * gst/gstpipeline.c: (gst_pipeline_class_init),
24394 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24395 The pipeline provides a bus.
24397 2005-09-28 Johan Dahlin <johan@gnome.org>
24399 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24400 gst_structure_get_enum instead of gst_structure_get_int
24402 * gst/gststructure.c (gst_structure_get_enum): Impl.
24404 * gst/gststructure.h (gst_structure_get_enum): Add
24406 * docs/gst/gstreamer-sections.txt: Ditto
24408 * gst/gstmessage.c (gst_message_new_state_changed): Use
24409 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24410 which does introspection.
24411 Reviewed by Christian Schaller
24413 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24415 * gst/gstinfo.c: (gst_debug_log_default):
24416 don't do dummy g_strdup()s
24417 * libs/gst/controller/gstcontroller.c:
24418 (on_object_controlled_property_changed),
24419 (gst_controlled_property_new), (gst_controller_new_valist),
24420 (gst_controller_new_list),
24421 (gst_controller_remove_properties_valist), (gst_controller_set),
24422 (gst_controller_get), (gst_controller_sync_values),
24423 (gst_controller_get_value_array), (_gst_controller_class_init),
24424 (gst_controller_get_type):
24425 * libs/gst/controller/gstcontroller.h:
24426 * libs/gst/controller/gstinterpolation.c:
24427 (gst_controlled_property_find_timed_value_node):
24428 convert // to /**/ comments
24430 2005-09-28 Wim Taymans <wim@fluendo.com>
24432 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24433 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24434 (gst_bus_sync_signal_handler):
24436 Added async-message and sync-message signals to the bus.
24437 Added helper BusFunc to emit signals for all posted messages.
24439 * gst/gstmessage.c: (gst_message_type_get_name),
24440 (gst_message_type_to_quark), (gst_message_get_type):
24441 * gst/gstmessage.h:
24442 Register quarks for message names.
24444 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24446 * docs/libs/gstreamer-libs-sections.txt:
24447 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24448 (gst_controller_new_list):
24449 * libs/gst/controller/gstcontroller.h:
24450 added another constructor for language bindings
24452 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24454 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24458 * gst/gstinfo.c: (_gst_debug_init):
24459 slightly more readable color for refcount debugging
24461 2005-09-28 Wim Taymans <wim@fluendo.com>
24463 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24464 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24465 (find_element), (gst_bin_sort_iterator_next),
24466 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24467 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24468 (gst_bin_change_state), (gst_bin_dispose):
24469 Small doc fixes. get_clock -> provide_clock.
24471 * gst/gstelement.c: (gst_element_class_init),
24472 (gst_element_provides_clock), (gst_element_provide_clock),
24473 (gst_element_get_clock), (gst_element_commit_state),
24474 (gst_element_lost_state):
24475 * gst/gstelement.h:
24476 Make get/set_clock() symetric. Add provide_clock vmethod since
24477 that is actually what this function does.
24479 * gst/gstpipeline.c: (gst_pipeline_class_init),
24480 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24481 (gst_pipeline_get_clock):
24482 get_clock -> provide_clock.
24484 2005-09-28 Andy Wingo <wingo@pobox.com>
24486 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24487 lieu of real docs...
24489 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24491 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24493 * gst/elements/gstcapsfilter.c:
24494 * gst/elements/gstfakesink.c:
24495 * gst/elements/gstfakesrc.c:
24496 * gst/elements/gstfdsink.c:
24497 * gst/elements/gstfdsrc.c:
24498 * gst/elements/gstfilesink.c:
24499 * gst/elements/gstfilesrc.c:
24500 * gst/elements/gstidentity.c:
24501 * gst/elements/gsttee.c:
24502 * gst/elements/gsttypefindelement.c:
24503 Make element details static.
24505 2005-09-28 Wim Taymans <wim@fluendo.com>
24507 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24508 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24509 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24510 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24511 (gst_bin_change_state), (gst_bin_dispose):
24512 Some documentation updates.
24513 Clean up dispose handlers.
24515 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24516 * gst/gstpad.c: (gst_pad_dispose):
24517 Clean up dispose handler.
24519 * gst/gstpipeline.c: (gst_pipeline_change_state):
24520 Removed spurious UNLOCK.
24522 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24524 * docs/gst/gstreamer-sections.txt:
24525 * gst/base/gstbasesrc.h:
24526 * gst/gstelement.h:
24530 * gst/gstpipeline.c:
24531 * gst/gstpipeline.h:
24534 added two new functions to the docs
24535 documents all undocumented GstXXXFlags
24536 completed some incomplete docs
24538 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24540 * gst/gstbin.c: (gst_bin_dispose):
24541 * gst/gstelement.c: (gst_element_dispose):
24542 remove now useless and leaky resurrection code in dispose
24543 * gst/base/gstbasesrc.c: (gst_base_src_init):
24544 * gst/gstelementfactory.c: (gst_element_factory_create):
24545 * gst/gstobject.c: (gst_object_set_parent):
24548 2005-09-27 Wim Taymans <wim@fluendo.com>
24550 * docs/design/part-TODO.txt:
24553 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24554 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24555 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24556 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24557 (gst_bin_change_state):
24558 * gst/gstelement.h:
24559 Remove element variable, we keep element info in the iterator now.
24561 2005-09-27 Andy Wingo <wingo@pobox.com>
24563 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24566 2005-09-27 Wim Taymans <wim@fluendo.com>
24568 * check/gst/gstbin.c: (GST_START_TEST):
24569 Enable check that works now.
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):
24577 Redid the state change algorithm using a topological sort algo.
24578 Handles all cases correctly.
24579 Exposed iterator for state change order.
24581 * gst/gstelement.h:
24582 Temp storage for state changes. Need to get rid of this soon.
24584 2005-09-27 Wim Taymans <wim@fluendo.com>
24586 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24587 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24588 (link_fold_func), (gst_pad_proxy_setcaps):
24589 Leak fixes, the fold functions need to unref the passed object and
24590 _get_parent_*() returns ref to parent.
24592 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24594 * check/gst/gstbuffer.c: (test_make_writable):
24595 Plug leak in test case and fix 'make check-valgrind'
24597 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24599 * gst/gstbuffer.c: (gst_subbuffer_init):
24600 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24601 works correctly in all circumstances (we could have just copied
24602 the parent buffer's readonly flag, but conceptually it seems
24603 cleaner to mark all subbuffers as read-only). (based on patch
24604 by Alessandro Decina, #314710).
24606 * check/gst/gstbuffer.c: (create_read_only_buffer),
24607 (test_make_writable), (test_subbuffer_make_writable),
24609 Add some tests for gst_buffer_make_writable().
24611 2005-09-27 Wim Taymans <wim@fluendo.com>
24613 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24614 use gst_object_has_ancestor().
24616 * gst/gstobject.c: (gst_object_has_ancestor):
24618 gst_object_has_ancestor() copied from gstbin.c as it is a
24621 * tests/instantiate/create.c: (create_all_elements):
24622 * tests/lat.c: (handoff_src), (handoff_sink):
24623 * tests/sched/runxml.c: (main):
24624 * tests/seeking/seeking1.c: (main):
24625 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24627 Fix compilation of some tests.
24629 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24632 Remove comment. GST_TYPE_G_ERROR is here to stay,
24633 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24634 (#316961, #300610).
24636 2005-09-26 Wim Taymans <wim@fluendo.com>
24638 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24639 Added check that shows error in state change order.
24641 2005-09-26 Wim Taymans <wim@fluendo.com>
24643 * gst/gstbin.c: (gst_bin_change_state):
24644 Make state change function use 3 queues again, we were
24645 adding elements in the wrong order.
24647 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24650 * gst/gstpad.c: (gst_pad_dispose):
24651 Added some debug info first.
24653 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24655 * docs/design/draft-push-pull.txt:
24656 * docs/design/part-events.txt:
24657 * docs/design/part-overview.txt:
24658 * docs/design/part-scheduling.txt:
24659 Replace all _pull_region() with _pull_range()
24661 2005-09-26 Andy Wingo <wingo@pobox.com>
24663 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24665 * check/gst-libs/controller.c: Update for controller api change.
24668 * tests/Makefile.am:
24669 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24670 over by GLib bug 118439.
24672 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24673 routines to a function.
24675 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24677 * libs/gst/controller/gsthelper.c:
24678 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24679 (gst_object_sync_values): Renamed from sink_values. Ugh.
24681 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24683 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24684 Renamed from controller_key, as it is exported.
24686 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24688 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24693 * gst/gstpadtemplate.h:
24696 * gst/gstqueryutils.c:
24697 * gst/gstqueryutils.h:
24698 remove queryutils headers after moving the two used functions
24699 to gstquery. also fixes build problem for gstsiddec
24701 2005-09-26 Michael Smith <msmith@fluendo.com>
24703 * tools/gst-launch.1.in:
24704 Correct documentation in manpage of debug syntax
24706 2005-09-26 Wim Taymans <wim@fluendo.com>
24708 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24709 (gst_base_src_is_seekable), (gst_base_src_change_state):
24710 Some more debugging info.
24712 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24714 * docs/gst/gstreamer-sections.txt:
24715 * gst/base/gstbasetransform.h:
24719 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24721 * docs/gst/.cvsignore:
24722 * docs/gst/tmpl/.cvsignore:
24723 * docs/gst/tmpl/gstpipeline.sgml:
24724 * docs/gst/tmpl/gstplugin.sgml:
24725 * gst/gstpipeline.c:
24728 inlined the last two docs files
24729 removed the tmpl directory from cvs (no more conflicts here!)
24731 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24733 * docs/gst/gstreamer-sections.txt:
24734 * docs/gst/tmpl/.cvsignore:
24735 * docs/gst/tmpl/gstpad.sgml:
24736 * docs/gst/tmpl/gstpadtemplate.sgml:
24738 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24739 (gst_pad_finalize), (gst_pad_set_pad_template):
24741 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24742 (gst_pad_template_class_init), (gst_pad_template_init),
24743 (gst_pad_template_dispose), (name_is_valid),
24744 (gst_static_pad_template_get), (gst_pad_template_new),
24745 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24746 (gst_pad_template_pad_created):
24747 * gst/gstpadtemplate.h:
24748 inlined two more docs
24749 factored gstpadtemplate out of gstpad
24751 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24753 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24754 (test_children_state_change_order_semi_sink):
24755 Fix test case: we can't rely on a fixed state change order when
24756 going from READY => PAUSED because the sink might commit its
24757 new state first when the first buffer created by the source
24758 reaches the sink before the source has finished its change state.
24759 (Test case still fails at times, see #316856, comment 5 onwards)
24761 2005-09-24 Wim Taymans <wim@fluendo.com>
24763 * docs/design/part-events.txt:
24764 * docs/design/part-gstbus.txt:
24765 * docs/design/part-gstpipeline.txt:
24766 * docs/design/part-messages.txt:
24767 * docs/design/part-overview.txt:
24768 * docs/design/part-segments.txt:
24772 * gst/gstelement.c:
24775 * gst/gstiterator.c:
24776 Various documentation updates.
24778 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24781 Well, that's embarassing. Luckily we weren't using
24782 GST_CLOCK_DIFF anywhere.
24784 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24786 * common/gtk-doc.mak:
24787 don't fail on building XML, FC4 slave shows a bunch of doc
24788 missing bits that I don't get
24790 * gst/gstpipeline.c:
24791 * gst/gststructure.c:
24794 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24796 * docs/design/part-gstbin.txt:
24797 * docs/design/part-gstbus.txt:
24799 Add blurb about how the bus goes into flushing mode and
24800 drops all messages when its bin goes from READY into NULL
24803 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24805 * docs/gst/gstreamer-sections.txt:
24806 * gst/gststructure.c: (gst_structure_get_clock_time):
24807 * gst/gststructure.h:
24808 add a method to get a GstClockTime out of a structure
24810 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24812 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24813 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24814 Added test to check state change order in bins (can still be made
24815 to fail here under heavy disk load; bails out with 'Push on pad
24816 fakesink:sink0, but it was not activated in push mode').
24818 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24819 Fix state change order when there is only a semi sink (#316856)
24821 * gst/gstbus.c: (gst_bus_class_init):
24822 Use _class_peek_parent(), not _class_ref(); fix docs to say
24823 'default main context' instead of 'mainloop' where that is
24826 * gst/gstelement.c: (gst_element_commit_state),
24827 (gst_element_set_state):
24828 Fix typos in debug messages
24830 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24833 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24834 * gst/gstpluginfeature.c:
24836 various doc updates
24837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24838 change an assert into an error until it gets fixed properly
24840 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24842 * docs/gst/gstreamer-sections.txt:
24843 * docs/gst/tmpl/.cvsignore:
24844 * docs/gst/tmpl/gstelement.sgml:
24845 * docs/gst/tmpl/gstinfo.sgml:
24846 * docs/gst/tmpl/gstobject.sgml:
24847 * gst/gstelement.c:
24848 * gst/gstelement.h:
24851 * gst/gstobject.c: (gst_object_class_init):
24853 inlined 3 more biiiig doc files and added some missing docs on the fly
24855 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24857 * check/gst/.cvsignore:
24858 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24859 * gst/gstregistryxml.c: (load_plugin),
24860 (gst_registry_xml_save_plugin):
24861 put back source in registry. add checks for find_plugin.
24862 * testsuite/states/bin.c: (assert_state), (empty_bin),
24863 (test_adding_one_element), (main):
24864 * testsuite/states/locked.c: (main):
24865 some compile/run fixes
24867 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24869 * check/gst/gstvalue.c: (GST_START_TEST):
24870 fix leaks in the test itself
24872 2005-09-22 Wim Taymans <wim@fluendo.com>
24874 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24875 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24876 (gst_base_sink_query):
24877 Prepare for more accurate position reporting and query
24880 * gst/gstelement.c: (gst_element_send_event),
24881 (gst_element_set_state):
24884 2005-09-22 Wim Taymans <wim@fluendo.com>
24886 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24887 (gst_query_parse_segment):
24889 More documentation.
24890 Add segment query for future use.
24892 2005-09-22 Wim Taymans <wim@fluendo.com>
24894 * gst/gstbin.c: (gst_bin_add_func):
24895 Some more debug info.
24897 * gst/gstelement.c: (gst_element_send_event):
24898 Simplify send_event
24900 * gst/gstelement.h:
24901 Don't know how flags got broken.
24906 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24908 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24909 Add simplistic test suite for GST_TYPE_DATE serialisation and
24912 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24914 * docs/gst/gstreamer-sections.txt:
24915 * gst/gststructure.c: (gst_structure_set_valist),
24916 (gst_structure_get_date):
24917 * gst/gststructure.h:
24918 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24919 (gst_date_copy), (gst_value_compare_date),
24920 (gst_value_serialize_date), (gst_value_deserialize_date),
24921 (gst_value_transform_date_string),
24922 (gst_value_transform_string_date), (_gst_value_initialize):
24924 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24925 bunch of utility functions along with a hack that checks that
24926 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24927 is required. Part of the grand scheme in #170777.
24929 2005-09-22 Andy Wingo <wingo@pobox.com>
24931 * gst/gstconfig.h.in: Psych out gtk-doc.
24933 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24935 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24937 * tools/gst-inspect.c (print_element_list): Plug some
24938 inconsequential leaks.
24940 * gst/gstregistry.c (gst_registry_get_default): Doc.
24942 * check/gst/gstplugin.c:
24943 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24944 * gst/gstelementfactory.c (gst_element_factory_create):
24945 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24948 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24949 (gst_plugin_feature_load): Doc, don't eat refs.
24951 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24952 (gst_plugin_list_free): Doc.
24953 (gst_plugin_load_file): Doc updates.
24955 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24956 accessors returning refcounted objects, return a ref.
24958 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24959 accessor for caps. IDEMPOTENCE. Oh yes.
24961 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24963 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24965 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24966 (_gst_debug_register_funcptr):
24967 Add mutex to serialise access to the hash table with
24968 the function pointer => function name string mapping;
24969 make that hash table static scope (#316809).
24971 * gst/registries/.cvsignore:
24972 Remove left-over file.
24974 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24976 * docs/pwg/appendix-porting.xml:
24977 And something about newsegment events and caps-on-buffers to
24978 the porting guide (feel free to improve).
24980 2005-09-21 Andy Wingo <wingo@pobox.com>
24982 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24983 data and event probes on the same pad.
24984 (test_buffer_probe_once): Test that removing probes from within
24985 the probe functions works.
24987 2005-09-21 Andy Wingo <wingo@pobox.com>
24989 * check/gst/gstutils.c: New file.
24990 (test_buffer_probe_n_times): A simple buffer probe test. More to
24993 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24994 have-data::buffer, not have-data.
24995 (gst_pad_add_event_probe): Likewise for have-data::event.
24996 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24997 peer' isn't quite right yet though.
24998 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24999 (gst_pad_remove_data_probe): Change to take the guint handler_id
25000 as their arg, not the function+data, which is more glib-like.
25002 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25003 the signal emission to indicate if the data is a buffer or an
25005 (gst_pad_get_type): Initialize buffer and event quarks.
25006 (gst_pad_class_init): have-data is now a detailed signal, yes it
25009 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25011 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25012 * gst/gstutils.c: (gst_util_set_value_from_string),
25013 (gst_util_set_object_arg):
25014 Don't put functional code in g_return_if_fail() or
25015 g_return_val_if_fail() statements, otherwise things will
25016 break when G_DISABLE_CHECKS is defined during compilation.
25018 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25020 * docs/gst/tmpl/.cvsignore:
25021 * docs/gst/tmpl/gstvalue.sgml:
25024 inlied another one and added some obvious docs
25026 2005-09-21 Wim Taymans <wim@fluendo.com>
25028 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25029 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25030 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25031 (gst_fdsrc_get_property), (gst_fdsrc_create):
25032 * gst/elements/gstfdsrc.h:
25033 Properly implement fdsrc. Removed signal and timeout,
25034 better implemented somewhere else.
25036 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25038 * docs/gst/tmpl/.cvsignore:
25039 * docs/gst/tmpl/gstimplementsinterface.sgml:
25040 * gst/gstinterface.c:
25043 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25045 * docs/gst/gstreamer-sections.txt:
25046 * docs/gst/tmpl/.cvsignore:
25047 * docs/gst/tmpl/gstenumtypes.sgml:
25048 remove obsolete doc file
25050 2005-09-21 David Schleef <ds@schleef.org>
25052 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25053 little beer, fix a little leak.
25055 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25057 * docs/gst/gstreamer-docs.sgml:
25058 * docs/gst/gstreamer-sections.txt:
25059 * docs/gst/tmpl/.cvsignore:
25063 * gst/gstelement.h:
25064 * gst/gstindex.c: (gst_index_class_init):
25066 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25067 (gst_index_factory_class_init), (gst_index_factory_init),
25068 (gst_index_factory_finalize), (gst_index_factory_new),
25069 (gst_index_factory_destroy), (gst_index_factory_find),
25070 (gst_index_factory_create), (gst_index_factory_make):
25071 * gst/gstindexfactory.h:
25072 * gst/gstpluginfeature.c:
25073 * gst/gstpluginfeature.h:
25074 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25075 more docs inlined, splitted gstindex.{c,h}
25077 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25079 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25082 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25084 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25085 Set sync to FALSE by default.
25087 2005-09-20 Wim Taymans <wim@fluendo.com>
25089 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25090 (gst_base_sink_init):
25091 Make sync property settable from subclass.
25093 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25094 (gst_fake_sink_change_state):
25095 Set sync to FALSE by default.
25097 2005-09-20 Wim Taymans <wim@fluendo.com>
25099 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25100 * tools/gst-launch.c: (main):
25101 The timeout handler should have lower priority than the source
25102 so we don't timeout before popping a message with 0 timeout.
25103 Dump error messages after failed state change.
25105 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25107 * tools/gst-inspect.c: (print_element_properties_info):
25110 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25112 * check/gst/gstevent.c:
25113 * gst/elements/gstfakesink.c:
25114 * gst/elements/gstfakesink.h:
25115 remove the sync property from fakesink.
25116 has the side effect of setting sync TRUE
25117 for fakesink, which is a change. Anyone who knows how
25118 to fix this nicely in a GObject-y way, feel free.
25120 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25122 * docs/gst/gstreamer-docs.sgml:
25123 remove probe refsection
25125 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25127 * check/Makefile.am:
25128 disable valgrinding the controller test again
25129 * docs/gst/gstreamer-sections.txt:
25130 update for api-changes
25132 2005-09-20 Wim Taymans <wim@fluendo.com>
25134 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25135 (gst_base_sink_set_property), (gst_base_sink_get_property),
25136 (gst_base_sink_do_sync):
25137 * gst/base/gstbasesink.h:
25138 Added sync property to basesink to disable clock sync.
25140 2005-09-20 Andy Wingo <wingo@pobox.com>
25142 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25143 eating the caller's refcount.
25145 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25146 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25149 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25150 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25151 of GLib 2.8 public, so we can know which refcount to check in
25154 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25155 (gst_object_init): Only set the gst refcount if we're going ahead
25156 with the refcount hack.
25158 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25160 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25161 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25162 more leaks plumbed, added more debug-logging
25166 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25168 * gst/gstmessage.c:
25169 remove include of gstmemchunk.h
25171 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25173 * gst/gstclock.c: (_gst_clock_id_free):
25174 Commit from the Political Party For More Atomic CVS Commits,
25175 so that people don't waste too much of their day fishing
25176 out obvious leaks out of massive commits.
25177 Oh, and fix a pretty damn obvious leak in the memchunk
25180 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25182 * check/Makefile.am:
25183 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25184 plug mem-leak, re-add to valgrindable tests
25186 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25189 unbreak the build for those who have chronic arthritis
25190 and typing "make check" is just too taxing on the hands
25192 2005-09-20 Andy Wingo <wingo@pobox.com>
25194 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25195 really want it out, you should fix plugins at the same time.
25197 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25200 * docs/gst/gstreamer-sections.txt:
25202 added missing symbols to api docs
25203 disable ref-count hack if we have glib >= 2.8
25205 2005-09-19 David Schleef <ds@schleef.org>
25207 * docs/gst/Makefile.am: Ignore a few more internal headers
25208 * docs/gst/gstreamer-docs.sgml: Remove old sections
25209 * docs/gst/gstreamer-sections.txt: Remove old sections
25210 * docs/gst/tmpl/gstobject.sgml: update
25211 * docs/gst/tmpl/gstplugin.sgml: update
25212 * docs/gst/tmpl/gstpluginfeature.sgml: update
25213 * docs/random/ds/0.9-suggested-changes: update.
25214 * gst/Makefile.am: remove memchunk and trashstack, since they're
25216 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25217 * gst/gst.h: don't include some headers
25218 * gst/gstchildproxy.c: add gstmarshal.h
25219 * gst/gstclock.c: Don't use memchunks
25220 * gst/gstminiobject.c: Add some docs
25221 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25222 * gst/gstobject.h: same
25223 * gst/gstplugin.c: include gstmacros.h
25224 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25225 * gst/gstquery.c: don't use memchunks
25226 * gst/gstregistry.c: rename gst_registry_deinit()
25227 * gst/gstregistry.h: same
25229 2005-09-19 David Schleef <ds@schleef.org>
25231 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25232 * docs/libs/gstreamer-libs-sections.txt:
25233 * docs/libs/tmpl/gstgetbits.sgml:
25234 * docs/libs/tmpl/gstputbits.sgml:
25236 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25238 * win32/gstenumtypes.c:
25239 * win32/gstenumtypes.h:
25242 2005-09-19 Wim Taymans <wim@fluendo.com>
25244 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25245 Automatically PAUSE and RESUME a pipeline when a flushing seek
25248 2005-09-19 Andy Wingo <wingo@pobox.com>
25250 * gst/gstregistry.h: Spacing fixen.
25252 2005-09-19 Wim Taymans <wim@fluendo.com>
25254 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25255 Handle state change failure more correctly.
25257 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25259 * check/Makefile.am:
25260 * check/pipelines/cleanup.c: (run_pipeline):
25261 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25263 enable cleanup again after fixing the leak
25265 some more info on docs
25267 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25269 * check/Makefile.am:
25270 re-enable tests now that leaks are plugged
25272 * check/gst/gstbin.c:
25273 * check/gst/gstpipeline.c:
25274 add some more tests while fixing leaks
25275 * common/check.mak:
25276 make sure binaries are uptodate when valgrinding/gdbing
25278 * gst/gstelementfactory.c:
25279 remove a ref too many, and add a FIXME for when we get
25280 round to disposing of classes
25282 fix the refcounting when loading a plugin from a file and
25283 the code pretends that the pointer is the same even though
25284 of course it can change
25285 * gst/gstpluginfeature.c:
25286 unref plugins marked cached (a bit confusing as a name)
25287 as the docs state should be done
25288 various doc additions to explain refcounting
25289 * gst/gstregistry.c:
25290 * gst/gstregistryxml.c:
25293 2005-09-19 Wim Taymans <wim@fluendo.com>
25295 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25296 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25297 (send_messages), (GST_START_TEST), (gstbus_suite):
25298 * check/gst/gstpipeline.c: (GST_START_TEST):
25299 * check/pipelines/cleanup.c: (run_pipeline):
25300 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25302 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25303 (gst_bus_source_check), (gst_bus_source_dispatch),
25304 (gst_bus_create_watch), (gst_bus_add_watch_full),
25305 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25307 * tools/gst-launch.c: (event_loop):
25308 * tools/gst-md5sum.c: (event_loop):
25309 GstBusHandler -> GstBusFunc, return value has the same meaning as
25310 any other GSource (FALSE == remove source).
25311 _add_watch() and _add_watch_full() now take a MessageType mask to
25312 only handle specific types of messages.
25313 _poll() returns the GstMessage instead of the message type to avoid
25315 _have_pending() takes a MessageType mask now too.
25316 Added testsuite for multiple bus watches.
25317 Fix testsuites and applications for new bus API.
25319 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25321 * check/Makefile.am:
25322 mark a bunch of the tests as to fix until we fix them
25324 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25326 * common/check.mak:
25327 use GST_PLUGIN settings for valgrind tests as well, so we're
25328 valgrinding the correct thing
25329 * gst/gst.c: (init_post):
25332 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25334 * gst/gst.c: (init_post), (gst_deinit):
25335 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25336 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25337 * gst/gstindex.c: (gst_index_factory_class_init),
25338 (gst_index_factory_finalize):
25339 * gst/gstobject.c: (gst_object_dispose):
25340 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25341 (gst_plugin_load_file), (gst_plugin_desc_free):
25342 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25343 (gst_plugin_feature_finalize):
25344 * gst/gstregistry.c: (gst_registry_class_init),
25345 (gst_registry_init), (gst_registry_finalize),
25346 (gst_registry_get_default), (gst_registry_deinit):
25347 * gst/gstregistry.h:
25348 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25349 various cleanups and memleak plugging. make valgrind is happy now.
25351 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25353 * common/check.mak:
25354 add a check-valgrind target
25356 2005-09-18 David Schleef <ds@schleef.org>
25358 * tools/gst-inspect.c: Revert the GOption code.
25360 2005-09-17 David Schleef <ds@schleef.org>
25362 * check/Makefile.am: Fix environment variables.
25363 * check/gst/gstplugin.c: Fix for API changes.
25364 * tools/gst-inspect.c: Fix for API changes.
25365 * tools/gst-xmlinspect.c: Fix for API changes.
25366 * gst/gstelementfactory.c:
25369 * gst/gstpluginfeature.c:
25370 * gst/gstpluginfeature.h:
25371 * gst/gstregistry.c:
25372 * gst/gstregistry.h:
25373 * gst/gstregistryxml.c:
25374 * gst/gsttypefind.c:
25375 * gst/gsttypefindfactory.c:
25376 * gst/indexers/gstfileindex.c:
25377 * gst/indexers/gstmemindex.c:
25378 * gst/schedulers/Makefile.am:
25379 Change registry to keep track of both plugins and features,
25380 removing the feature tracking from plugins themselves.
25382 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25384 * check/Makefile.am:
25385 * tools/gst-register.1.in:
25386 remove gst-register
25388 2005-09-15 David Schleef <ds@schleef.org>
25390 * check/gst/gstplugin.c:
25391 * gst/gstelementfactory.c:
25393 * gst/gstpluginfeature.c:
25394 * gst/gstregistry.c:
25395 Getting tired of debugging. Disabled all the unreffing of
25396 plugins and features, which fixes the segfaults, but of
25397 course leaks like crazy. At least playbin works.
25399 2005-09-15 David Schleef <ds@schleef.org>
25401 * check/gst/gstplugin.c: (register_check_elements),
25402 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25404 * gst/elements/gsttypefindelement.c: Fix refcounting.
25405 * gst/gsttypefind.c:
25406 * gst/gsttypefindfactory.c:
25407 * gst/gsttypefindfactory.h:
25409 2005-09-15 David Schleef <ds@schleef.org>
25411 * gst/gstindex.c: get refcounting correct.
25412 * gst/gstregistry.c: Handle the case where a feature/plugin is
25415 2005-09-15 David Schleef <ds@schleef.org>
25417 * check/Makefile.am:
25418 * check/gst/gstplugin.c: Add test
25419 * gst/gstplugin.c: Fix problems noticed by testsuite
25421 * gst/gstregistry.c:
25422 * gst/gstregistry.h:
25424 2005-09-15 David Schleef <ds@schleef.org>
25426 * gst/gstplugin.c: Implement semi-decent recounting and locking
25427 in plugins and plugin features.
25429 * gst/gstpluginfeature.c:
25430 * gst/gstpluginfeature.h:
25431 * gst/gstregistry.c:
25433 2005-09-15 Michael Smith <msmith@fluendo.com>
25435 * gst/gstregistry.c: (gst_registry_get_feature_list):
25436 Implement this. Makes oggdemux work; decodebin still broken.
25438 2005-09-14 David Schleef <ds@schleef.org>
25440 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25442 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25443 * gst/check/Makefile.am:
25444 * libs/gst/controller/Makefile.am:
25445 * libs/gst/dataprotocol/Makefile.am:
25447 2005-09-14 David Schleef <ds@schleef.org>
25449 * configure.ac: Remove getbits library. Nothing uses it, and
25450 it should be in something like liboil if someone did want
25452 * libs/gst/Makefile.am:
25453 * libs/gst/getbits/Makefile.am:
25454 * libs/gst/getbits/gbtest.c:
25455 * libs/gst/getbits/getbits.c:
25456 * libs/gst/getbits/getbits.h:
25457 * libs/gst/getbits/gstgetbits_generic.c:
25458 * libs/gst/getbits/gstgetbits_i386.s:
25459 * libs/gst/getbits/gstgetbits_inl.h:
25461 2005-09-14 David Schleef <ds@schleef.org>
25463 * gst/Makefile.am: Dist glib-compat.h
25465 2005-09-14 David Schleef <ds@schleef.org>
25467 * configure.ac: Remove gst/registries, since it's no longer used.
25468 * gst/registries/Makefile.am:
25469 * gst/registries/gstlibxmlregistry.c:
25470 * gst/registries/gstlibxmlregistry.h:
25471 * gst/registries/gstxmlregistry.c:
25472 * gst/registries/gstxmlregistry.h:
25473 * gst/registries/registrytest.c:
25475 2005-09-14 David Schleef <ds@schleef.org>
25477 * gst/glib-compat.h:
25478 * gst/gstregistryxml.c:
25479 Convergence is near. Seriously.
25481 2005-09-14 David Schleef <ds@schleef.org>
25483 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25484 * gst/glib-compat.h:
25485 Attempt #4 to appease the buildbots.
25487 2005-09-14 David Schleef <ds@schleef.org>
25489 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25492 2005-09-14 David Schleef <ds@schleef.org>
25494 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25497 2005-09-14 David Schleef <ds@schleef.org>
25499 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25502 2005-09-14 David Schleef <ds@schleef.org>
25504 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25505 * gst/glib-compat.h: Add some functions that are in newer versions
25506 of glib than we care to require.
25507 * gst/gstregistryxml.c: Use them.
25509 2005-09-14 David Schleef <ds@schleef.org>
25511 * po/POTFILES.in: remove gst-register.c
25513 2005-09-14 David Schleef <ds@schleef.org>
25515 * docs/gst/gstreamer-docs.sgml:
25516 * docs/gst/gstreamer-sections.txt:
25517 * docs/gst/gstreamer.types:
25518 * docs/gst/tmpl/gstelement.sgml:
25519 * docs/gst/tmpl/gstplugin.sgml:
25520 * docs/gst/tmpl/gstpluginfeature.sgml:
25521 Documentation updates for registry changes.
25523 2005-09-14 David Schleef <ds@schleef.org>
25525 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25526 because we don't require glib-2.8.
25528 2005-09-14 David Schleef <ds@schleef.org>
25530 * gst/gstregistryxml.c: Added. Essentially moved out of the
25531 registries directory.
25533 2005-09-14 David Schleef <ds@schleef.org>
25535 * check/Makefile.am:
25536 * check/generic/states.c:
25540 * gst/gst_private.h:
25541 * gst/gstelementfactory.c:
25546 * gst/gstpluginfeature.c:
25547 * gst/gstpluginfeature.h:
25548 * gst/gstregistry.c:
25549 * gst/gstregistry.h:
25550 * gst/gstregistrypool.c: remove
25551 * gst/gstregistrypool.h: remove
25552 * gst/gsttypefind.c:
25553 * gst/gsttypefindfactory.c:
25555 * tools/Makefile.am:
25556 * tools/gst-compprep.c:
25557 * tools/gst-inspect.c:
25558 * tools/gst-register.c: remove
25559 * tools/gst-xmlinspect.c:
25560 Registry rewrite. Changes registry from being a file created
25561 by a tool into a simple cache file created automatically by
25562 libgstreamer. Removed gst-register (because it's no longer
25563 needed). Remove registry pools, because we only have one
25564 registry implementation (XML). Fix up other subsystems as
25567 2005-09-13 Michael Smith <msmith@fluendo.com>
25569 * gst/gstconfig.h.in:
25570 Don't Use windows linking attributes for MinGW. Fixes #316157
25572 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25574 * gst/gstutils.c: (set_state_async_thread_func),
25575 (gst_element_set_state_async):
25576 Apparently people think it's better if this function doesn't
25577 try to set the state to whatever state was asked for on the first
25578 call to this function for any object. Seriously.
25580 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25582 * check/gst/gstpipeline.c: (GST_START_TEST):
25583 * docs/gst/gstreamer-sections.txt:
25584 * gst/gstutils.c: (set_state_async_thread_func),
25585 (gst_element_set_state_async):
25587 add a "gst_element_set_state_async" method that
25588 sets the state and starts a thread to make sure the state
25589 change completes as best as it can
25591 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25593 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25594 codify design+behaviour in testsuite after discussion
25596 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25598 * docs/gst/tmpl/gstelement.sgml:
25599 * docs/manual/appendix-quotes.xml:
25601 * gst/gstelement.c: (gst_element_set_state):
25604 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25606 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25607 (gst_base_transform_prepare_output_buf),
25608 (gst_base_transform_handle_buffer):
25609 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25610 (gst_capsfilter_prepare_buf):
25611 Remove the requirement for sub-classes to call the parent
25612 implementation of prepare_output_buffer with a wrapper function.
25614 * gst/gsttaglist.h:
25615 * gst/gsttagsetter.h:
25616 Fix #define wrapper
25618 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25620 * docs/gst/gstreamer-sections.txt:
25623 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25625 * docs/gst/gstreamer-sections.txt:
25626 * docs/gst/tmpl/gstelement.sgml:
25627 * docs/gst/tmpl/gstplugin.sgml:
25628 * gst/gstminiobject.c:
25630 docs now stop throwing warnings
25632 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25634 * docs/gst/gstreamer-sections.txt:
25635 * docs/gst/gstreamer.types:
25636 * docs/gst/tmpl/gstpad.sgml:
25637 * docs/gst/tmpl/gsttypes.sgml:
25638 * gst/base/gstadapter.h:
25639 * gst/base/gstbasesink.h:
25640 * gst/base/gstbasesrc.h:
25646 * gst/gstelement.h:
25648 * gst/gstmessage.h:
25650 * gst/gststructure.c:
25651 * gst/registries/gstlibxmlregistry.h:
25652 various documentation fixes
25654 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25656 * docs/gst/gstreamer-sections.txt:
25657 * docs/gst/tmpl/gstvalue.sgml:
25658 rearrange gstvalue section
25659 * gst/gstutils.c: (gst_element_state_get_name):
25661 * gst/gstvalue.c: (_gst_value_initialize):
25665 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25667 * check/gst-libs/controller.c:
25668 Header include fix.
25669 * gst/base/gstbasetransform.c:
25670 (gst_base_transform_default_prepare_buf),
25671 (gst_base_transform_handle_buffer):
25672 * gst/base/gstbasetransform.h:
25673 Some more basetransform changes and fixes to enable sub-classes
25674 that modify buffer metadata only.
25675 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25676 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25677 (gst_capsfilter_prepare_buf):
25678 If the output pad has fixed allowed caps and input buffers
25679 don't have any, set the fixed caps on outgoing buffers.
25681 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25682 * check/elements/identity.c: (GST_START_TEST):
25683 Make the error a little clearer when the test fails because
25684 identity made a copy of the buffer.
25685 * docs/gst/gstreamer-sections.txt:
25686 New symbols in gstbasetransform.h
25687 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25688 (gst_base_transform_init), (gst_base_transform_transform_size),
25689 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25690 (gst_base_transform_default_prepare_buf),
25691 (gst_base_transform_get_unit_size),
25692 (gst_base_transform_buffer_alloc),
25693 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25694 (gst_base_transform_change_state),
25695 (gst_base_transform_set_passthrough),
25696 (gst_base_transform_set_in_place),
25697 (gst_base_transform_is_in_place):
25698 * gst/base/gstbasetransform.h:
25699 Change BaseTransform to separate in_place operate from same_caps
25700 output. in_place implies that the element can perform the transform
25701 on incoming buffers in-place, even if the caps on the output are
25703 Sub-class elements can now implement special buffer allocation
25704 methods for outgoing buffers if they wish to.
25705 Big documentation addition.
25706 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25707 * gst/elements/gstelements.c:
25708 Changes for basetransform modifications.
25709 * gst/elements/Makefile.am:
25710 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25711 Compile fix. Extra debug output.
25713 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25715 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25717 add tests for valid pad naming
25718 * gst/check/gstcheck.c: (gst_check_log_message_func),
25719 (gst_check_log_critical_func):
25721 remove printing of code, it is fragile when the code contains
25722 % and the line number is enough info
25723 * gst/check/gstcheck.h:
25724 * gst/gstpad.c: (gst_pad_template_new):
25727 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25730 say what CHECK flags we use
25731 * docs/libs/gstreamer-libs.types:
25732 * libs/gst/controller/Makefile.am:
25733 * libs/gst/controller/gst-controller.c:
25734 * libs/gst/controller/gst-controller.h:
25735 * libs/gst/controller/gst-helper.c:
25736 * libs/gst/controller/gst-interpolation.c:
25737 * libs/gst/controller/gstcontroller.c:
25738 * libs/gst/controller/gsthelper.c:
25739 * libs/gst/controller/gstinterpolation.c:
25740 * tools/gst-inspect.c: (print_plugin_info):
25741 we don't use dashes in header names
25743 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25745 * check/Makefile.am:
25746 * check/gst/.cvsignore:
25747 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25748 (gst_pipeline_suite), (main):
25749 adding a test for pipelines and state changes
25750 * gst/gstutils.c: (get_state_func):
25752 * gstreamer.spec.in:
25755 2005-09-08 Michael Smith <msmith@fluendo.com>
25757 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25758 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25759 (gst_file_src_is_seekable), (gst_file_src_get_size),
25760 (gst_file_src_start):
25761 * gst/elements/gstfilesrc.h:
25762 Various fixes for unseekable, unmmapable, and non-normal files, so
25763 that fallback to read() rather than mmap() works.
25764 * gst/gstevent.c: (gst_event_new_newsegment):
25765 Allow newsegment events with segment_start == segment_end, as will
25766 correctly happen if you use filesrc on a zero-size file, for
25769 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25771 * gst/gstplugin.c: (gst_plugin_load_file):
25772 Call g_module_close when we don't load the module
25774 * gst/registries/gstlibxmlregistry.c:
25775 (gst_xml_registry_get_property):
25776 Port leak fix from 0.8
25778 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25780 * docs/gst/gstreamer-docs.sgml:
25781 * docs/gst/tmpl/.cvsignore:
25782 * docs/gst/tmpl/gsttrace.sgml:
25783 * docs/gst/tmpl/gsttrashstack.sgml:
25786 * gst/gstelement.h:
25788 * gst/gstmessage.c:
25789 * gst/gstmessage.h:
25792 * gst/gsttaginterface.c:
25793 * gst/gsttaginterface.h:
25794 * gst/gsttaglist.c:
25795 * gst/gsttaglist.h:
25796 * gst/gsttagsetter.c:
25797 * gst/gsttagsetter.h:
25800 * gst/gsttrashstack.c:
25801 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25802 inlined docs for gsttrace, gsttrashstack
25804 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25807 * gst/elements/gstbufferstore.h:
25808 * gst/elements/gsttypefindelement.c:
25809 * gst/elements/gsttypefindelement.h:
25811 * gst/gsttypefind.c:
25812 * gst/gsttypefind.h:
25813 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25814 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25815 (gst_type_find_factory_dispose),
25816 (gst_type_find_factory_unload_thyself),
25817 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25818 (gst_type_find_factory_get_caps),
25819 (gst_type_find_factory_get_extensions),
25820 (gst_type_find_factory_call_function):
25821 * gst/gsttypefindfactory.h:
25822 * gst/registries/gstlibxmlregistry.c:
25823 * gst/registries/gstxmlregistry.c:
25824 splitted gsttypefind into gsttypefind, gsttypefindfactory
25826 2005-09-07 Andy Wingo <wingo@pobox.com>
25828 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25829 condition whereby the pad's task function is entered before the
25830 pad_mode variable was set.
25832 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25834 * gst/gstpad.c: (gst_pad_alloc_buffer):
25835 Catch misbehaving pad_alloc functions that don't
25836 set up caps and do it for them.
25838 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25840 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25841 test for pipe!=NULL
25842 * docs/gst/tmpl/.cvsignore:
25843 * docs/gst/tmpl/gstmemchunk.sgml:
25844 * docs/gst/tmpl/gstparse.sgml:
25845 * docs/gst/tmpl/gsttaglist.sgml:
25846 * docs/gst/tmpl/gsttagsetter.sgml:
25847 * docs/gst/tmpl/gsttypefind.sgml:
25848 * docs/gst/tmpl/gsttypefindfactory.sgml:
25849 * gst/gstmemchunk.c:
25852 * gst/gsttaginterface.c:
25853 * gst/gsttypefind.c:
25854 * gst/gsttypefind.h:
25857 === release 0.9.2 ===
25859 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25864 releasing 0.9.2, "South"
25866 2005-09-05 Andy Wingo <wingo@pobox.com>
25868 * gst/registries/gstxmlregistry.h:
25869 * gst/registries/gstxmlregistry.c: Um... resurrect...
25871 * gst/registries/gstxmlregistry.h:
25872 * gst/registries/gstxmlregistry.c: and update to newer API.
25873 Incidentally they should be a bit faster now that they don't have
25876 2005-09-05 Andy Wingo <wingo@pobox.com>
25878 * gst/registries/gstxmlregistry.h:
25879 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25880 replaced by the libxml registry a while back
25882 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25884 * docs/gst/tmpl/gstplugin.sgml:
25885 * gst/elements/gstelements.c:
25887 * gst/gstplugin.c: (gst_plugin_register_func),
25888 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25889 (gst_plugin_get_source):
25891 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25892 (gst_xml_registry_save_plugin):
25893 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25894 (gst_xml_registry_save_plugin):
25895 * tools/gst-inspect.c: (print_plugin_info):
25896 add a "source" plugin description field, to represent the source
25897 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25898 will set it to PACKAGE, which is automake's idea of the name of
25899 the source project.
25901 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25906 * docs/Makefile.am:
25907 * docs/faq/Makefile.am:
25908 * docs/gst/tmpl/gstelement.sgml:
25909 * docs/gst/tmpl/gsttypes.sgml:
25910 * docs/htmlinstall.mak:
25911 * docs/manual/Makefile.am:
25912 * docs/pwg/Makefile.am:
25913 reorganize doc build a little
25914 split out docbook and gtk-doc stuff
25915 have two separate --enable's and enable them through autogen
25916 but disable by default in configure (to be similar to other
25918 * gstreamer.spec.in:
25919 clean up docs install
25937 translation updates
25939 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25941 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25944 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25945 (gst_fake_sink_change_state):
25946 Make state change function thread-safe.
25948 * gst/gstpad.c: (gst_pad_alloc_buffer):
25949 Set offset on generic buffer allocated by fallback.
25951 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25953 * docs/gst/gstreamer-sections.txt:
25954 * docs/gst/tmpl/gstelement.sgml:
25956 * libs/gst/controller/gst-controller.c:
25957 (gst_controlled_property_set_interpolation_mode),
25958 (gst_controlled_property_new),
25959 (gst_controller_find_controlled_property):
25960 run the wingo-magic script against the docs
25962 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25964 * docs/gst/gstreamer-docs.sgml:
25965 * docs/gst/gstreamer-sections.txt:
25966 * docs/gst/tmpl/.cvsignore:
25967 * docs/gst/tmpl/gstelementdetails.sgml:
25968 * docs/gst/tmpl/gstelementfactory.sgml:
25971 * gst/gstelementfactory.c:
25972 * gst/gstelementfactory.h:
25973 merged elementdetails docs into elementfactory docs
25976 2005-09-02 Andy Wingo <wingo@pobox.com>
25978 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25979 consider this enum an enum and not a flags.
25981 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25983 * docs/gst/gstreamer-docs.sgml:
25984 * docs/gst/tmpl/.cvsignore:
25985 * docs/gst/tmpl/gstghostpad.sgml:
25986 * docs/gst/tmpl/gstiterator.sgml:
25987 * docs/gst/tmpl/gstmacros.sgml:
25988 * docs/gst/tmpl/gstrealpad.sgml:
25989 * docs/gst/tmpl/gstregistry.sgml:
25990 * docs/gst/tmpl/gstregistrypool.sgml:
25991 * docs/gst/tmpl/gststructure.sgml:
25992 * docs/gst/tmpl/gstsystemclock.sgml:
25993 * docs/gst/tmpl/gsttrace.sgml:
25994 * gst/gstghostpad.c:
25996 * gst/gstmemchunk.c:
25997 * gst/gstmemchunk.h:
25999 * gst/gstregistry.c:
26000 * gst/gstregistrypool.c:
26001 * gst/gststructure.c:
26002 * gst/gstsystemclock.c:
26005 2005-09-02 Andy Wingo <wingo@pobox.com>
26007 * gst/gstelement.h (GstState): Renamed from GstElementState,
26008 changed to be a normal enum instead of flags.
26009 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26010 munged to be GST_STATE_CHANGE_*.
26011 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26012 work with the new state representation.
26013 (GstStateChange): New enumeration of possible state transitions.
26014 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26015 (GstElementClass::change_state): Pass the GstStateChange along as
26016 an argument. Helps language bindings, so they don't have to use
26017 tricky lock-needing macros like GST_STATE_CHANGE ().
26019 * scripts/update-states (file): New script. Run it on a file to
26020 update it for state naming and API changes. Updates files in
26023 * All files updated for the new API.
26025 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26027 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26028 * gst/gstutils.c: (gst_util_set_value_from_string),
26029 (gst_util_set_object_arg):
26030 fix a bunch of unchecked return values
26031 * tools/gst-complete.c: (main):
26032 * gstreamer.spec.in:
26035 2005-09-01 Wim Taymans <wim@fluendo.com>
26037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26038 (gst_base_sink_event), (gst_base_sink_do_sync),
26039 (gst_base_sink_handle_event):
26040 * gst/base/gstbasesink.h:
26041 Handle newsegments more correctly.
26046 * gst/gstevent.c: (gst_event_new_newsegment):
26047 A newsegment cannot have a start_time of -1
26049 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26051 * win32/gstenumtypes.c:
26052 * win32/gstenumtypes.h:
26055 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26057 * libs/gst/controller/gst-controller.c:
26058 (gst_controlled_property_set_interpolation_mode),
26059 (gst_controlled_property_new):
26060 fixed boolean again
26062 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26064 * docs/faq/gst-uninstalled:
26069 * gst/gstutils.c: (gst_element_link_filtered):
26071 add gst_element_link_filtered
26073 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26075 * docs/gst/gstreamer-docs.sgml:
26076 * docs/gst/gstreamer-sections.txt:
26077 * docs/gst/tmpl/.cvsignore:
26078 * docs/gst/tmpl/gsterror.sgml:
26079 * docs/gst/tmpl/gstfilter.sgml:
26080 * docs/gst/tmpl/gsturihandler.sgml:
26081 * docs/gst/tmpl/gsturitype.sgml:
26082 * docs/gst/tmpl/gstutils.sgml:
26083 * docs/gst/tmpl/gstxml.sgml:
26088 * gst/gsturitype.c:
26091 inlined more docs, fixed double id-ref
26093 2005-08-31 Wim Taymans <wim@fluendo.com>
26095 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26096 (gst_base_transform_handle_buffer):
26097 Passthrough elements don't need the caps as they don't care.
26099 2005-08-31 Wim Taymans <wim@fluendo.com>
26101 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26102 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26103 Don't leak refcounts on buffers.
26105 2005-08-31 Wim Taymans <wim@fluendo.com>
26107 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26108 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26109 (gst_base_transform_chain), (gst_base_transform_change_state):
26110 * gst/base/gstbasetransform.h:
26111 Handle the case where we are not negotiated more gracefully.
26113 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26115 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26116 (gst_file_src_map_region):
26117 Set READONLY flag on mmap'ed buffers, otherwise
26118 gst_buffer_make_writable() won't work properly (#314708).
26120 2005-08-31 Wim Taymans <wim@fluendo.com>
26122 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26123 passthrough elements can even do inplace on non writable
26124 buffers (as they don't touch them).
26126 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26128 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26129 (gst_test_mono_source_set_property),
26130 (gst_test_mono_source_class_init), (GST_START_TEST),
26131 (gst_controller_suite):
26132 more tests (hehe I have the most)
26134 describe popping messages whenusing mulltiple sources
26135 * libs/gst/controller/gst-controller.c:
26136 (gst_controlled_property_set_interpolation_mode),
26137 (gst_controlled_property_new):
26138 * libs/gst/controller/gst-controller.h:
26139 * libs/gst/controller/gst-interpolation.c:
26140 implement boolean properties
26142 2005-08-31 Wim Taymans <wim@fluendo.com>
26144 * gst/gstminiobject.c: (gst_mini_object_ref):
26145 Cannot assert that the refcount has to be positive
26146 since a disposed object can be resurrected.
26148 2005-08-31 Wim Taymans <wim@fluendo.com>
26150 * gst/gstpad.c: (gst_pad_init):
26151 Revert change, need to first fix badly behaving
26154 2005-08-30 Wim Taymans <wim@fluendo.com>
26156 * check/elements/fakesrc.c: (setup_fakesrc):
26157 * check/elements/identity.c: (setup_identity):
26158 Activate pads before using them.
26160 2005-08-30 Wim Taymans <wim@fluendo.com>
26162 * gst/base/gstadapter.c: (gst_adapter_flush):
26163 Flushing out 0 bytes is ok for this function.
26165 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26166 no newsegment gives a warning and sets the start/stop to
26169 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26170 (gst_base_transform_set_passthrough):
26173 * gst/gstminiobject.c: (gst_mini_object_ref):
26174 Check refcount here too.
26176 * gst/gstpad.c: (gst_pad_init):
26177 Pads are initially flushing and refusing data.
26179 * gst/gstutils.c: (gst_element_link_pads_filtered):
26180 When adding a capsfilter element make sure it has the
26181 same state as the parent bin.
26183 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26185 * docs/gst/tmpl/.cvsignore:
26186 * docs/gst/tmpl/gstformat.sgml:
26187 * docs/gst/tmpl/gstversion.sgml:
26191 * gst/gstversion.h.in:
26192 more docs and two more inlined
26194 2005-08-30 Wim Taymans <wim@fluendo.com>
26196 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26197 Don't sync to clock.
26199 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26201 * docs/gst/gstreamer-sections.txt:
26202 ultral33t func10ns deserve to appear in the docs actually
26203 * docs/gst/tmpl/.cvsignore:
26204 * docs/gst/tmpl/gstcompat.sgml:
26205 * docs/gst/tmpl/gstconfig.sgml:
26206 * gst/check/gstcheck.c:
26208 * gst/gstconfig.h.in:
26211 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26213 * docs/gst/tmpl/.cvsignore:
26214 * docs/gst/tmpl/gstquery.sgml:
26215 * docs/gst/tmpl/gstutils.sgml:
26218 inlined and extended docs
26220 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26222 * check/gst-libs/controller.c: (GST_START_TEST),
26223 (gst_controller_suite):
26225 * docs/gst/tmpl/gstutils.sgml:
26226 * docs/libs/gstreamer-libs-sections.txt:
26227 * docs/libs/tmpl/gstdataprotocol.sgml:
26229 * examples/controller/audio-example.c: (main):
26230 controller example works now
26233 * tools/gst-inspect.c: (print_element_properties_info):
26234 show param spec flags
26236 2005-08-29 Andy Wingo <wingo@pobox.com>
26238 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26240 2005-08-28 Andy Wingo <wingo@pobox.com>
26242 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26243 as having two arguments instead of just one. Allows superclasses
26244 to access information on subclasses -- see the terrible for() loop
26245 in gtype.c:g_type_create_instance for the reason why. All callers
26248 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26250 * docs/design/part-messages.txt:
26252 * docs/gst/tmpl/.cvsignore:
26253 * docs/gst/tmpl/gstcaps.sgml:
26254 * docs/gst/tmpl/gstclock.sgml:
26260 * gst/gstmessage.c:
26261 added descriptions for bus and message
26262 inline caps and clock docs
26264 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26266 * gst/gstmessage.c:
26267 * gst/gstmessage.h:
26270 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26272 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26275 2005-08-26 Andy Wingo <wingo@pobox.com>
26277 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26278 element_set_state's return val.
26279 (test_2_elements): Add test that's been disabled for months.
26281 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26282 can-activate-pull properties.
26284 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26285 can-activate-pull properties. Implement is_seekable so fakesrc can
26286 operate in pull mode.
26288 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26290 (gst_base_sink_activate, gst_base_sink_activate_pull)
26291 (gst_base_sink_activate_push): Make activation mode choosing work.
26293 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26294 is right. Make pull mode work. Post an eos before pausing in pull
26296 (gst_base_sink_change_state): Pay attention to the core's
26297 change_state() return val.
26299 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26300 has-getrange properties. Cleanups.
26302 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26303 has_getrange and replace with can_activate_pull and
26306 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26307 locking comments. Remove has_loop, has_chain and replace with
26308 can_activate_pull and can_activate_push.
26310 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26313 * examples/Makefile.am:
26314 * examples/metadata/Makefile.am:
26315 * examples/metadata/read-metadata.c: (message_loop),
26316 (have_pad_handler), (make_pipeline), (print_tag), (main):
26317 Add metadata reading example that loops over a list of filenames,
26318 dumping any tags found.
26320 * gst/gstbus.c: (gst_bus_dispose):
26321 * gst/gstelement.c: (gst_element_dispose):
26322 Release a few potentially-held references in dispose.
26324 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26326 * docs/gst/tmpl/gstminiobject.sgml:
26327 do *not* add tmpl/*.sgml files to CVS!
26329 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26331 * libs/gst/bytestream/.cvsignore:
26332 * libs/gst/bytestream/Makefile.am:
26333 * libs/gst/bytestream/adapter.c:
26334 * libs/gst/bytestream/adapter.h:
26335 * libs/gst/bytestream/bytestream.c:
26336 * libs/gst/bytestream/bytestream.h:
26337 * libs/gst/bytestream/filepad.c:
26338 * libs/gst/bytestream/filepad.h:
26339 removing obsolete files
26341 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26343 * docs/gst/gstreamer-docs.sgml:
26344 * docs/libs/gstreamer-libs-docs.sgml:
26345 disabed additional index entries again, as this makes docs-gen just
26346 slow and they aren't useful yet
26347 * docs/libs/gstreamer-libs-sections.txt:
26348 little -section.txt cleanup for libs
26350 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26353 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26354 fix up some debugging
26355 (gst_base_transform_get_unit_size),
26356 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26357 (gst_base_transform_handle_buffer):
26358 * gst/base/gstbasetransform.h:
26359 handle and store timed NEWSEGMENT events so that subclasses that
26360 calculate time by counting samples have a segment_start time they
26361 need to add to their timestamps - see audioresample
26363 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26366 removed ';' from the end of macro defs
26367 * docs/gst/gstreamer-docs.sgml:
26368 * docs/gst/gstreamer-sections.txt:
26369 * docs/gst/tmpl/.cvsignore:
26371 * gst/gstelement.c: (gst_element_class_init),
26372 (gst_element_set_state), (activate_pads),
26373 (gst_element_save_thyself):
26374 * gst/gstevent.c: (gst_event_new_newsegment):
26376 * gst/gstiterator.c:
26377 * gst/gstiterator.h:
26380 * gst/gstutils.c: (gst_pad_query_convert):
26382 fixed parameter name mismatches between source, header and docs
26383 added some more docs, resolved the last batch of unused elements in
26384 docs (now someone needs to doc them)
26386 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26388 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26389 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26390 don't walk through the plugins backwards. Where is all this
26391 reversed logic coming from ?
26393 2005-08-25 Wim Taymans <wim@fluendo.com>
26395 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26396 (gst_base_transform_transform_size),
26397 (gst_base_transform_configure_caps),
26398 (gst_base_transform_get_unit_size),
26399 (gst_base_transform_buffer_alloc),
26400 (gst_base_transform_change_state):
26401 * gst/base/gstbasetransform.h:
26402 Cache caps unit_size.
26403 Make sure we cannot negotiate up and downstream at the
26406 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26408 * gst/gst.c: (init_pre), (init_post):
26409 register the installed plugin path after the env var
26410 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26411 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26412 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26413 directories, so the tests can prefer uninstalled over installed
26415 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26417 * gst/base/gstbasetransform.h:
26422 2005-08-25 Wim Taymans <wim@fluendo.com>
26424 * gst/gstbin.c: (bin_bus_handler):
26425 Be a bit more conservative about the posted message.
26427 * gst/gstbus.c: (gst_bus_post):
26428 Some cleanups, warn wrong return values.
26430 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26432 * check/gst/gstbin.c: (GST_START_TEST):
26433 * gst/gstbin.c: (bin_bus_handler):
26434 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26435 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26436 (gst_message_new_warning), (gst_message_new_tag),
26437 (gst_message_new_state_changed), (gst_message_new_segment_start),
26438 (gst_message_new_segment_done), (gst_message_new_custom):
26439 * gst/gstmessage.h:
26440 * tools/gst-launch.c: (event_loop):
26441 * tools/gst-md5sum.c: (event_loop):
26442 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26444 2005-08-25 Wim Taymans <wim@fluendo.com>
26446 * check/generic/states.c: (GST_START_TEST):
26447 Cleanup can be done at the end.
26449 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26450 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26451 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26452 Oh boy.. Thanks for finding this, Thomas.
26454 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26456 * docs/gst/gstreamer.types:
26457 added missing types
26459 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26461 * docs/gst/gstreamer-docs.sgml:
26462 * docs/gst/gstreamer-sections.txt:
26463 * docs/gst/tmpl/.cvsignore:
26465 * gst/gstiterator.c:
26467 * gst/registries/gstxmlregistry.h:
26468 added missing classes and symbols (123 more to go)
26469 removed removed symbols from section file
26470 fixed many doc-comments
26472 2005-08-24 Wim Taymans <wim@fluendo.com>
26474 * check/generic/states.c: (GST_START_TEST):
26475 Make sure all tasks are stopped.
26477 * check/gst/gstbin.c: (GST_START_TEST):
26478 Unref after usage for proper valgrinding.
26480 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26481 Really wait for the task to stop before destroying the
26484 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26485 (gst_queue_src_activate_push):
26486 Small cleanups. Don't stop the task when we did not start
26489 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26490 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26491 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26494 Protect the stream lock with the object lock.
26495 Disallow setting the stream lock when running.
26496 Add cleanup_all to wait for the threadpool to finish.
26497 Remove code to autoallocate a mutex if none was provided.
26498 Add _join() to wait for a task to stop.
26499 Protect the thread pool with a global lock.
26501 2005-08-24 Wim Taymans <wim@fluendo.com>
26503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26504 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26505 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26506 * gst/base/gstbasesink.h:
26507 Handle newsegment events correctly.
26508 Drop buffers out of the segment range.
26510 2005-08-22 Andy Wingo <wingo@pobox.com>
26512 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26513 macro, implements an interface and gstimplementsinterface for a
26516 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26518 * check/Makefile.am:
26519 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26520 add a test that does a bunch of state changes on elements
26521 needs some fixing for valgrind
26522 * check/states/sinks.c: (gst_object_suite):
26525 add prototype for gst_caps_is_equal_fixed
26527 * gst/gstregistrypool.c:
26530 2005-08-24 Andy Wingo <wingo@pobox.com>
26532 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26533 convert a negative value. Doesn't make much sense. Mostly this is
26534 here to force callers to ensure -1 maps to -1.
26536 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26538 * docs/pwg/advanced-types.xml:
26539 Well done to Michael for catching my deliberate introduction
26540 of this spelling mistake.
26541 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26542 * gst/gstelement.h:
26543 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26544 unlink pads before removing the element from the bin.
26546 2005-08-24 Andy Wingo <wingo@pobox.com>
26548 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26549 the same thing as GST_DEBUG=*:4.
26550 (parse_debug_level, parse_debug_category): New helper parsers.
26552 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26554 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26555 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26556 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26557 (gst_base_transform_buffer_alloc),
26558 (gst_base_transform_handle_buffer):
26559 use gboolean return values and pointers to size so we can use the
26560 full GST_BUFFER_SIZE range (guint) for buffer sizes
26561 use GstPadDirection for transform_caps
26562 * gst/base/gstbasetransform.h:
26563 rename get_size to get_unit_size since that's what it is
26564 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26565 use GstPadDirection for transform_caps
26566 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26568 cleanup and debugging
26570 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26572 * gst/gstelement.c: (gst_element_class_init),
26573 (gst_element_set_state), (activate_pads),
26574 (gst_element_save_thyself):
26575 * tools/gst-compprep.c: (main):
26576 * tools/gst-inspect.c: (print_element_properties_info):
26577 * tools/gst-xmlinspect.c: (print_element_properties):
26578 Fixed long standing mem-leak
26580 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26582 * check/gst/gstbin.c: (GST_START_TEST):
26583 * gst/gstbin.c: (bin_bus_handler):
26584 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26585 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26586 (gst_message_new_warning), (gst_message_new_tag),
26587 (gst_message_new_state_changed), (gst_message_new_segment_start),
26588 (gst_message_new_segment_done), (gst_message_new_custom):
26589 * gst/gstmessage.h:
26590 * tools/gst-launch.c: (event_loop):
26591 * tools/gst-md5sum.c: (event_loop):
26592 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26593 that applications can sensibly post custom messages with references
26594 to their own objects.
26596 2005-08-24 Andy Wingo <wingo@pobox.com>
26598 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26601 2005-08-24 Wim Taymans <wim@fluendo.com>
26603 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26604 (gst_base_transform_transform_caps),
26605 (gst_base_transform_transform_size),
26606 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26607 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26608 (gst_base_transform_handle_buffer):
26609 * gst/base/gstbasetransform.h:
26610 Many fixes and new features added by Thomas. Can now also do
26611 transforms with variable sizes and a custom fixate_caps function.
26613 2005-08-24 Wim Taymans <wim@fluendo.com>
26615 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26619 Cast to ClockTime before formatting to time.
26624 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26626 * check/gst-libs/controller.c: (GST_START_TEST),
26627 (gst_controller_suite):
26628 * docs/gst/tmpl/gstcaps.sgml:
26629 * docs/gst/tmpl/gstghostpad.sgml:
26630 * docs/gst/tmpl/gstquery.sgml:
26631 * docs/gst/tmpl/gstutils.sgml:
26632 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26633 (gst_object_sink_values), (gst_object_get_value_arrays),
26634 (gst_object_get_value_array):
26635 gracefully handle helper method calls to objects that are not beeing
26636 controlled, added test case for that
26638 2005-08-23 Wim Taymans <wim@fluendo.com>
26640 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26641 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26642 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26643 (gst_event_parse_qos), (gst_event_new_seek),
26644 (gst_event_parse_seek):
26646 Some more debugging output and doc cleanups.
26648 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26649 Fix possible deadlock.
26651 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26653 * docs/gst/gstreamer-docs.sgml:
26654 * docs/gst/gstreamer-sections.txt:
26655 * docs/gst/gstreamer.types:
26656 * docs/gst/tmpl/.cvsignore:
26659 * gst/gstelement.c:
26661 added 100 symbols from gstreamer-unused.txt to the right sections
26662 fixed more broken comments
26663 added GstBus to docs
26665 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26667 * docs/gst/gstreamer-sections.txt:
26668 * docs/gst/tmpl/.cvsignore:
26669 * docs/gst/tmpl/gstbin.sgml:
26670 * docs/gst/tmpl/gstbuffer.sgml:
26671 * gst/base/gstbasesrc.c:
26672 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26675 * tools/gst-launch.1.in:
26676 inlined more doc comments, added missing comments and fixed comments
26679 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26681 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26685 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26687 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26688 * gst/gststructure.h:
26689 add a fixate function for booleans; add a FIXME that these func
26690 names should probably be gst_structure_fixate_*
26692 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26694 * docs/gst/gstreamer-docs.sgml:
26695 * docs/gst/gstreamer-sections.txt:
26697 * gst/gstbin.c: (gst_bin_get_type),
26698 (gst_bin_child_proxy_get_child_by_index),
26699 (gst_bin_child_proxy_get_children_count),
26700 (gst_bin_child_proxy_init):
26701 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26702 (gst_child_proxy_get_child_by_index),
26703 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26704 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26705 (gst_child_proxy_get), (gst_child_proxy_set_property),
26706 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26707 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26708 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26709 * gst/gstchildproxy.h:
26710 * gst/parse/grammar.y:
26711 * tools/gst-inspect.c: (print_interfaces),
26712 (print_element_properties_info), (print_element_info):
26713 ported gstchildproxy over from 0.8
26714 ported gst-inspect fixes and enhancements over from 0.8
26716 2005-08-22 Wim Taymans <wim@fluendo.com>
26718 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26719 (gst_base_transform_handle_buffer):
26720 Also call the transform function if we have ANY caps.
26722 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26725 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26727 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26728 Don't pretend to handle seek events if the source is not seekable
26730 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26732 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26733 Remove extra parameter to debug output
26735 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26736 (gst_base_src_do_seek), (gst_base_src_activate_push):
26737 Fix seek event handling.
26739 * gst/gstpipeline.c: (gst_pipeline_change_state):
26740 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26741 (gst_queue_src_activate_push):
26742 Don't start the src pad task on FLUSH_STOP if the pad
26746 2005-08-22 Wim Taymans <wim@fluendo.com>
26748 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26749 Added check for gst_static_caps_get() refcounting.
26751 2005-08-22 Wim Taymans <wim@fluendo.com>
26753 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26754 Make _static_caps_get() refcounting sane.
26756 * gst/gstelement.c: (gst_element_set_state):
26757 Add g_return_val_if_fail() to protect against segfaults.
26759 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26761 * docs/gst/tmpl/gstevent.sgml:
26764 inlined remaining docs, added missing doc comments
26766 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26768 * check/gst/gstbin.c: (GST_START_TEST):
26769 since we don't know when preroll is done, use refcount range
26771 * gst/check/gstcheck.h:
26772 add macro for checking refcount range
26774 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26776 * check/Makefile.am:
26777 clean up environment for when registry gets built versus
26778 when actual tests are run; valgrind seems to not report
26779 leaks if GST_PLUGIN_PATH is set to some specific values
26780 * check/gst/gstbin.c: (GST_START_TEST):
26781 add more refcounting checks; maybe this exposes a
26783 * common/check.mak:
26784 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26785 * gst/check/gstcheck.h:
26786 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26787 (gst_bin_change_state):
26788 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26789 add/fix debugging/whitespace
26791 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26793 * check/gst/gstevent.c: (event_probe), (test_event),
26795 Er, don't call gst_bin_watch_for_state_change you idiot.
26797 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26799 * check/Makefile.am:
26800 Use CHECK_CFLAGS and CHECK_LIBS
26801 * check/gst/gstevent.c: (event_probe), (test_event),
26804 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26805 (gst_base_src_start), (gst_base_src_stop),
26806 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26807 (gst_base_src_change_state):
26808 Sprinkle gst_base_src_stop liberally around error paths to fix
26809 problems reusing a source after failed state changes.
26810 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26811 (helper_find_suggest), (gst_type_find_helper):
26812 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26814 * docs/gst/tmpl/gstevent.sgml:
26815 Migrate part of the docs from the SGML file. Wait for ensonic to
26816 tell me how I did it wrong ;)
26817 * tools/gst-typefind.c: (main):
26818 Extra robustness to state changes between files.
26820 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26822 * check/Makefile.am:
26823 don't valgrind the controller test - it's leaking - Stefan, HELP
26824 * gst/check/gstcheck.c: (gst_check_message_error),
26825 (gst_check_chain_func), (gst_check_setup_element),
26826 (gst_check_teardown_element), (gst_check_setup_src_pad),
26827 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26828 (gst_check_teardown_sink_pad):
26829 * gst/check/gstcheck.h:
26830 add a bunch of methods to set up elements, and src and sink pads
26831 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26832 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26835 * gst/gstmessage.c:
26837 whitespace/doc fixes
26839 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26841 * gst/gstelement.h:
26842 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26843 be handled by the application and not always printed as well
26845 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26847 * check/Makefile.am:
26849 * gst/check/gstcheck.c: (gst_check_message_error):
26850 * gst/check/gstcheck.h:
26851 add a fail_unless_equals_int
26852 add fail_unless for error messages
26854 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26856 * check/Makefile.am:
26858 * common/Makefile.am:
26859 * common/check.mak:
26861 factor out some of the common stuff so we can use it
26863 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26865 * check/Makefile.am:
26866 * check/gst/gstiterator.c: (GST_START_TEST):
26867 * check/gst/gstsystemclock.c: (GST_START_TEST),
26868 (gst_systemclock_suite):
26869 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26871 valgrind more tests
26873 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26875 * check/elements/.cvsignore:
26876 * check/elements/gstfakesrc.c:
26877 rename to name of element
26878 * check/elements/identity.c: (chain_func), (event_func),
26879 (setup_identity), (cleanup_identity), (GST_START_TEST),
26880 (identity_suite), (main):
26881 add a test for identity
26882 * check/Makefile.am:
26883 * pkgconfig/Makefile.am:
26884 * pkgconfig/gstreamer-check.pc.in:
26885 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26889 move the check stuff to a library that gets installed
26890 * check/gst-libs/controller.c: (GST_START_TEST):
26891 * check/gst-libs/gdp.c:
26892 * check/gst/gst.c: (GST_START_TEST):
26893 * check/gst/gstbin.c:
26894 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26895 * check/gst/gstbus.c:
26896 * check/gst/gstcaps.c: (GST_START_TEST):
26897 * check/gst/gstelement.c:
26898 * check/gst/gstghostpad.c:
26899 * check/gst/gstiterator.c:
26900 * check/gst/gstmessage.c:
26901 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26902 * check/gst/gstobject.c:
26903 * check/gst/gstpad.c: (GST_START_TEST):
26904 * check/gst/gststructure.c: (GST_START_TEST):
26905 * check/gst/gstsystemclock.c: (GST_START_TEST),
26906 (gst_systemclock_suite):
26907 * check/gst/gsttag.c: (gst_tag_suite):
26908 * check/gst/gstvalue.c:
26909 * check/pipelines/cleanup.c:
26910 * check/pipelines/simple_launch_lines.c:
26911 * check/states/sinks.c:
26912 change include statement
26914 * docs/gst/gstreamer-sections.txt:
26915 * docs/gst/tmpl/gstpad.sgml:
26916 document more pad stuff
26917 * gst/gstminiobject.c: (gst_mini_object_ref),
26918 (gst_mini_object_unref):
26921 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26923 * docs/gst/tmpl/gst.sgml:
26925 eliminate another tmpl file, fix spelling in the long-description
26927 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26929 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26930 (test_event), (timediff), (gstevents_suite):
26931 Should fix build on 64-bit arch's
26933 2005-08-18 Andy Wingo <wingo@pobox.com>
26935 Make sure that when a pipeline goes to PLAYING, that data has
26936 actually hit the sink.
26938 * check/states/sinks.c (test_sink): A sink that doesn't get any
26939 data shouldn't return SUCCESS for going to either PLAYING or
26940 PAUSED. Test also the return values on the way back down.
26942 * gst/gstelement.c (gst_element_set_state): When changing the
26943 state of an element currently changing state asynchronously, go to
26944 lost-state after commiting the pending state. Makes future calls
26945 to get_state continue to return ASYNC.
26947 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26948 ASYNC when going to PLAYING if we still don't have preroll, as can
26949 happen with live sources.
26951 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26953 * docs/pwg/advanced-types.xml:
26954 Hack long paragraph into 2 chunks as a workaround for buggy
26955 jadetex version in sid and breezy that loops infinitely and
26958 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26960 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26961 (test_event), (timediff), (gstevents_suite):
26962 Provide more error margin in clock measurements to allow for
26963 g_get_current_time inaccuracies.
26965 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26967 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26968 (test_event), (timediff), (gstevents_suite):
26969 Fix error message output so I might be able to tell why the
26970 test works here but fails on the build farm.
26972 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26974 * check/Makefile.am:
26975 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26976 (test_event), (timediff), (gstevents_suite), (main):
26979 * docs/design/part-seeking.txt:
26980 Spelling correction
26982 * docs/gst/tmpl/gstevent.sgml:
26983 * docs/gst/tmpl/gstfakesrc.sgml:
26986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26987 Treat a buffer-without-newsegment the same as a receiving
26988 a newsegment not in time format, and disable syncing to the clock
26991 * gst/gstbus.c: (gst_bus_set_sync_handler):
26992 Assert if anyone tries to replace the existing sync_handler for bus,
26993 as only the owner should be setting it.
26996 Have a fixed set of custom event enums with events identified by
26997 their structure name (as in 0.8), rather than a free-for-all
26998 allowing collisions between enum values from different plugins.
27000 * gst/gstpad.c: (gst_pad_class_init):
27003 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27004 Handle out-of-band downstream events from the sending thread.
27006 2005-08-17 Andy Wingo <wingo@pobox.com>
27008 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27009 play-timeout==0 to mean no timeout at all. In that case, don't
27010 bother with a get_state or a warning, just return directly, even
27013 * gst/base/gstbasetransform.c: Debug changes.
27016 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27017 ensure bins post state change messages. A bit of a hack but I can't
27018 think of a way to avoid it.
27020 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27022 2005-08-16 Andy Wingo <wingo@pobox.com>
27024 * gst/base/gstadapter.h:
27025 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27026 peek() but you own the data. Not terribly efficient atm.
27028 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27030 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27031 (gst_element_found_tags):
27033 Add two utility functions for tag handling.
27035 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27037 * docs/manual/advanced-dataaccess.xml:
27038 * docs/manual/basics-helloworld.xml:
27039 Fix docs to use _bin_add() before _link(), which fixes the examples
27040 with recent core versions (reported by Madhan Raj M
27041 <raj_madan@rediffmail.com>, #313199).
27043 2005-08-16 Wim Taymans <wim@fluendo.com>
27045 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27046 Added subtract checks.
27048 * docs/design/part-events.txt:
27049 Some more docs about newsegment
27051 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27054 * gst/gstcaps.c: (gst_caps_to_string):
27055 Add comments, cleanups.
27057 * gst/gstelement.c: (gst_element_save_thyself):
27060 * gst/gstvalue.c: (gst_value_collect_int_range),
27061 (gst_string_unwrap), (gst_value_union_int_int_range),
27062 (gst_value_union_int_range_int_range),
27063 (gst_value_intersect_int_int_range),
27064 (gst_value_intersect_int_range_int_range),
27065 (gst_value_intersect_double_double_range),
27066 (gst_value_intersect_double_range_double_range),
27067 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27068 (gst_value_subtract_int_range_int),
27069 (gst_value_subtract_double_range_double),
27070 (gst_value_subtract_double_range_double_range),
27071 (gst_value_subtract_from_list), (gst_value_subtract_list),
27072 (gst_value_can_compare), (gst_value_compare_fraction):
27073 Cleanups, add comments, remove unneeded asserts.
27075 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27077 * tools/gst-launch.c: (event_loop):
27078 don't convert NULL structures to strings
27080 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27082 * docs/gst/gstreamer-sections.txt:
27083 made some defines private
27084 * docs/gst/tmpl/gstconfig.sgml:
27085 * docs/gst/tmpl/gstqueue.sgml:
27086 * docs/gst/tmpl/gsttaglist.sgml:
27087 * docs/gst/tmpl/gsttypes.sgml:
27088 * docs/gst/tmpl/gstutils.sgml:
27089 * docs/pwg/appendix-porting.xml:
27090 * gst/base/gstbasesink.h:
27091 * gst/base/gstbasesrc.c:
27092 * gst/base/gstbasesrc.h:
27093 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27094 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27095 * gst/gstelement.c: (gst_element_class_init):
27096 * gst/gstpad.c: (gst_pad_class_init):
27097 * gst/gstqueue.c: (gst_queue_class_init):
27098 * gst/gstxml.c: (gst_xml_class_init):
27099 documented all undocumented signal inline
27100 * libs/gst/controller/gst-controller.h:
27103 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27105 * docs/pwg/appendix-porting.xml:
27106 Document _set_link_function -> _set_setcaps_function.
27108 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27110 * check/Makefile.am:
27111 add a .check target for running the check
27112 * check/gst-libs/controller.c: (GST_START_TEST):
27114 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27115 complete checks for gstbuffer; would be nice if I could get the
27116 gcov stuff to work so I can see if I actually completed gstbuffer.c
27117 * check/gstcheck.h:
27118 add ASSERT_BUFFER_REFCOUNT
27120 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27122 * docs/gst/gstreamer-sections.txt:
27123 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27125 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27126 spew out a warning if a tag that is already registered
27127 is re-registered, unless it is re-registered with a
27128 different type (#308438).
27130 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27132 * docs/pwg/appendix-porting.xml:
27133 * docs/pwg/building-state.xml:
27134 Add some paragraphs about state changes in 0.9 to the PWG
27135 and the porting guide, in particular about the new meaning
27136 of GST_STATE_PAUSED and how to write state change functions
27137 with concurrent access by multiple threads in mind.
27139 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27141 * docs/gst/gstreamer-docs.sgml:
27142 * docs/libs/gstreamer-libs-docs.sgml:
27143 added deprecation and since indexes
27144 * libs/gst/controller/gst-controller.c:
27145 * libs/gst/controller/gst-helper.c:
27149 2005-08-11 Wim Taymans <wim@fluendo.com>
27151 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27152 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27153 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27154 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27155 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27156 (gst_ghost_pad_set_target):
27157 Actually implement (re)setting the target on a ghostpad
27158 as described in the docs.
27160 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27162 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27163 Check whether GST_DEBUG_NO_COLOR environment variable is
27164 set and disable coloured debug output if that is the case.
27166 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27168 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27169 (gst_type_find_helper):
27170 The memory returned by gst_type_find_peek() needs to
27171 stay valid until the end of a typefind function, and
27172 typefind functions may keep results from different
27173 offsets around, so we can't just unref the buffer from
27174 the previous _peek(), but have to save all buffers
27175 returned by _peek() until typefinding is done and only
27178 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27180 * docs/gst/gstreamer-sections.txt:
27182 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27184 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27186 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27187 Fix a pretty good memleak.
27189 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27191 * gst/gstiterator.h:
27192 Fix wrong include and 'make distcheck'.
27194 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27196 * gst/gstbin.c: (bin_bus_handler):
27197 Use gst_element_post_message() instead.
27199 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27201 * gst/base/gstadapter.h:
27202 * gst/base/gstbasesink.h:
27203 * gst/base/gstbasesrc.h:
27204 * gst/base/gstbasetransform.h:
27205 * gst/base/gstcollectpads.h:
27206 * gst/base/gstpushsrc.h:
27207 * gst/gstiterator.h:
27208 Add padding to our base elements' class and instance structs and
27209 to GstIterator (you will need to rebuild all plugins and apps!)
27211 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27213 * gst/gstbin.c: (bin_bus_handler):
27214 Make default message forwarding from child->bus to bin->bus
27215 threadsafe and make it not emit warnings if the parent has no bus.
27217 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27219 * gst/gstelement.c: (activate_pads):
27220 On paused->ready, set pad->caps to NULL, as is the documented
27221 behaviour in this state change. Fixes playback of series of
27222 media files when visualization is enabled in Totem.
27224 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27226 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27227 Allow NULL as filter-caps (which means "any").
27229 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27231 * docs/libs/gstreamer-libs-sections.txt:
27232 * libs/gst/controller/gst-controller.c:
27233 * libs/gst/controller/gst-controller.h:
27234 * libs/gst/controller/gst-helper.c:
27235 adding more entries to the docs and fix small doc-bugs
27237 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27239 * docs/gst/gstreamer-docs.sgml:
27240 * docs/gst/gstreamer-sections.txt:
27241 * docs/gst/gstreamer.types:
27242 * docs/gst/tmpl/gstbasesink.sgml:
27243 * docs/gst/tmpl/gstbasesrc.sgml:
27244 * docs/gst/tmpl/gstbasetransform.sgml:
27245 * docs/gst/tmpl/gstfakesrc.sgml:
27246 * gst/base/gstcollectpads.c:
27247 * gst/base/gstcollectpads.h:
27248 * libs/gst/controller/gst-controller.c:
27249 * libs/gst/controller/gst-controller.h:
27250 * libs/gst/controller/gst-helper.c:
27251 * libs/gst/controller/gst-interpolation.c:
27252 * libs/gst/controller/lib.c:
27253 added long/short desc for controller docs
27254 added collectpads base class docs
27255 added correct includes to base-class docs
27257 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27259 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27260 (gst_test_mono_source_set_property),
27261 (gst_test_mono_source_class_init), (GST_START_TEST),
27262 (gst_controller_suite):
27263 * docs/gst/gstreamer-docs.sgml:
27264 * docs/gst/gstreamer-sections.txt:
27265 * docs/gst/gstreamer.types:
27266 * docs/libs/gstreamer-libs-docs.sgml:
27267 * docs/libs/gstreamer-libs-sections.txt:
27268 * gst/base/gstadapter.c:
27269 * libs/gst/controller/gst-controller.c:
27270 (gst_controlled_property_new), (gst_controlled_property_free),
27271 (gst_controller_new_valist),
27272 (gst_controller_remove_properties_valist),
27273 (gst_controller_sink_values), (_gst_controller_finalize):
27274 * libs/gst/controller/gst-controller.h:
27275 * libs/gst/controller/gst-helper.c:
27276 (gst_object_control_properties), (gst_object_uncontrol_properties),
27277 (gst_object_get_controller), (gst_object_set_controller),
27278 (gst_object_sink_values), (gst_object_get_value_arrays),
27279 (gst_object_get_value_array):
27280 more tests (and fixes) for the controller
27281 more docs for the controller
27282 integrated companies docs for the adapter
27284 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27286 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27287 (GST_START_TEST), (fakesrc_suite):
27288 add tests for sizetype
27290 2005-08-04 Andy Wingo <wingo@pobox.com>
27292 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27293 fixes buffer_alloc proxying among other things.
27295 * gst/base/gstbasetransform.c:
27296 * gst/base/gstbasetransform.h:
27297 Revert patch to gstbasetransform from 7-28 removing
27300 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27301 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27302 Semantics changed, should return not the size of the output buffer
27303 but the byte size of a buffer with a given caps.
27305 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27307 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27308 out) are not the pad caps until setcaps finishes.
27309 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27310 not-in-place case as well. Deal with changing from in-place to
27311 not-in-place within calling pad_alloc_buffer. Still a bit
27312 concerned about the overhead here...
27314 2005-08-03 Andy Wingo <wingo@pobox.com>
27316 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27317 fixating is an error.
27319 2005-08-04 Edward Hervey <edward@fluendo.com>
27321 * gst/base/gstadapter.h:
27322 Added gst_adapter_get_type() to the header
27324 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27326 * check/Makefile.am:
27327 * check/gst-libs/controller.c:
27328 * libs/gst/controller/gst-controller.c:
27329 (gst_controller_new_valist):
27330 added check test suite for the controller
27331 * gst/base/gstpushsrc.c:
27334 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27336 * docs/gst/Makefile.am:
27337 * docs/gst/gstreamer-docs.sgml:
27338 * docs/gst/gstreamer-sections.txt:
27339 * docs/gst/gstreamer.types:
27340 * docs/gst/tmpl/gstfakesrc.sgml:
27342 * gst/base/gstbasesink.c:
27343 * gst/base/gstbasesink.h:
27344 * gst/base/gstbasesrc.c:
27345 * gst/base/gstbasesrc.h:
27346 * gst/base/gstbasetransform.c:
27347 * gst/base/gstpushsrc.c:
27348 * gst/base/gstpushsrc.h:
27349 add short/long description docs to base classes
27350 add pushsrc to the docs
27351 remove consolidated doc fragments
27353 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27356 * docs/libs/Makefile.am:
27357 * docs/libs/gstreamer-libs-docs.sgml:
27358 * docs/libs/gstreamer-libs-sections.txt:
27359 * docs/libs/gstreamer-libs.types:
27360 * examples/Makefile.am:
27361 * examples/controller/.cvsignore:
27362 * examples/controller/Makefile.am:
27363 * examples/controller/audio-example.c: (main):
27364 * libs/gst/Makefile.am:
27365 * libs/gst/controller/.cvsignore:
27366 * libs/gst/controller/Makefile.am:
27367 * libs/gst/controller/gst-controller.c:
27368 (on_object_controlled_property_changed), (gst_timed_value_compare),
27369 (gst_timed_value_find),
27370 (gst_controlled_property_set_interpolation_mode),
27371 (gst_controlled_property_new), (gst_controlled_property_free),
27372 (gst_controller_find_controlled_property),
27373 (gst_controller_new_valist), (gst_controller_new),
27374 (gst_controller_remove_properties_valist),
27375 (gst_controller_remove_properties), (gst_controller_set),
27376 (gst_controller_set_from_list), (gst_controller_unset),
27377 (gst_controller_get), (gst_controller_get_all),
27378 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27379 (gst_controller_get_value_array),
27380 (gst_controller_set_interpolation_mode),
27381 (_gst_controller_finalize), (_gst_controller_init),
27382 (_gst_controller_class_init), (gst_controller_get_type):
27383 * libs/gst/controller/gst-controller.h:
27384 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27385 (g_object_uncontrol_properties), (g_object_get_controller),
27386 (g_object_set_controller), (g_object_sink_values),
27387 (g_object_get_value_arrays), (g_object_get_value_array):
27388 * libs/gst/controller/gst-interpolation.c:
27389 (gst_controlled_property_find_timed_value_node),
27390 (interpolate_none_get), (interpolate_trigger_get),
27391 (interpolate_trigger_get_value_array):
27392 * libs/gst/controller/lib.c: (gst_controller_init):
27393 * pkgconfig/Makefile.am:
27394 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27395 * pkgconfig/gstreamer-control.pc.in:
27396 * testsuite/Makefile.am:
27397 * testsuite/controller/.cvsignore:
27398 * testsuite/controller/Makefile.am:
27399 * testsuite/controller/interpolator.c: (main):
27400 added controller code
27401 removed dparam pc files
27403 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27404 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27405 (gst_collectpads_stop):
27406 Broadcast the condition when shutting down, to make sure we wake all
27407 threads up. Shut down pads on finalize, for safety.
27409 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27410 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27411 (gst_base_transform_handle_buffer),
27412 (gst_base_transform_change_state):
27413 Handle PAUSED->READY->PAUSED transition after negotiation
27415 * gst/gstmessage.c: (gst_message_init):
27416 Extra piece of debug for new messages.
27418 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27421 * docs/gst/tmpl/gstbasesrc.sgml:
27422 * docs/gst/tmpl/gstelement.sgml:
27423 * docs/gst/tmpl/gstevent.sgml:
27424 * docs/gst/tmpl/gstfakesrc.sgml:
27425 * docs/gst/tmpl/gstformat.sgml:
27426 * docs/gst/tmpl/gstghostpad.sgml:
27427 * docs/gst/tmpl/gstpad.sgml:
27428 * docs/gst/tmpl/gstquery.sgml:
27429 * docs/gst/tmpl/gststructure.sgml:
27430 * docs/gst/tmpl/gsttaglist.sgml:
27431 * docs/gst/tmpl/gstvalue.sgml:
27432 * docs/libs/gstreamer-libs-docs.sgml:
27433 * docs/libs/gstreamer-libs-sections.txt:
27434 * docs/libs/gstreamer-libs.types:
27435 * libs/gst/Makefile.am:
27436 * libs/gst/control/.cvsignore:
27437 * libs/gst/control/Makefile.am:
27438 * libs/gst/control/control.c:
27439 * libs/gst/control/control.h:
27440 * libs/gst/control/dparam.c:
27441 * libs/gst/control/dparam.h:
27442 * libs/gst/control/dparam_smooth.c:
27443 * libs/gst/control/dparam_smooth.h:
27444 * libs/gst/control/dparamcommon.h:
27445 * libs/gst/control/dparammanager.c:
27446 * libs/gst/control/dparammanager.h:
27447 * libs/gst/control/dplinearinterp.c:
27448 * libs/gst/control/dplinearinterp.h:
27449 * libs/gst/control/unitconvert.c:
27450 * libs/gst/control/unitconvert.h:
27451 * testsuite/Makefile.am:
27452 * testsuite/dynparams/.cvsignore:
27453 * testsuite/dynparams/Makefile.am:
27454 * testsuite/dynparams/dparamstest.c:
27455 * tools/Makefile.am:
27456 * tools/gst-inspect.c: (print_element_info), (main):
27457 * tools/gst-xmlinspect.c: (print_element_info), (main):
27458 deactivate and remove dparams (libgstcontrol)
27460 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27462 * gst/elements/gsttypefindelement.c:
27463 (gst_type_find_element_have_type), (gst_type_find_element_init),
27464 (stop_typefinding), (gst_type_find_element_handle_event),
27465 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27466 * gst/elements/gsttypefindelement.h:
27467 Set caps on all outgoing buffers, not just the first one.
27469 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27471 * gst/elements/gsttypefindelement.c:
27472 (gst_type_find_element_have_type),
27473 (gst_type_find_element_check_set_buffer_caps),
27474 (gst_type_find_element_init), (stop_typefinding),
27475 (gst_type_find_element_handle_event),
27476 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27477 * gst/elements/gsttypefindelement.h:
27478 Set caps on first outgoing buffer when we've found the type.
27480 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27482 * docs/gst/gstreamer-docs.sgml:
27483 * docs/gst/gstreamer-sections.txt:
27484 * docs/gst/tmpl/gstscheduler.sgml:
27485 * docs/gst/tmpl/gstschedulerfactory.sgml:
27486 Remove some old cruft from docs.
27488 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27491 Fix inline docs for GstPadLinkReturn.
27493 * gst/gststructure.c: (gst_structure_has_name):
27494 * gst/gststructure.h:
27495 * docs/gst/gstreamer-sections.txt:
27496 New API: gst_structure_has_name().
27498 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27501 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27502 and _LARGEFILE_SOURCE in config.h as required. Do not
27503 export those flags in our .pc files any longer (#142209).
27505 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27507 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27508 (gst_file_sink_do_seek), (gst_file_sink_event),
27509 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27510 Redo seek/tell calls with large file support in mind; add some
27511 debugging messages; add log message that tells us when large
27512 file support is unavailable or not enabled for some reason.
27514 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27515 Add log message that tells us when large file support
27516 is unavailable or not enabled for some reason.
27518 2005-07-29 Wim Taymans <wim@fluendo.com>
27520 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27521 Added test for removing an element with ghostpad from a bin.
27522 Fixed test as current implementation does the right thing.
27524 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27525 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27526 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27527 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27528 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27529 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27530 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27531 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27532 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27533 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27534 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27535 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27536 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27537 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27538 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27539 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27540 * gst/gstghostpad.h:
27541 Clean up ghostpads, remove properties for internal stuff.
27544 Prepare for switching targets, not all use cases work yet.
27546 2005-07-29 Wim Taymans <wim@fluendo.com>
27548 * docs/design/part-gstghostpad.txt:
27551 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27552 (gst_bin_remove_func):
27553 Unlinking pads while holding the bin LOCK is not a good
27556 * gst/gstpad.c: (gst_pad_class_init),
27557 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27558 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27559 No prob setting template after creating the pad.
27561 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27563 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27564 (gst_bus_peek), (gst_bus_source_dispatch),
27565 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27566 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27567 gst_bus_poll may be called from other threads. Handle
27568 this nicely by not making poll_data disappear off the
27569 stack once gst_bus_poll returns.
27570 gst_bus_peek now increments the refcount on the returned
27573 2005-07-29 Wim Taymans <wim@fluendo.com>
27575 * docs/design/part-gstghostpad.txt:
27576 Overview of current GhostPad datastructures and use
27577 cases for changing the target.
27579 2005-07-28 Wim Taymans <wim@fluendo.com>
27581 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27582 Added checks for hierarchy consistency whan adding linked
27585 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27586 Added check to test element scheduling without bin/pipeline.
27588 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27589 First add elements to bin, then link.
27591 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27592 (gst_bin_remove_func):
27593 Unlink pads from elements added/removed from bin to maintain
27594 hierarchy consistency.
27596 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27598 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27599 (gst_base_transform_handle_buffer):
27600 * gst/base/gstbasetransform.h:
27601 Remove broken delay_configure (fixes renegotiation of software
27602 scaling pipelines); remove some leftover printf()s.
27604 2005-07-28 Wim Taymans <wim@fluendo.com>
27606 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27607 Added some more tests for wrong hierarchy
27609 * docs/design/part-overview.txt:
27612 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27615 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27616 (gst_element_dispose):
27617 Some more cleanups.
27619 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27620 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27621 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27622 (gst_pad_set_caps), (gst_pad_send_event):
27623 Check for correct hierarchy when linking pads. Moving to
27624 strict requirement for ghostpads when linking elements in
27628 Clean ups. Added WRONG_HIERARCHY return value.
27630 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27632 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27633 Better debug if no transform is possible.
27635 2005-07-27 Wim Taymans <wim@fluendo.com>
27637 * docs/random/wtay/network-transp:
27638 Some old doc I had.
27640 2005-07-27 Wim Taymans <wim@fluendo.com>
27642 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27643 (gst_dp_event_from_packet):
27644 Fix serialization of seek events.
27646 2005-07-27 Wim Taymans <wim@fluendo.com>
27648 * check/gst-libs/gdp.c: (GST_START_TEST):
27649 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27650 Fix compilation and fix event serialization.
27652 2005-07-27 Wim Taymans <wim@fluendo.com>
27655 * docs/design/part-TODO.txt:
27656 * docs/design/part-events.txt:
27659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27660 (gst_base_sink_event), (gst_base_sink_do_sync),
27661 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27662 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27663 (gst_base_src_do_seek), (gst_base_src_event_handler),
27664 (gst_base_src_loop):
27665 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27666 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27667 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27668 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27669 (gst_base_transform_set_passthrough),
27670 (gst_base_transform_is_passthrough):
27671 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27672 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27678 * gst/gstelement.c: (gst_element_seek):
27679 * gst/gstelement.h:
27680 Update gst_element_seek.
27682 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27683 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27684 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27685 (gst_event_new_eos), (gst_event_new_newsegment),
27686 (gst_event_parse_newsegment), (gst_event_new_tag),
27687 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27688 (gst_event_parse_qos), (gst_event_new_seek),
27689 (gst_event_parse_seek), (gst_event_new_navigation):
27691 Make GstEvent use GstStructure. Add parsing code, make sure the
27692 API is sufficiently generic.
27693 Mark possible directions of events and serialization.
27695 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27696 (_gst_message_copy), (gst_message_new_segment_start),
27697 (gst_message_new_segment_done), (gst_message_new_custom),
27698 (gst_message_parse_segment_start),
27699 (gst_message_parse_segment_done):
27702 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27703 (gst_pad_set_caps), (gst_pad_send_event):
27704 Update for new events.
27705 Catch events sent in wrong directions.
27707 * gst/gstqueue.c: (gst_queue_link_src),
27708 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27709 (gst_queue_handle_src_query):
27714 Remove event code from this file.
27716 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27717 (gst_dp_event_from_packet):
27720 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27722 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27723 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27724 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27725 Make debugging actually useful.
27727 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27729 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27730 (gst_pad_fixate_caps):
27731 Implement default fixation once again, so that gst_pad_fixate()
27732 actually does anything at all. This probably needs to be some
27733 sort of a last resort, and use profile-based fixation first, but
27734 since that doesn't exist yet, this is the best we have. Fixes
27735 visualization in Totem.
27737 2005-07-22 Wim Taymans <wim@fluendo.com>
27739 * docs/design/part-events.txt:
27742 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27743 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27744 (gst_base_sink_activate_pull):
27745 Some more comments.
27747 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27748 (gst_fake_src_create):
27749 Fix handoff marshall.
27751 * gst/elements/gstidentity.c: (gst_identity_class_init),
27752 (gst_identity_transform_ip):
27753 We're a real inplace element.
27755 * gst/gstbus.c: (gst_bus_post):
27756 Added some comments.
27758 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27759 * tests/muxing/case1.c: (main):
27760 * tests/sched/dynamic-pipeline.c: (main):
27761 * tests/sched/interrupt1.c: (main):
27762 * tests/sched/interrupt2.c: (main):
27763 * tests/sched/interrupt3.c: (main):
27764 * tests/sched/runxml.c: (main):
27765 * tests/sched/sched-stress.c: (main):
27766 * tests/seeking/seeking1.c: (event_received), (main):
27767 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27769 * tests/threadstate/threadstate3.c: (main):
27770 * tests/threadstate/threadstate4.c: (main):
27771 * tests/threadstate/threadstate5.c: (main):
27774 2005-07-21 Wim Taymans <wim@fluendo.com>
27776 * docs/design/part-seeking.txt:
27777 Some small additions.
27779 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27780 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27781 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27782 * gst/base/gstbasesink.h:
27783 discont values are gint64, handle the math correctly.
27785 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27786 Make the basesrc report error if the source pad is not linked.
27788 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27789 (gst_queue_loop), (gst_queue_handle_src_query),
27790 (gst_queue_src_activate_push):
27791 Make queue collect data even if the srcpad is not linked.
27792 Start pushing out data as soon as it is linked.
27794 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27796 Added gst_flow_get_name() to ease error reporting.
27798 2005-07-20 Wim Taymans <wim@fluendo.com>
27800 * gst/gstmessage.c: (gst_message_new_segment_start),
27801 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27802 (gst_message_parse_segment_done):
27803 * gst/gstmessage.h:
27804 Added a bunch of messages for advanced seeking.
27806 * gst/parse/grammar.y:
27807 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27808 (gst_dpman_state_changed):
27809 Fix some new-pad -> pad-added signals
27811 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27813 * docs/manual/appendix-porting.xml:
27814 * docs/pwg/appendix-porting.xml:
27815 Document new-pad/state-change signal renames and the FixedList
27818 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27820 * docs/manual/advanced-autoplugging.xml:
27821 * docs/manual/basics-helloworld.xml:
27822 * docs/manual/basics-pads.xml:
27823 * docs/random/ds/0.9-suggested-changes:
27824 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27825 * gst/gstelement.h:
27829 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27830 (gst_structure_parse_array), (gst_structure_parse_value):
27831 * gst/gstvalue.c: (gst_type_is_fixed),
27832 (gst_value_list_prepend_value), (gst_value_list_append_value),
27833 (gst_value_list_get_size), (gst_value_list_get_value),
27834 (gst_value_transform_array_string), (gst_value_serialize_array),
27835 (gst_value_deserialize_array), (gst_value_intersect_array),
27836 (gst_value_is_fixed), (_gst_value_initialize):
27838 GstElement::new-pad -> pad-added, GstElement::state-change ->
27839 state-changed, GstValueFixedList -> GstValueArray, add format and
27840 flags as their own arguments in gst_element_seek() (should improve
27841 "bindeability"), remove function generators since they don't work
27842 under a whole bunch of compilers (they were deprecated already
27845 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27847 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27848 (_gst_debug_register_funcptr):
27850 Fix illegal cast on some platforms (#309253).
27852 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27854 * gst/gstmessage.c: (gst_message_new_custom):
27855 * gst/gstmessage.h:
27856 Add _new_custom, make _new_application a macro to _new_custom.
27858 2005-07-20 Wim Taymans <wim@fluendo.com>
27860 * gst/base/gstbasesrc.c: (gst_base_src_init),
27861 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27862 * gst/base/gstbasesrc.h:
27863 Add a gboolean to decide when to push out a discont.
27865 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27866 (gst_queue_loop), (gst_queue_handle_src_query),
27867 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27868 (gst_queue_set_property), (gst_queue_get_property):
27871 * tests/threadstate/threadstate1.c: (main):
27872 Make a thread test compile and run... very silly..
27875 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27877 * docs/manual/appendix-porting.xml:
27878 Mention removal of libgstgconf-0.9.la and existence of gconf
27881 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27883 * docs/pwg/advanced-clock.xml:
27884 * docs/pwg/appendix-porting.xml:
27885 * docs/pwg/intro-preface.xml:
27886 * docs/pwg/other-base.xml:
27887 * docs/pwg/other-manager.xml:
27888 * docs/pwg/other-nton.xml:
27889 * docs/pwg/other-ntoone.xml:
27890 * docs/pwg/other-oneton.xml:
27891 * docs/pwg/pwg.xml:
27892 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27893 demuxer), remove n-to-n (was never written), fix some code examples
27894 and links and update the porting section to include all this.
27896 2005-07-19 Wim Taymans <wim@fluendo.com>
27898 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27899 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27900 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27901 (gst_queue_src_activate_push), (gst_queue_change_state),
27902 (gst_queue_get_property):
27904 Propagate GstFlowReturn more intelligently upstream and output
27905 an ERROR/EOS when streaming stopped due to fatal error.
27907 2005-07-19 Wim Taymans <wim@fluendo.com>
27909 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27910 Don't block forever for the state change to complete, the
27911 pipeline already did with a sensible timeout.
27913 2005-07-19 Wim Taymans <wim@fluendo.com>
27915 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27916 Make sure we never call the create function is we
27919 2005-07-19 Andy Wingo <wingo@pobox.com>
27921 * gst/parse/parse.l: Attempt to solve bug #172815.
27923 2005-07-19 Wim Taymans <wim@fluendo.com>
27925 * docs/design/part-clocks.txt:
27926 * docs/design/part-events.txt:
27927 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27928 Small docs updates.
27929 Only update the seeking values when we are not
27932 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27934 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27935 Oops, ignore the result of gst_pad_push_event here.
27937 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27939 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27940 (gst_base_src_activate_push):
27941 Send discont event from the loop function, as pads
27942 aren't activated yet in the activate_push handler.
27944 * gst/gstbin.c: (bin_bus_handler):
27945 Don't leak element name.
27947 2005-07-18 Andy Wingo <wingo@pobox.com>
27949 * configure.ac: Use AS_LIBTOOL_TAGS.
27951 2005-07-18 Wim Taymans <wim@fluendo.com>
27953 * docs/gst/gstreamer.types:
27954 Remove deleted types.
27956 2005-07-18 Wim Taymans <wim@fluendo.com>
27958 * check/elements/gstfakesrc.c: (GST_START_TEST):
27961 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27962 (init_popt_callback):
27964 * gst/gst_private.h:
27965 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27966 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27969 * gst/gstconfig.h.in:
27970 * gst/gstelement.c: (gst_element_class_init),
27971 (gst_element_set_base_time), (gst_element_get_base_time),
27972 (iterator_fold_with_resync), (gst_element_change_state),
27973 (gst_element_dispose), (gst_element_get_bus):
27974 * gst/gstelement.h:
27975 * gst/gstelementfactory.h:
27976 * gst/gsterror.c: (_gst_core_errors_init):
27979 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27981 * gst/gstinfo.c: (_gst_debug_init):
27982 * gst/gstmessage.c: (_gst_message_copy):
27983 * gst/gstmessage.h:
27984 * gst/gstminiobject.h:
27987 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27988 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27991 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27992 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27993 (gst_pipeline_get_last_stream_time):
27994 * gst/gstpipeline.h:
27995 * gst/gstpluginfeature.h:
27997 * gst/gstscheduler.c:
27998 * gst/gstscheduler.h:
27999 * gst/gststructure.h:
28000 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28001 (gst_task_finalize), (gst_task_func), (gst_task_create),
28002 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28003 (gst_task_stop), (gst_task_pause):
28005 * gst/gsttypefind.h:
28007 * gst/registries/gstlibxmlregistry.c: (load_feature),
28008 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28009 * gst/registries/gstxmlregistry.c:
28010 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28011 * gst/schedulers/threadscheduler.c:
28012 * libs/gst/control/dparammanager.h:
28013 * tools/gst-inspect.c: (print_element_list),
28014 (print_plugin_features), (print_element_features):
28015 * tools/gst-xmlinspect.c: (print_element_list),
28016 (print_plugin_info), (main):
28017 Removed plugable schedulers.
28018 Removed Scheduler/Manager from elements.
28019 Removed gsttypes.h, rearranged includes.
28020 Removed dependency pad<->element, element<>pipeline, and
28021 various others, fix includes.
28022 implement gst_pad_get_parent() with gst_object_get_parent()
28023 Make GstTask sefcontained.
28024 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28026 Fix endless loop in iterator_fold_with_resync.
28029 2005-07-18 Wim Taymans <wim@fluendo.com>
28035 2005-07-18 Wim Taymans <wim@fluendo.com>
28038 No more cothreads.h
28040 2005-07-18 Wim Taymans <wim@fluendo.com>
28044 Let's remove these.
28046 2005-07-18 Wim Taymans <wim@fluendo.com>
28048 * docs/design/part-dynamic.txt:
28049 * docs/design/part-events.txt:
28050 * docs/design/part-seeking.txt:
28051 Some more docs in the works.
28053 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28054 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28055 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28056 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28057 (gst_base_transform_handle_buffer),
28058 (gst_base_transform_sink_activate_push),
28059 (gst_base_transform_src_activate_pull),
28060 (gst_base_transform_set_passthrough),
28061 (gst_base_transform_is_passthrough):
28064 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28067 * gst/gstevent.c: (gst_event_finalize):
28070 * gst/gstutils.c: (gst_element_unlink),
28071 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28072 (gst_pad_proxy_setcaps):
28074 Add _get_parent_element() to get a pads parent as an element.
28076 2005-07-18 Wim Taymans <wim@fluendo.com>
28078 * check/gst/gstbin.c: (GST_START_TEST):
28081 2005-07-18 Wim Taymans <wim@fluendo.com>
28083 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28084 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28085 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28086 (gst_base_sink_event), (gst_base_sink_do_sync),
28087 (gst_base_sink_chain), (gst_base_sink_loop),
28088 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28089 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28091 Fix logic for returning ASYNC when not prerolled.
28093 2005-07-18 Wim Taymans <wim@fluendo.com>
28095 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28096 Fix nasty refcount bug.
28098 2005-07-16 Philippe Khalaf <burger@speedy.org>
28100 * gst/elements/gstfdsrc.c:
28101 * gst/elements/gstfdsrc.h:
28102 * gst/elements/gstelements.c:
28103 * gst/elements/Makefile.am:
28104 Ported fdsrc to 0.9.
28106 2005-07-16 Wim Taymans <wim@fluendo.com>
28108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28109 (gst_base_sink_do_sync):
28112 2005-07-16 Wim Taymans <wim@fluendo.com>
28114 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28115 (gst_base_sink_event), (gst_base_sink_get_times),
28116 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28117 * gst/base/gstbasesink.h:
28118 Store and use discont values when syncing buffers as described
28121 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28122 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28123 (gst_base_src_activate_push):
28124 Push discont event when starting.
28126 * gst/elements/gstidentity.c: (gst_identity_transform):
28129 * gst/gstbin.c: (gst_bin_change_state):
28130 Small cleanups in base_time distribution.
28132 * gst/gstelement.c: (gst_element_set_base_time),
28133 (gst_element_get_base_time), (gst_element_change_state):
28134 * gst/gstelement.h:
28135 Added methods for the base_time of the element.
28138 * gst/gstpipeline.c: (gst_pipeline_send_event),
28139 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28140 (gst_pipeline_get_last_stream_time):
28141 * gst/gstpipeline.h:
28143 Handle seeking as described in design doc, remove stream_time
28145 Cleanups clock and stream_time selection code. Added accessors
28146 for the stream_time.
28149 2005-07-16 Andy Wingo <wingo@pobox.com>
28151 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28154 2005-07-16 Wim Taymans <wim@fluendo.com>
28156 * check/gst/gstbin.c: (GST_START_TEST):
28157 Make elements silent as the deep_notify refs the
28158 parent, which might make the test fail.
28160 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28161 Don't hold the lock for too long.
28163 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28165 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28166 Don't unref the caps we passed to gst_caps_make_writable() after
28167 passing them. gst_caps_make_writable() will do that for us.
28169 2005-07-15 Andy Wingo <wingo@pobox.com>
28171 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28174 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28175 own marshalling function for the handoff signal. Properly type the
28176 buffer as a buffer. Fixes some warnings. Should do a more general
28178 (gst_identity_class_init): Plug into the right marshaller.
28180 2005-07-15 Wim Taymans <wim@fluendo.com>
28182 * docs/design/part-TODO.txt:
28183 * docs/design/part-clocks.txt:
28184 * docs/design/part-element-sink.txt:
28185 * docs/design/part-events.txt:
28186 * docs/design/part-gstpipeline.txt:
28187 Updated docs, mostly DISCONT related.
28189 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28191 * docs/pwg/building-pads.xml:
28192 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28194 2005-07-15 Andy Wingo <wingo@pobox.com>
28196 * tools/gst-typefind.c: Update, add copyright block.
28198 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28199 Normalize and truncate caps before fixation.
28202 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28203 discards all but the first structure from its argument.
28205 2005-07-15 Wim Taymans <wim@fluendo.com>
28207 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28208 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28209 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28210 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28211 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28212 (gst_base_transform_chain), (gst_base_transform_change_state),
28213 (gst_base_transform_set_passthrough),
28214 (gst_base_transform_is_passthrough):
28215 * gst/base/gstbasetransform.h:
28216 Make passthrough work using the bufferpools.
28217 Changed API a bit, subclasses have to write into a buffer
28218 provided by the base class.
28219 More debug info in nego functions.
28221 * gst/elements/gstidentity.c: (gst_identity_init),
28222 (gst_identity_transform):
28223 Port to new base class.
28225 2005-07-15 Wim Taymans <wim@fluendo.com>
28227 * gst/gstmessage.c: (gst_message_new_state_changed):
28228 * tools/gst-launch.c: (event_loop), (main):
28229 Totally dump messages in -launch with the -m option.
28230 Fix message name for State messages,
28232 2005-07-14 Wim Taymans <wim@fluendo.com>
28234 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28235 Post error messages on errors.
28237 2005-07-14 Wim Taymans <wim@fluendo.com>
28239 * gst/gstcaps.c: (gst_caps_do_simplify):
28243 Define error for stream stopped.
28245 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28246 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28247 Do proper return values.
28249 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28250 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28251 (gst_pad_get_range):
28252 Better return values.
28255 Reorganise return values, add macro to check for fatal errors.
28257 * gst/gstqueue.c: (gst_queue_chain):
28258 Return proper GstFlowReturn values,
28260 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28262 * docs/gst/gstreamer-sections.txt:
28263 * docs/gst/gstreamer.types:
28264 * docs/gst/tmpl/gst.sgml:
28265 * docs/gst/tmpl/gstbasesink.sgml:
28266 * docs/gst/tmpl/gstbasesrc.sgml:
28267 * docs/gst/tmpl/gstbasetransform.sgml:
28268 * docs/gst/tmpl/gstbin.sgml:
28269 * docs/gst/tmpl/gstbuffer.sgml:
28270 * docs/gst/tmpl/gstcaps.sgml:
28271 * docs/gst/tmpl/gstclock.sgml:
28272 * docs/gst/tmpl/gstcompat.sgml:
28273 * docs/gst/tmpl/gstconfig.sgml:
28274 * docs/gst/tmpl/gstelement.sgml:
28275 * docs/gst/tmpl/gstelementdetails.sgml:
28276 * docs/gst/tmpl/gstelementfactory.sgml:
28277 * docs/gst/tmpl/gstenumtypes.sgml:
28278 * docs/gst/tmpl/gsterror.sgml:
28279 * docs/gst/tmpl/gstevent.sgml:
28280 * docs/gst/tmpl/gstfakesink.sgml:
28281 * docs/gst/tmpl/gstfakesrc.sgml:
28282 * docs/gst/tmpl/gstfilesink.sgml:
28283 * docs/gst/tmpl/gstfilesrc.sgml:
28284 * docs/gst/tmpl/gstfilter.sgml:
28285 * docs/gst/tmpl/gstformat.sgml:
28286 * docs/gst/tmpl/gstghostpad.sgml:
28287 * docs/gst/tmpl/gstimplementsinterface.sgml:
28288 * docs/gst/tmpl/gstindex.sgml:
28289 * docs/gst/tmpl/gstindexfactory.sgml:
28290 * docs/gst/tmpl/gstinfo.sgml:
28291 * docs/gst/tmpl/gstiterator.sgml:
28292 * docs/gst/tmpl/gstmacros.sgml:
28293 * docs/gst/tmpl/gstmemchunk.sgml:
28294 * docs/gst/tmpl/gstminiobject.sgml:
28295 * docs/gst/tmpl/gstobject.sgml:
28296 * docs/gst/tmpl/gstpad.sgml:
28297 * docs/gst/tmpl/gstpadtemplate.sgml:
28298 * docs/gst/tmpl/gstparse.sgml:
28299 * docs/gst/tmpl/gstpipeline.sgml:
28300 * docs/gst/tmpl/gstplugin.sgml:
28301 * docs/gst/tmpl/gstpluginfeature.sgml:
28302 * docs/gst/tmpl/gstquery.sgml:
28303 * docs/gst/tmpl/gstqueue.sgml:
28304 * docs/gst/tmpl/gstregistry.sgml:
28305 * docs/gst/tmpl/gstregistrypool.sgml:
28306 * docs/gst/tmpl/gstscheduler.sgml:
28307 * docs/gst/tmpl/gstschedulerfactory.sgml:
28308 * docs/gst/tmpl/gststructure.sgml:
28309 * docs/gst/tmpl/gstsystemclock.sgml:
28310 * docs/gst/tmpl/gsttaglist.sgml:
28311 * docs/gst/tmpl/gsttagsetter.sgml:
28312 * docs/gst/tmpl/gsttrace.sgml:
28313 * docs/gst/tmpl/gsttrashstack.sgml:
28314 * docs/gst/tmpl/gsttypefind.sgml:
28315 * docs/gst/tmpl/gsttypefindfactory.sgml:
28316 * docs/gst/tmpl/gsttypes.sgml:
28317 * docs/gst/tmpl/gsturihandler.sgml:
28318 * docs/gst/tmpl/gsturitype.sgml:
28319 * docs/gst/tmpl/gstutils.sgml:
28320 * docs/gst/tmpl/gstvalue.sgml:
28321 * docs/gst/tmpl/gstversion.sgml:
28322 * docs/gst/tmpl/gstxml.sgml:
28323 * docs/libs/tmpl/gstcontrol.sgml:
28324 * docs/libs/tmpl/gstdataprotocol.sgml:
28325 * docs/libs/tmpl/gstdparam.sgml:
28326 * docs/libs/tmpl/gstdplinint.sgml:
28327 * docs/libs/tmpl/gstdpman.sgml:
28328 * docs/libs/tmpl/gstdpsmooth.sgml:
28329 * docs/libs/tmpl/gstgetbits.sgml:
28330 * docs/libs/tmpl/gstunitconvert.sgml:
28331 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28332 (gst_push_src_base_init), (gst_push_src_class_init),
28333 (gst_push_src_init), (gst_push_src_create):
28334 * gst/base/gstpushsrc.h:
28335 * gst/elements/gstelements.c:
28336 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28337 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28338 (gst_fake_sink_init), (gst_fake_sink_set_property),
28339 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28340 (gst_fake_sink_event), (gst_fake_sink_preroll),
28341 (gst_fake_sink_render), (gst_fake_sink_change_state):
28342 * gst/elements/gstfakesink.h:
28343 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28344 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28345 (gst_fake_src_base_init), (gst_fake_src_class_init),
28346 (gst_fake_src_init), (gst_fake_src_event_handler),
28347 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28348 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28349 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28350 (gst_fake_src_create_buffer), (gst_fake_src_create),
28351 (gst_fake_src_start), (gst_fake_src_stop):
28352 * gst/elements/gstfakesrc.h:
28353 * gst/elements/gstfilesink.c: (_do_init),
28354 (gst_file_sink_base_init), (gst_file_sink_class_init),
28355 (gst_file_sink_init), (gst_file_sink_dispose),
28356 (gst_file_sink_set_location), (gst_file_sink_set_property),
28357 (gst_file_sink_get_property), (gst_file_sink_open_file),
28358 (gst_file_sink_close_file), (gst_file_sink_query),
28359 (gst_file_sink_event), (gst_file_sink_render),
28360 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28361 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28362 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28363 * gst/elements/gstfilesink.h:
28364 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28365 (gst_file_src_class_init), (gst_file_src_init),
28366 (gst_file_src_finalize), (gst_file_src_set_location),
28367 (gst_file_src_set_property), (gst_file_src_get_property),
28368 (gst_file_src_map_region), (gst_file_src_map_small_region),
28369 (gst_file_src_create_mmap), (gst_file_src_create_read),
28370 (gst_file_src_create), (gst_file_src_is_seekable),
28371 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28372 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28373 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28374 (gst_file_src_uri_handler_init):
28375 * gst/elements/gstfilesrc.h:
28376 more autistic cleanliness in functions/names/defines
28378 2005-07-13 Andy Wingo <wingo@pobox.com>
28380 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28381 source couldn't negotiate.
28383 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28387 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28388 function. I am channeling Hades. Put your boots on suckers!!!
28390 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28392 * testsuite/caps/Makefile.am:
28393 * testsuite/caps/value_compare.c:
28394 * testsuite/caps/value_intersect.c:
28395 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28396 move two testsuite apps over to the check dir
28398 2005-07-12 Wim Taymans <wim@fluendo.com>
28400 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28401 Added more debug info in the negotiate process.
28403 * gst/gstmessage.h:
28404 Prepare for segment playback.
28406 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28412 * tools/gst-launch.c: (main):
28413 NULL pipeline on errors.
28415 2005-07-12 Andy Wingo <wingo@pobox.com>
28417 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28418 not it comes from a malloc region. Make sure our copy gets freed.
28420 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28422 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28423 * check/gst/gstmessage.c: (GST_START_TEST):
28424 * check/gst/gststructure.c: (GST_START_TEST),
28425 (gst_structure_suite), (main):
28427 * gst/gstelement.c: (gst_element_message_full):
28428 clean up GError and debug string now that they get copied
28429 * gst/gstmessage.c: (gst_message_new_error),
28430 (gst_message_new_warning), (gst_message_parse_error),
28431 (gst_message_parse_warning):
28432 use GST_TYPE_G_ERROR for structure_new, and take copies of
28433 arguments, so that we don't mess up refcounting
28435 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28437 * check/Makefile.am:
28438 add per-test valgrind targets
28439 * check/gst-libs/gdp.c: (GST_START_TEST),
28440 (gst_data_protocol_suite), (main):
28443 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28445 * check/Makefile.am:
28446 instate more valgrindable tests
28447 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28448 (GST_START_TEST), (fakesrc_suite):
28449 * check/gst/gstpad.c: (GST_START_TEST):
28450 * check/gst/gststructure.c: (GST_START_TEST):
28452 * docs/gst/tmpl/gstminiobject.sgml:
28453 * gst/gstpad.c: (gst_pad_finalize):
28454 fix the static mutex leak
28456 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28458 * check/Makefile.am:
28459 add two more tests for valgrinding
28460 * check/gst/gstvalue.c: (GST_START_TEST):
28461 test refcount of deserialized buffer, found a leak
28462 * docs/gst/gstreamer-docs.sgml:
28463 * docs/gst/gstreamer-sections.txt:
28464 * docs/gst/gstreamer.types:
28465 * docs/gst/tmpl/gstminiobject.sgml:
28466 add miniobject to docs
28467 * gst/gstminiobject.c:
28469 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28470 (gst_string_unwrap):
28471 fix a hard-to-find invalid write for one of the tests
28472 fix a leak for deserialized buffers
28474 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28476 * docs/pwg/advanced-events.xml:
28477 * docs/pwg/advanced-request.xml:
28478 * docs/pwg/advanced-scheduling.xml:
28479 * docs/pwg/appendix-porting.xml:
28480 * docs/pwg/building-boiler.xml:
28481 * docs/pwg/intro-preface.xml:
28482 * docs/pwg/other-ntoone.xml:
28483 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28484 of example code and explanation for pad activation, loop() and
28485 getrange() functions and a bit more. Remove old comments pointing
28487 * examples/pwg/Makefile.am:
28488 Add loop/getrange examples.
28490 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28493 check for valgrind binary + some fixes
28495 valgrind suppressions for the tests
28496 * check/Makefile.am:
28497 add a valgrind: target that valgrinds the unit tests
28498 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28499 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28500 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28501 * check/gst/gstghostpad.c:
28503 * check/gst/gstdata.c:
28505 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28506 (thread_unref), (gst_mini_object_suite), (main):
28508 * gst/gst.c: (gst_deinit):
28510 add a method to clean up.
28511 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28512 (gst_system_clock_obtain):
28513 allow for disposing the system clock.
28514 * tools/gst-launch.c: (main):
28517 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28519 * docs/gst/tmpl/gstbasesrc.sgml:
28520 * docs/gst/tmpl/gstfakesrc.sgml:
28521 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28522 (gst_base_src_init), (gst_base_src_set_property),
28523 (gst_base_src_get_property), (gst_base_src_get_range),
28524 (gst_base_src_start):
28525 * gst/base/gstbasesrc.h:
28526 add num-buffers property
28527 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28528 (gst_fakesrc_init), (gst_fakesrc_set_property),
28529 (gst_fakesrc_get_property), (gst_fakesrc_create),
28530 (gst_fakesrc_start):
28531 remove num-buffers property
28533 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28535 * docs/gst/gstreamer-sections.txt:
28536 * docs/gst/tmpl/gstbasesink.sgml:
28537 * docs/gst/tmpl/gstbasesrc.sgml:
28538 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28539 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28540 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28541 (gst_base_sink_set_property), (gst_base_sink_get_property),
28542 (gst_base_sink_handle_object), (gst_base_sink_event),
28543 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28544 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28545 (gst_base_sink_loop), (gst_base_sink_deactivate),
28546 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28547 (gst_base_sink_change_state):
28548 * gst/base/gstbasesink.h:
28549 * gst/base/gstbasesrc.h:
28550 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28551 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28552 (gst_filesink_init):
28553 more macro splitting
28555 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28557 * gst/gstelement.c: (gst_element_get_bus):
28559 * tools/gst-launch.c: (check_intr), (event_loop):
28562 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28564 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28567 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28569 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28570 (gst_base_src_finalize):
28571 add finalize method and clean up properly
28572 * gst/gstpipeline.c: (gst_pipeline_dispose):
28575 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28577 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28579 add more things to check
28580 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28581 * gst/gstelement.c:
28584 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28586 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28587 (GST_START_TEST), (fakesrc_suite):
28588 * check/gst-libs/gdp.c: (GST_START_TEST):
28589 * check/gst/gst.c: (GST_START_TEST):
28590 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28591 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28592 * check/gst/gstbus.c: (GST_START_TEST):
28593 * check/gst/gstcaps.c: (GST_START_TEST):
28594 * check/gst/gstdata.c: (GST_START_TEST):
28595 * check/gst/gstelement.c: (GST_START_TEST):
28596 * check/gst/gstghostpad.c: (GST_START_TEST):
28597 * check/gst/gstiterator.c: (GST_START_TEST):
28598 * check/gst/gstmessage.c: (GST_START_TEST):
28599 * check/gst/gstobject.c: (GST_START_TEST):
28600 * check/gst/gstpad.c: (GST_START_TEST):
28601 * check/gst/gststructure.c: (GST_START_TEST):
28602 * check/gst/gstsystemclock.c: (GST_START_TEST),
28603 (gst_systemclock_suite):
28604 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28605 * check/gst/gstvalue.c: (GST_START_TEST):
28606 * check/pipelines/cleanup.c: (GST_START_TEST):
28607 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28608 * check/states/sinks.c: (GST_START_TEST):
28609 * check/gstcheck.c: (gst_check_init):
28610 * check/gstcheck.h:
28611 add debugging category
28612 use GST_START_TEST now, so we add a debug line
28614 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28616 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28617 add test for state change message on a bin
28618 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28620 * gst/gstbin.c: (gst_bin_init):
28621 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28622 * gst/gstelement.c: (gst_element_post_message),
28623 (gst_element_set_state):
28624 * gst/gstelementfactory.c: (gst_element_factory_create):
28625 * gst/gstmessage.c: (gst_message_new):
28626 * gst/gstscheduler.c:
28627 various debugging additions and cleanups
28629 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28631 * check/Makefile.am:
28632 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28634 adding tests for elements
28635 * gst/gstelement.c: (gst_element_dispose):
28637 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28639 * gst/registries/gstlibxmlregistry.c: (load_feature):
28640 plug more leaks. A simple gst_init() now is leakfree, yay.
28642 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28644 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28645 (gst_xml_registry_load):
28646 plug another memleak
28648 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28651 use GST_SET_ERROR_CFLAGS
28652 * docs/faq/cvs.xml:
28653 change to ERROR_CFLAGS
28655 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28658 make GST_ERROR_CFLAGS overridable and re-enable Werror
28659 * docs/faq/cvs.xml:
28660 add a note about error CFLAGS
28661 * docs/gst/tmpl/gstfakesrc.sgml:
28662 * gst/elements/gstfakesrc.c:
28663 comment out some unused code
28664 * gst/gst.c: (split_and_iterate):
28665 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28669 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28671 * common/Makefile.am:
28672 * common/gtk-doc.mak:
28673 * docs/gst/Makefile.am:
28674 factor out gtk-doc.mak
28676 2005-07-07 Wim Taymans <wim@fluendo.com>
28678 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28679 (gst_thread_scheduler_dispose):
28680 Unlock the STREAM_LOCK completely.
28682 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28684 * check/Makefile.am:
28685 * check/elements/.cvsignore:
28686 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28687 (START_TEST), (fakesrc_suite), (main):
28688 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28689 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28690 (gst_fakesrc_create), (gst_fakesrc_start):
28691 * gst/elements/gstfakesrc.h:
28692 adding a first element test
28694 2005-07-07 Andy Wingo <wingo@pobox.com>
28696 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28699 2005-07-07 Wim Taymans <wim@fluendo.com>
28705 2005-07-07 Wim Taymans <wim@fluendo.com>
28707 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28708 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28709 Allow subclasses to implement their own negotiation.
28711 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28713 * docs/design/part-gstbin.txt:
28714 * docs/design/part-gstpipeline.txt:
28715 Update design notes to reflect the movement of
28716 responsibility for bus handling from GstPipeline to
28719 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28722 Remove unnecessary queue2/3/4 examples.
28724 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28726 * examples/Makefile.am:
28727 * examples/helloworld/helloworld.c: (event_loop), (main):
28728 * examples/queue/queue.c: (event_loop), (main):
28729 * examples/queue2/queue2.c: (main):
28730 Update a couple of the examples to work again.
28732 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28733 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28734 Spelling corrections and extra debug.
28736 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28737 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28738 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28740 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28741 (gst_pipeline_change_state):
28742 * gst/gstpipeline.h:
28743 Move the bus handler for children to the GstBin, and create a
28744 separate bus for receiving messages from children to the one the
28745 bus sends 'upwards' on.
28747 2005-07-06 Wim Taymans <wim@fluendo.com>
28750 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28751 (gst_base_sink_handle_object), (gst_base_sink_loop),
28752 (gst_base_sink_change_state):
28753 * gst/base/gstbasesink.h:
28754 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28755 (gst_base_src_init), (gst_base_src_setcaps),
28756 (gst_base_src_getcaps), (gst_base_src_loop),
28757 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28758 (gst_base_src_start), (gst_base_src_change_state):
28759 * gst/base/gstbasesrc.h:
28760 Make basesrc negotiate.
28761 Handle the case where preroll fails in basesink.
28764 2005-07-06 Wim Taymans <wim@fluendo.com>
28766 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28767 Implement the fixate function.
28768 Clean up acceptcaps.
28770 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28772 * docs/pwg/building-filterfactory.xml:
28773 * docs/pwg/pwg.xml:
28774 Remove never-written filter-factory chapter; I'll add the various
28775 base classes to part 4 ("other element types") later on.
28777 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28779 * docs/pwg/advanced-negotiation.xml:
28780 * docs/pwg/building-boiler.xml:
28781 * docs/pwg/building-pads.xml:
28782 * docs/pwg/pwg.xml:
28783 * examples/pwg/Makefile.am:
28784 Add a chapter on caps negotiation, simplify the original code
28785 samples a bit w.r.t. caps negotiation, add link to the advanced
28786 section. Add a bunch of examples showing different use cases of
28787 different types of caps negotiation. Upstream renegotiation isn't
28788 fully documented yet since nobody knows how that works.
28790 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28792 * check/gst/gstpad.c:
28793 * check/gstcheck.c:
28794 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28795 if pad has no parent, return NULL as list of internal links
28797 2005-07-05 Andy Wingo <wingo@pobox.com>
28799 * gst/elements/gstfilesrc.c:
28800 * gst/elements/gstfakesrc.c:
28801 * gst/base/gstpushsrc.c:
28802 * gst/base/gstbasesrc.h:
28803 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28805 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28808 better report generation target (lcov needs a patch)
28810 2005-07-05 Andy Wingo <wingo@pobox.com>
28812 * gst/elements, testsuite: Null if we got it...
28814 2005-07-05 Wim Taymans <wim@fluendo.com>
28817 * libs/gst/dataprotocol/Makefile.am:
28818 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28819 * libs/gst/dataprotocol/dataprotocol.h:
28820 * pkgconfig/Makefile.am:
28821 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28822 * pkgconfig/gstreamer-dataprotocol.pc.in:
28823 Ported dataprotol to 0.9.
28824 Added pkgconfig files.
28826 2005-07-05 Andy Wingo <wingo@pobox.com>
28828 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28829 Default to returning TRUE for the case when tranform_caps returns
28830 a fixed caps, like for identity or volume.
28832 * check/gst/gstbus.c (pound_bus_with_messages):
28833 * check/gst/gstmessage.c (START_TEST):
28834 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28835 message API change.
28837 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28838 logic weaks here: always run transform_caps, trying passthrough
28839 operation only if the original caps intersects with the transform.
28841 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28842 source and sink caps.
28844 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28845 Intersect the peer caps with the pad template before going into
28847 (gst_base_transform_transform_caps): More debugging.
28849 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28852 2005-07-04 Edward Hervey <edward@fluendo.com>
28856 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28859 2005-07-04 Andy Wingo <wingo@pobox.com>
28861 * check/gst/gstpad.c: Only set explicit caps on pads.
28863 2005-07-01 Andy Wingo <wingo@pobox.com>
28865 * tests/network-clock.scm: Commentary update.
28867 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28868 Didn't really make sense, not implementable with basetransform,
28870 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28871 attempt at implementing the sync property, needs an unlock method.
28873 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28874 New func, by default returns the same caps (the identity
28876 (gst_base_transform_getcaps): Uses transform_caps to return
28877 something sensible.
28878 (gst_base_transform_setcaps): Complicated logic to get caps on
28879 both pads, even if they are different, and to call set_caps once
28880 for every time both pads get their caps set.
28881 (gst_base_transform_handle_buffer): Give the ref to the transform
28882 function. Allows in-place modification of the buffer.
28884 * gst/base/gstbasetransform.h (transform_caps): New class method.
28885 Given caps on one side, what can I do on the other.
28886 (set_caps): Take two caps, one for each side of the element.
28889 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28890 caps in place. This is safe because we can check the mutability of
28891 the caps, and a good idea because fixate functions are just called
28892 as a matter of last resort. (Not actually implemented.)
28893 (gst_pad_set_caps): If the caps we're setting is actually the same
28894 as the existing pad caps, just update the pointer without calling
28895 setcaps. Assert that caps is either NULL or fixed, as per the
28898 * gst/gstghostpad.c: Update for fixate changes.
28900 2005-07-02 Andy Wingo <wingo@pobox.com>
28903 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28904 two refcounts makes it immutable, which is enough. Doc more.
28906 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28908 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28909 Put the mini_object into GValue as a mini_object,
28910 not a gpointer, since that's how we declared
28913 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28915 * examples/pwg/Makefile.am:
28916 Fix buildbot again.
28918 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28920 * docs/pwg/building-testapp.xml:
28922 * examples/pwg/Makefile.am:
28925 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28928 * examples/Makefile.am:
28929 * examples/pwg/Makefile.am:
28930 * examples/pwg/extract.pl:
28931 Enable building the PWG examples.
28932 * docs/pwg/advanced-interfaces.xml:
28933 Add URI interface stub.
28934 * docs/pwg/advanced-types.xml:
28935 * docs/pwg/other-autoplugger.xml:
28936 * docs/pwg/appendix-porting.xml:
28937 * docs/pwg/pwg.xml:
28938 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28939 * docs/pwg/building-boiler.xml:
28940 * docs/pwg/building-chainfn.xml:
28941 * docs/pwg/building-pads.xml:
28942 * docs/pwg/building-props.xml:
28943 * docs/pwg/building-state.xml:
28944 * docs/pwg/building-testapp.xml:
28945 Update the building-*.xml parts for 0.9 changes. All examples
28946 code blocks compile in examples/pwg/*.
28948 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28950 * docs/manual/advanced-autoplugging.xml:
28951 * docs/manual/appendix-checklist.xml:
28952 * docs/manual/appendix-integration.xml:
28953 * docs/manual/highlevel-components.xml:
28954 Fix playbin/decodebin examples, update docs a bit, mention bus
28955 instead of signals in various places, mention kmplayer and
28956 kaffeine since they have a working GStreamer backend in the KDE
28959 2005-06-30 Wim Taymans <wim@fluendo.com>
28962 * docs/design/draft-ghostpads.txt:
28963 * docs/design/draft-push-pull.txt:
28964 * docs/design/draft-query.txt:
28965 * docs/design/part-TODO.txt:
28966 * docs/design/part-query.txt:
28967 Added CHANGES-0.9 doc, updated status of other docs.
28972 2005-06-30 Wim Taymans <wim@fluendo.com>
28974 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28975 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28976 (gst_base_sink_change_state):
28977 * gst/base/gstbasesink.h:
28978 Some tweaks, only EOS and a buffer complete a preroll.
28980 2005-06-30 Andy Wingo <wingo@pobox.com>
28982 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28983 activate_push down to the internal pad as well.
28985 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28987 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28989 * gst/gsttaginterface.c:
28990 Some documentation fixes (#307394 and #307397).
28992 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28994 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28996 * gst/gstvalue.c: (gst_value_intersect_list):
28997 Fix memleak (#309125).
28999 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29001 * docs/manual/advanced-dataaccess.xml:
29002 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29003 * docs/manual/basics-pads.xml:
29004 Add reference for filtered caps to above chapter.
29006 2005-06-30 Wim Taymans <wim@fluendo.com>
29008 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29009 (gst_bin_change_state):
29011 Lame attempt at making the state change function a bit
29014 2005-06-30 Wim Taymans <wim@fluendo.com>
29016 * docs/design/part-clocks.txt:
29017 * docs/design/part-element-sink.txt:
29018 * docs/design/part-events.txt:
29019 * docs/design/part-preroll.txt:
29020 * docs/design/part-states.txt:
29021 Some more tweeks and additions to the docs.
29023 2005-06-30 Wim Taymans <wim@fluendo.com>
29025 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29026 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29027 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29028 (gst_pad_check_pull_range), (gst_pad_get_range),
29029 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29031 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29032 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29033 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29034 (gst_pad_remove_buffer_probe):
29035 Removed atomic operations, use existing LOCK.
29036 Move exception handling out of main code path.
29038 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29040 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29041 (silly_return_true_function), (gst_pad_class_init),
29042 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29043 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29044 (gst_pad_send_event):
29045 Fix accumulator, add default value by using _emitv() instead
29046 of _emit() for signal emission.
29048 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29050 * docs/manual/advanced-dataaccess.xml:
29051 * examples/manual/Makefile.am:
29053 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29056 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29058 * gst/elements/gstfilesink.c: (gst_filesink_render):
29059 Simplify code so that we don't have to handle short
29060 writes and return GST_FLOW_ERROR if an error occured.
29062 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29064 * docs/gst/gstreamer-docs.sgml:
29065 Remove probes more.
29067 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29069 * docs/gst/gstreamer-sections.txt:
29070 * docs/gst/tmpl/gstpad.sgml:
29071 * docs/gst/tmpl/gstprobe.sgml:
29073 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29074 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29075 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29076 (gst_pad_push_event), (gst_pad_send_event):
29078 * gst/gstutils.c: (gst_pad_add_data_probe),
29079 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29080 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29081 (gst_pad_remove_buffer_probe):
29083 Remove old probes, add new g-signal-based probes and some utility
29086 2005-06-29 Edward Hervey <edward@fluendo.com>
29088 * gst/gstelementfactory.c:
29091 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29092 the definition to the header file.
29094 2005-06-29 Andy Wingo <wingo@pobox.com>
29096 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29097 plugins from the source directory.
29099 2005-06-29 Wim Taymans <wim@fluendo.com>
29101 * docs/gst/tmpl/gstbuffer.sgml:
29102 * docs/gst/tmpl/gstclock.sgml:
29103 Some fixings for blantently wrong text.
29105 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29107 * check/Makefile.am:
29108 * gst/gst.c: (add_path_func), (init_pre):
29109 * gst/gstregistry.c: (gst_registry_add_path):
29110 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29111 only scan the GST_PLUGIN_PATH locations, and not add
29114 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29116 * docs/gst/gstreamer-sections.txt:
29117 * docs/gst/tmpl/gstbasesrc.sgml:
29118 * gst/gstelement.c:
29119 * gst/gstelement.h:
29124 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29126 * docs/manual/advanced-autoplugging.xml:
29127 Fix autoplugging example.
29129 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29131 * docs/manual/advanced-autoplugging.xml:
29132 * docs/manual/mime-world.fig:
29133 Try to get autoplugging working, fix type detection. Fix text
29134 in hello-world image.
29136 2005-06-29 Wim Taymans <wim@fluendo.com>
29138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29139 (gst_base_sink_change_state):
29143 map SIGNAL and BROADCAST to the right function.
29146 Remove redundant braces.
29148 * gst/gstpad.c: (gst_pad_set_caps):
29149 Don't call setcaps function when reseting caps to NULL.
29151 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29152 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29153 (gst_system_clock_id_unschedule):
29154 Use BROADCAST as this is what we do.
29156 2005-06-29 Wim Taymans <wim@fluendo.com>
29158 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29159 We are actually prerolling before commiting the state
29162 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29164 * docs/manual/advanced-clocks.xml:
29165 * docs/manual/advanced-interfaces.xml:
29166 * docs/manual/advanced-metadata.xml:
29167 * docs/manual/advanced-position.xml:
29168 * docs/manual/advanced-schedulers.xml:
29169 * docs/manual/advanced-threads.xml:
29170 * docs/manual/appendix-porting.xml:
29171 * docs/manual/basics-bins.xml:
29172 * docs/manual/basics-bus.xml:
29173 * docs/manual/basics-elements.xml:
29174 * docs/manual/basics-helloworld.xml:
29175 * docs/manual/basics-pads.xml:
29176 * docs/manual/highlevel-components.xml:
29177 * docs/manual/manual.xml:
29178 * docs/manual/thread.fig:
29179 Update (until threads/scheduling) Application Development Manual;
29180 remove GstThread, add GstBus, add simple porting checklist, add
29181 documentation for tag writing, clocks, make all examples until this
29182 part compile and run.
29183 * examples/manual/Makefile.am:
29184 Update from changes to Application Development Manual; add bus
29185 example, remove thread example.
29187 2005-06-28 Wim Taymans <wim@fluendo.com>
29189 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29190 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29191 (gst_bus_source_dispatch):
29192 Add debugging messages.
29193 Make internal methods static.
29194 Handle the case where the bus is flushed in the handler.
29196 * gst/gstelement.c: (gst_element_get_bus):
29197 Fix refcount in _get_bus();
29199 * gst/gstpipeline.c: (gst_pipeline_change_state),
29200 (gst_pipeline_get_clock_func):
29201 Clock refcounting fixes.
29202 Handle the case where preroll timed out more gracefully.
29204 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29205 Clean up the internal thread in dispose. This is needed
29206 for subclasses that actually get disposed.
29208 * gst/schedulers/threadscheduler.c:
29209 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29210 (gst_thread_scheduler_dispose):
29211 Free thread pool in dispose.
29213 2005-06-28 Andy Wingo <wingo@pobox.com>
29215 * tests/network-clock-utils.scm (debug, print-event): New utils.
29217 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29218 (*packet-loss*): Unified loss probability.
29219 (network-time): Report out-of-band events.
29221 * tests/plot-data: Add support for out-of-band events. Hack it
29222 into this script instead of passing it down the pipe; should fix
29225 2005-06-28 Wim Taymans <wim@fluendo.com>
29227 * docs/gst/gstreamer.types:
29228 * docs/gst/tmpl/gstbasesrc.sgml:
29229 * docs/gst/tmpl/gstpad.sgml:
29232 2005-06-28 Wim Taymans <wim@fluendo.com>
29234 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29235 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29236 (gst_proxy_pad_do_fixatecaps):
29237 Correctly proxy the check_pull_range function.
29239 2005-06-28 Andy Wingo <wingo@pobox.com>
29241 * tests/network-clock.scm: Removed need for slib.
29243 2005-06-28 Wim Taymans <wim@fluendo.com>
29245 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29246 (gst_basesink_preroll_queue_flush):
29247 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29248 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29249 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29250 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29251 (gst_proxy_pad_set_property):
29254 * gst/gstqueue.c: (gst_queue_init):
29255 The deprecated pad loop function is removed now.
29257 2005-06-28 Andy Wingo <wingo@pobox.com>
29259 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29260 New parameters, simulate network packet loss.
29262 * tests/network-clock-utils.scm: Initialize the RNG.
29264 2005-06-28 Wim Taymans <wim@fluendo.com>
29266 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29267 (gst_basesink_event), (gst_basesink_deactivate):
29268 Flushing the preroll queue always needs to unlock the waiters.
29270 2005-06-28 Edward Hervey <edward@fluendo.com>
29272 * gst/gstpipeline.c: (gst_pipeline_send_event):
29273 Wheen a seek was successful on a pipeline, set the stream_time to the
29274 seek offset in order to have a synchronized stream_time.
29276 2005-06-28 Wim Taymans <wim@fluendo.com>
29278 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29279 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29280 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29281 (gst_proxy_pad_do_fixatecaps):
29282 Call wrapper function instead of just calling the function
29283 pointers. This takes care of any locking and whatmore.
29285 2005-06-28 Wim Taymans <wim@fluendo.com>
29287 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29288 (gst_pad_pull_range):
29290 CONNECTED -> LINKED.
29292 2005-06-28 Andy Wingo <wingo@pobox.com>
29294 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29295 source-munging commit!!!
29297 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29298 (gst_object_sink): Take gpointer arguments, not GstObject --
29299 avoids casts. Like GLib.
29301 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29304 2005-06-27 Andy Wingo <wingo@pobox.com>
29306 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29309 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29310 returns a sorted copy of the trace list.
29311 (gst_alloc_trace_print_live): New API, only prints traces with
29312 live objects. Sort the list.
29313 (gst_alloc_trace_print_all): Sort the list.
29314 (gst_alloc_trace_print): Align columns.
29316 * gst/elements/gstttypefindelement.c:
29317 * gst/elements/gsttee.c:
29318 * gst/base/gstbasesrc.c:
29319 * gst/base/gstbasesink.c:
29320 * gst/base/gstbasetransform.c:
29321 * gst/gstqueue.c: Adapt for pad activation changes.
29323 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29325 (gst_pipeline_dispose): Drop ref on sched.
29327 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29328 (gst_pad_activate_default): Push mode by default.
29329 (pre_activate_switch, post_activate_switch): New stubs, things to
29330 do before and after switching activation modes on pads.
29331 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29332 the pad's activate function to choose which mode to activate.
29333 Shortcut on deactivation and call the right function directly.
29334 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29336 (gst_pad_activate_push): New API, same for push mode.
29337 (gst_pad_set_activate_function)
29338 (gst_pad_set_activatepull_function)
29339 (gst_pad_set_activatepush_function): Setters for new API.
29341 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29342 Trace all miniobjects.
29343 (gst_mini_object_make_writable): Unref the arg if we copy, like
29344 gst_caps_make_writable.
29346 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29348 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29349 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29350 Adapt for new pad API.
29352 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29354 * gst/gstelement.h:
29355 * gst/gstelement.c (gst_element_iterate_src_pads)
29356 (gst_element_iterate_sink_pads): New API functions.
29358 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29359 should fold into gstiterator.c in some form.
29360 (gst_element_pads_activate): Simplified via use of fold and
29361 delegation of decisions to gstpad->activate.
29363 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29366 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29367 class once in init, like gstmessage. Didn't run into this issue
29368 but it seems correct. Don't initialize a trace, gstminiobject does
29371 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29372 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29374 (assert_live_count): New util function, uses alloc traces to check
29377 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29378 To be modified when unlink drops the internal pad.
29380 2005-06-27 Wim Taymans <wim@fluendo.com>
29382 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29383 (gst_bin_change_state):
29384 Cleanup the get_state() function a little, make sure it
29385 iterates the same set of elements.
29386 Added stub iterate_state_order().
29388 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29390 * docs/gst/gstreamer-docs.sgml:
29391 * docs/gst/gstreamer-sections.txt:
29392 * docs/gst/gstreamer.types:
29393 * docs/gst/tmpl/gstbasesink.sgml:
29394 * docs/gst/tmpl/gstbasesrc.sgml:
29395 * docs/gst/tmpl/gstbasetransform.sgml:
29396 * docs/gst/tmpl/gstelement.sgml:
29397 * docs/gst/tmpl/gstiterator.sgml:
29398 * gst/base/gstbasesrc.c:
29399 * gst/base/gstbasesrc.h:
29400 * gst/base/gstbasetransform.h:
29401 * gst/gstelement.c:
29402 * gst/gstiterator.h:
29403 adding basetransform and iterator docs
29405 2005-06-27 Andy Wingo <wingo@pobox.com>
29407 * docs/design/part-activation.txt: Notes on how activation should
29408 work -- not quite implemented yet.
29410 2005-06-25 Wim Taymans <wim@fluendo.com>
29412 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29413 At least get the chain function correct, needs more
29416 2005-06-25 Wim Taymans <wim@fluendo.com>
29418 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29419 (gst_basesink_handle_object), (gst_basesink_event),
29420 (gst_basesink_do_sync), (gst_basesink_handle_event),
29421 (gst_basesink_change_state):
29423 Right, two problems here: ghostpads don't take locks and
29424 glib _rec_mutex_lock_full() with depth==0 still locks.
29425 Catch illegal locking and g_warn them.
29427 2005-06-25 Wim Taymans <wim@fluendo.com>
29429 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29430 Have to check for completion now...
29432 2005-06-25 Wim Taymans <wim@fluendo.com>
29434 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29435 (gst_basesink_handle_object), (gst_basesink_event),
29436 (gst_basesink_do_sync), (gst_basesink_handle_event),
29437 (gst_basesink_change_state):
29439 Unlock STREAM_LOCK whatever the recursion was.
29441 2005-06-25 Wim Taymans <wim@fluendo.com>
29443 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29444 (gst_basesink_preroll_queue_empty),
29445 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29446 (gst_basesink_event), (gst_basesink_do_sync),
29447 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29448 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29449 (gst_basesink_change_state):
29450 Reworked the base sink, handle event and buffer serialisation
29451 correctly and removed possible deadlock.
29452 Handle EOS correctly.
29454 2005-06-25 Wim Taymans <wim@fluendo.com>
29456 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29457 (gst_pipeline_change_state):
29458 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29459 Allow elements to post EOS in the state change function.
29460 Fix up -launch, make it exit the poll loop when the
29461 pipeline actually changed state.
29462 Fix up warning parsing in -launch.
29464 2005-06-25 Wim Taymans <wim@fluendo.com>
29466 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29467 (gst_tee_sink_activate):
29468 Core takes STREAM_LOCK for us now.
29470 2005-06-25 Wim Taymans <wim@fluendo.com>
29472 * gst/gstelement.c: (gst_element_get_state_func),
29473 (gst_element_set_state):
29474 * gst/gstelement.h:
29475 * gst/gstmessage.c: (gst_message_parse_error),
29476 (gst_message_parse_warning):
29477 Keep track of current target state while performing a state
29478 change so that subclasses can do something interesting.
29479 Fix parsing of warning/error messages when GError is NULL.
29481 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29483 * docs/gst/Makefile.am:
29484 * docs/gst/gstreamer-docs.sgml:
29485 * docs/gst/gstreamer-sections.txt:
29486 * docs/gst/gstreamer.types:
29487 * docs/gst/tmpl/gstbasesink.sgml:
29488 * docs/gst/tmpl/gstbasesrc.sgml:
29489 * docs/gst/tmpl/gstbin.sgml:
29490 * docs/gst/tmpl/gstcompat.sgml:
29491 * docs/gst/tmpl/gstfakesink.sgml:
29492 * docs/gst/tmpl/gstfakesrc.sgml:
29493 * docs/gst/tmpl/gstfilesink.sgml:
29494 * docs/gst/tmpl/gstfilesrc.sgml:
29495 * docs/gst/tmpl/gstindex.sgml:
29496 * docs/manual/appendix-quotes.xml:
29497 * gst/base/gstbasesrc.h:
29498 * gst/elements/gstfakesrc.h:
29499 * gst/gstmessage.h:
29500 start pulling in base classes and elements in our docs
29502 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29504 * docs/gst/Makefile.am:
29505 * docs/libs/Makefile.am:
29506 fixed make distcheck with gtk-doc 1.3
29508 2005-06-23 Wim Taymans <wim@fluendo.com>
29510 * gst/gstelement.c: (gst_element_get_state_func),
29511 (gst_element_set_state), (gst_element_change_state):
29512 When the state did not change, also report NO_PREROLL
29515 2005-06-23 Wim Taymans <wim@fluendo.com>
29517 * gst/gstpad.c: (gst_pad_event_default):
29518 * gst/gstqueue.c: (gst_queue_loop):
29519 No unsafe task pausing please.
29521 2005-06-23 Wim Taymans <wim@fluendo.com>
29523 * gst/schedulers/threadscheduler.c:
29524 (gst_thread_scheduler_task_start),
29525 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29526 Ref the task before pushing it on the threadpool. This
29527 makes sure that we have a ref when the threadfunction is
29530 2005-06-23 Andy Wingo <wingo@pobox.com>
29532 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29533 offset is greater than the file's size.
29535 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29536 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29537 * gst/gstobject.c (gst_object_class_init): Make the class lock
29538 recursive. Wim won't let me drop deep_notify. Decodebin works
29539 again, whoopdy doo.
29541 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29542 internal pad, and hacks accordingly. Doesn't do it on the target
29543 pad because we change its caps. Probably catches all cases of
29545 (gst_ghost_pad_set_property): Connect to notify::caps as
29548 * tests/network-clock.scm (plot-simulation): Pipe data to the
29549 elite python skript.
29551 * tests/network-clock-utils.scm (define-parameter): New macro,
29552 defines a parameter that can be set via the command line.
29553 (set-parameter!, parse-parameter-arguments): Command line args
29556 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29559 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29561 * gst/elements/gsttypefindelement.c:
29562 (gst_type_find_element_handle_event):
29563 Don't restart typefinding on a discont.
29564 * gst/gstelement.c: (gst_element_set_state):
29565 Debug spelling fix.
29566 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29567 Allow changing mode of an active pad.
29568 Debug output fixes.
29569 * gst/registries/gstlibxmlregistry.c: (load_feature):
29570 Don't cast a static pad template to a normal pad template.
29572 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29574 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29575 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29576 remove gst_strtoll completely, since it didn't actually do
29577 anything more than what g_ascii_strtoull already does.
29578 check for range errors when deserializing
29579 do a cast for the unsigned cases; but further fixing needs
29580 a decision on what the interpretation of "(int)" and
29581 deserialization should be for values that fall outside the
29582 type's boundaries (ie, refuse, or interpret as casting)
29584 2005-06-23 Wim Taymans <wim@fluendo.com>
29586 * check/Makefile.am:
29587 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29588 * docs/design/part-live-source.txt:
29589 * docs/design/part-states.txt:
29590 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29591 (gst_basesrc_set_live), (gst_basesrc_is_live),
29592 (gst_basesrc_get_range), (gst_basesrc_activate),
29593 (gst_basesrc_change_state):
29594 * gst/base/gstbasesrc.h:
29595 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29596 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29597 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29598 * gst/gstelement.c: (gst_element_get_state_func),
29599 (gst_element_set_state):
29600 * gst/gstelement.h:
29602 * tools/gst-launch.c: (event_loop), (main):
29603 Added support for live sources and other elements that
29605 Updated design docs, added live-source design doc.
29606 Implemented live source functionality in basesrc
29607 Fix error condition in _bin_get_state()
29608 Implement live source handling in -launch.
29609 Added check for live sources.
29610 Fixed case in GstBin where elements were changed state
29614 2005-06-23 Andy Wingo <wingo@pobox.com>
29616 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29617 borken refcounting.
29619 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29620 gst_caps_replace takes care of this for us.
29622 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29623 gst_pad_set_caps on the target, not just its setcaps() function.
29625 * tests/network-clock.scm:
29626 * tests/network-clock-utils.scm: A network clock simulator.
29627 Something of an algorithmic testbed before doing something in C.
29629 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29631 * check/Makefile.am:
29632 * check/gst/capslist.h:
29633 copy over from 0.8, and add two with bitmasks specified with
29635 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29636 add test to parse everything from capslist.h
29637 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29639 add test for structure deserialization
29640 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29641 add tests for deserialization of strings to int types
29642 * gst/gststructure.c: (gst_structure_nth_field_name):
29643 * gst/gststructure.h:
29644 add a way to get the name of a field referenced by index
29645 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29646 instead of checking if the resulting long long lies between
29647 min and max, we check if the long long would fit into
29648 a number of bytes for the final type.
29649 This fixes cases where a string represents 2^32 - 1, which
29650 when cast to int would be the (valid) -1, but is bigger than
29653 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29655 * gst/parse/grammar.y:
29656 add a log line for type deserialization
29658 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29660 * check/gst/gstvalue.c: (START_TEST):
29661 * gst/gstvalue.c: (gst_value_deserialize):
29662 return long long, not int, so gint64 deserialization actually
29663 works. Is there any flag that makes the compiler check this ?
29666 2005-06-22 Wim Taymans <wim@fluendo.com>
29669 Added convenience macros for setting buffers in GValue.
29671 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29673 * check/gst/.cvsignore:
29674 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29675 add a test deserializing int64, and comment part out because
29678 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29680 * check/Makefile.am:
29681 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29682 * testsuite/Makefile.am:
29683 * testsuite/caps/Makefile.am:
29684 * testsuite/caps/value_serialize.c:
29685 * testsuite/test_gst_init.c:
29686 move a value_serialize test over
29688 2005-06-20 Wim Taymans <wim@fluendo.com>
29693 * gst/gstvalue.c: (gst_value_compare_buffer),
29694 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29695 (gst_value_compare_flags), (gst_value_serialize_flags),
29696 (gst_value_deserialize_flags), (_gst_value_initialize):
29697 Fix serialisation of buffers, they are not boxed types anymore
29699 2005-06-20 Wim Taymans <wim@fluendo.com>
29701 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29702 Testcase to show error in buffer-on-caps serialisation.
29704 2005-06-20 Andy Wingo <wingo@pobox.com>
29706 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29707 will be adding to later.
29709 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29710 if its socks fill with rocks.
29711 (gst_system_clock_obtain): Set the name on object construction.
29712 Avoid double-checked locking.
29714 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29716 * gst/gsturi.c: (gst_element_make_from_uri):
29717 Fix potential endless loop.
29719 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29721 * check/Makefile.am:
29723 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29725 move over from testsuite dir and clean up
29728 * testsuite/Makefile.am:
29729 * testsuite/tags/.cvsignore:
29730 * testsuite/tags/Makefile.am:
29731 * testsuite/tags/merge.c:
29732 remove testsuite/tags
29734 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29736 * docs/gst/gstreamer-sections.txt:
29737 * docs/gst/tmpl/gstenumtypes.sgml:
29738 * win32/gstenumtypes.c:
29739 clean up documentation build a little
29741 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29743 * check/gstcheck.h:
29744 add macros for checking refcounts on objects and caps
29745 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29746 add some more unit tests
29747 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29748 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29749 fix leaked refcounts (I hope :)) so unittest works
29753 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29755 * configure.ac: back to HEAD
29757 === release 0.9.1 ===
29759 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29765 2005-06-17 Andy Wingo <wingo@pobox.com>
29767 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29768 assert; it's always possible that the pad gets deactivated in
29769 between the checks in gstpad.c and the implementation. Rely on
29770 finish_preroll() to return a FLUSHING or similar instead of on the
29773 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29774 clock and post an EOS message if we come out of finish_preroll in
29777 2005-06-16 David Schleef <ds@schleef.org>
29779 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29780 (gst_capsfilter_set_property): Allow NULL as possible value
29781 for filter_caps property, indicating GST_CAPS_ANY.
29783 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29785 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29787 * gst/schedulers/Makefile.am:
29789 * gstreamer.spec.in:
29792 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29794 * gstreamer.spec.in:
29797 2005-06-08 Andy Wingo <wingo@pobox.com>
29799 * gst/gstutils.c: RPAD fixes all around.
29800 (gst_element_link_pads): Refcounting fixes.
29802 * tools/gst-inspect.c:
29803 * tools/gst-xmlinspect.c:
29805 * gst/base/gsttypefindhelper.c:
29806 * gst/base/gstbasesink.c:
29807 * gst/gstqueue.c: RPAD fixes.
29809 * gst/gstghostpad.h:
29810 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29811 pads. The tricky thing is they provide both source and sink
29812 interfaces, since they proxy the internal pad for the external
29813 pad, and vice versa. Implement with lower-level ProxyPad objects,
29814 with the interior proxy pad as a child of the exterior ghost pad.
29815 Should write a doc on this.
29817 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29818 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29821 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29822 pads are real pads. No ghost pads in this file. Not documenting
29823 the myriad s/RPAD/PAD/ and REALIZE fixes.
29824 (gst_pad_class_init): Add properties for "direction" and
29825 "template". Both are construct-only, so they can't change during
29826 the life of the pad. Fixes properly deriving from GstPad.
29827 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29828 derived objects, just set properties when creating the objects via
29830 (gst_pad_get_parent): Implement as a function, return NULL if the
29831 parent is not an element.
29832 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29833 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29835 * gst/gstobject.c (gst_object_class_init): Make name a construct
29836 property. Don't set it in the object init.
29838 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29839 with UNKNOWN direction.
29840 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29841 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29842 (gst_element_remove_pad): Remove ghost-pad special cases.
29843 (gst_element_pads_activate): Remove rpad cruft.
29845 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29846 catch the pad's-parent-not-an-element case.
29848 * gst/gst.h: Include gstghostpad.h.
29850 * gst/gst.c (init_post): No more real, ghost pads.
29852 * gst/Makefile.am: Add gstghostpad.[ch].
29854 * check/Makefile.am:
29855 * check/gst/gstbin.c:
29856 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29857 into a bin creates ghost pads, and that the refcounts are right.
29858 Partly moved from gstbin.c.
29860 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29862 * check/gst-libs/.cvsignore:
29863 * check/gst/.cvsignore:
29864 * check/pipelines/.cvsignore:
29866 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29867 (START_TEST), (cleanup_suite), (main):
29868 add some tests related to cleanup after running pipelines
29870 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29872 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29873 add a testsuite for GstBuffer
29875 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29877 * gst/gstminiobject.h:
29878 add defines for accessing the refcount
29880 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29882 * Makefile.am: added support for html unit test coverage reports
29884 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29886 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29887 Free existing caps if the capsfilter changes. Add a FIXME about
29888 setting those caps on the pads.
29890 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29891 Before adding a ghost pad to a parent bin, check that there isn't
29892 already one for the element on the bin. Prevents infinite recursion
29893 when using decodebin in parse pipelines. Andy says he'll rewrite the
29894 way this works anyway, so ignore the hack.
29896 2005-06-02 Andy Wingo <wingo@pobox.com>
29898 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29899 file size, pass it on to the type find helper.
29901 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29902 segment_start and segment_end properly according to the seek
29903 method. Segment_end is still a bit flaky because offset can be
29904 negative for CUR and END cases, but it takes -1 as an "unset"
29907 2005-06-02 Wim Taymans <wim@fluendo.com>
29909 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29910 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29911 (gst_basesink_activate):
29912 * gst/base/gstbasesink.h:
29913 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29914 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29915 (gst_pad_query), (gst_pad_start_task):
29917 * gst/gstqueue.c: (gst_queue_bufferalloc),
29918 (gst_queue_handle_sink_event), (gst_queue_chain):
29919 Bufferalloc: return GstFlowReturn to more accuratly report
29920 why allocation failed.
29922 2005-06-02 Wim Taymans <wim@fluendo.com>
29924 * gst/gstpipeline.c: (gst_pipeline_send_event):
29925 Take snapshot of state without blocking.
29927 2005-06-02 Wim Taymans <wim@fluendo.com>
29929 * docs/design/part-TODO.txt:
29930 * docs/design/part-caps.txt:
29931 * docs/design/part-clocks.txt:
29932 * docs/design/part-negotiation.txt:
29933 * docs/design/part-preroll.txt:
29936 2005-05-30 Wim Taymans <wim@fluendo.com>
29938 * gst/elements/gstidentity.c: (gst_identity_event),
29939 (gst_identity_transform), (gst_identity_get_property):
29940 Protect last_message property as it is accessed from
29943 2005-05-30 Wim Taymans <wim@fluendo.com>
29945 * gst/gstelement.c: (gst_element_init),
29946 (gst_element_pads_activate), (gst_element_change_state):
29947 Slicker pad activation code.
29949 2005-05-30 Wim Taymans <wim@fluendo.com>
29952 * gst/gstelement.h:
29953 * gst/gstelementfactory.h:
29955 Move elementfactory methods to separate .h file.
29957 2005-05-30 Wim Taymans <wim@fluendo.com>
29959 * docs/design/part-overview.txt:
29960 * gst/gstsystemclock.h:
29961 Small typo fixes, doc updates.
29963 2005-05-30 Wim Taymans <wim@fluendo.com>
29965 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29966 (init_popt_callback):
29967 Remove cpu-opt flag.
29969 2005-05-30 Wim Taymans <wim@fluendo.com>
29971 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29972 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29974 Avoid typechecking in places where not needed.
29975 Added accessor for malloc_data.
29977 2005-05-30 Wim Taymans <wim@fluendo.com>
29979 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29980 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29981 (gst_pad_configure_sink), (gst_pad_configure_src),
29982 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29983 (gst_pad_start_task):
29984 Propagate errors from _set_caps() in configure_src/sink
29985 functions instead of returning TRUE.
29986 FLUSH events can travel up and downstream
29989 2005-05-30 Wim Taymans <wim@fluendo.com>
29991 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29992 (gst_basesink_activate):
29993 Handle EOS in preroll.
29995 2005-05-30 Wim Taymans <wim@fluendo.com>
29997 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29998 (gst_queue_loop), (gst_queue_handle_src_event):
29999 Remove old pieces of code
30000 Flushing the queue in an upstream event is a very bad idea.
30002 2005-05-26 Andy Wingo <wingo@pobox.com>
30004 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30005 gst_value_set_mini_object so as to add a ref on the object (which
30006 will be removed when the value is unset).
30008 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30009 arg type in ::handoff.
30011 * gst/gstelement.c (gst_element_change_state): Also deactivate
30012 pads in READY->NULL, just in case the element didn't make it to
30013 PAUSED. Wingo tested, Wim approved.
30015 2005-05-26 Wim Taymans <wim@fluendo.com>
30017 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30018 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30019 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30020 A flushing pad cannot be used to alloc_buffer from.
30022 2005-05-26 Wim Taymans <wim@fluendo.com>
30024 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30025 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30026 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30027 (gst_bus_create_watch), (gst_bus_add_watch_full):
30029 Implement a real GSource and use g_main_context_wakeup() to
30030 signal new messages instead of the socketpair.
30032 2005-05-25 Wim Taymans <wim@fluendo.com>
30034 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30035 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30036 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30037 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30038 (gst_pad_send_event), (gst_pad_start_task):
30039 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30040 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30041 (gst_queue_sink_activate), (gst_queue_src_activate),
30042 (gst_queue_change_state):
30044 Fix state changes for non sinks. We now change sinks, then elements
30045 with unconnected srcpads, then the rest.
30046 More efficient queue unlocking in flush and state changes.
30047 Set the pad activate mode even if it does not have an activate
30050 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30052 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30053 Don't go in pull mode for non-seekable sources.
30054 * gst/elements/gsttypefindelement.h:
30055 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30056 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30057 (free_entry), (stop_typefinding),
30058 (gst_type_find_element_handle_event), (find_peek),
30059 (gst_type_find_element_chain), (do_pull_typefind),
30060 (gst_type_find_element_change_state):
30061 Allow typefinding (w/o seeking) in push-mode, simplified version
30062 of what was in 0.8.
30063 * gst/gstutils.c: (gst_buffer_join):
30065 gst_buffer_join() from 0.8.
30067 2005-05-25 Wim Taymans <wim@fluendo.com>
30069 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30070 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30071 (gst_pad_send_event), (gst_pad_start_task):
30072 Disable attempt at mode switching until it is figured out.
30074 2005-05-25 Wim Taymans <wim@fluendo.com>
30076 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30077 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30078 (gst_basesink_finish_preroll), (gst_basesink_chain),
30079 (gst_basesink_loop), (gst_basesink_activate),
30080 (gst_basesink_change_state):
30081 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30082 (gst_basesrc_get_range), (gst_basesrc_loop),
30083 (gst_basesrc_activate):
30084 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30085 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30086 (gst_real_pad_init), (gst_real_pad_set_property),
30087 (gst_real_pad_get_property), (gst_pad_set_active),
30088 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30089 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30090 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30091 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30092 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30093 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30094 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30095 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30096 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30097 (gst_pad_stop_task):
30099 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30100 (gst_queue_loop), (gst_queue_src_activate):
30101 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30102 (gst_task_get_state):
30104 * gst/schedulers/threadscheduler.c:
30105 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30106 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30108 Remove ACTIVE pad flag, use FLUSHING everywhere
30109 Added _pad_chain(), _pad_get_range() to call chain/getrange
30111 Add locks around IS_FLUSHING when reading.
30112 Take STREAM lock in chain(), get_range() functions so plugins
30113 don't need to take it anymore.
30117 2005-05-25 Wim Taymans <wim@fluendo.com>
30119 * tools/gst-launch.c: (event_loop):
30120 Unref message after using its contents instead of
30123 2005-05-24 Wim Taymans <wim@fluendo.com>
30125 * docs/design/draft-ghostpads.txt:
30126 * docs/design/draft-push-pull.txt:
30127 * docs/design/draft-query.txt:
30128 * docs/design/part-overview.txt:
30129 Docs updates, added general overview doc.
30131 2005-05-21 David Schleef <ds@schleef.org>
30133 * docs/gst/tmpl/old/GstBin.sgml:
30134 * docs/gst/tmpl/old/GstBuffer.sgml:
30135 * docs/gst/tmpl/old/GstCaps.sgml:
30136 * docs/gst/tmpl/old/GstClock.sgml:
30137 * docs/gst/tmpl/old/GstCompat.sgml:
30138 * docs/gst/tmpl/old/GstData.sgml:
30139 * docs/gst/tmpl/old/GstElement.sgml:
30140 * docs/gst/tmpl/old/GstEvent.sgml:
30141 * docs/gst/tmpl/old/GstIndex.sgml:
30142 * docs/gst/tmpl/old/GstStructure.sgml:
30143 * docs/gst/tmpl/old/GstTag.sgml:
30144 * docs/gst/tmpl/old/cothreads.sgml:
30145 * docs/gst/tmpl/old/cothreads_compat.sgml:
30146 * docs/gst/tmpl/old/gettext.sgml:
30147 * docs/gst/tmpl/old/gobject2gtk.sgml:
30148 * docs/gst/tmpl/old/grammar.tab.sgml:
30149 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30150 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30151 * docs/gst/tmpl/old/gst_private.sgml:
30152 * docs/gst/tmpl/old/gstaggregator.sgml:
30153 * docs/gst/tmpl/old/gstarch.sgml:
30154 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30155 * docs/gst/tmpl/old/gstbufferstore.sgml:
30156 * docs/gst/tmpl/old/gstdata_private.sgml:
30157 * docs/gst/tmpl/old/gstdisksink.sgml:
30158 * docs/gst/tmpl/old/gstdisksrc.sgml:
30159 * docs/gst/tmpl/old/gstelementfactory.sgml:
30160 * docs/gst/tmpl/old/gstextratypes.sgml:
30161 * docs/gst/tmpl/old/gstfakesink.sgml:
30162 * docs/gst/tmpl/old/gstfakesrc.sgml:
30163 * docs/gst/tmpl/old/gstfdsink.sgml:
30164 * docs/gst/tmpl/old/gstfdsrc.sgml:
30165 * docs/gst/tmpl/old/gstfilesink.sgml:
30166 * docs/gst/tmpl/old/gstfilesrc.sgml:
30167 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30168 * docs/gst/tmpl/old/gstidentity.sgml:
30169 * docs/gst/tmpl/old/gstindexfactory.sgml:
30170 * docs/gst/tmpl/old/gstmarshal.sgml:
30171 * docs/gst/tmpl/old/gstmd5sink.sgml:
30172 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30173 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30174 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30175 * docs/gst/tmpl/old/gstpipefilter.sgml:
30176 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30177 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30178 * docs/gst/tmpl/old/gstshaper.sgml:
30179 * docs/gst/tmpl/old/gstspider.sgml:
30180 * docs/gst/tmpl/old/gstspideridentity.sgml:
30181 * docs/gst/tmpl/old/gststatistics.sgml:
30182 * docs/gst/tmpl/old/gsttee.sgml:
30183 * docs/gst/tmpl/old/gsttimecache.sgml:
30184 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30185 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30186 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30187 * docs/gst/tmpl/old/types.sgml:
30188 I didn't intend to add these or check them in.
30190 2005-05-19 David Schleef <ds@schleef.org>
30192 * configure.ac: Use -no-common everywhere. In a sane world, it
30193 would be the default in libtool, because without it, you can't
30194 build DLLs on Windows.
30195 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30196 * docs/gst/gstreamer-sections.txt:
30197 * docs/gst/tmpl/gstcpu.sgml:
30198 * docs/gst/tmpl/gstdata.sgml:
30199 * docs/gst/tmpl/gstthread.sgml:
30201 2005-05-19 David Schleef <ds@schleef.org>
30203 * gst/gstminiobject.c: (gst_value_set_mini_object),
30204 (gst_value_take_mini_object), (gst_value_get_mini_object):
30205 * gst/gstminiobject.h: Add GValue set/get functions.
30207 2005-05-19 Wim Taymans <wim@fluendo.com>
30209 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30210 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30211 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30213 * gst/gstbus.c: (gst_bus_post):
30214 * gst/gstelement.c: (gst_element_get_random_pad):
30215 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30216 Make subbufer unref the parent in finalize.
30217 some more debugging info.
30220 2005-05-19 Wim Taymans <wim@fluendo.com>
30222 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30223 (gst_basesink_init), (gst_basesink_finalize),
30224 (gst_basesink_activate), (gst_basesink_change_state):
30225 Don't free preroll queue too early.
30227 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30231 Hi, I'm outdated. Please shoot me.
30233 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30235 * gst/gstpipeline.c: (gst_pipeline_send_event):
30236 Do not access variables after they have been deleted.
30238 2005-05-19 Wim Taymans <wim@fluendo.com>
30240 * tools/gst-inspect.c: (print_plugin_features):
30241 A plugin feature does unfortunatly not use the
30244 2005-05-18 Wim Taymans <wim@fluendo.com>
30246 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30247 Port _span() functions to new subbuffers.
30249 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30251 * gst/gstbin.c: (gst_bin_add_func):
30252 Fix clock settery in bins when adding kids after the clock has
30255 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30257 * gst/elements/gstidentity.c: (gst_identity_class_init):
30258 Workaround until signals support GstMiniObject.
30260 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30263 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30265 2005-05-18 Wim Taymans <wim@fluendo.com>
30267 * gst/base/Makefile.am:
30268 * gst/base/gstadapter.c: (gst_adapter_base_init),
30269 (gst_adapter_class_init), (gst_adapter_init),
30270 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30271 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30272 (gst_adapter_flush), (gst_adapter_available),
30273 (gst_adapter_available_fast):
30274 * gst/base/gstadapter.h:
30275 Ported and added adapter to the base classes.
30277 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30280 * gst/gstmessage.c:
30281 Make sure the class is reffed/unreffed once before threads can be
30282 used. Fixes #304551.
30284 2005-05-17 Wim Taymans <wim@fluendo.com>
30286 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30287 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30288 * gst/gstminiobject.c: (gst_mini_object_get_type),
30289 (gst_mini_object_free):
30290 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30291 (gst_pad_push), (gst_pad_push_event):
30292 * gst/gstqueue.c: (gst_queue_change_state):
30293 Don't queue buffers in basesink when we are flushing.
30294 Unref buffer when flushing in basesink.
30295 Flush queue when going to READY
30296 Unref buffer when _push() returns an error.
30297 Don't free MiniObject instance when refcount is incremented
30298 in _finalize() so that we can recover objects.
30300 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30302 * docs/manual/advanced-schedulers.xml:
30303 * docs/manual/appendix-checklist.xml:
30304 * docs/pwg/advanced-clock.xml:
30305 * docs/pwg/advanced-interfaces.xml:
30306 * docs/pwg/advanced-request.xml:
30307 * docs/pwg/advanced-types.xml:
30308 * docs/pwg/intro-preface.xml:
30309 * examples/plugins/example.c: (gst_example_get_type),
30310 (gst_example_class_init), (gst_example_chain),
30311 (gst_example_set_property), (gst_example_get_property),
30312 (gst_example_change_state), (plugin_init):
30313 * examples/plugins/example.h:
30316 2005-05-17 Wim Taymans <wim@fluendo.com>
30318 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30319 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30320 * gst/gstqueue.c: (gst_queue_change_state):
30321 Clear queue when going to READY.
30322 Remove IN_SETCAPS flag too.
30324 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30326 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30327 Remove implicit cast from gboolean to GstElementStateReturn;
30328 make sure we still return failure in paused => ready case if
30329 the parent class fails to change state and our own stop
30332 2005-05-17 Wim Taymans <wim@fluendo.com>
30334 * tools/gst-launch.c: (event_loop):
30335 Message was unreffed too soon.
30337 2005-05-16 Andy Wingo <wingo@pobox.com>
30339 * gst/gstbin.c (sink_iterator_filter): Err... um...
30341 * check/gst/gstbin.c (test_ghost_pads): New test for the
30342 ghosting-if-elements-not-in-same-bin behavior.
30344 2005-05-16 David Schleef <ds@schleef.org>
30346 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30347 accessing refcount directly.
30349 2005-05-15 David Schleef <ds@schleef.org>
30351 * check/Makefile.am: remove GstData checks
30352 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30353 * gst/Makefile.am: add miniobject, remove data
30354 * gst/gst.h: add miniobject, remove data
30355 * gst/gstdata.c: remove
30356 * gst/gstdata.h: remove
30357 * gst/gstdata_private.h: remove
30358 * gst/gsttypes.h: remove GstEvent and GstMessage
30359 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30360 * gst/gstmarshal.list: change BOXED -> OBJECT
30362 Implement GstMiniObject.
30363 * gst/gstminiobject.c:
30364 * gst/gstminiobject.h:
30366 Modify to be subclasses of GstMiniObject.
30367 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30368 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30369 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30370 (gst_subbuffer_get_type), (gst_subbuffer_init),
30371 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30374 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30375 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30376 (_gst_event_copy), (gst_event_new):
30378 * gst/gstmessage.c: (_gst_message_initialize),
30379 (gst_message_get_type), (gst_message_class_init),
30380 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30381 (gst_message_new), (gst_message_new_error),
30382 (gst_message_new_warning), (gst_message_new_tag),
30383 (gst_message_new_state_changed), (gst_message_new_application):
30384 * gst/gstmessage.h:
30385 * gst/gstprobe.c: (gst_probe_perform),
30386 (gst_probe_dispatcher_dispatch):
30388 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30389 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30390 (_gst_query_copy), (gst_query_new):
30392 Update elements for GstData -> GstMiniObject changes
30394 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30395 (gst_queue_chain), (gst_queue_loop):
30396 * gst/elements/gstbufferstore.c:
30397 (gst_buffer_store_add_buffer_func),
30398 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30399 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30400 (gst_fakesink_render):
30401 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30402 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30403 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30404 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30405 (gst_filesrc_create_read):
30406 * gst/elements/gstidentity.c: (gst_identity_class_init):
30407 * gst/elements/gsttypefindelement.c:
30408 (gst_type_find_element_src_event), (free_entry_buffers),
30409 (gst_type_find_element_handle_event):
30410 * libs/gst/dataprotocol/dataprotocol.c:
30411 (gst_dp_header_from_buffer):
30412 * libs/gst/dataprotocol/dataprotocol.h:
30413 * libs/gst/dataprotocol/dp-private.h:
30415 2005-05-15 David Schleef <ds@schleef.org>
30417 * gst/elements/gstelements.c: Don't include headers that were
30420 2005-05-15 David Schleef <ds@schleef.org>
30422 * gst/elements/Makefile.am: Remove some elements that don't
30423 need to be in the core (or even exist at all).
30424 * gst/elements/gstaggregator.c:
30425 * gst/elements/gstaggregator.h:
30426 * gst/elements/gstmd5sink.c:
30427 * gst/elements/gstmd5sink.h:
30428 * gst/elements/gstmultifilesrc.c:
30429 * gst/elements/gstmultifilesrc.h:
30430 * gst/elements/gstpipefilter.c:
30431 * gst/elements/gstpipefilter.h:
30432 * gst/elements/gstshaper.c:
30433 * gst/elements/gstshaper.h:
30434 * gst/elements/gststatistics.c:
30435 * gst/elements/gststatistics.h:
30436 * po/POTFILES.in: Remove above files.
30438 2005-05-14 Andy Wingo <wingo@pobox.com>
30440 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30441 so as to get the refs right.
30442 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30443 unreffing objects that don't pass the filter.
30445 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30446 gst_element_set_bus.
30447 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30448 normal cases, this will destroy the bus.
30450 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30453 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30456 2005-05-13 Andy Wingo <wingo@pobox.com>
30458 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30459 gst_pad_link, call pad_link_maybe_ghosting,
30460 (pad_link_maybe_ghosting): Links pads, making sure that the
30461 elements being linked are in the same bin.
30462 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30463 Helpers for pad_link_maybe_ghosting.
30465 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30468 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30470 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30472 * docs/design/part-element-source.txt:
30475 2005-05-12 Wim Taymans <wim@fluendo.com>
30477 * gst/base/gstbasesink.c: (gst_basesink_init),
30478 (gst_basesink_activate):
30479 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30480 (gst_basesrc_is_seekable):
30481 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30482 (bin_element_is_sink), (gst_bin_change_state):
30483 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30484 * gst/gstelement.h:
30485 Identify sinks by their flag to avoid overly complicated
30487 Do state changes even for elements not reachable from the
30489 BaseSink is a sink now :)
30490 Some more debugging info in the basesrc.
30493 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30495 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30496 Implement _query on a bin, similar to _send_event.
30498 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30500 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30501 Discont event offset format should be GST_FORMAT_BYTES,
30502 not GST_FORMAT_TIME.
30504 2005-05-12 Wim Taymans <wim@fluendo.com>
30506 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30507 Same fix as Ronald's but without the signal.
30509 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30511 * gst/gstutils.c: (gst_element_query_position):
30512 No, an element is not a pad.
30514 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30516 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30517 (gst_bin_get_state):
30518 If a child is removed from a bin while we remove the child from
30519 the bin and while we're retrieving its state, signal this to the
30520 get_state function so we abort the wait (instead of waiting for
30521 a timeout) and can immediately re-iterate over all other elements.
30523 2005-05-12 Wim Taymans <wim@fluendo.com>
30525 * gst/base/Makefile.am:
30526 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30527 (gst_basesrc_start):
30528 * gst/base/gstbasesrc.h:
30529 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30530 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30531 (gst_pushsrc_init), (gst_pushsrc_create):
30532 * gst/base/gstpushsrc.h:
30533 Added is_seekable to BaseSrc
30534 Added simple PushSrc.
30536 2005-05-11 Wim Taymans <wim@fluendo.com>
30538 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30539 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30540 (gst_element_link_pads), (gst_element_query_position),
30541 (gst_element_query_convert), (intersect_caps_func),
30542 (gst_pad_query_position), (gst_pad_query_convert):
30543 Fix refcounting in utils function.
30544 No point in trying to activate a pad when it's added, it could
30545 be added from the state change function and then we deadlock, the
30546 element has to decide what to do.
30548 2005-05-10 Andy Wingo <wingo@pobox.com>
30550 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30551 *all* the arguments.
30553 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30554 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30555 lock (according to the docs -- if this is wrong change the docs).
30557 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30558 flush messages in the NULL state.
30560 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30561 message immediately and return.
30562 (gst_bus_set_flushing): New function. If a bus is flushing, it
30563 flushes out any queued messages and immediately unrefs new
30564 messages. This is so when an element goes to NULL, all of the
30565 unhandled messages coming from it can be freed, and their
30566 references to the element dropped. In other words: message source
30567 ref considered harmful :P
30569 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30570 we're finished with it.
30572 * gst/gstmessage.c (gst_message_new_state_changed):
30574 2005-05-10 Wim Taymans <wim@fluendo.com>
30576 * gst/gstvalue.c: (gst_value_compare_flags),
30577 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30578 (_gst_value_initialize):
30579 Added flags serialize/deserialize/compare code.
30581 2005-05-09 Andy Wingo <wingo@pobox.com>
30583 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30584 Intersect the peer's caps with our caps.
30586 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30588 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30589 * gst/elements/gsttypefindelement.c: (find_peek):
30590 Handle negative offsets better. Fixes decodebin.
30592 2005-05-09 Wim Taymans <wim@fluendo.com>
30594 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30595 (gst_base_transform_event):
30596 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30597 Implement accept_caps.
30598 Fix silly lock/unlock mismatch in base class.
30600 2005-05-09 Wim Taymans <wim@fluendo.com>
30602 * docs/design/draft-push-pull.txt:
30603 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30604 * gst/elements/gstfilesink.c: (gst_filesink_init),
30605 (gst_filesink_query):
30606 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30607 (gst_type_find_handle_src_query), (find_element_get_length):
30608 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30609 * gst/gstelement.h:
30610 * gst/gstmessage.c:
30611 * gst/gstmessage.h:
30612 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30613 (gst_real_pad_get_caps_unlocked),
30614 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30615 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30616 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30617 (gst_real_pad_dispose), (gst_real_pad_finalize),
30618 (gst_pad_load_and_link), (gst_pad_save_thyself),
30619 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30620 (gst_pad_check_pull_range), (gst_pad_pull_range),
30621 (gst_pad_template_get_type), (gst_pad_template_class_init),
30622 (gst_pad_template_init), (gst_pad_template_dispose),
30623 (name_is_valid), (gst_static_pad_template_get),
30624 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30625 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30626 (gst_pad_get_element_private), (gst_pad_start_task),
30627 (gst_pad_pause_task), (gst_pad_stop_task),
30628 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30629 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30630 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30631 (gst_ghost_pad_new):
30633 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30634 (gst_query_new_position), (gst_query_set_position),
30635 (gst_query_parse_position), (gst_query_new_convert),
30636 (gst_query_set_convert), (gst_query_parse_convert):
30638 * gst/gstqueryutils.c:
30639 * gst/gstqueryutils.h:
30640 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30641 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30642 (gst_queue_handle_src_query):
30643 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30644 (gst_element_query_position), (gst_element_query_convert),
30645 (intersect_caps_func), (gst_pad_query_position),
30646 (gst_pad_query_convert):
30648 * tools/gst-inspect.c: (print_pad_info):
30649 * tools/gst-xmlinspect.c: (print_element_info):
30650 Remove old query functions. Ported old code.
30651 Added position/convert helper functions to gstutils.
30652 Reordered gstpad.c code, grouping relevant things.
30653 Remove gst_message_new(), always need to speficy a specific
30657 2005-05-09 Andy Wingo <wingo@pobox.com>
30659 * gst/gstiterator.h: Add some includes.
30661 * gst/gstqueryutils.h: Include more headers.
30664 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30665 some uses of gst_pad_query.
30667 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30668 NULL out parameters.
30669 (gst_query_new_position): New proc, allocates a new position
30672 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30673 gstqueryutils.c to the build.
30675 * gst/gststructure.c (gst_structure_set_valist): Implement with
30676 the generic G_VALUE_COLLECT.
30678 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30680 * gst/Makefile.am: (gst_headers):
30681 Added gstqueryutils.h to the list of headers to install, that was
30682 a 'nachty' move wingo :)
30684 2005-05-06 Andy Wingo <wingo@pobox.com>
30687 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30688 GstData, init a memchunk.
30689 (standard_definitions): Add a few query types, deprecate a few.
30690 (gst_query_get_type): New proc.
30691 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30693 (gst_query_new_application, gst_query_get_structure): New public
30696 * docs/design/draft-query.txt: Removed LINKS from the query types,
30697 because all the rest can be dispatched to other pads -- seemed
30698 ugly to have a query that couldn't be dispatched. internal_links
30699 is fine as a pad method.
30701 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30702 in gstpad.c, but maintain binary compatibility for the moment.
30703 Will fix before 0.9 is out.
30705 * gst/gstqueryutils.c:
30706 * gst/gstqueryutils.h: New files, implement 3 methods for each
30707 query type: parse_query, parse_response, and set. Probably need an
30710 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30712 * gst/elements/gstfilesink.c (gst_filesink_query2):
30713 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30714 query_types, and formats methods.
30716 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30717 (gst_pad_set_query2_function): New functions.
30718 (gst_real_pad_init): Set query2_default as the default query2
30719 function. Basically just dispatches to internally linked pads.
30723 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30724 without using the atomic operations. Only one thread can possibly
30725 be accessing the data at this point. Changed so as to avoid
30726 gst_atomic operations.
30728 2005-05-06 Wim Taymans <wim@fluendo.com>
30730 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30731 Also set caps if we use the fallback buffer alloc.
30733 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30735 * docs/gst/Makefile.am:
30736 * docs/gst/gstreamer-docs.sgml:
30737 * docs/gst/gstreamer-sections.txt:
30738 * docs/gst/tmpl/gstatomic.sgml:
30739 * docs/gst/tmpl/gstmemchunk.sgml:
30740 * testsuite/elements/struct_i386.h:
30741 * win32/GStreamer.vcproj:
30743 Purge GstAtomic stuff from docs and win32 makefiles as well
30745 2005-05-06 Wim Taymans <wim@fluendo.com>
30747 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30748 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30749 * gst/gstpad.c: (gst_pad_peer_get_caps):
30750 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30751 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30752 (gst_queue_src_activate), (gst_queue_change_state):
30754 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30755 (intersect_caps_func):
30756 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30757 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30758 Some fixes for the peer_get_caps() change.
30760 2005-05-06 Wim Taymans <wim@fluendo.com>
30762 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30763 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30764 (gst_basesink_activate):
30765 Actually do something with error codes returned from the push
30768 2005-05-06 Wim Taymans <wim@fluendo.com>
30770 * docs/design/part-element-sink.txt:
30771 * docs/design/part-element-source.txt:
30772 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30773 (gst_basesink_event), (gst_basesink_activate):
30774 * gst/base/gstbasesink.h:
30775 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30776 (gst_basesrc_activate):
30777 * gst/base/gstbasesrc.h:
30778 * gst/gstelement.c: (gst_element_pads_activate):
30779 Some more documentation.
30780 Fixed scheduling decision in _pads_activate().
30782 2005-05-05 Andy Wingo <wingo@pobox.com>
30784 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30787 2005-05-05 Wim Taymans <wim@fluendo.com>
30789 * gst/base/Makefile.am:
30790 * gst/base/gstbasesink.h:
30791 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30792 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30793 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30794 (gst_collectpads_class_init), (gst_collectpads_init),
30795 (gst_collectpads_finalize), (gst_collectpads_new),
30796 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30797 (find_pad), (gst_collectpads_remove_pad),
30798 (gst_collectpads_is_active), (gst_collectpads_collect),
30799 (gst_collectpads_collect_range), (gst_collectpads_start),
30800 (gst_collectpads_stop), (gst_collectpads_peek),
30801 (gst_collectpads_pop), (gst_collectpads_available),
30802 (gst_collectpads_read), (gst_collectpads_flush),
30803 (gst_collectpads_chain):
30804 * gst/base/gstcollectpads.h:
30805 * gst/elements/Makefile.am:
30806 * gst/elements/gstelements.c:
30807 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30808 (gst_fakesink_get_times), (gst_fakesink_event),
30809 (gst_fakesink_preroll), (gst_fakesink_render):
30810 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30811 (gst_filesink_init), (gst_filesink_set_location),
30812 (gst_filesink_open_file), (gst_filesink_close_file),
30813 (gst_filesink_pad_query), (gst_filesink_event),
30814 (gst_filesink_render), (gst_filesink_change_state):
30815 * gst/elements/gstfilesink.h:
30816 Added object to help in making collect pad based elements.
30818 Make event function in sink baseclass return gboolean.
30820 2005-05-05 Wim Taymans <wim@fluendo.com>
30822 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30823 (gst_bin_get_by_name):
30825 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30826 (gst_clock_finalize):
30827 * gst/gstdata.c: (gst_data_replace):
30829 * gst/gstelement.c: (gst_element_request_pad),
30830 (gst_element_pads_activate):
30831 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30832 (gst_object_unref):
30833 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30834 (gst_pad_set_checkgetrange_function),
30835 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30836 (gst_pad_check_pull_range), (gst_pad_pull_range),
30837 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30838 (gst_pad_pause_task), (gst_pad_stop_task):
30839 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30840 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30841 Fix name lookup in GstBin.
30842 Added _data_replace() function and _buffer_replace()
30843 Use finalize method to clean up clock.
30844 Fix refcounting on request pads.
30845 Fix pad schedule mode error.
30846 Some more object refcounting debug info,
30849 2005-05-04 Andy Wingo <wingo@pobox.com>
30851 * check/Makefile.am:
30852 * docs/gst/tmpl/gstatomic.sgml:
30853 * docs/gst/tmpl/gstplugin.sgml:
30854 * gst/base/gstbasesink.c: (gst_basesink_activate):
30855 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30856 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30857 (gst_basesrc_query), (gst_basesrc_set_property),
30858 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30859 (gst_basesrc_activate):
30860 * gst/base/gstbasesrc.h:
30861 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30862 (gst_base_transform_src_activate):
30863 * gst/elements/gstelements.c:
30864 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30865 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30866 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30867 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30868 (gst_type_find_element_checkgetrange),
30869 (gst_type_find_element_activate):
30870 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30871 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30872 (gst_caps_load_thyself):
30873 * gst/gstelement.c: (gst_element_pads_activate),
30874 (gst_element_save_thyself), (gst_element_restore_thyself):
30875 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30876 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30878 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30879 (gst_xml_parse_file), (gst_xml_parse_memory),
30880 (gst_xml_get_element), (gst_xml_make_element):
30881 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30882 (_file_index_id_save_xml), (gst_file_index_commit):
30883 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30884 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30886 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30887 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30888 * tools/gst-complete.c: (main):
30889 * tools/gst-compprep.c: (main):
30890 * tools/gst-inspect.c: (print_element_properties_info):
30891 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30892 * tools/gst-xmlinspect.c: (print_element_properties):
30895 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30897 * gst/gstplugin.c: (gst_plugin_check_module),
30898 (gst_plugin_check_file), (gst_plugin_load_file):
30899 apply patch from #172526 to make register work on MacOSX
30901 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30903 * docs/gst/tmpl/gstconfig.sgml:
30904 * gst/gstconfig.h.in:
30905 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30906 * testsuite/debug/printf_extension.c: (main):
30907 Do not use GST_PTR_FORMAT on pointers to types with
30908 sizeof < sizeof(gpointer). Fixes test on 64-bit
30909 * testsuite/elements/property.h:
30910 use correct printf format
30912 2005-05-02 Wim Taymans <wim@fluendo.com>
30914 * docs/design/draft-push-pull.txt:
30915 * docs/design/draft-query.txt:
30916 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30917 (gst_basesrc_start):
30918 Added draft for new query API.
30919 Added draft for better selecting scheduling methods.
30920 Make basesrc ignore length if the subclass does not support
30923 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30926 possible fixes for automake-1.5 - _LIBADD is reserved
30928 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30930 * docs/faq/Makefile.am:
30931 * docs/manual/Makefile.am:
30932 * docs/manuals.mak:
30933 * docs/pwg/Makefile.am:
30935 possible fixes for automake-1.5
30937 2005-04-28 Wim Taymans <wim@fluendo.com>
30939 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30940 (gst_basesink_pad_getcaps), (gst_basesink_init),
30941 (gst_basesink_do_sync):
30942 * gst/gstclock.c: (gst_clock_entry_new):
30943 * gst/gstevent.c: (gst_event_discont_get_value):
30944 * gst/gstpipeline.c: (pipeline_bus_handler),
30945 (gst_pipeline_change_state):
30946 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30947 Better debugging of clocking info.
30948 Allow NULL values when getting discont values.
30950 2005-04-27 Wim Taymans <wim@fluendo.com>
30952 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30953 * check/gst/gstpad.c: (gst_pad_suite):
30954 Increase timeout for checks.
30956 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30958 * check/Makefile.am:
30959 fix the broken rule for cleanup. Apparently this rule is
30960 only needed on FC2, so maybe this warrants further autotool
30963 2005-04-26 Wim Taymans <wim@fluendo.com>
30965 * gst/gsttrashstack.h:
30966 Ooohh. a nasty one! After having a failed pop() from the stack,
30967 it's possible that the stack is empty. In that case, don't
30968 follow the NULL pointer.
30970 2005-04-25 Wim Taymans <wim@fluendo.com>
30972 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30973 (gst_pad_set_checkgetrange_function),
30974 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30975 (gst_pad_check_pull_range), (gst_pad_pull_range),
30976 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30977 (gst_pad_pause_task), (gst_pad_stop_task):
30978 * gst/gstplugin.c: (gst_plugin_load):
30980 Remove gst_library_load as it does more harm than good with
30981 the new g_module flags.
30982 Revert bogus caps template check in pad linking, pad caps
30983 are important when linking not the template, which is more
30984 general than the current caps.
30986 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30988 * gst/autoplug/.cvsignore:
30989 * gst/autoplug/Makefile.am:
30990 * gst/autoplug/gstsearchfuncs.c:
30991 * gst/autoplug/gstsearchfuncs.h:
30992 * gst/autoplug/gstspider.c:
30993 * gst/autoplug/gstspider.h:
30994 * gst/autoplug/gstspideridentity.c:
30995 * gst/autoplug/gstspideridentity.h:
30996 * gst/autoplug/spidertest.c:
30999 2005-04-25 Wim Taymans <wim@fluendo.com>
31001 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31002 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31003 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31004 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31006 Added stubs for unimplemented functions.
31008 2005-04-24 David Schleef <ds@schleef.org>
31010 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31013 2005-04-24 David Schleef <ds@schleef.org>
31015 Convert everything from GstAtomicInt to g_atomic_int_*, and
31020 * gst/gstatomic_impl.h:
31028 * gst/gstdata_private.h:
31032 * gst/gstmessage.c:
31035 * gst/gststructure.c:
31036 * gst/gststructure.h:
31037 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31040 2005-04-24 David Schleef <ds@schleef.org>
31042 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31043 make the regressions tests work. Remove some code that is no
31045 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31046 Disable warning for pads without templates.
31048 2005-04-24 David Schleef <ds@schleef.org>
31050 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31051 functions that handle filtered links.
31052 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31054 * gst/gstutils.c: Fix/remove utility functions that handle
31057 * gst/gstvalue.c: Add serialization/deserialization of caps
31058 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31059 requires fixing so that the filter caps notation creates
31060 a capsfilter element and sets the filter_caps property. I
31061 think everyone probably wants to keep the shorthand notation.
31062 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31063 * docs/gst/tmpl/gstpad.sgml:
31065 * gst/elements/gstelements.c: Register capsfilter element.
31066 * gst/Makefile.am: fix spacing
31067 * docs/random/ds/0.9-suggested-changes: random
31069 2005-04-23 David Schleef <ds@schleef.org>
31071 * gst/elements/Makefile.am:
31072 * gst/elements/gstcapsfilter.c: New element that acts like an
31073 identity, but filters caps. Will eventually replace filtered
31074 caps in pad linking.
31075 * gst/gstutils.c: (gst_element_create_all_pads): New function
31076 to create all the ALWAYS pads that are registered with an
31077 element class. This functionality should eventually be
31078 merged in with GstElement initialization.
31080 * testsuite/trigger/README: part of trigger test code that should
31081 have been checked in a long time ago.
31083 2005-04-23 David Schleef <ds@schleef.org>
31085 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31086 needed with new versions of libtool (nobody will confirm this),
31087 and hard to carry around.
31088 * gst/autoplug/Makefile.am:
31089 * gst/base/Makefile.am:
31090 * gst/elements/Makefile.am:
31091 * gst/indexers/Makefile.am:
31092 * gst/schedulers/Makefile.am:
31093 * libs/gst/bytestream/Makefile.am:
31094 * libs/gst/control/Makefile.am:
31095 * libs/gst/dataprotocol/Makefile.am:
31096 * libs/gst/getbits/Makefile.am:
31098 2005-04-21 Wim Taymans <wim@fluendo.com>
31100 * docs/design/draft-push-pull.txt:
31101 * docs/design/part-MT-refcounting.txt:
31102 * docs/design/part-TODO.txt:
31103 * docs/design/part-caps.txt:
31104 * docs/design/part-events.txt:
31105 * docs/design/part-gstbus.txt:
31106 * docs/design/part-gstpipeline.txt:
31107 * docs/design/part-messages.txt:
31108 * docs/design/part-push-pull.txt:
31109 * docs/design/part-query.txt:
31112 2005-04-21 Wim Taymans <wim@fluendo.com>
31114 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31115 (gst_message_new), (gst_message_new_error),
31116 (gst_message_new_warning), (gst_message_new_tag),
31117 (gst_message_new_state_changed), (gst_message_new_application),
31118 (gst_message_get_structure):
31119 * gst/gstmessage.h:
31120 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31121 (gst_structure_copy_conditional):
31122 Use parent refcount in GstMessage to ensure GstStructure
31124 Cleaned up headers a bit.
31127 2005-04-20 Wim Taymans <wim@fluendo.com>
31129 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31130 (gst_basesink_pad_getcaps), (gst_basesink_init),
31131 (gst_basesink_chain_unlocked):
31132 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31133 (gst_type_find_helper):
31134 * gst/elements/gsttypefindelement.c:
31135 (gst_type_find_element_have_type), (gst_type_find_element_init),
31136 (stop_typefinding), (gst_type_find_element_handle_event),
31137 (find_suggest), (gst_type_find_element_chain),
31138 (gst_type_find_element_checkgetrange),
31139 (gst_type_find_element_getrange), (do_typefind),
31140 (gst_type_find_element_activate):
31141 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31142 (gst_buffer_default_free), (gst_buffer_default_copy),
31143 (gst_buffer_set_caps):
31144 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31145 (gst_caps_replace):
31146 * gst/gstmessage.c: (gst_message_new),
31147 (gst_message_new_state_changed):
31148 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31149 (gst_pad_set_checkgetrange_function),
31150 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31151 (gst_pad_set_caps), (gst_pad_check_pull_range),
31152 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31154 * gst/gsttypefind.c: (gst_type_find_register):
31155 Make gst_caps_replace() work like other _replace() functions.
31156 Use _caps_replace() where possible.
31157 Make sure _message_new() initialises its field.
31158 Add gst_static_pad_template_get_caps()
31161 2005-04-18 Andy Wingo <wingo@pobox.com>
31163 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31164 on the peer, not the pad. I think that was a typo. Pass an extra
31165 arg to see if random access is possible. Activate the pads as
31166 PULL_RANGE if possible.
31168 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31170 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31171 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31174 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31176 * docs/faq/using.xml:
31177 Add note on gstreamer-properties (#154996).
31179 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31181 * docs/random/bbb/optional-properties:
31182 Some analysis on optional properties.
31184 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31186 * docs/gst/tmpl/gstelementfactory.sgml:
31187 * gst/gstelement.h:
31188 * gst/gstelementfactory.c: (gst_element_factory_init),
31189 (gst_element_factory_cleanup), (gst_element_register),
31190 (__gst_element_factory_add_static_pad_template),
31191 (gst_element_factory_get_static_pad_templates),
31192 (gst_element_factory_can_src_caps),
31193 (gst_element_factory_can_sink_caps):
31194 * gst/registries/Makefile.am:
31195 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31196 (gst_xml_registry_class_init), (gst_xml_registry_init),
31197 (gst_xml_registry_new), (gst_xml_registry_set_property),
31198 (gst_xml_registry_get_property), (get_time), (make_dir),
31199 (gst_xml_registry_get_perms_func),
31200 (plugin_times_older_than_recurse), (plugin_times_older_than),
31201 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31202 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31203 (add_to_char_array), (read_string), (read_uint), (read_enum),
31204 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31205 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31206 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31207 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31208 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31209 (gst_xml_registry_rebuild):
31210 * gst/registries/gstlibxmlregistry.h:
31211 * tools/gst-compprep.c: (main):
31212 * tools/gst-inspect.c: (print_pad_templates_info):
31213 * tools/gst-xmlinspect.c: (print_element_info):
31214 Use libxml2 for registry parsing, use staticpadtemplates in
31215 elementfactories. Makes gst_init() +/- 10x faster.
31217 2005-04-12 Wim Taymans <wim@fluendo.com>
31219 * gst/base/Makefile.am:
31220 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31221 (gst_basesink_pad_getcaps), (gst_basesink_init),
31222 (gst_basesink_event), (gst_basesink_change_state):
31223 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31224 (gst_basesrc_init), (gst_basesrc_query),
31225 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31226 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31227 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31228 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31229 (gst_basesrc_stop), (gst_basesrc_activate),
31230 (gst_basesrc_change_state):
31231 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31232 (helper_find_suggest), (gst_type_find_helper):
31233 * gst/base/gsttypefindhelper.h:
31234 * gst/elements/Makefile.am:
31235 * gst/elements/gstelements.c:
31236 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31237 (gst_fakesink_get_times), (gst_fakesink_event),
31238 (gst_fakesink_preroll), (gst_fakesink_render):
31239 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31240 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31241 (gst_fakesrc_get_property), (gst_fakesrc_create),
31242 (gst_fakesrc_start), (gst_fakesrc_stop):
31243 * gst/elements/gstfakesrc.h:
31244 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31245 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31246 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31247 (gst_filesrc_create_read), (gst_filesrc_create),
31248 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31249 (gst_filesrc_start):
31250 * gst/elements/gsttypefindelement.c:
31251 (gst_type_find_element_have_type), (gst_type_find_element_init),
31252 (start_typefinding), (stop_typefinding), (push_buffer_store),
31253 (gst_type_find_element_handle_event),
31254 (gst_type_find_element_chain),
31255 (gst_type_find_element_checkgetrange),
31256 (gst_type_find_element_getrange), (do_typefind),
31257 (gst_type_find_element_activate),
31258 (gst_type_find_element_change_state):
31259 * gst/elements/gsttypefindelement.h:
31260 * gst/gstpipeline.c: (pipeline_bus_handler):
31261 Added typefind helper.
31262 Small preroll fix in the base sink.
31263 Disable typefind code in basesrc.
31264 Crude port of typefindelement.
31268 2005-04-11 Wim Taymans <wim@fluendo.com>
31270 * check/gst/gstbus.c: (gstbus_suite):
31271 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31272 * check/gstcheck.h:
31273 Fix up the timeout so that the test does not fail.
31275 2005-04-06 Wim Taymans <wim@fluendo.com>
31278 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31279 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31280 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31281 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31282 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31283 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31284 (gst_basesrc_stop), (gst_basesrc_activate),
31285 (gst_basesrc_change_state), (basesrc_find_peek),
31286 (basesrc_find_suggest), (gst_basesrc_type_find):
31287 * gst/base/gstbasesrc.h:
31288 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31289 (gst_filesrc_class_init), (gst_filesrc_init),
31290 (gst_filesrc_finalize), (gst_filesrc_set_location),
31291 (gst_filesrc_set_property), (gst_filesrc_get_property),
31292 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31293 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31294 (gst_filesrc_create_read), (gst_filesrc_create),
31295 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31296 * gst/elements/gstfilesrc.h:
31297 * gst/gstelement.c: (gst_element_get_state_func),
31298 (gst_element_lost_state), (gst_element_pads_activate):
31299 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31300 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31301 (gst_pad_pull_range):
31303 More work on the generic source base class, implement seeking,
31305 Make filesrc extend the base source class.
31306 Added gst_pad_set_checkgetrange_function to GstPad.
31308 2005-04-06 Andy Wingo <wingo@pobox.com>
31310 * pkgconfig/gstreamer-base.pc.in:
31311 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31313 * pkgconfig/Makefile.am:
31314 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31316 2005-04-04 Wim Taymans <wim@fluendo.com>
31318 * gst/base/Makefile.am:
31320 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31321 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31322 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31323 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31324 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31325 (gst_basesrc_base_init), (gst_basesrc_class_init),
31326 (gst_basesrc_init), (gst_basesrc_get_formats),
31327 (gst_basesrc_get_query_types), (gst_basesrc_query),
31328 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31329 (gst_basesrc_set_property), (gst_basesrc_get_property),
31330 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31331 (gst_basesrc_loop), (gst_basesrc_activate),
31332 (gst_basesrc_change_state):
31333 * gst/base/gstbasesrc.h:
31334 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31335 (gst_fakesrc_class_init), (gst_fakesrc_init),
31336 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31337 (gst_fakesrc_get_property), (gst_fakesrc_create):
31338 * gst/elements/gstfakesrc.h:
31339 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31340 (gst_filesrc_open_file), (gst_filesrc_loop),
31341 (gst_filesrc_activate), (filesrc_find_peek),
31342 (gst_filesrc_type_find):
31343 Made base source class, make fakesrc extend it.
31344 Add comments to basesink class.
31345 Some filesrc cleanup.
31347 2005-03-31 David Schleef <ds@schleef.org>
31349 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31350 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31351 expected to link against libgstreamer.
31352 * gst/base/Makefile.am: link against libgstreamer
31353 * gst/elements/Makefile.am: same
31355 2005-03-31 Andy Wingo <wingo@pobox.com>
31357 * tests/instantiate/Makefile.am:
31358 * tests/instantiate/caps.c: Add test to test speed of caps copy
31361 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31362 GMemChunk to be fair.
31364 * gst/gsttrashstack.h: Remove warning about using the fallback
31365 trash stack implementation, it's still faster than malloc.
31367 2005-03-30 Andy Wingo <wingo@pobox.com>
31369 * tests/complexity.c: Add a copyright.
31371 2005-03-31 Wim Taymans <wim@fluendo.com>
31373 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31374 (gst_base_transform_class_init), (gst_base_transform_init),
31375 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31376 (gst_base_transform_get_property),
31377 (gst_base_transform_sink_activate),
31378 (gst_base_transform_src_activate),
31379 (gst_base_transform_change_state):
31380 * gst/base/gstbasetransform.h:
31381 * gst/elements/gstidentity.c: (gst_identity_class_init),
31382 (gst_identity_event), (gst_identity_check_perfect),
31383 (gst_identity_transform), (gst_identity_start),
31384 (gst_identity_stop):
31385 Added start/stop methods to transform base class so subclasses
31386 don't need to deal with state changes even.
31388 2005-03-31 Wim Taymans <wim@fluendo.com>
31390 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31391 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31393 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31394 (gst_pad_pull_range):
31395 Added rate to the discont event to prepare for variable speed
31396 and reverse playback.
31398 2005-03-29 David Schleef <ds@schleef.org>
31401 * testsuite/trigger/Makefile.am:
31402 * testsuite/trigger/trigger.c: A little example program to show
31403 how trigger-based elements can work.
31405 2005-03-29 Wim Taymans <wim@fluendo.com>
31407 * gst/base/Makefile.am:
31409 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31410 (gst_basesink_base_init), (gst_basesink_class_init),
31411 (gst_basesink_pad_getcaps), (gst_basesink_init),
31412 (gst_basesink_activate), (gst_basesink_change_state):
31413 * gst/base/gstbasesink.h:
31414 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31415 (gst_base_transform_base_init), (gst_base_transform_finalize),
31416 (gst_base_transform_class_init), (gst_base_transform_init),
31417 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31418 (gst_base_transform_event), (gst_base_transform_getrange),
31419 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31420 (gst_base_transform_set_property),
31421 (gst_base_transform_get_property),
31422 (gst_base_transform_sink_activate),
31423 (gst_base_transform_src_activate),
31424 (gst_base_transform_change_state):
31425 * gst/base/gstbasetransform.h:
31426 * gst/elements/gstidentity.c: (gst_identity_finalize),
31427 (gst_identity_class_init), (gst_identity_init),
31428 (gst_identity_event), (gst_identity_check_perfect),
31429 (gst_identity_transform), (gst_identity_set_property),
31430 (gst_identity_get_property), (gst_identity_change_state):
31431 * gst/elements/gstidentity.h:
31432 * gst/gstelement.c: (gst_element_get_state_func),
31433 (gst_element_lost_state), (gst_element_pads_activate):
31434 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31435 (gst_pad_check_pull_range), (gst_pad_pull_range):
31437 Simplify pad activation.
31438 Added function to check if pull_range can be performed.
31439 Error out when pulling inactive or flushing pads.
31440 Removed const from refcounted types as it does not make sense.
31441 Simplify pad templates in basesink
31442 Added base class for simple 1-to-1 transforms.
31443 Make identity subclass the base transform.
31445 2005-03-29 Andy Wingo <wingo@pobox.com>
31447 * docs/libs/gstreamer-libs-overrides.txt:
31448 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31449 really don't understand what's going on, but like whatever. I want
31452 * docs/gst/Makefile.am:
31453 * docs/libs/Makefile.am: Dist the overrides files.
31455 * check/Makefile.am (clean-local): Remove .libs directories.
31457 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31458 elements to EXTRA_DIST, so po/ files are happy.
31460 * po/POTFILES.in: Er, remove it here.
31462 * po/POTFILES: Remove gstspider.c.
31464 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31466 * docs/libs/gstreamer-libs-docs.sgml:
31467 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31470 * tests/complexity.c (main): Set the length of the preroll queue
31471 on the sinks to prevent a lockup.
31473 * libs/gst/dataprotocol/Makefile.am:
31474 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31475 the same as the one in check/gst-libs/gdp.c.
31477 * po/, docs/gst/: Commit automatic changes to docs and po files.
31479 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31480 the versioned libgstbase.
31482 * check/Makefile.am: Depend on an unversioned gst-register, seems
31483 to make autoconf happier.
31485 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31487 2005-03-28 Wim Taymans <wim@fluendo.com>
31490 * docs/design/part-gstelement.txt:
31491 * docs/design/part-negotiation.txt:
31492 * docs/design/part-preroll.txt:
31493 * docs/design/part-scheduling.txt:
31494 * docs/design/part-states.txt:
31496 * gst/base/Makefile.am:
31498 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31499 (gst_basesink_base_init), (gst_basesink_class_init),
31500 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31501 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31502 (gst_basesink_set_pad_functions),
31503 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31504 (gst_basesink_set_property), (gst_basesink_get_property),
31505 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31506 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31507 (gst_basesink_preroll_queue_push),
31508 (gst_basesink_preroll_queue_empty),
31509 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31510 (gst_basesink_event), (gst_basesink_get_times),
31511 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31512 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31513 (gst_basesink_loop), (gst_basesink_activate),
31514 (gst_basesink_change_state):
31515 * gst/base/gstbasesink.h:
31516 * gst/elements/Makefile.am:
31517 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31518 (gst_fakesink_class_init), (gst_fakesink_init),
31519 (gst_fakesink_set_property), (gst_fakesink_get_property),
31520 (gst_fakesink_get_times), (gst_fakesink_event),
31521 (gst_fakesink_preroll), (gst_fakesink_render),
31522 (gst_fakesink_change_state):
31523 * gst/elements/gstfakesink.h:
31524 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31525 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31526 * gst/gstelement.c: (gst_element_add_pad),
31527 (gst_element_get_state_func), (gst_element_abort_state),
31528 (gst_element_commit_state), (gst_element_lost_state),
31529 (gst_element_set_state), (gst_element_pads_activate):
31530 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31531 * gst/gstpipeline.c: (gst_pipeline_send_event),
31532 (gst_pipeline_change_state):
31533 Added state change code.
31534 Added/updated docs.
31535 Added sink base class, make fakesink extend the base class.
31536 Small cleanups in GstPipeline.
31538 2005-03-26 David Schleef <ds@schleef.org>
31540 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31541 is broken and should be implemented in a different library.
31542 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31543 * gst/gst.h: remove gstcpu.h
31544 * gst/gstcpu.c: remove
31545 * gst/gstcpu.h: remove
31546 * gst/Makefile.am.future: Remove this file. It's ancient.
31548 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31550 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31551 (gst_bin_send_event):
31552 Add default event/set_manager handlers. The set_manager handler
31553 takes care that the manager is distributed over kids that were
31554 already in the bin before the manager was set. The event handler
31555 is a utility virtual function that sends the event over all sinks,
31556 so that gst_element_send_event (bin, event); has the expected
31558 * gst/gstpad.c: (gst_pad_event_default):
31559 Re-install default event handling for discontinuities, so that
31560 seeking works without requiring hacks in applications or extra
31562 * gst/gstpipeline.c: (gst_pipeline_class_init),
31563 (gst_pipeline_send_event):
31564 Half hack, half utility: set a pipeline to PAUSED for seek events,
31565 since that is the only way we can guarantee a/v sync. Means that
31566 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31567 and it "just works".
31569 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31571 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31572 Lock/unlock mismatch.
31574 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31576 * docs/faq/gst-uninstalled:
31577 add gst-plugins-base
31578 * docs/gst/Makefile.am:
31579 don't error out until docs are fixed
31580 * docs/gst/gstreamer.types:
31583 2005-03-22 Wim Taymans <wim@fluendo.com>
31585 * check/Makefile.am:
31586 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31587 * gst/gststructure.c: (gst_structure_set_valist),
31588 (gst_structure_copy_conditional):
31589 Activated more tests.
31590 Added message test.
31591 Added G_TYPE_POINTER to GstStructure.
31594 2005-03-22 Wim Taymans <wim@fluendo.com>
31596 * docs/design/part-TODO.txt:
31597 * docs/design/part-events.txt:
31598 * docs/design/part-gstbin.txt:
31599 * docs/design/part-gstbus.txt:
31600 * docs/design/part-gstpipeline.txt:
31601 * docs/design/part-messages.txt:
31603 * gst/gstmessage.c:
31606 2005-03-21 Wim Taymans <wim@fluendo.com>
31608 * gst/gstbus.c: (gst_bus_post):
31609 Fix copy-and-paste error.
31611 2005-03-21 Wim Taymans <wim@fluendo.com>
31613 * check/Makefile.am:
31615 * gst/elements/Makefile.am:
31616 * gst/elements/gstelements.c:
31617 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31618 (gst_fakesink_event), (gst_fakesink_chain):
31619 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31620 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31621 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31622 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31623 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31624 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31625 (gst_fakesrc_loop), (gst_fakesrc_activate),
31626 (gst_fakesrc_change_state):
31627 * gst/elements/gstfakesrc.h:
31628 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31629 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31630 (gst_filesrc_open_file), (gst_filesrc_loop),
31631 (gst_filesrc_activate), (gst_filesrc_change_state),
31632 (filesrc_find_peek), (filesrc_find_suggest),
31633 (gst_filesrc_type_find):
31634 * gst/elements/gstidentity.c: (gst_identity_finalize),
31635 (gst_identity_class_init), (gst_identity_init),
31636 (gst_identity_proxy_getcaps), (identity_queue_push),
31637 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31638 (gst_identity_getrange), (gst_identity_chain),
31639 (gst_identity_sink_loop), (gst_identity_src_loop),
31640 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31641 (gst_identity_set_property), (gst_identity_get_property),
31642 (gst_identity_change_state):
31643 * gst/elements/gstidentity.h:
31644 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31645 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31646 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31647 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31648 (gst_tee_sink_activate):
31649 * gst/elements/gsttee.h:
31650 * gst/gst.c: (gst_register_core_elements), (init_post):
31652 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31653 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31654 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31655 (gst_bin_change_state):
31657 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31658 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31659 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31660 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31661 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31662 (bus_watch_callback), (bus_watch_destroy),
31663 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31664 (poll_timeout), (gst_bus_poll):
31668 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31669 (gst_element_post_message), (gst_element_message_full),
31670 (gst_element_get_state_func), (gst_element_get_state),
31671 (gst_element_abort_state), (gst_element_commit_state),
31672 (gst_element_lost_state), (gst_element_set_state),
31673 (gst_element_pads_activate), (gst_element_change_state),
31674 (gst_element_dispose), (gst_element_set_manager_func),
31675 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31676 (gst_element_set_manager), (gst_element_get_manager),
31677 (gst_element_set_bus), (gst_element_get_bus),
31678 (gst_element_set_scheduler), (gst_element_get_scheduler):
31679 * gst/gstelement.h:
31680 * gst/gstevent.c: (gst_event_new_segment_seek),
31681 (gst_event_new_flush):
31683 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31684 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31685 (gst_message_new_eos), (gst_message_new_error),
31686 (gst_message_new_warning), (gst_message_new_tag),
31687 (gst_message_new_state_changed), (gst_message_new_application),
31688 (gst_message_get_structure), (gst_message_parse_tag),
31689 (gst_message_parse_state_changed), (gst_message_parse_error),
31690 (gst_message_parse_warning):
31691 * gst/gstmessage.h:
31692 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31693 (gst_real_pad_set_property), (gst_pad_set_active),
31694 (gst_pad_is_active), (gst_pad_set_blocked_async),
31695 (gst_pad_set_blocked), (gst_pad_is_blocked),
31696 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31697 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31698 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31699 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31700 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31701 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31702 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31703 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31704 (gst_pad_set_caps), (gst_pad_configure_sink),
31705 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31706 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31707 (gst_real_pad_dispose), (gst_real_pad_finalize),
31708 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31709 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31710 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31712 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31713 (pipeline_bus_handler), (gst_pipeline_change_state),
31714 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31715 * gst/gstpipeline.h:
31717 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31718 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31719 (gst_queue_link_src), (gst_queue_bufferalloc),
31720 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31721 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31722 (gst_queue_loop), (gst_queue_handle_src_event),
31723 (gst_queue_handle_src_query), (gst_queue_src_activate),
31724 (gst_queue_change_state):
31726 * gst/gstscheduler.c: (gst_scheduler_init),
31727 (gst_scheduler_dispose), (gst_scheduler_create_task),
31728 (gst_scheduler_factory_create):
31729 * gst/gstscheduler.h:
31730 * gst/gststructure.c: (gst_structure_get_type),
31731 (gst_structure_copy_conditional):
31732 * gst/gststructure.h:
31733 * gst/gsttaginterface.h:
31734 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31735 (gst_task_init), (gst_task_dispose), (gst_task_create),
31736 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31742 * gst/schedulers/Makefile.am:
31743 * gst/schedulers/cothreads_compat.h:
31744 * gst/schedulers/entryscheduler.c:
31745 * gst/schedulers/faircothreads.c:
31746 * gst/schedulers/faircothreads.h:
31747 * gst/schedulers/fairscheduler.c:
31748 * gst/schedulers/gstbasicscheduler.c:
31749 * gst/schedulers/gstoptimalscheduler.c:
31750 * gst/schedulers/gthread-cothreads.h:
31751 * gst/schedulers/threadscheduler.c:
31752 (gst_thread_scheduler_task_get_type),
31753 (gst_thread_scheduler_task_class_init),
31754 (gst_thread_scheduler_task_init),
31755 (gst_thread_scheduler_task_start),
31756 (gst_thread_scheduler_task_stop),
31757 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31758 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31759 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31760 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31762 * libs/gst/Makefile.am:
31763 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31764 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31765 (gst_file_pad_parent_set):
31766 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31767 (gst_dp_event_from_packet):
31768 * tests/complexity.c: (main):
31769 * tests/mass_elements.c: (main):
31770 * testsuite/states/locked.c: (message_received), (main):
31771 * testsuite/states/parent.c: (main):
31772 * tools/gst-inspect.c: (print_element_flag_info),
31773 (print_implementation_info), (print_pad_info):
31774 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31776 * tools/gst-md5sum.c: (event_loop), (main):
31777 * tools/gst-typefind.c: (main):
31778 * tools/gst-xmlinspect.c: (print_element_info):
31780 Added GstBus for mainloop integration.
31781 Added GstMessage for sending notifications on the bus.
31782 Added GstTask as an abstraction for pipeline entry points.
31784 Removed Schedulers.
31785 Simplified GstQueue for multithreaded core.
31786 Made _link threadsafe, removed old capsnego.
31787 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31788 Added pad blocking functions.
31789 Reworked scheduling functions in GstPad to prepare for
31790 scheduling updates soon.
31791 Moved events out of data stream.
31792 Simplified GstEvent types.
31793 Added return values to push/pull.
31794 Removed clocking from GstElement.
31795 Added prototypes for state change function for next merge.
31796 Removed iterate from bins and state change management.
31797 Fixed some elements, disabled others for now.
31798 Fixed -inspect and -launch.
31799 Added check for GstBus.
31801 2005-03-10 Wim Taymans <wim@fluendo.com>
31803 * docs/design/part-MT-refcounting.txt:
31804 * docs/design/part-clocks.txt:
31805 * docs/design/part-gstelement.txt:
31806 * docs/design/part-gstobject.txt:
31807 * docs/design/part-standards.txt:
31808 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31809 (gst_bin_remove_func), (gst_bin_remove):
31813 * testsuite/clock/clock1.c: (main):
31814 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31816 * testsuite/dlopen/loadgst.c: (do_test):
31817 * testsuite/refcounting/bin.c: (add_remove_test1),
31818 (add_remove_test2), (main):
31819 * testsuite/refcounting/element.c: (main):
31820 * testsuite/refcounting/element_pad.c: (main):
31821 * testsuite/refcounting/pad.c: (main):
31822 * tools/gst-launch.c: (sigint_handler_sighandler):
31823 * tools/gst-typefind.c: (main):
31825 Added doc about clock.
31826 removed gst_bin_iterate_recurse_up(), marked methods
31828 Fix more testsuites.
31830 2005-03-09 Wim Taymans <wim@fluendo.com>
31832 * gst/gstpad.c: (gst_pad_get_direction),
31833 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31834 (gst_pad_collect_valist):
31835 * testsuite/bins/interface.c: (main):
31836 * testsuite/caps/audioscale.c: (test_caps):
31837 * testsuite/caps/caps.c: (test1), (test2), (test3):
31838 * testsuite/caps/deserialize.c: (main):
31839 * testsuite/caps/enumcaps.c: (main):
31840 * testsuite/caps/filtercaps.c: (main):
31841 * testsuite/caps/intersect2.c: (main):
31842 * testsuite/caps/random.c: (main):
31843 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31844 * testsuite/caps/sets.c: (check_caps):
31845 * testsuite/caps/simplify.c: (check_caps), (main):
31846 * testsuite/caps/subtract.c: (check_caps):
31847 Fix _pad_get_direction wrt ghostpads.
31848 Fix caps testsuite.
31850 2005-03-09 Wim Taymans <wim@fluendo.com>
31852 * check/Makefile.am:
31853 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31854 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31855 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31856 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31857 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31858 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31859 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31860 (bin_element_is_sink), (gst_bin_iterate_sinks),
31861 (gst_bin_iterate_all_by_interface):
31863 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31864 (gst_element_change_state), (gst_element_dispose),
31865 (gst_element_finalize), (gst_element_set_loop_function):
31866 * gst/gstelement.h:
31867 * gst/gstiterator.c: (find_custom_fold_func):
31868 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31869 (gst_pad_collectv), (gst_pad_collect_valist),
31870 (gst_pad_template_new):
31871 * gst/gstpipeline.c: (gst_pipeline_class_init),
31872 (gst_pipeline_dispose), (gst_pipeline_set_property),
31873 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31874 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31875 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31877 * gst/schedulers/entryscheduler.c:
31878 * gst/schedulers/gstbasicscheduler.c:
31879 (gst_basic_scheduler_cothreaded_chain),
31880 (gst_basic_scheduler_chain_add_element):
31881 * testsuite/bins/interface.c: (main):
31883 Added GstSystemClock test.
31884 Implemented clock distribution code in GstBin.
31885 Implemented iterate sinks method for future use.
31886 Rearranged gstelement.h
31887 Fix GstIterator comparison bug.
31888 Moved some code to GstPipeline, mostly clocking related.
31890 2005-03-09 Wim Taymans <wim@fluendo.com>
31893 * gst/gst_private.h:
31894 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31895 (gst_bin_remove_func), (gst_bin_remove),
31896 (gst_bin_get_by_name_recurse_up):
31897 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31898 (gst_clock_id_compare_func), (gst_clock_id_wait),
31899 (gst_clock_id_wait_async), (gst_clock_init),
31900 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31901 * gst/gstelement.h:
31902 * gst/gstinfo.c: (_gst_debug_init):
31904 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31905 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31907 Bump version number, we're now 0.9.0
31908 Add future debugging category.
31909 Fix NULL _unref() in _get_by_name_recurse_up
31910 Rearrange gstpad.h.
31913 2005-03-08 Wim Taymans <wim@fluendo.com>
31915 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31916 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31917 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31918 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31919 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31920 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31921 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31922 * gst/elements/gstidentity.c: (gst_identity_class_init):
31923 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31924 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31925 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31926 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31927 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31929 * gst/gstelement.c: (gst_element_class_init),
31930 (gst_element_base_class_init), (gst_element_init),
31931 (gst_element_get_random_pad), (gst_element_wait_state_change),
31932 (gst_element_change_state), (gst_element_dispose),
31933 (gst_element_finalize), (gst_element_set_loop_function):
31934 * gst/gstelement.h:
31935 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31936 * gst/gstthread.c: (gst_thread_class_init),
31937 (gst_thread_release_children_locks), (gst_thread_change_state):
31938 * gst/schedulers/gstbasicscheduler.c:
31939 (gst_basic_scheduler_loopfunc_wrapper),
31940 (gst_basic_scheduler_chain_wrapper),
31941 (gst_basic_scheduler_src_wrapper),
31942 (gst_basic_scheduler_remove_element):
31943 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31944 Remove threadsafe properties. Fix elements because GObject
31945 complains when installing a property before declaring a
31946 set/get_property handler.
31947 Rearrange gstelement.h file, use STATE macros for state locks.
31948 Free mutexes in the finalize method instead of dispose.
31950 2005-03-08 Wim Taymans <wim@fluendo.com>
31952 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31953 * gst/gstthread.c: (gst_thread_release_children_locks):
31954 Added parentage check.
31955 Fix build og GstThread again.
31957 2005-03-08 Wim Taymans <wim@fluendo.com>
31959 * docs/design/part-MT-refcounting.txt:
31960 * docs/design/part-conventions.txt:
31961 * docs/design/part-gstobject.txt:
31962 * docs/design/part-relations.txt:
31963 * docs/design/part-standards.txt:
31964 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31965 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31966 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31967 (gst_bin_iterate_all_by_interface):
31970 * gst/gstelement.c: (gst_element_class_init),
31971 (gst_element_change_state), (gst_element_set_loop_function):
31972 * gst/gstelement.h:
31973 * gst/gstiterator.c:
31974 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31975 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31976 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31977 (gst_object_set_parent), (gst_object_unparent),
31978 (gst_object_check_uniqueness):
31980 Docs updates, clean up some headers.
31982 2005-03-07 Wim Taymans <wim@fluendo.com>
31984 * check/.cvsignore:
31985 * check/Makefile.am:
31986 * check/gst-libs/.cvsignore:
31987 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31988 * check/gst/.cvsignore:
31989 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31990 (START_TEST), (gstbus_suite), (main):
31991 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31992 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31993 (gst_data_suite), (main):
31994 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31995 (add_fold_func), (gstiterator_suite), (main):
31996 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31997 (thread_name_object), (thread_name_object_default),
31998 (gst_object_name_compare), (gst_object_suite), (main):
31999 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32000 (gst_pad_suite), (main):
32001 * check/gstcheck.c: (gst_check_log_message_func),
32002 (gst_check_log_critical_func), (gst_check_init):
32003 * check/gstcheck.h:
32004 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32005 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32008 2005-03-07 Wim Taymans <wim@fluendo.com>
32010 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32011 (gst_list_iterator_next), (gst_list_iterator_resync),
32012 (gst_list_iterator_free), (gst_iterator_new_list),
32013 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32014 (gst_iterator_free), (gst_iterator_push), (filter_next),
32015 (filter_resync), (filter_uninit), (filter_free),
32016 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32017 (gst_iterator_foreach), (find_custom_fold_func),
32018 (gst_iterator_find_custom):
32019 * gst/gstiterator.h:
32020 Added missing files.
32022 2005-03-07 Wim Taymans <wim@fluendo.com>
32026 * docs/design/part-MT-refcounting.txt:
32027 * docs/design/part-conventions.txt:
32028 * docs/design/part-gstobject.txt:
32029 * docs/design/part-relations.txt:
32030 * examples/mixer/mixer.c: (main):
32031 * examples/thread/thread.c: (eos), (main):
32033 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32034 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32035 (gst_spider_plug_from_srcpad):
32036 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32037 (gst_spider_identity_change_state),
32038 (gst_spider_identity_sink_loop_type_finding):
32039 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32040 * gst/elements/gstidentity.c: (gst_identity_init):
32041 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32042 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32043 * gst/elements/gsttypefindelement.c: (free_entry):
32046 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32047 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32048 (gst_bin_set_index), (gst_bin_set_element_sched),
32049 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32050 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32051 (gst_bin_iterate_elements), (iterate_child_recurse),
32052 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32053 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32054 (compare_interface), (gst_bin_get_by_interface),
32055 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32057 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32058 (gst_buffer_default_free), (gst_buffer_default_copy),
32059 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32060 (gst_buffer_create_sub):
32062 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32063 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32064 (gst_caps_unref), (gst_static_caps_get),
32065 (gst_caps_remove_and_get_structure), (gst_caps_append),
32066 (gst_caps_append_structure), (gst_caps_remove_structure),
32067 (gst_caps_copy_nth), (gst_caps_set_simple),
32068 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32069 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32070 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32071 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32072 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32073 (gst_caps_structure_figure_out_union),
32074 (gst_caps_switch_structures), (gst_caps_do_simplify),
32075 (gst_caps_replace), (gst_caps_from_string),
32076 (gst_caps_copy_conditional):
32078 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32079 (_gst_clock_id_free), (gst_clock_id_unref),
32080 (gst_clock_id_compare_func), (gst_clock_id_wait),
32081 (gst_clock_id_wait_async), (gst_clock_class_init),
32082 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32083 (gst_clock_get_time), (gst_clock_set_time_adjust),
32084 (gst_clock_set_property), (gst_clock_get_property):
32087 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32088 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32090 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32091 (gst_element_requires_clock), (gst_element_provides_clock),
32092 (gst_element_set_clock), (gst_element_clock_wait),
32093 (gst_element_wait), (gst_element_set_time_delay),
32094 (gst_element_is_indexable), (gst_element_add_pad),
32095 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32096 (pad_compare_name), (gst_element_get_static_pad),
32097 (gst_element_request_pad), (gst_element_get_request_pad),
32098 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32099 (gst_element_class_get_pad_template_list),
32100 (gst_element_class_get_pad_template), (gst_element_error_func),
32101 (gst_element_get_random_pad), (gst_element_get_event_masks),
32102 (gst_element_send_event), (gst_element_seek),
32103 (gst_element_get_query_types), (gst_element_query),
32104 (gst_element_get_formats), (gst_element_convert),
32105 (gst_element_is_locked_state), (gst_element_set_locked_state),
32106 (gst_element_sync_state_with_parent), (gst_element_change_state),
32107 (gst_element_finalize), (gst_element_yield),
32108 (gst_element_interrupt), (gst_element_set_scheduler),
32109 (gst_element_get_scheduler), (gst_element_set_loop_function):
32110 * gst/gstelement.h:
32112 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32113 (gst_format_get_by_nick), (gst_format_get_details),
32114 (gst_format_iterate_definitions):
32116 * gst/gstindex.c: (gst_index_gtype_resolver):
32119 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32120 (gst_mem_chunk_free):
32121 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32122 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32123 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32124 (gst_object_dispatch_properties_changed),
32125 (gst_object_set_name_default), (gst_object_set_name),
32126 (gst_object_get_name), (gst_object_set_name_prefix),
32127 (gst_object_get_name_prefix), (gst_object_set_parent),
32128 (gst_object_get_parent), (gst_object_unparent),
32129 (gst_object_check_uniqueness), (gst_object_save_thyself),
32130 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32131 (gst_object_set_property), (gst_object_get_property),
32132 (gst_object_get_path_string):
32134 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32135 (gst_real_pad_init), (gst_real_pad_get_property),
32136 (gst_pad_custom_new), (gst_pad_get_direction),
32137 (gst_pad_set_active), (gst_pad_is_active),
32138 (gst_pad_set_event_function), (gst_pad_is_linked),
32139 (gst_pad_link_free), (gst_pad_link_intersect),
32140 (gst_pad_link_fixate), (gst_pad_set_caps),
32141 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32142 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32143 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32144 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32145 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32146 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32147 (gst_pad_realize), (gst_pad_get_allowed_caps),
32148 (gst_real_pad_dispose), (gst_real_pad_finalize),
32149 (gst_pad_collectv), (gst_pad_collect_valist),
32150 (gst_pad_template_dispose), (gst_pad_template_new),
32151 (gst_pad_get_internal_links):
32153 * gst/gstpipeline.c: (gst_pipeline_dispose),
32154 (gst_pipeline_change_state):
32155 * gst/gstpipeline.h:
32157 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32158 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32159 * gst/gstpluginfeature.h:
32160 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32161 * gst/gstquery.c: (_gst_query_type_initialize),
32162 (gst_query_type_register), (gst_query_type_get_by_nick),
32163 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32165 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32166 * gst/gstscheduler.c: (gst_scheduler_add_element),
32167 (gst_scheduler_factory_create):
32168 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32169 (gst_structure_free), (gst_structure_set_name),
32170 (gst_structure_id_set_value), (gst_structure_set_value),
32171 (gst_structure_set_valist), (gst_structure_remove_field),
32172 (gst_structure_remove_fields),
32173 (gst_structure_remove_fields_valist),
32174 (gst_structure_remove_all_fields), (gst_structure_foreach),
32175 (gst_structure_map_in_place),
32176 (gst_caps_structure_fixate_field_nearest_int),
32177 (gst_caps_structure_fixate_field_nearest_double):
32178 * gst/gststructure.h:
32179 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32180 (gst_system_clock_init), (gst_system_clock_dispose),
32181 (gst_system_clock_async_thread),
32182 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32183 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32184 * gst/gstsystemclock.h:
32185 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32186 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32187 * gst/gsttaginterface.c:
32188 * gst/gstthread.c: (gst_thread_dispose),
32189 (gst_thread_release_children_locks), (gst_thread_change_state),
32190 (gst_thread_main_loop):
32191 * gst/gsttrashstack.h:
32192 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32194 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32195 (gst_element_request_pad), (gst_element_get_pad_from_template),
32196 (gst_element_request_compatible_pad),
32197 (gst_element_get_compatible_pad_filtered),
32198 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32199 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32200 (gst_element_link_many), (gst_element_link),
32201 (gst_element_link_pads), (gst_element_unlink_pads),
32202 (gst_element_unlink_many), (gst_element_unlink),
32203 (gst_pad_can_link_filtered), (gst_pad_can_link),
32204 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32205 (gst_object_default_error), (gst_bin_add_many),
32206 (gst_bin_remove_many), (gst_element_populate_std_props),
32207 (gst_element_class_install_std_props), (gst_buffer_merge),
32208 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32209 (link_fold_func), (gst_pad_proxy_setcaps):
32211 * gst/gstvalue.c: (gst_value_deserialize_string):
32212 * gst/parse/grammar.y:
32213 * gst/schedulers/gstbasicscheduler.c:
32214 (gst_basic_scheduler_cothreaded_chain),
32215 (gst_basic_scheduler_chain_recursive_add),
32216 (gst_basic_scheduler_pad_link):
32217 * gst/schedulers/gstoptimalscheduler.c:
32218 (get_group_schedule_function),
32219 (gst_opt_scheduler_state_transition),
32220 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32221 * libs/gst/bytestream/bytestream.c:
32222 * libs/gst/dataprotocol/dataprotocol.c:
32223 (gst_dp_header_from_buffer):
32226 * tests/threadstate/threadstate2.c: (eos):
32227 * tools/gst-compprep.c: (main):
32228 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32229 (print_pad_info), (print_children_info):
32230 * tools/gst-launch.c: (idle_func), (main):
32231 * tools/gst-md5sum.c: (idle_func), (main):
32232 * tools/gst-xmlinspect.c: (print_element_info):
32233 First THREADED backport attempt, focusing on adding locks and
32234 making sure the API is threadsafe. Needs more work. More docs
32237 2005-02-24 Andy Wingo <wingo@pobox.com>
32239 * tests/bench-complexity.scm:
32240 * tests/complexity.gnuplot: New files, good for running complexity
32243 * tests/Makefile.am:
32244 * tests/complexity.c: New test, sets up N elements, at each level
32245 teeing into M streams per element. Eeeenteresting.
32247 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32248 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32249 running bench-mass_elements.scm.
32251 * tests/bench-mass_elements.scm: New script, runs mass_elements
32252 for various numbers of identities, outputting the results to a
32253 file. Requires guile 1.6. Just for testing.
32255 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32257 * gst/schedulers/fairscheduler.c:
32258 compile with debug disabled
32260 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32263 hunting season on 0.9 is now OPEN