1 2009-01-05 Wim Taymans <wim.taymans@collabora.co.uk>
3 * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
4 (gst_bin_change_state_func):
5 Use an iterator to set the clock and the index so that we can release
6 the object lock appropriately. Fixes #566393.
8 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
10 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
11 Use the name of the pads instead of a pointer, helps in debugging.
13 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
15 * gst/gstindex.c: (gst_index_get_type):
16 Add a debugging category for GstIndex, first little step in making
19 2009-01-03 Edward Hervey <edward.hervey@collabora.co.uk>
21 * gst/gstelement.c: (gst_element_message_full),
22 (gst_element_pads_activate):
23 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
24 * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
25 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
26 (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
27 (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
28 Assign debug statements to relevant categories instead of the 'default'
29 category so they don't get lost in debugging.
31 2009-01-01 Stefan Kost <ensonic@users.sf.net>
33 * gst/gstdebugutils.c:
34 Add some ideas, how to make the graph smaller.
37 Add a comment from a debug session.
39 * libs/gst/base/gstbasetransform.c:
42 * libs/gst/controller/gstinterpolationcontrolsource.c:
45 * plugins/elements/gstcapsfilter.c:
48 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
50 * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
51 (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
52 (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
53 (gst_bus_create_watch):
54 Make GstBusSource work with non-default main contexts (#562170).
56 * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
57 (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
58 Add test case for GstBusSource with a non-default main context.
60 * tests/check/libs/.cvsignore:
63 2008-12-27 Tim-Philipp Müller <tim.muller at collabora co uk>
65 * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
67 Wrap multi-line macros in G_STMT_{START|END}.
69 2008-12-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
71 * docs/gst/gstreamer-sections.txt:
74 * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
75 (gst_query_parse_uri):
77 API: Add URI query type. This is useful to query the URI
78 of a sink/source element and can be used by demuxers that
79 need to get data from other files.
80 This query should go upstream by default.
82 * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
83 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
85 * plugins/elements/gstfilesink.c: (gst_file_sink_query):
86 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
90 2008-12-19 Alessandro Decina <alessandro.decina@collabora.co.uk>
93 * tests/check/gst/gstghostpad.c:
94 Don't forward gst_pad_set_caps() on a source ghostpad to its target.
95 That would cause the ghostpad to emit notify::caps two times (fist
96 from gst_pad_set_caps() and after from on_src_target_notify()).
98 2008-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
100 * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
102 Add some more unit-tests for the ghostpad notify signal, one of which
105 2008-12-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
107 * win32/common/libgstreamer.def:
108 Add gst_tag_setter_reset_tags to the list of exported symbols.
110 2008-12-17 Alessandro Decina <alessandro.decina@collabora.co.uk>
113 * tests/check/gst/gstghostpad.c:
114 In a source ghostpad, when caps are changed in the target pad, the
115 change needs to be reflected in the ghostpad.
118 2008-12-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
120 * gst/gstutils.c: (gst_element_found_tags_for_pad):
121 Add FIXME for 0.11 to set the pad as message source and not
122 the element. Otherwise it's impossible to detect for which
123 pad the tags were found without adding an event probe
124 or something similar to the pad.
126 2008-12-16 Wim Taymans <wim.taymans@collabora.co.uk>
128 * docs/faq/general.xml:
131 2008-12-16 Stefan Kost <ensonic@users.sf.net>
133 * docs/gst/gstreamer-sections.txt:
134 * gst/gsttagsetter.c:
135 * gst/gsttagsetter.h:
136 Rename api added in previous commit and add since tag to docs.
137 API: gst_tag_setter_reset_tags()
139 2008-12-16 Stefan Kost <ensonic@users.sf.net>
141 * docs/gst/gstreamer-sections.txt:
142 * gst/gsttagsetter.c:
143 * gst/gsttagsetter.h:
144 Add function to reset tagsetter for element reuse.
146 2008-12-16 Stefan Kost <ensonic@users.sf.net>
149 Avoid copy of empty taglist.
151 2008-12-16 Stefan Kost <ensonic@users.sf.net>
154 * tests/check/gst/gsttag.c:
155 More complete unit tests. Fix handling of empty taglists (they were
158 2008-12-15 Stefan Kost <ensonic@users.sf.net>
161 * gst/gsttagsetter.c:
162 Update GstTagSetter and GstTagMergeMode documentation. Mention
163 that tags can come from events and from application. Fix example.
165 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
167 * docs/design/part-TODO.txt:
168 Remove the seqnum entry that we implemented in 0.10 already.
169 Add entry about removing the format return value for queries.
171 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
173 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
174 (gst_base_sink_init), (gst_base_sink_set_property),
175 (gst_base_sink_get_property):
176 Expose the render-delay as a property so things like appsink can use it
177 to tweak the synchronisation.
179 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
181 * libs/gst/check/gstcheck.h: Allow check tests to use
182 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
183 CK_FORK=no to be used with multiple check test that use threads.
185 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
187 * gst/gstutils.c: (gst_element_get_compatible_pad):
188 Fix a caps memory leak introduced by the last change.
190 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
192 * gst/gstutils.c: (gst_element_get_compatible_pad):
193 Check if the caps of the pads are compatible before returning
194 a pad and claiming it is compatible. This, among other things,
195 fixes a bug with gst-launch where an incompatible pad is chosen
196 and linking fails. Fixes bug #544003.
198 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
200 * libs/gst/check/gstcheck.c: (gst_check_init):
201 Revert accidentially commited patch for bug #404631 which
202 tries to print a backtrace if a testcase is terminated by
203 a signal. This code was never activated as the corresponding
204 configure.ac change wasn't committed.
206 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
208 * tests/check/libs/controller.c: (GST_START_TEST):
209 This test should return TRUE now as syncing an uncontrolled
210 object will succeed now (there's nothing to sync).
212 2008-12-09 Stefan Kost <ensonic@users.sf.net>
214 * libs/gst/controller/gstcontroller.c:
215 Aggregate return value for gst_controller_sync_values(). More info in
216 logging. Always set values on first sync-call.
218 * libs/gst/controller/gstcontrolsource.c:
221 * libs/gst/controller/gsthelper.c:
222 Fix return code and comment.
224 2008-12-09 Stefan Kost <ensonic@users.sf.net>
226 * tools/gst-launch.1.in:
227 Fix description of how to specify a type in caps. Fixes #553873.
228 Also ranges and list contain values and not property-assignments.
230 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
232 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
233 Check for changed pads-list before checking the last returned
234 GstFlowReturn because the pad could have been removed and we
235 need to ignore the value in that case.
237 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
239 * libs/gst/base/gstbasetransform.c:
240 (gst_base_transform_prepare_output_buffer),
241 (gst_base_transform_getrange), (gst_base_transform_chain):
242 * libs/gst/base/gstbasetransform.h:
243 Add vmethod that is called before we start the transform and which can
244 be used to configure the transform, such as dynamic properties.
246 2008-12-05 David Schleef <ds@schleef.org>
249 Search for plugins on win32 based on the location of the
250 gstreamer DLL. Fixes #548786
252 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
255 Apparently AC_CONFIG_MACRO_DIR breaks when using more
256 than one macro directory, reverting last change.
258 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
261 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
264 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
266 Patch by: Cygwin Ports maintainer
267 <yselkowitz at users dot sourceforge dot net>
271 Require gettext 0.17 because older versions don't mix with libtool
272 2.2. At build time an older gettext version will still work.
275 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
277 Patch by: 이문형 <iwings at gmail dot com>
279 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
280 Adds support for FD_CONNECT event (win32). See #562258.
282 2008-11-24 Stefan Kost <ensonic@users.sf.net>
284 * libs/gst/base/gstbasesink.c:
285 Turn comment into gtk-doc comment.
287 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
289 * libs/gst/base/gstbasetransform.c:
290 (gst_base_transform_acceptcaps):
291 Revert quick accepcaps attempt, it's not fully equivalent to the old
292 behaviour and thus causes regressions.
294 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
296 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
299 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
301 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
303 * gst/gstregistry.c: (gst_registry_scan_path_level):
304 Reduce the number of stat() calls for every file from three times
305 to one time. Fixes bug #560360.
307 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
309 * libs/gst/base/gstbasetransform.c:
310 (gst_base_transform_acceptcaps):
311 Rename a variable to make the code clearer.
313 2008-11-21 Stefan Kost <ensonic@users.sf.net>
315 * plugins/elements/gstidentity.c:
316 Don't warning on offset==-1. Taken from _check_imperfect_offset().
318 2008-11-21 Michael Smith <msmith@songbirdnest.com>
320 * plugins/elements/gstfilesrc.c:
321 Check for localhost in URI was backwards, fix it. Fixes unit test.
323 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
325 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
326 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
327 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
328 Add beginnings of a more optimized acceptcaps function than the default
331 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
333 * gst/gstpad.c: (gst_pad_accept_caps):
334 Avoid getting the acceptcaps function too early.
336 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
338 * tools/gst-launch.c: (event_loop):
339 Make gst-launch handle LATENCY messages and make it recalculate the
342 2008-11-20 Michael Smith <msmith@songbirdnest.com>
344 * plugins/elements/gstfilesrc.c:
345 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
346 out own slightly incorrect version. Fixes use of some paths on
349 2008-11-20 Michael Smith <msmith@songbirdnest.com>
351 * gst/gstregistrybinary.c:
352 In win32 codepath, if we fail to write the registry, create the
353 directory for it and try again, matching the behaviour in non-win32
356 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
358 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
359 Changing the render delay changes the latency and so we must post a
362 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
366 Add GstQueryType for custom queries instead of having to use the
367 not-so-very-convenient registration infrastructure to register new
370 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
372 Patch by: Andrew Feren <acferen at yahoo dot com>
374 * gst/gstobject.c: (gst_object_default_deep_notify):
375 Unref the GEnumClass after usage again. Fixes bug #561501.
377 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
379 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
380 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
381 (gst_bin_change_state_func):
383 Add do-latency signal with the old default fallback implementation. This
384 allows for custom latency calculations for when the default is not
386 API: GstBin::do-latency signal.
388 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
390 * win32/common/libgstreamer.def:
391 Add new symbols to .def file.
393 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
395 * docs/gst/gstreamer-sections.txt:
396 * gst/gstbin.c: (gst_bin_recalculate_latency),
397 (gst_bin_change_state_func):
399 Add method to recalculate and redistribute the latency on a bin.
400 API: gst_bin_recalculate_latency().
402 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
405 Document the free_func.
407 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
409 * libs/gst/controller/gstinterpolation.c:
410 * libs/gst/controller/gstlfocontrolsource.c:
411 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
412 as it is mapped to a cast on non-win32 platforms.
414 2008-11-17 Stefan Kost <ensonic@users.sf.net>
416 * libs/gst/controller/gstcontroller.c:
417 * libs/gst/controller/gstcontrollerprivate.h:
418 Keep last-value and only call set_property if value has changed. This
419 supresses all the g_object_notifies we would trigger otherwise. It
420 also allows the user to chage the value while there is no controller
423 2008-11-17 Stefan Kost <ensonic@users.sf.net>
426 Don't crash if either of the string GValues is empty.
428 2008-11-17 Andy Wingo <wingo@pobox.com>
430 * tools/gst-inspect.c (print_all_uri_handlers): New function,
431 prints a summary of what URI schemes are supported by what
433 (main): Plumb in support for --uri-handlers or -u, and fix the
434 argc check for -a and -u.
436 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
439 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
440 conversion functions.
442 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
444 * gst/gstbuffer.c: (gst_buffer_finalize):
445 Avoid costly typechecking for trivially correct pointers.
447 * gst/gstpoll.c: (gst_poll_wait):
448 Add some G_LIKELY here and there.
450 * libs/gst/base/gstadapter.c: (gst_adapter_push):
453 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
455 * docs/random/wtay/poll-timeout:
458 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
460 * tests/old/testsuite/caps/intersection.c: (main):
461 * tests/old/testsuite/plugin/loading.c: (main):
462 Remove references to deprecated API g_mem_chunk*.
465 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
467 * tools/gst-inspect.c: (main):
468 Add --plugin option. Fixes #560301.
470 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
472 * docs/random/wtay/poll-timeout:
473 Quick braindump for a possible (not totally verified) atomic case.
475 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
477 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
478 (gst_registry_binary_initialize_magic),
479 (gst_registry_binary_write_cache),
480 (gst_registry_binary_check_magic):
481 * gst/gstregistrybinary.h:
482 Don't write and check a CRC for the binary registry file. It's
483 guaranteed that the registry is completely written (it's first written
484 to a temporary file and then moved) and if the registry was corrupted
485 by some hardware failure we would have bigger problems.
487 Bump binary registry version to 0.10.21.1 for this as it's an
488 incompatible change and to ensure that the registry gets rebuild
491 This saves some milliseconds for reading/writing the registry.
494 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
496 * docs/random/wtay/poll-timeout:
497 Some pseudo code for how we could implement clock timeouts with GstPoll.
499 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
501 * plugins/elements/gstfilesink.c:
502 Update Author string to match others.
504 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
506 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
507 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
508 being fixed and inline the trivial check.
510 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
512 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
513 (gst_caps_merge_structure), (gst_caps_get_structure),
514 (gst_caps_copy_nth), (gst_caps_set_simple),
515 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
516 (gst_caps_is_equal_fixed), (gst_caps_intersect),
517 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
518 (gst_caps_to_string):
519 Callgrind micro optimisations.
520 Avoid array bounds checks and force inline of trivial function.
522 * gst/gstobject.c: (gst_object_set_name_default):
523 -1 is equivalent to letting glib to the strlen but then there is more
524 room for optimisations and it's not our fault.
526 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
527 no need to clear the array, we're cool.
529 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
530 The most common _is_fixed() check is done on fundamental glib base
531 types so we check this first instead of doing a huge amount of
532 useless GST_TYPE_ARRAY calls.
534 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
537 Add a SKIP seek flag for use with advanced trickmodes.
538 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
540 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
542 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
543 No need to memset, we can clear the value ourselves.
545 * gst/gstvalue.c: (gst_type_is_fixed),
546 (gst_value_get_compare_func):
547 Some optimisations from a few callgrind sessions:
548 When checking if a type is fixed, check for trivial fundamental types
549 first before checking types for which we need to get the type followed
550 by the heavy duty type checks, this reduces the amount of
551 g_type_fundamental() calls a lot.
552 When getting the compare function, first check for our registered types.
553 If that fails, do the heavy duty g_type_is_a() checks, reduces the
554 amount of g_type_is_a() considerably.
556 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
558 * docs/design/part-TODO.txt:
559 Mumble something about removing GstXML.
561 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
563 * gst/gstbin.c: (gst_bin_handle_message_func):
564 Get the seqnum before we dispose the message.
566 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
568 * docs/design/part-TODO.txt:
569 Refer to the framestepping document.
571 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
573 * gst/gstbin.c: (bin_handle_async_start),
574 (gst_bin_handle_message_func), (gst_bin_query):
575 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
576 (gst_base_sink_event), (gst_base_sink_change_state):
577 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
578 (gst_base_src_loop), (gst_base_src_change_state):
579 Copy seqnums from events to messages so that they can all be related
582 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
584 * tools/gst-launch.c: (event_loop):
585 Print the message seqnums.
587 2008-11-04 Andy Wingo <wingo@pobox.com>
589 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
591 2008-11-04 Andy Wingo <wingo@pobox.com>
593 Add sequence numbers to events and messages. See #559250.
595 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
599 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
600 events with a new sequence number, and copy it when copying.
601 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
602 an event's sequence number.
605 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
606 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
609 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
611 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
613 * docs/manual/advanced-position.xml:
614 * docs/manual/basics-bins.xml:
615 * docs/manual/basics-bus.xml:
616 * docs/manual/basics-pads.xml:
617 * docs/manual/intro-gstreamer.xml:
618 * docs/manual/intro-preface.xml:
619 Some Application Development Manual fixes thanks to
620 Andrew Feren. Fixes #558459.
622 2008-11-03 Stefan Kost <ensonic@users.sf.net>
624 * gst/gstregistrybinary.c:
625 Don't bother with the GTimer if we don't output the results.
627 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
629 Patch by: David Schleef <ds@schleef.org>
631 * libs/gst/net/Makefile.am:
632 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
634 2008-10-31 Stefan Kost <ensonic@users.sf.net>
636 * gst/gstregistrybinary.c:
637 Oh my, studip, stupid me. Remove double stat() call.
639 2008-10-31 Stefan Kost <ensonic@users.sf.net>
642 Use g_unlink instead of unlink.
644 * gst/gststructure.c:
653 Formatting & whitespaces.
655 2008-10-31 Stefan Kost <ensonic@users.sf.net>
657 * plugins/elements/gstidentity.c:
658 Doc typo. Use return value of parent_class->event.
660 * plugins/elements/gsttypefindelement.c:
661 Chain up at the end for consistency.
663 2008-10-30 Stefan Kost <ensonic@users.sf.net>
666 * docs/gst/gstreamer-docs.sgml:
667 * docs/gst/gstreamer-sections.txt:
668 * docs/gst/running.xml:
669 * docs/libs/gstreamer-libs-docs.sgml:
670 Change to xinclude based build - its faster and easier to maintain.
672 2008-10-30 Stefan Kost <ensonic@users.sf.net>
674 * gst/gstregistrybinary.c:
675 * gst/gstregistryxml.c:
676 Use g_unlink() as none of these are directories.
678 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
680 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
683 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
685 * libs/gst/base/gstbasetransform.c:
686 (gst_base_transform_find_transform), (gst_base_transform_getrange):
687 If we have a fixate function, call it even if we already have fixed caps
688 because the subclass might add some caps. Makes audioconvert add a
689 default channel layout.
691 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
693 * libs/gst/base/gstbasetransform.c:
694 (gst_base_transform_prepare_output_buffer),
695 (gst_base_transform_getrange):
696 Clear the output buffer variable.
697 Cleanups to the error path in the getrange function.
700 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
702 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
703 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
704 Use gst_buffer_try_new_and_alloc() and handle errors instead of
705 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
708 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
710 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
711 Set the last_stop to a more meaningful position when configuring the
712 segment. ie. the start/stop of the segment or clipped against the
713 updated segment boundaries.
715 * tests/check/gst/gstsegment.c: (GST_START_TEST):
716 Add some unit tests for the last_stop.
718 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
720 * libs/gst/base/gstbytereader.c:
721 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
724 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
726 * docs/gst/gstreamer-sections.txt:
728 API: Move float endianness conversion macros from libgstfloatcast
729 to core as it's useful in general, even in core. Fixes bug #555196.
730 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
731 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
732 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
734 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
735 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
736 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
737 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
739 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
741 * docs/libs/gstreamer-libs-sections.txt:
742 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
743 (gst_byte_reader_peek_data):
744 * libs/gst/base/gstbytereader.h:
745 * win32/common/libgstbase.def:
746 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
747 to get a pointer to the data at the current position and have
750 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
753 Fix a bug in the output of the configure script summary
754 when --gst-disable-registry is supplied
756 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
758 * libs/gst/base/gstbitreader.c:
759 * libs/gst/base/gstbytereader.c:
760 Fix the names of 2 functions in the docs strings.
762 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
764 * libs/gst/base/gstbasetransform.c:
765 (gst_base_transform_prepare_output_buffer),
766 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
767 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
768 refcount problems as seen in banshee and maybe also in farsight2.
769 Remove atomic int now that we need to take the lock anyways.
771 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
773 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
774 (gst_base_sink_default_prepare_seek_segment),
775 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
776 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
777 (gst_base_sink_query):
778 Implement more seeking in pull mode.
779 Use pad convert functions to convert position to the requested format.
780 Fix position/duration reporting in pull mode.
781 Implement position and duration reporting in other formats than time.
783 * libs/gst/base/gstbasesink.h:
784 Add member to keep track of when the segment is playing.
786 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
788 * gst/gstpad.c: (gst_pad_configure_src):
789 When we use gst_pad_alloc_buffer() without wanting to set the caps we
790 also don't need to check if the caps are compatible because the caller
791 presumably is going to perform its own custom checks. Fixes some cases
792 where basetransform elements would error out when it was not needed.
794 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
796 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
799 * libs/gst/base/gstbasetransform.c:
800 (gst_base_transform_handle_buffer),
801 (gst_base_transform_reconfigure):
804 * win32/common/libgstbase.def:
807 2008-10-19 Stefan Kost <ensonic@users.sf.net>
809 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
810 Remove duplicated assignment and log a message in failure case.
812 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
814 Patch by: Dig Ge <dig.ge.cn at gmail com>
816 * tests/examples/helloworld/helloworld.c: (main):
817 Fix copy'n'paste bug in hello world example (#556900).
819 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
821 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
822 (gst_base_sink_query):
823 Query the total number of bytes when activating the pad in pull mode.
824 Implement duration query in pull mode by using the installed pad convert
825 function to convert from bytes to the requested format.
827 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
829 * docs/libs/gstreamer-libs-sections.txt:
830 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
831 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
832 (gst_base_sink_event), (gst_base_sink_perform_seek),
833 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
834 (gst_base_sink_send_event), (gst_base_sink_change_state):
835 * libs/gst/base/gstbasesink.h:
836 Add method to commit the state in subclasses.
837 Refactor the flush_start and flush_stop code because we need it for
838 flushing while seeking too.
839 Implement the beginnings of seeking in pull mode.
840 Use the segment last_stop field for the pulling offset.
841 Fix the pause method in pull mode.
842 Configure the segment to BYTES for pull mode.
843 API: GstBaseSink::gst_base_sink_do_preroll()
845 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
847 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
850 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
852 * gst/gstquark.c: (_priv_gst_quarks_initialize):
853 Fix printf format warning.
855 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
857 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
858 Fix flow aggregation of tee. Error out immediately for all flow returns
859 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
860 and return OK if at least one pad is linked.
862 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
863 and otherwise returned the flow return of the last pad, which is wrong.
865 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
866 (GST_START_TEST), (tee_suite):
867 Add unit tests for the flow aggregation.
869 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
871 * docs/design/part-TODO.txt:
872 Remove item from the todo list because it was fixed with the latency
873 state change rewrites.
875 * docs/design/part-seeking.txt:
876 * docs/design/part-segments.txt:
879 * gst/gstevent.c: (gst_event_new_new_segment_full),
880 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
881 (gst_event_parse_buffer_size), (gst_event_new_qos),
882 (gst_event_parse_qos), (gst_event_new_seek),
883 (gst_event_parse_seek), (gst_event_new_latency),
884 (gst_event_parse_latency):
885 Use quarks to construct and parse events.
887 * gst/gstquark.c: (_priv_gst_quarks_initialize):
889 Add some more quarks to the table.
890 Emit a warning when the quark tables are not in sync.
892 * tests/check/gst/gstbus.c: (GST_START_TEST):
895 2008-10-13 Stefan Kost <ensonic@users.sf.net>
897 * plugins/elements/Makefile.am:
898 * plugins/indexers/Makefile.am:
899 Don't install static libs for plugins. Fixes #550851 for core.
901 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
903 * gst/gstbus.c: (gst_bus_source_finalize),
904 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
905 (gst_bus_enable_sync_message_emission),
906 (gst_bus_disable_sync_message_emission),
907 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
908 Fix deadlock, g_source_get_id() cannot be called in finalize.
909 Keep track of the watch source by keeping a pointer to the source object
911 Use the bus lock to protect access to the pointer to the current
914 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
916 Base on Patch by: Olivier Crete <tester at tester dot ca>
918 * gst/gstbus.c: (gst_bus_source_finalize),
919 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
920 Only allow one bus watch to be set at a time. This is necessary
921 because the dispatcher pops the message from the bus and the second
922 watcher will then get NULL or the next message (and the first won't
923 get this next message then, etc). If more than one "watcher" is
924 required signal watches should be used. Fixes bug #526044.
926 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
928 * tools/gst-launch.c:
929 Change the printing of the 'buffering...' output to avoid putting
930 a \r in a translateable string (flagged by the TP).
932 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
935 Clarify that the save_thyself() and restore_thyself() virtual
936 functions of GstObject need to be overriden, not
937 gst_object_(save|restore)_thyself() which is impossible.
940 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
942 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
943 Revert a patch from 21 months ago that broke caps negotiation in pull
944 mode. Basically, having a buffer pass over a pad will trigger the
945 setcaps function when caps change, just like in push mode.
947 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
949 * docs/design/part-negotiation.txt:
950 Update the docs some more.
952 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
953 If we pull a buffer with non-trivial caps, suggest those caps with the
956 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
958 * docs/design/part-TODO.txt:
959 Add another limitation of pad-blocking with segment seeks not pushing
962 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
964 * win32/common/libgstbase.def:
965 * win32/common/libgstreamer.def:
966 Add new symbols to the win32 defs files
968 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
970 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
971 (gst_bin_handle_message_func):
972 The message src can be NULL, don't try to print the object names in that
975 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
976 Add some more debug info.
978 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
981 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
984 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
986 * docs/design/part-negotiation.txt:
989 * docs/libs/gstreamer-libs-sections.txt:
990 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
991 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
992 (gst_base_sink_init), (gst_base_sink_set_blocksize),
993 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
994 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
995 (gst_base_sink_loop), (gst_base_sink_pad_activate),
996 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
997 (gst_base_sink_change_state):
998 * libs/gst/base/gstbasesink.h:
999 Add blocksize property and methods to control the amount of data
1001 Negotiate first before activating upstream in pull mode so that they can
1002 negotiate themselves.
1003 When we operate in pull mode, we only accept the caps that we
1005 Make the sink go ASYNC to PAUSED, like all other sinks.
1006 API: GstBaseSink::gst_base_sink_set_blocksize()
1007 API: GstBaseSink::gst_base_sink_get_blocksize()
1008 API: GstBaseSink::blocksize
1010 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1011 (gst_base_src_set_live), (gst_base_src_is_live),
1012 (gst_base_src_set_format), (gst_base_src_query_latency),
1013 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1014 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1015 (gst_base_src_set_property), (gst_base_src_get_property):
1016 * libs/gst/base/gstbasesrc.h:
1017 Add typechecking in public API functions.
1018 Add methods to control the blocksize in subclasses.
1019 API: GstBaseSrc::gst_base_src_set_blocksize()
1020 API: GstBaseSrc::gst_base_src_get_blocksize()
1022 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
1024 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1025 (buffer_probe), (event_probe), (GST_START_TEST):
1026 We now see 3 events go through our pad, since basesink now sends
1027 upstream latency events.
1029 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1031 * gst/gstpipeline.c: (gst_pipeline_change_state):
1032 Release the object lock before trying to flush the bus.
1034 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1036 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1037 Forward LATENCY events upstreams so that elements know about the total
1038 pipeline latency. Fixes #555307.
1040 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
1042 * plugins/elements/gstqueue.c:
1043 Allow through queries when we don't know how
1044 to adjust them (not TIME or BYTES), as otherwise it's
1045 not possible to query the current position in order
1046 to seek in other formats at all.
1048 2008-10-08 Andy Wingo <wingo@pobox.com>
1050 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1052 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
1054 * gst/gstghostpad.c:
1055 * gst/gstghostpad.h:
1056 Unbreak -good build, private is a reserved c++ keyword.
1058 2008-10-08 Andy Wingo <wingo@pobox.com>
1060 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1061 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1062 removal: re-add GST_GHOST_PAD_CAST to the header.
1064 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1065 (GstGhostPadClass): Publically expose these structures so as to
1066 allow easy subclassing from C. Hide the member data behind a
1067 private opaque data pointer.
1069 * gst/gstghostpad.c: Adapt to store instance data in the type
1070 instance's private data region, not in the public struct.
1072 2008-10-08 Andy Wingo <wingo@pobox.com>
1074 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1075 template via g_object_get(), be sure to unref it.
1077 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1079 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1081 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1082 If we can't get a cache file don't try to save something to it.
1083 Dereferencing NULL pointers usually isn't a good idea.
1085 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1087 * tests/check/Makefile.am:
1088 * tests/check/gst/gstabi.c:
1089 * tests/check/gst/struct_sparc.h:
1090 * tests/check/libs/libsabi.c:
1091 * tests/check/libs/struct_sparc.h:
1092 Add Sparc ABI checks
1094 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1095 Cast signed integer to unsigned to avoid a compiler warning.
1097 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1099 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1100 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1101 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1102 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1103 (gst_byte_reader_peek_int24_be):
1104 Use new GST_READ_UINT24_(LE|BE) macros.
1106 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1108 * docs/gst/gstreamer-sections.txt:
1110 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1111 as it's too easy to break the ISO C strict aliasing rules with simple
1112 casts to the corresponding type and this would introduce hard to debug
1113 bugs. Fixes bug #545714.
1115 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1117 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1119 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1120 * gst/gstghostpad.c: (gst_ghost_pad_construct):
1121 Add 'Since' bits to gtk-doc chunks for new API.
1123 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
1125 * docs/gst/gstreamer-sections.txt:
1128 2008-10-06 Andy Wingo <wingo@pobox.com>
1130 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1131 that will be called on the malloc_data to free it. Basically a way
1132 to avoid subclassing when all you need is a different free
1133 function, i.e. free() instead of g_free().
1135 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1136 calling the free function.
1137 (gst_buffer_init): Initialize the free function to g_free.
1139 2008-10-06 Andy Wingo <wingo@pobox.com>
1141 * gst/gstghostpad.h:
1142 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1143 finishes the initialization of ghost pad. Useful for language
1144 bindings and subclassers of GstGhostPad. Fixes #539108.
1145 (gst_ghost_pad_new_full): Use the new constructor.
1147 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1149 Base on Patch by: Olivier Crete <tester at tester dot ca>
1151 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1152 (gst_bin_remove_func), (update_degree),
1153 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1154 Keep track of pads that are being linked/unlinked and resync the state
1157 * gst/gstpad.c: (gst_pad_get_direction),
1158 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1159 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1160 (gst_pad_link_prepare), (gst_pad_link),
1161 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1162 (gst_pad_check_pull_range), (gst_pad_get_range),
1163 (gst_pad_pull_range):
1164 Some code cleanups, use macros to check pad direction.
1165 Don't need to take the lock on the pad direction.
1166 Post structure change when pads are linked/unlinked.
1167 Change some checks into _return_if_fail().
1169 * tests/check/gst/gstbin.c:
1170 (test_link_structure_change_state_changed_sync_cb),
1171 (GST_START_TEST), (gst_bin_suite):
1172 Add testcase for pad link/unlinke resync during a state change.
1175 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1177 * docs/gst/gstreamer-sections.txt:
1178 * gst/gstmessage.c: (gst_message_new_structure_change),
1179 (gst_message_parse_structure_change):
1181 Implement STRUCTURE_CHANGED messages. These messages will be used to
1182 signal the parent bin of link/unlink operations that could require a
1183 resync when doing a state change. See ##510354.
1184 API: gst_message_new_structure_change()
1185 API: gst_message_parse_structure_change()
1187 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1191 Add some more quarks for new message. See #510354.
1193 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1195 * docs/libs/gstreamer-libs-docs.sgml:
1196 * docs/libs/gstreamer-libs-sections.txt:
1197 * libs/gst/base/Makefile.am:
1198 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1199 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1200 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1201 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1202 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1203 (gst_bit_reader_skip_to_byte):
1204 * libs/gst/base/gstbitreader.h:
1205 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1206 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1207 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1208 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1209 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1210 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1211 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1212 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1213 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1214 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1215 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1216 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1217 * libs/gst/base/gstbytereader.h:
1218 * tests/check/Makefile.am:
1219 * tests/check/libs/bitreader.c: (GST_START_TEST),
1220 (gst_bit_reader_suite):
1221 * tests/check/libs/bytereader.c: (GST_START_TEST),
1222 (gst_byte_reader_suite):
1223 API: Add bit reader and byte reader classes, including documentation
1224 and an extensive unit test suite. Fixes bug #553554.
1226 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1228 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1229 (gst_base_sink_query):
1230 Improve position reporting while flushing and other intermediate state
1231 changes. Fixes #553874.
1233 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1235 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1237 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1238 Original patch by : Simon Descaries
1239 Fix small refount leak in caps compatibility check.
1242 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1244 * docs/pwg/advanced-request.xml:
1245 Fix 0.8 api usage in example. Fixes #554561
1247 * docs/pwg/appendix-porting.xml:
1248 Change 0.9 to 0.10 here.
1250 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1252 * docs/manual/basics-data.xml:
1253 Change "event-event interaction" to "element-element interaction".
1254 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1257 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1260 Back to development -> 0.10.21.1
1262 === release 0.10.21 ===
1264 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1267 releasing 0.10.21, "Take These Things From Me"
1269 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1272 0.10.20.4 pre-release
1274 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1276 * libs/gst/base/gstbasetransform.c:
1277 * plugins/elements/gstcapsfilter.c:
1278 * tests/check/Makefile.am:
1279 * tests/check/elements/.cvsignore:
1280 * tests/check/elements/capsfilter.c:
1281 Fix assertion in basetransform when the subclass chooses not to
1282 allocate a buffer in prepare_buffer(), and make capsfilter error out
1283 cleanly if requested to apply caps that don't completely specify the
1284 buffer. Fixes #551509
1286 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1288 * libs/gst/base/gstbasetransform.c:
1289 (gst_base_transform_prepare_output_buffer):
1290 Take new caps ref because our old one might have been gone when the
1291 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1293 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1296 Do not probe availability of check unit test library when cross
1297 compiling, as test would not work anyway. Also cleanup verbose output
1298 of the check test. Fixes #551952.
1300 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1302 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1304 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1305 Avoid leaking the parent ref when we fail changing the state of the
1306 element using gst_element_sync_state_with_parent(). Fixes #551978.
1308 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1310 * docs/manual/intro-motivation.xml::
1311 Remove some bits that no longer apply, update others (#551642).
1313 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1316 0.10.20.2 pre-release
1324 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1326 * win32/common/config.h.in:
1327 Add GST_DATADIR, hard-code cpu to x86.
1329 * win32/common/libgstreamer.def:
1332 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1335 Fix Since: markers for new geo tags.
1337 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1340 Fix actual tag name define after renaming from altitude to elevation.
1342 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1344 * gst/gstpad.c: (add_unref_pad_to_list),
1345 (gst_pad_get_internal_links_default):
1346 Add fallback when calling the deprecated function on an element that
1347 implements the new internal_link handler.
1349 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1351 * docs/gst/gstreamer-sections.txt:
1354 Add new tags for geo location and clarify purpose of existing location
1357 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1359 Patch by: Olivier Crete <tester at tester dot ca>
1361 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1362 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1363 Use thread-safe internal links iterator. Fixes #549504.
1365 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1367 Based on patch by: Olivier Crete <tester at tester dot ca>
1369 * docs/gst/gstreamer-sections.txt:
1370 * win32/common/libgstreamer.def:
1371 * gst/gstpad.c: (gst_pad_init),
1372 (gst_pad_set_iterate_internal_links_function),
1373 (int_link_iter_data_free), (iterate_pad),
1374 (gst_pad_iterate_internal_links_default),
1375 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1377 Add threadsafe replacement functions for getting internal links of an
1378 element. Deprecate the old internal links functions.
1379 API:GstPad::gst_pad_set_iterate_internal_links_function()
1380 API:GstPad::GstPadIterIntLinkFunction
1381 API:GstPad::gst_pad_iterate_internal_links()
1382 API:GstPad::gst_pad_iterate_internal_links_default()
1384 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1385 (gst_proxy_pad_init):
1386 Implement threadsafe internal links.
1388 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1389 Unit test for internal links on tee. See #549504.
1391 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1393 * tests/check/Makefile.am:
1394 libs/transform1 test requires libs/test_transform.c
1396 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1398 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1399 Die evil deadlock, die !
1401 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1403 * gst/gstutils.c: (gst_element_get_compatible_pad):
1404 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1405 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1406 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1407 not steal the refcount of the given caps as stated.
1409 REVERT THIS COMMIT ONCE FIXED !
1410 REVERT THIS COMMIT ONCE FIXED !
1411 REVERT THIS COMMIT ONCE FIXED !
1412 REVERT THIS COMMIT ONCE FIXED !
1413 REVERT THIS COMMIT ONCE FIXED !
1414 REVERT THIS COMMIT ONCE FIXED !
1416 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1418 * gst/gstiterator.c:
1419 * gst/gstiterator.h:
1420 After 3 years it's about time to revise the documentation of the
1423 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1425 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1426 Make the internal links function less thread-unsafe and add some
1427 comments, dunno why.
1429 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1431 * gst/gst_private.h:
1432 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1433 build with --disable-gst-debug.
1435 2008-08-28 David Schleef <ds@schleef.org>
1437 * gst/gstpadtemplate.c: Revert last change, since it breaks
1438 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1439 but shouldn't be enabled until we've released fixed versions
1440 of -good and -ffmpeg.
1442 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1445 Put the gst_object_get_name() back in.
1447 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1449 * gst/gstpadtemplate.c:
1450 The old behaviour was that gst_pad_template_new() takes ownership of
1451 the caps. As we now call g_object_new() which calls g_object_set() and
1452 which copies the caps, we have to unref them to not leak them. Fixes
1453 make valgrid for me.
1455 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1458 Don't segfault on input like "tel:+1-123-555-1234".
1460 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1463 Due to popular request also include ObjectType in
1464 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1466 2008-08-26 David Schleef <ds@schleef.org>
1468 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1469 src_val must be positive, because that's not a requirement.
1470 This causes problems with converting negative granulepos
1472 * gst/gstquery.c: Same, gst_query_new_convert().
1474 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1476 * gst/gstclock.c: (gst_clock_add_observation):
1477 Add some more debugging to the clock slaving code.
1479 * win32/common/libgstbase.def:
1480 Add new basetransform method.
1482 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1484 * gst/gstbin.c: (gst_bin_element_set_state):
1485 Take the (recursive) state lock between getting the locked state of an
1486 element and changing the element state. This allows the application to
1487 lock an element's state and then change its state without races.
1489 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1491 * gst/gstbin.c: (gst_bin_element_set_state):
1492 When an element is in the locked state we still want to update the
1493 base_time of the element.
1495 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1497 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1498 Use the result from gst_pad_set_caps() instead of assuming the element
1499 always accepted the caps computed by the default negotiate function.
1501 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1503 * docs/libs/gstreamer-libs-sections.txt:
1504 * libs/gst/base/gstbasetransform.c:
1505 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1506 (gst_base_transform_chain), (gst_base_transform_suggest),
1507 (gst_base_transform_reconfigure):
1508 * libs/gst/base/gstbasetransform.h:
1509 Implement method for reconfiguring basetransform.
1510 API: GstBaseTransform::gst_base_transform_reconfigure()
1512 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1514 patch by: Murray Cumming <murrayc@murrayc.com>
1517 Mention that this is just like gst_buffer_merge() but with extra
1518 unreffing for C coders. Advise language bindings not to wrap it.
1521 Also fix file comment.
1523 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1525 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1527 * plugins/elements/gstfakesink.c:
1528 * plugins/elements/gstfakesrc.c:
1529 Call super::event() when not handling it. Fixes #544855.
1531 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1533 Patch by: Alessandro Decina <alessandro@nnva.org>
1534 * plugins/elements/gstfilesrc.c:
1535 Use 64 bit variants of stat functions on win32, to enable support
1536 of large files there.
1539 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1541 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1542 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1543 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1544 (gst_base_sink_get_position), (gst_base_sink_change_state):
1545 Improve position reporting in the flushing state.
1546 Also report the position when we are not yet prerolled but we
1547 have a newsegment event. Fixes #543444.
1548 Improve the pull-based negotiation code.
1550 * tests/check/elements/fakesink.c: (GST_START_TEST),
1552 Add testcase for position reporting while flushing in PAUSED and
1555 * tests/check/generic/sinks.c: (GST_START_TEST):
1556 Update unit-test, we can now query the position as soon as we receive a
1559 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1561 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1563 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1564 When the subclass event handler releases the PREROLL_LOCK, we could be
1565 in the flushing state and we have to ignore the event. Fixes #548394.
1567 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1569 * tools/gst-launch.1.in:
1570 Document GST_REGISTRY_UPDATE environment variable.
1572 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1574 * libs/gst/base/gstbasetransform.c:
1575 (gst_base_transform_prepare_output_buffer):
1576 If the element is configured in passthrough mode but the
1577 prepare_output_buffer gave us a new output buffer, discard that buffer
1578 and reuse the input buffer.
1580 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1582 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1584 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1585 (gst_tee_request_new_pad), (gst_tee_release_pad),
1586 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1587 * plugins/elements/gsttee.h:
1588 Protect pad_alloc with a new lock so that we can be sure that nothing is
1589 performing a pad_alloc when removing the pad. Fixes #547835.
1591 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1592 (buffer_alloc_harness_teardown), (app_thread_func),
1593 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1594 Added testcase for shutdown race.
1596 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1601 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1603 * libs/gst/base/gstbasetransform.c:
1604 (gst_base_transform_prepare_output_buffer),
1605 (gst_base_transform_buffer_alloc):
1606 Go over the buffer_alloc function again and make sure we always end up
1607 allocating a buffer.
1609 Avoid doing pad alloc when we have a pending suggestion because we
1610 cannot yet deal with changing caps in that case. Fixes #547728
1612 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1614 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1616 * docs/manual/advanced-clocks.xml:
1617 * docs/manual/clocks.png:
1618 * docs/manual/diagrams-clocks.svg:
1619 Add one more image showing different times together with a describing
1620 paragraph. Fixes #547729.
1622 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1624 * win32/common/libgstbase.def:
1627 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1629 * libs/gst/base/gstbasetransform.c:
1630 (gst_base_transform_transform_caps),
1631 (gst_base_transform_prepare_output_buffer),
1632 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1633 Don't overwrite the outsize when calculating the expected size of a new
1634 buffer because we still need it in case we cannot process the new
1636 When converting the size of the new buffer to an upstream size, actually
1637 use the expected size of the buffer, not some other random value.
1638 Use an atomic int to signal that a new upstream caps suggestion is
1640 When we can convert the current buffer to a new format, check if the
1641 buffer size is of the expected size and allocate a new buffer of the
1642 expected size when this is not the case. Fixes #546883.
1644 * tests/check/libs/transform1.c: (GST_START_TEST):
1645 remove ifdeffed code from the unit test.
1647 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1649 * pkgconfig/gstreamer-uninstalled.pc.in:
1650 * pkgconfig/gstreamer.pc.in:
1651 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1652 called gstcontroller-0.10.
1654 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1656 * gst/gstchildproxy.h:
1658 Remove double interface from doc-string.
1660 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1662 * libs/gst/base/gstbasesrc.c:
1663 * libs/gst/base/gstbasetransform.c:
1664 Fix headings in docs and gtk-doc warnings.
1666 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1668 * gst/gstregistrybinary.c:
1669 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1673 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1675 * libs/gst/base/gstbasetransform.c:
1676 (gst_base_transform_buffer_alloc):
1677 Fix a "may be used unitialized" warning.
1679 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1681 * docs/gst/gstreamer-sections.txt:
1683 Document preset-iface vmethods.
1685 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1687 * docs/manual/advanced-interfaces.xml:
1688 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1689 only used to discover devices.
1691 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1693 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1695 * gst/gst.c: (init_pre):
1696 Make sure gettext returns translations in UTF-8 encoding rather
1697 than in the current locale encoding (#546822).
1699 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1701 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1704 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1705 Improve unit test subset tests and add a testcase for the subset failure
1708 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1709 Improve subtraction unit test.
1711 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1713 * plugins/elements/gsttee.c:
1714 Unlock, instead of locking again.
1716 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1719 Clarify the docs a bit more.
1721 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1723 * tests/examples/metadata/read-metadata.c:
1724 Don't leak old taglist.
1726 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1728 Patch by: Olivier Crete <tester at tester dot ca>
1730 * gst/gststructure.c:
1731 (gst_structure_fixate_field_nearest_fraction):
1732 Avoid overflows in fixation code when dealing with MAXINT values, which
1733 v4l2src seems to do.
1736 * tests/check/gst/gststructure.c: (GST_START_TEST):
1737 Make a unit test to check the fix.
1739 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1741 * plugins/elements/gstcapsfilter.c: (copy_func),
1742 (gst_capsfilter_set_property):
1743 Use new caps suggestion feature of basetransform to request a caps
1744 negotiation upstream.
1746 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1748 * docs/libs/gstreamer-libs-sections.txt:
1750 API: GstBaseTransform::gst_base_transform_suggest()
1752 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1753 (gst_base_transform_init), (gst_base_transform_transform_caps),
1754 (gst_base_transform_transform_size),
1755 (gst_base_transform_configure_caps),
1756 (gst_base_transform_can_transform),
1757 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1758 (gst_base_transform_prepare_output_buffer),
1759 (gst_base_transform_buffer_alloc),
1760 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1761 (gst_base_transform_chain), (gst_base_transform_activate),
1762 (gst_base_transform_set_passthrough),
1763 (gst_base_transform_is_passthrough),
1764 (gst_base_transform_set_in_place),
1765 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1766 (gst_base_transform_set_qos_enabled),
1767 (gst_base_transform_is_qos_enabled),
1768 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1769 (gst_base_transform_reconfigure):
1770 * libs/gst/base/gstbasetransform.h:
1771 Rewrite of basetransform to perform negotiation outside of the
1772 buffer_alloc functions. Fixes #545853.
1774 * tests/check/libs/transform1.c: (GST_START_TEST),
1778 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1780 * tests/check/gst/gstpreset.c:
1781 Only run preset tests when $HOME is writable. Preliminary fix for
1784 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1786 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1787 (gst_bin_change_state_func), (bin_handle_async_done),
1788 (gst_bin_handle_message_func):
1789 Fix race for bins that simulate ASYNC state changes by inserting
1790 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1791 pending ASYNC messages even when the bin does not have ASYNC children.
1792 We note detect this behaviour because we will receive an ASYNC message
1793 that is originating from the bin itself.
1794 Fixes races with decodebin2 state changes.
1796 * tests/check/gst/gstbin.c: (GST_START_TEST):
1797 Add some more debug.
1799 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1801 * gst/gsttaglist.c: (_gst_tag_initialize):
1804 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1807 Argh. actually save the text before committing. Now adds
1808 gst_tag_merge_strings_with_comma() to gst_tag_register().
1810 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1814 Do as tim pointed out and actually register the new tag. Also improve
1815 te docs and use gst_tag_merge_strings_with_comma() method to allow
1816 retriving all keywords merged in one list.
1818 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1821 * docs/gst/gstreamer.types:
1822 Revert 'accidential' change of the configure option removal. We still
1823 need to generate the types file in configure --disable-load-save.
1825 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1827 * docs/gst/gstreamer-sections.txt:
1829 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1831 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1833 * gst/gstpadtemplate.c:
1834 (gst_pad_template_class_init), (gst_static_pad_template_get),
1835 (gst_pad_template_new), (gst_pad_template_pad_created),
1836 (gst_pad_template_set_property), (gst_pad_template_get_property):
1837 Add "name-template", "direction", "presence" and "caps" properties,
1838 so that gst_pad_template_new() is just a thin wrapper around
1839 g_object_new(), which is better for bindings. (Fixes: #539772)
1841 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1844 Be more liberal in what URIs we accept.
1845 Do not unescape bits of the URI for no apparent reason before passing to
1846 the element. Fixes #545352.
1848 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1850 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1853 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1855 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1858 * docs/gst/gstreamer-sections.txt:
1859 * docs/gst/gstreamer.types:
1860 * docs/gst/gstreamer.types.in:
1863 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1864 * gst/gstconfig.h.in:
1865 * gst/gstelement.c: (gst_element_get_index):
1866 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1867 (gst_registry_binary_load_feature),
1868 (gst_registry_binary_read_cache):
1869 * gst/gstregistryxml.c: (load_feature),
1870 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1871 * plugins/Makefile.am:
1873 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1874 (print_plugin_features), (print_element_features):
1875 * tools/gst-xmlinspect.c: (print_event_masks),
1876 (print_element_info):
1877 * win32/common/gstconfig.h:
1878 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1880 Disabling the indexers and URI handler code will only reduce the
1881 required amount of memory by a very small amount but on the other hand
1882 requires much more maintaince work. Apart from that many places of
1883 code are broken when disabling them.
1885 Disabling the enum types doesn't reduce the required amount of memory
1886 by more than a few bytes and makes it hard to fix bugs like #539772,
1887 i.e. use the enums as GObject properties.
1889 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1891 * docs/design/part-TODO.txt:
1892 Add some thoughts and problems with upstream renegotiation.
1894 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1896 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1897 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1898 Remove silly redundant debug.
1899 Add some more debug info.
1900 Clarify the docs regarding new caps received from pad_alloc.
1902 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1904 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1905 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1906 Make setting the caps more threadsafe.
1908 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1910 * docs/design/part-element-transform.txt:
1913 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1915 * plugins/elements/gstqueue.c: (gst_queue_init),
1916 (gst_queue_acceptcaps):
1917 Add and use a custom acceptcaps function instead of falling back to the
1918 potentially less optimized default implementation.
1920 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1922 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1923 Only sanity-check the buffer size if requested_caps == buffer_caps
1924 (ie. don't take pad caps into account, they're not relevant here)
1926 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1928 * plugins/elements/gsttee.c:
1929 * plugins/elements/gsttee.h:
1930 Reverting as not everything is clear yet. Needs some general design
1933 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1936 ChangeLog surgery for tee commit.
1938 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1940 * docs/gst/gstreamer-sections.txt:
1941 Cleanup section-file.
1943 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1945 * plugins/elements/gsttee.c:
1946 * plugins/elements/gsttee.h:
1947 Relay tag events in tee. Fixes parts of #474016.
1948 Downgrades 3 reoccurring debugs to log.
1950 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1953 * libs/gst/Makefile.am:
1954 Build the net library if we have winsock2.
1956 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1958 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1960 * docs/manual/advanced-threads.xml:
1961 * docs/manual/diagrams-pipelines.svg:
1962 * docs/manual/hello-world.png:
1963 * docs/manual/linked-elements.png:
1964 * docs/manual/mime-world.png:
1965 * docs/manual/queue.png:
1966 * docs/manual/thread-buffering.png:
1967 * docs/manual/thread-synchronizing.png:
1968 Replace one diagram with two separate ones and updates others.
1971 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1974 Fix link in documentation.
1976 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1979 Fix confusing documentation.
1981 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1983 * libs/gst/base/gstbasesrc.h:
1984 revert the changes to the header file for the ABI.
1986 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1988 * libs/gst/base/gstbasesrc.c:
1989 * libs/gst/base/gstbasesrc.h:
1990 Don't cache the seekable status.
1993 2008-07-24 Rene Stadler <mail@renestadler.de>
1995 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1996 code to close the pipeline graph. This prevents the program from
1997 printing internal data flow errors.
1999 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2001 * docs/manual/basics-bus.xml:
2002 Correct typo. Fixes bug #544320.
2004 2008-07-22 Michael Smith <msmith@songbirdnest.com>
2007 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2008 Add check (taken from -base) for winsock, adds WIN32_LIBS
2010 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2012 Define GST_EXPORTS when building libgstreamer (only used on win32)
2013 * gst/gst_private.h:
2015 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2016 for symbols that we need to export in both these files.
2018 Include gst_private.h higher up to avoid some compile problems on win32.
2020 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2025 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2028 Previous commit was wrong NULL caps does not exist
2029 and indicate an error, so also add a FIXME to
2030 gst_caps_is_equal where NULL caps are accepted.
2032 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
2035 Allow passing of NULL to gst_caps_union
2037 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
2039 * gst/gstghostpad.c:
2040 Add in doc that gst_ghost_pad_set_target can accept
2041 NULL to clear target
2043 2008-07-15 Michael Smith <msmith@songbirdnest.com>
2046 * gst/gstregistry.c:
2047 GstRegistryPool doesn't exist; don't refer to it in docs.
2048 Don't refer to functions that don't exist in docs, it's
2051 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2054 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2056 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2058 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2060 * docs/pwg/building-testapp.xml:
2061 Don't use an undeclared variable in the example program.
2064 2008-07-12 Stefan Kost <ensonic@users.sf.net>
2066 * gst/gstdebugutils.c:
2067 Squeeze ghost-pad links and remove <> from classname labels to save
2068 more horizontal space.
2070 2008-07-11 Stefan Kost <ensonic@users.sf.net>
2072 * gst/gstdebugutils.c:
2073 Give request and sometimes pads a different shpe style. Condense the
2074 graphs a little more.
2076 2008-07-09 Michael Smith <msmith@songbirdnest.com>
2079 Don't require flex and bison if the parser is disabled.
2081 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2083 * libs/gst/controller/gstinterpolationcontrolsource.c:
2084 (_list_find_sorted_custom):
2085 Don't use declarations after statements.
2087 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2089 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2090 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2091 of the the child-added / -removed signals as GstChildProxy
2092 only supports GstObjects.
2094 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
2096 * gst/gstdebugutils.c:
2099 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2101 Patch by: Alessandro Decina <alessandro at nnva dot org>
2104 Fix "ignored return value" compiler warning with newer glibc.
2106 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2108 * gst/gstchildproxy.c:
2109 Fix copy&paste error in gst_child_proxy_removed() documentation.
2111 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
2113 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2114 Print error debug message if plugin description fields that should
2117 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2118 Don't crash if the string to serialise is NULL (it really should
2119 not be, but apparently this used to work with the xml registry ...).
2121 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
2123 * tools/gst-plot-timeline.py:
2124 Fix parsing of log messages
2126 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2128 * win32/common/libgstbase.def::
2129 Sort alphabetically so make check-exports doesn't barf.
2131 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2134 Use gst_format_get_name() to improve debug output.
2137 Remove #ifdef'ed code. Add TODO comment.
2140 Add debug output to ease spotting format != segment.format assertions.
2142 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2144 * tests/check/libs/gdp.c: (gst_dp_suite):
2145 Also enable the GDP unit test again on PPC now that the bug
2148 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2150 * libs/gst/dataprotocol/dataprotocol.c:
2151 Don't write to the same region of memory as a uint64 and uint16
2152 as this breaks strict aliasing rules and apparantly breaks on PPC
2153 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2155 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2157 * libs/gst/controller/gstinterpolationcontrolsource.c:
2158 Optimize list handling. Use own find function. Exploit that fact that
2159 the list is sorted. Also pass back the node before, so that we can
2160 insert quickly. Have a fast path for append.
2162 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2164 * docs/design/draft-framestep.txt:
2165 * docs/design/part-negotiation.txt:
2168 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2171 Show configuration sumary after configure run. Based on patch by
2172 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2174 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2176 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2178 * docs/manual/advanced-autoplugging.xml:
2179 * docs/manual/advanced-threads.xml:
2180 * docs/manual/basics-bins.xml:
2181 * docs/manual/basics-elements.xml:
2182 * docs/manual/basics-helloworld.xml:
2183 * docs/manual/basics-pads.xml:
2184 Add scale factor for pdf output.
2186 * docs/manual/intro-basics.xml:
2187 Switched sections "pads" and "bins" and added a pipeline diagram.
2189 * docs/manual/intro-gstreamer.xml:
2190 Added more info on gstreamer.
2192 * docs/manual/intro-motivation.xml:
2193 Commented out the whole section "current problem", which sounds
2194 historical and somehow osolete; it could be turned in a positive
2195 way and reused to improve the design principles.
2197 * docs/manual/intro-preface.xml:
2198 - Update URLs to library.gnome.org.
2199 - Do not mention GTK+ in preliminary reading (irrelevant).
2200 - Mention Plugin Writer's Manual and further reading only in the
2202 - Added a list of most relevant GObject/glib topics.
2204 * docs/manual/Makefile.am:
2205 * docs/manual/bin-element-ghost.fig:
2206 * docs/manual/bin-element-ghost.png:
2207 * docs/manual/bin-element-noghost.fig:
2208 * docs/manual/bin-element-noghost.png:
2209 * docs/manual/bin-element.fig:
2210 * docs/manual/bin-element.png:
2211 * docs/manual/filter-element-multi.fig:
2212 * docs/manual/filter-element-multi.png:
2213 * docs/manual/filter-element.fig:
2214 * docs/manual/filter-element.png:
2215 * docs/manual/gstreamer-overview.png:
2216 * docs/manual/hello-world.fig:
2217 * docs/manual/hello-world.png:
2218 * docs/manual/linked-elements.fig:
2219 * docs/manual/linked-elements.png:
2220 * docs/manual/mime-world.fig:
2221 * docs/manual/mime-world.png:
2222 * docs/manual/queue.fig:
2223 * docs/manual/queue.png:
2224 * docs/manual/simple-player.png:
2225 * docs/manual/sink-element.fig:
2226 * docs/manual/sink-element.png:
2227 * docs/manual/src-element.fig:
2228 * docs/manual/src-element.png:
2229 * docs/manual/diagrams-general.svg:
2230 * docs/manual/diagrams-pipelines.svg:
2231 Removed .fig, added .png counterpart.
2235 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2237 * plugins/elements/gstmultiqueue.c:
2238 * plugins/elements/gstmultiqueue.h:
2239 revert extra-size-buffers stuff, caused some race conditions
2240 and extra-size-buffers is not used anymore. Docs needs some updates
2242 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2244 * win32/common/config.h:
2245 * win32/common/gstenumtypes.c:
2246 * win32/common/gstenumtypes.h:
2247 * win32/common/gstversion.h:
2250 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2252 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2253 (GST_DEBUG_BIN_TO_DOT_FILE):
2254 Add missing Since' markers to gtk-doc blurbs.
2256 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2258 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2259 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2260 (set_caps_1), (set_caps_ct1), (transform_ct1),
2261 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2262 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2263 (transform_size_ct2), (buffer_alloc_ct2):
2264 Add some more tests with switching caps in buffer_alloc.
2266 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2268 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2269 (gst_test_trans_class_init), (result_sink_chain),
2270 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2271 (gst_test_trans_push), (gst_test_trans_pop):
2272 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2273 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2274 (set_caps_1), (set_caps_ct1), (transform_ct1),
2275 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2276 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2277 (transform_size_ct2), (buffer_alloc_ct2),
2278 (gst_basetransform_suite):
2279 More tests, prepare for tests with switching caps in buffer_alloc.
2281 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2283 * plugins/elements/gstmultiqueue.c:
2284 * plugins/elements/gstmultiqueue.h:
2285 Fix dead-lock in underrun_cb
2287 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2289 * docs/design/part-states.txt:
2290 Fix device open/close docs.
2292 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2295 Mention bugnumber for last commit.
2297 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2299 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2301 * docs/manual/manual.xml:
2302 - Reorganised the previous "introduction" bundle into Foreword,
2303 Introduction, and About GStreamer. The two first are <preface>
2304 docbook elements. The later is the first part of the book.
2305 - added intro-gstreamer.xml (content partially from
2307 - moved appendix-win32.xml into appendix-integration.xml
2309 * docs/manual/intro-preface.xml: gstreamer section moved...
2310 * docs/manual/intro-gstreamer.xml: ...here. new file.
2312 * docs/manual/appendix-win32.xml: removed file. Content moved...
2313 * docs/manual/appendix-integration.xml: ...here.
2315 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2316 * docs/manual/appendix-checklist.xml: ...here.
2320 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2322 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2324 * docs/manual/basics-helloworld.xml:
2325 * docs/manual/hello-world.fig:
2326 - Explicitely include glib.h.
2327 - Do not use global variables.
2328 - Use g_printerr() instead of g_print().
2329 - Minor formating/renaming to increase readibility.
2330 - Renamed new_pad() to on_pad_added()
2331 - Improved explenatory comments.
2332 - renamed ogg parser to ogg demuxer
2333 - Use "autoaudiosink" instead of "alsasink".
2336 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2339 Remove cvs conflict marker.
2341 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2344 Document that for plgin-docs we extraxt he short-desc from the element
2347 * docs/design/part-states.txt:
2348 Tell that devices should be closed in PAUSED -> READY.
2350 * docs/manual/README:
2351 Document how tests in the manual are handled.
2356 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2358 * gst/gstbin.c: (bin_query_latency_fold):
2359 Only care about latency min and max when the sink is actually a live
2362 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2364 * docs/design/part-block.txt:
2367 * docs/design/part-element-transform.txt:
2368 Add notes about why transform needs to know input/output sizes.
2369 Add some issues that need to be solved.
2370 Add some more use cases.
2372 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2373 (gst_test_trans_class_init), (result_sink_chain),
2374 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2375 (gst_test_trans_push), (gst_test_trans_pop):
2376 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2377 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2378 (set_caps_1), (set_caps_ct1), (transform_ct1),
2379 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2380 (gst_basetransform_suite):
2381 Add suport for different pad templates and buffer-alloc.
2382 Add more checks for caps and buffer-alloc.
2383 Add checks for proxy buffer alloc.
2384 Add unit test for copy transform.
2386 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2388 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2390 * docs/manual/appendix-integration.xml:
2391 * docs/manual/appendix-licensing.xml:
2392 * docs/manual/basics-elements.xml:
2393 * docs/manual/basics-helloworld.xml:
2394 * docs/manual/basics-pads.xml:
2395 * docs/manual/highlevel-components.xml:
2396 * docs/manual/highlevel-xml.xml:
2397 * docs/manual/intro-basics.xml:
2398 * docs/manual/intro-preface.xml:
2399 Typo and formatting fixes (#538594).
2401 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2403 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2404 Fix some memory leaks and uses of object instances that we don't
2407 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2409 * plugins/elements/gstmultiqueue.c:
2410 Add functionality to extra-size-buffers property.
2412 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2414 * plugins/elements/gstmultiqueue.c:
2415 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2416 activate the pads if they are added in STATE_NULL.
2418 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2420 * docs/libs/gstreamer-libs-sections.txt:
2422 * libs/gst/check/gstcheck.c:
2423 * libs/gst/check/gstcheck.h:
2424 API: gst_check_teardown_pad_by_name
2426 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2428 * libs/gst/check/gstcheck.c:
2429 * libs/gst/check/gstcheck.h:
2430 Also setup request pads and allow setup pads by name (#537812)
2431 API: gst_check_setup_src_pad_by_name
2432 API: gst_check_setup_sink_pad_by_name
2434 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2436 * tests/check/gst/gstbuffer.c:
2437 * tests/check/pipelines/parse-launch.c:
2438 Use HAVE_VALGRIND_H some more.
2440 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2442 * scripts/cvs-update.sh:
2443 Pass arguments to make.
2444 Run autoregen.sh if Makefile is not there.
2446 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2450 Don't assume that <valgrind/valgrind.h> exists just because
2451 the binary is there.
2453 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2455 * tests/check/Makefile.am:
2456 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2457 (gst_test_trans_class_init), (gst_test_trans_init),
2458 (gst_test_trans_set_data), (result_sink_chain),
2459 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2460 (gst_test_trans_pop):
2461 * tests/check/libs/transform1.c: (GST_START_TEST),
2462 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2463 Add some test basetransform element and the beginnings of various
2466 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2468 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2469 Increase code readability.
2470 Don't try to compare buffer offsets when ther are invalid.
2472 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2474 * docs/design/Makefile.am:
2475 Dist some more design docs.
2477 * docs/random/moving-plugins:
2478 Small addition: good plugins mustn't have functional code
2479 within assertion macros.
2481 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2483 * docs/design/draft-framestep.txt:
2484 Some ideas about a framestep API
2486 * docs/design/part-element-transform.txt:
2487 Start design and use cases for basetransform in order to get it
2490 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2493 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2494 be in UTF-8 encoding.
2496 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2499 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2501 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2503 * plugins/elements/gstcapsfilter.c:
2504 * plugins/elements/gstfakesink.c:
2505 * plugins/elements/gstfakesrc.c:
2506 * plugins/elements/gstfdsink.c:
2507 * plugins/elements/gstfdsrc.c:
2508 * plugins/elements/gstfilesink.c:
2509 * plugins/elements/gstfilesrc.c:
2510 * plugins/elements/gstidentity.c:
2511 * plugins/elements/gstmultiqueue.c:
2512 * plugins/elements/gstqueue.c:
2513 * plugins/elements/gsttee.c:
2514 * plugins/elements/gsttypefindelement.c:
2515 Remove short_description. Add basic docs for gsttypefindelement.
2516 Simplify markup for fakesrc/fdsrc.
2518 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2520 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2523 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2525 Patch by: Joel Larsson <tilljoel at gmail dot com>
2527 * docs/plugins/gstreamer-plugins.args:
2528 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2529 (gst_fd_src_init), (gst_fd_src_update_fd),
2530 (gst_fd_src_set_property), (gst_fd_src_get_property),
2531 (gst_fd_src_create):
2532 * plugins/elements/gstfdsrc.h:
2533 Add timeout property like udpsrc. Fixes #538628.
2534 Add some more docs and example pipelines.
2536 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2538 * docs/libs/gstreamer-libs-sections.txt:
2539 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2540 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2541 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2542 (gst_base_sink_do_sync):
2543 * libs/gst/base/gstbasesink.h:
2544 * win32/common/libgstbase.def:
2545 Add method to allow sinks to specify additional delay between the sync
2546 times and the actual rendering of the data.
2547 API: gst_base_sink_set_render_delay()
2548 API: gst_base_sink_get_render_delay()
2550 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2553 Bump version number back to dev -> 0.10.20.1
2555 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2557 * docs/gst/gstreamer-sections.txt:
2558 * gst/gsttaglist.c: (_gst_tag_initialize):
2560 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2563 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2565 * libs/gst/controller/gstcontroller.c:
2566 Revert one change, that make ret value possible uninitialized.
2568 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2570 * libs/gst/controller/gstcontroller.c:
2571 Use freeze/thaw notify to sync notify emission a bit (its also more
2572 efficient). Move debug output to LOG (is called a lot in a loop).
2573 Always unset g_values if the have been initialized.
2575 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2577 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2578 (gst_base_sink_wait_eos), (gst_base_sink_event):
2579 If we have not seen a buffer before EOS, use the segment values to
2580 report the current position instead of invalid positions.
2582 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2584 * docs/plugins/tmpl/.cvsignore:
2585 * tests/check/gst/.cvsignore:
2588 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2590 * libs/gst/controller/gstinterpolation.c:
2591 * libs/gst/controller/gstinterpolationcontrolsource.c:
2592 * tests/check/libs/controller.c:
2593 Rewrite handling of default values. Fix overflow with unsigned types
2594 in linear interpolation. Remove now obsolete _first_value() function.
2595 Add more tests. Fixes #538201.
2597 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2599 * libs/gst/base/gstbasetransform.c:
2600 (gst_base_transform_class_init), (gst_base_transform_init),
2601 (gst_base_transform_transform_caps),
2602 (gst_base_transform_prepare_output_buffer):
2604 When a buffer is writable, its metadata is also writable so we don't
2605 need to subbuffer (which then makes the buffer not-writable anymore).
2607 === release 0.10.20 ===
2609 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2612 releasing 0.10.20, "You Crazy Diamond"
2614 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2617 0.10.19.3 pre-release
2619 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2623 Rename DATADIR to GST_DATADIR to avoid build problems
2624 on win32. Patch By: David Schleef <ds@schleef.org>
2627 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2630 Explicitely link with -ldl if dladdr() is found there. Before it was
2631 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2632 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2634 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2636 * gst/gsterror.c: (_gst_stream_errors_init):
2637 Fix typo (spotted by Fabricio Godoy, #536723).
2639 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2642 0.10.19.2 pre-release
2644 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2646 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2647 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2649 Make sure we don't generate invalid QoS messages.
2651 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2653 * gst/gstevent.c: (gst_event_new_qos):
2654 Add some assert and docs for invalid input to the qos function.
2656 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2658 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2659 (gst_base_sink_get_position):
2660 The reported position must always be smaller than the last seen
2661 timestamps (or timestamp + duration for reverse).
2663 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2665 Patch by: Rob Bradford <rob at robster dot org dot uk>
2667 * gst/gstregistry.c: (gst_registry_scan_path_level):
2668 Don't recurse into .debug directories as some distros install
2669 the debugging symbols next to the plugins in .debug directories
2670 and dlopen() crashes on them sometimes. Fixes bug #508070.
2672 Add FIXME for 0.11 to not recurse into directories at all because
2673 it's very inconsistent to the behaviour of other PATH environment
2676 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2678 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2679 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2680 Fix position query range checks in reverse playback.
2682 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2686 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2687 clear of the reference to the resulting pad must be released later
2688 or not, resulting in possible leaks. Fixes bug #533865.
2690 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2692 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2694 * gst/gstelementfactory.c:
2695 Small doc fix. Fixes #535285.
2697 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2699 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2701 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2702 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2703 (gst_base_src_loop), (gst_base_src_set_flushing),
2704 (gst_base_src_change_state):
2705 Make sending an EOS event to the basesrc non-blocking even if the
2706 implementation does blocking waits in the create function. This is done
2707 by unlocking the create function when EOS is sent.
2710 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2712 * tools/gst-inspect.c: (print_element_properties_info):
2713 If possible print the element type of GValueArray properties.
2715 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2717 * gst/gstiterator.c:
2718 Remove an unused field from the private GstListIterator struct.
2720 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2722 * libs/gst/controller/gstcontroller.c:
2723 Add parameter guards.
2725 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2727 * tests/check/gst/gstpipeline.c:
2728 Revert test change and add comment why it should not work.
2730 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2732 * tests/check/gst/gstpipeline.c:
2733 Extending the test a little to verify that we also get the NULL state-
2736 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2738 * gst/gstpreset.c: (gst_preset_default_get_meta),
2739 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2740 (gst_preset_load_preset), (gst_preset_save_preset),
2741 (gst_preset_rename_preset), (gst_preset_delete_preset),
2742 (gst_preset_set_meta):
2743 Add Since: markers to docs blurbs.
2745 * win32/common/libgstreamer.def:
2746 Add recently-added API.
2748 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2750 Patch by: Stefan Kost <ensonic@users.sf.net>
2753 Add DATADIR for storing presets.
2755 * docs/gst/gstreamer-docs.sgml:
2756 * docs/gst/gstreamer-sections.txt:
2757 * docs/gst/gstreamer.types.in:
2758 Add GstPreset to docs.
2762 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2763 (preset_open_and_parse_header), (preset_parse_version),
2764 (preset_merge), (preset_get_keyfile),
2765 (gst_preset_default_get_preset_names),
2766 (gst_preset_default_get_property_names),
2767 (gst_preset_default_load_preset),
2768 (gst_preset_default_save_presets_file),
2769 (gst_preset_default_save_preset),
2770 (gst_preset_default_rename_preset),
2771 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2772 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2773 (gst_preset_default_reset), (gst_preset_get_preset_names),
2774 (gst_preset_get_property_names), (gst_preset_load_preset),
2775 (gst_preset_save_preset), (gst_preset_rename_preset),
2776 (gst_preset_delete_preset), (gst_preset_set_meta),
2777 (gst_preset_get_meta), (gst_preset_class_init),
2778 (gst_preset_base_init), (gst_preset_get_type):
2780 Add GstPreset to core. Fixes #396779
2782 * tests/check/Makefile.am:
2783 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2784 (gst_preset_test_set_property), (gst_preset_test_class_init),
2785 (gst_preset_test_base_init), (gst_preset_test_get_type),
2786 (gst_preset_test_plugin_init), (GST_START_TEST),
2787 (remove_preset_file), (test_setup), (test_teardown),
2789 Add GstPreset unit tests.
2791 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2793 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2794 The default event function on a sinkpad should return TRUE when
2795 there are no internal links but should collect the return values from
2796 the internal links otherwise.
2798 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2800 * plugins/elements/gsttypefindelement.c:
2801 (gst_type_find_element_src_event),
2802 (gst_type_find_element_handle_event):
2803 Use faster and safer _pad_push_event().
2805 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2807 * docs/gst/gstreamer-sections.txt:
2808 * gst/gstutils.c: (element_find_unlinked_pad),
2809 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2811 API: add gst_bin_find_unlinked_pad()
2812 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2814 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2820 Fixed a bunch of typos.
2822 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2825 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2826 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2827 (gst_parse_bin_from_description_full):
2829 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2831 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2833 * docs/pwg/advanced-tagging.xml:
2834 Small docs update, can't be bothered to rewrite the nonsensical
2837 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2840 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2842 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2844 * gst/parse/grammar.y:
2845 Remove unneeded casts.
2847 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2849 * gst/parse/grammar.y:
2850 * tests/check/pipelines/parse-launch.c:
2851 Get all missing elements from a parse launch string if possible
2852 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2854 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2856 * tests/check/Makefile.am:
2857 * tests/check/pipelines/parse-launch.c:
2858 Add some unit tests for the new gst_parse_launch*_full() API.
2859 (Exposes a previously-existing memory leak in the error code
2860 path, so adding to VALGRIND_TO_FIX for now).
2862 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2864 * docs/gst/gstreamer-sections.txt:
2865 * gst/gst.c: (init_post):
2866 * gst/gst_private.h: (_GstParseContext):
2867 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2868 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2869 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2870 (gst_parse_launch_full):
2871 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2872 (GstParseFlags), (GstParseContext):
2873 * gst/gstutils.c: (gst_parse_bin_from_description),
2874 (gst_parse_bin_from_description_full):
2876 * gst/parse/grammar.y:
2877 * gst/parse/types.h:
2878 * win32/common/libgstreamer.def:
2879 Add new gst_parse_*_full API (#528178):
2880 API: gst_parse_launch_full()
2881 API: gst_parse_launchv_full()
2882 API: gst_parse_bin_from_description_full()
2883 API: gst_parse_context_new()
2884 API: gst_parse_context_free()
2885 API: gst_parse_context_get_missing_elements()
2887 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2889 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2891 * docs/faq/gst-uninstalled:
2892 Also support ffmpeg in gst-uninstalled.
2894 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2897 After discussion on IRC use the binary registry as default
2898 but allow to disable it with --disable-binary-registry.
2900 * win32/common/libgstreamer.def:
2901 Add the two new symbols for the binary registry.
2903 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2905 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2906 * gst/gstutils.c: (gst_parse_bin_from_description):
2907 * gst/parse/grammar.y: (graph):
2908 More guards against bad input; typo fix; some minor clean-ups.
2910 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2912 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2914 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2915 If nothing else can be used, use the last buffer's start time as
2916 the segment's last stop. Fixes bug #534258.
2918 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2920 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2921 Move size sanity check to the right place: downstream may return
2922 a buffer with a smaller size if the buffer caps are different than
2923 the requested ones, as may happen when doing reverse negotiation.
2925 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2927 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2928 (gst_file_sink_render):
2929 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2930 (gst_file_src_start):
2931 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2934 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2936 * gst/gstpad.c: (gst_pad_load_and_link):
2937 * gst/gstutils.c: (gst_element_link_pads),
2938 (gst_element_unlink_pads):
2939 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2940 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2941 (gst_check_teardown_sink_pad),
2942 (gst_check_element_push_buffer_list):
2943 * tests/check/elements/fakesink.c: (GST_START_TEST):
2944 * tests/check/elements/filesink.c:
2945 * tests/check/elements/filesrc.c: (GST_START_TEST):
2946 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2947 (mq_sinkpad_to_srcpad):
2948 * tests/check/elements/tee.c: (GST_START_TEST):
2949 * tests/check/generic/sinks.c: (GST_START_TEST):
2950 * tests/check/gst/gstbin.c: (GST_START_TEST):
2951 * tests/check/gst/gstevent.c: (GST_START_TEST):
2952 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2953 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2954 * tests/check/gst/gstquery.c: (GST_START_TEST):
2955 * tests/check/gst/gstutils.c: (GST_START_TEST):
2956 * tests/check/libs/basesrc.c: (GST_START_TEST):
2957 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2958 (gst_parse_test_element_change_state):
2959 Don't use gst_element_get_pad().
2961 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2964 Fix installing plugin documentation when gtk-doc is disabled.
2966 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2968 * docs/manual/advanced-autoplugging.xml:
2969 * docs/manual/basics-helloworld.xml:
2970 * docs/manual/basics-pads.xml:
2971 * docs/manual/highlevel-components.xml:
2972 Avoid using a bad function in the example code.
2974 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2976 * gst/gstclock.c: (gst_clock_set_calibration):
2977 Fix debug of the new clock rate.
2979 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2981 * win32/common/libgstbase.def:
2982 Add gst_base_sink_wait_clock() to the exported symbols.
2984 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2986 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2988 * libs/gst/base/gstbasetransform.c:
2989 (gst_base_transform_sink_event):
2990 Unref events that the GstBaseTransform::event vfunc didn't want to
2991 have forwarded by the base class. Closes a leak in identity.
2994 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2996 * docs/libs/gstreamer-libs-sections.txt:
2997 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2998 * libs/gst/base/gstbasesink.h:
2999 Expose a method that was previously used internally to synchronize
3000 against the clock because it can be useful for subclasses too.
3001 API: GstBaseSink::gst_base_sink_wait_clock()
3003 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3005 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3006 Add sanity check to make sure we don't get smaller buffers
3007 than requested (and fallback to normal buffer alloc if we do).
3009 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3011 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3012 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3013 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3014 Refactor adjusting the running_time with latency and offset into a
3016 When doing clipping, we still want to use the subclass get_times method,
3017 just in case the DURATION or TIMESTAMP are not set.
3019 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3021 * docs/gst/gstreamer-sections.txt:
3022 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3023 * gst/gsttypefind.h:
3024 * win32/common/libgstreamer.def:
3025 API: add gst_type_find_suggest_simple(), #533740.
3027 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
3029 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3030 Use right error code when typefinding fails, so we can use
3031 the default (translated) error messages.
3033 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
3035 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3036 (gst_base_src_start):
3037 When the subclass did not set caps on outgoing buffers, configure the
3038 caps we negotiated on the source pad.
3039 When the typefind helper does not find caps, error out properly instead
3040 of doing things with NULL caps.
3042 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3044 * gst/gsttypefind.h:
3045 Tabs to spaces, oh yes!
3047 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3049 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3050 Add David's and Benjamin's tests for array intersection to the
3051 unit test suite (#147931).
3053 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
3056 Document that gst_event_new_tag() and gst_event_new_navigation()
3057 take ownership of the taglist/structure passed to them. (#533635).
3059 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
3062 Don't descend into the plugins dir if plugin docs building
3066 Add a note about the new type:GTypeName syntax for the plugin
3067 documentation .types file.
3069 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3071 * gst/gstmessage.c: (gst_message_new_error),
3072 (gst_message_new_warning), (gst_message_new_info):
3074 Mark the debug string parameters as const. Fixes bug #533490.
3076 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
3078 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3079 Sort buffer cache list by end offsets. This makes sure that we don't
3080 stop to search for a cached buffer that contains the requested data
3082 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3083 more efficient. Fixes bug #459862.
3085 2008-05-14 Stefan Kost <ensonic@users.sf.net>
3088 Explain why we copy the list.
3090 * gst/gstpipeline.c:
3094 Add one debug-log statement to help tracing probelms with linking pads.
3096 2008-05-12 Stefan Kost <ensonic@users.sf.net>
3098 * tests/check/gst/gstinfo.c:
3099 Add a test for removing the default log handler. Seems to fail under
3102 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3104 * gst/gstpad.c: (gst_pad_peer_accept_caps):
3105 Release pad lock before calling out to avoid a possible deadlock.
3107 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
3109 * gst/parse/grammar.y:
3110 Remove unneeded value unset.
3112 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3113 Add unit test for de/serialization of caps.
3115 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3117 * plugins/elements/gstfakesink.c:
3118 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3119 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3120 (gst_fake_src_class_init):
3121 Use custom marshalers that take GstMiniObject as first parameter.
3122 Using OBJECT as parameter while a GstMiniObject is given will lead
3123 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3125 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3127 * plugins/elements/gsttypefindelement.c:
3128 (gst_type_find_element_handle_event),
3129 (gst_type_find_element_send_cached_events),
3130 (gst_type_find_element_change_state):
3131 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3134 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3136 * plugins/elements/gsttypefindelement.c:
3137 (gst_type_find_handle_src_query), (stop_typefinding),
3138 (gst_type_find_element_handle_event),
3139 (gst_type_find_element_send_cached_events),
3140 (gst_type_find_element_change_state):
3141 Forward FLUSH_START events immediately and clean up instead of
3144 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3146 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3148 * libs/gst/base/gstbasetransform.c:
3149 (gst_base_transform_buffer_alloc):
3150 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3151 fall back to default negotiation in the chain function if the caps
3152 are different from what was requested. Fixes bug #526768.
3154 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3157 * tests/check/gst/gstsegment.c:
3158 No, let's not use g_slice_{dup|copy} here, since they only exist
3159 since GLib 2.14 and we still depend only on >= 2.12. Also add
3160 unit test for gst_segment_copy().
3162 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3164 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3165 Try to fix 'dereferencing type-punned pointer will break strict
3166 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3167 changed the default GType typedef from gulong to gsize at some point,
3168 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3169 g_once_* functions all take a gsize * though, so work around the type
3170 mismatch for C++ by doing everything in gsize and casting to GType
3173 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3175 * plugins/elements/gstmultiqueue.c:
3176 Add documentation for the signals to push our core plugin docs
3177 coverage back up to 100%.
3179 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3181 * gst/gstinfo.h (GST_FUNCTION):
3182 Reverted GST_FUNCTION to the old version as we don't want the
3183 full signature in C++ code. Also added support for MSVC.
3185 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3188 Intern the type name string, similar to what G_DEFINE_TYPE does.
3190 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3193 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3195 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3197 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3199 * libs/gst/base/gstbasetransform.c:
3200 (gst_base_transform_buffer_alloc):
3201 Don't passthrough buffer allocation too easily if the caps change.
3202 This breaks when working in passthrough mode and upstream changes
3203 it's caps. Fixes bug #526768.
3205 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3207 * gst/gstinfo.c (gst_debug_log_valist):
3208 Improved the __FILE__ part of debug output for MSVC.
3210 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3212 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3213 Declaration after statement fix for compilers like MSVC.
3215 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3217 * win32/common/config.h.in:
3218 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3219 use the real thing than having "???" unconditionally.
3221 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3223 * gst/gstinfo.h (GST_FUNCTION):
3224 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3226 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3228 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3231 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3232 (gst_base_sink_set_flushing):
3233 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3236 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3238 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3239 (gst_fake_src_init), (gst_fake_src_set_property),
3240 (gst_fake_src_get_property), (gst_fake_src_start):
3241 * plugins/elements/gstfakesrc.h:
3242 Added format property to control the format of the newsegment events.
3243 API: GstFakeSrc:format
3245 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3247 * win32/common/libgstreamer.def:
3248 Add gst_pad_has_name() to the exported symbols.
3250 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3252 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3253 * libs/gst/base/gstbasetransform.c:
3254 (gst_base_transform_prepare_output_buffer):
3255 Don't allow negative sizes when allocating new buffers.
3258 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3260 Patch by: Sjoerd Simons <sjoerd at luon net>
3262 * gst/gstbus.c: (gst_bus_source_dispatch):
3263 Don't print a warning if the queue is empty when we try to pop
3264 here. That could happen if another thread or callback set the
3265 bus to flushing between the source's check/prepare and the
3266 dispatch being called (#531538).
3268 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3270 * plugins/elements/gstmultiqueue.c:
3273 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3275 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3276 Add unit test for deserializing uint64s and check some really large
3277 numbers in the int64 test.
3279 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3281 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3282 (print_interfaces), (print_element_properties_info),
3283 (print_signal_info):
3284 Use "%s" as format string instead of printing strings directly.
3286 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3288 * gst/gstclock.c: (gst_clock_set_calibration):
3289 Make some checks actually useful.
3291 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3292 Remove some unused code. Unsigned integers tend to be >= 0.
3294 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3296 * gst/gstminiobject.c: (gst_value_get_mini_object):
3297 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3298 function was not in the unscheduled 0.10.19 release.
3300 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3302 * gst/gstregistry.c: (gst_registry_scan_path_level):
3303 Only print one log message per non-plugin file.
3305 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3307 * gst/gstinfo.c: (gst_debug_log_default):
3308 Fix alignment of debug log columns on 64-bit.
3310 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3312 * docs/libs/Makefile.am:
3313 * docs/libs/gstreamer-libs-sections.txt:
3314 Ignore private controller headers for docs.
3316 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3318 * libs/gst/controller/gstcontrollerprivate.h:
3319 * libs/gst/controller/gsthelper.c:
3320 * libs/gst/controller/gstinterpolation.c:
3321 * libs/gst/controller/gstinterpolationcontrolsource.c:
3322 (gst_interpolation_control_source_set_interpolation_mode):
3323 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3324 * libs/gst/controller/lib.c:
3325 Move some private declarations into private headers.
3327 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3329 * gst/gstdebugutils.c: (debug_dump_element_pad):
3330 Remove some code that is unused after Stefan's refactoring and uses
3331 uninitialized variables now, resulting in a compiler warning.
3333 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3335 * gst/gstregistry.c: (gst_registry_scan_path_level):
3336 Run g_str_has_suffix() only on the file name, not the
3339 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3341 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3342 Since we're not called only from the chain function any longer,
3343 we can't assume that there's always data in the queue, so move
3344 the is_full check to the beginning of the loop (otherwise we'd
3345 hit the assert when changing the limit properties while the
3346 queue is empty or not running yet).
3347 Also, only set a discont if items were actually removed from
3350 * tests/check/elements/queue.c: (test_leaky_downstream):
3351 Test case for the above.
3353 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3355 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3357 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3358 (gst_queue_chain), (queue_capacity_change),
3359 (gst_queue_set_property):
3360 When changing thr max capacity of a leaky queue, immediatly drop buffers
3361 instead of waiting for a push on the sinkpad. Fixes #530637.
3363 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3365 * gst/gstdebugutils.c:
3366 Refactor code and fix handling of ghostpads and their proxypads.
3368 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3370 * docs/gst/gstreamer-sections.txt:
3371 * gst/gstevent.c: (gst_event_has_name):
3373 * tests/check/gst/gstevent.c: (GST_START_TEST):
3374 Add method to conveniently check the name of a custom event with
3375 gst_event_has_name().
3376 Reformat the event docs so that related methods are put together instead
3377 of the default alphabetical sort.
3378 Update unit test with new method.
3379 API: GstEvent::gst_event_has_name()
3381 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3383 * libs/gst/check/Makefile.am:
3384 Don't add an explicit link to libgstreamer-0.10.la; it's already
3385 included in GST_OBJ_LIBS.
3387 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3390 Register GstClock type from a type-safe context. Fixes bug #530317.
3392 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3394 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3396 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3398 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3400 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3402 Use the GLib stuff to create a private structure.
3403 Add some locking around some dispose methods to make them a little
3404 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3406 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3408 * libs/gst/base/gstbasesink.h:
3409 * libs/gst/base/gstbasesrc.h:
3410 * libs/gst/base/gstbasetransform.h:
3411 * libs/gst/base/gstcollectpads.h:
3412 Fix doc typos and unify caps a bit.
3414 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3416 * tools/gst-launch.1.in:
3417 Forgot to also add the envvar docs here.
3419 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3421 * gst/gst.c: (init_post), (gst_deinit):
3422 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3423 (test_concurrent_create), (gst_pipeline_suite):
3424 Ref some more classes in gst_init() to work around thread-safety
3425 issues in pre-2.16 GLibs, and add basic unit test.
3427 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3429 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3430 (gst_base_sink_send_event):
3431 Rearrange the latency query code. We always want to do the upstream
3432 query, even if we are not live so that the upstream elements can get the
3433 latency results too. If we fail doing the query and we are live, we
3434 return TRUE afterwards.
3436 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3438 patch by: Jason Zhao <e3423c@motorola.com>
3440 * docs/gst/running.xml:
3442 Enable/disable scan_and_update_registry() based on commandline switch
3443 or environment variable. Fixes #520468.
3446 Fix typo in my previous commit.
3448 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3450 * gst/gstregistrybinary.c:
3451 Add a warning if we hit unhandled factories when saving.
3452 More debug logging detail, but move to LOG category.
3454 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3456 * gst/gstregistry.c:
3457 Tell the *truth* when improving the documentation.
3459 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3461 * gst/gstelementfactory.c: (gst_element_factory_make):
3462 Unref the factory after it was used the last time, not before.
3464 * gst/gstindexfactory.c: (gst_index_factory_make):
3465 Improve debugging a bit and don't leak a ref to the index factory with
3468 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3470 * gst/gstregistry.c:
3471 Improve the documentation.
3473 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3476 The glib macro seems to be borked. Use g_slice_copy directly and cast
3477 in the hope that this fixes the warning on 64bit.
3479 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3482 Document the new function. Use g_slice_dup() (no need for
3483 gst_segment_init()).
3485 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3487 * docs/gst/gstreamer-sections.txt:
3488 Move GParamSepc macros to standart section.
3491 Dn't document _get_type - its in private section in docs anyway and
3492 this doc-blob was incomplete.
3495 Fix wrong symbol names in docs.
3498 Add once doc sentence.
3500 * tests/check/gst/.cvsignore:
3503 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3505 * docs/gst/Makefile.am:
3506 And remove those libs here.
3508 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3510 * docs/libs/Makefile.am:
3511 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3513 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3515 Patch by: Olivier Crete <tester at tester dot ca>
3517 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3518 Add the min-threshold to the min latency if possible. Fixes #529148.
3520 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3522 * docs/gst/gstreamer.types.in:
3523 Stupid editor, I removed that line as it should go in yet.
3525 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3527 * docs/gst/gstreamer.types.in:
3528 * docs/libs/gstreamer-libs.types:
3529 Remove library types fro core docs and have them in libs docs.
3530 Reformat and cleanup. Add comment for miniobject types.
3532 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3534 * gst/gsturi.c: (gst_uri_get_protocol):
3535 Fix leak: g_strdown operates on the string in place, while
3536 g_ascii_strdown() returns a newly-allocated string.
3538 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3540 * tools/gst-inspect.c: (print_uri_handler_info),
3541 (print_element_info):
3542 Print the URI protocols and the URI type supported by the element.
3544 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3546 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3547 Use g_value_take_string() instead of the deprecated
3548 g_value_set_string_take_ownership().
3550 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3552 * gst/gstregistrybinary.c: (_gst_crc32):
3553 Return the old CRC instead of 0 if we give a NULL buffer
3554 or a buffer with a length of 0.
3556 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3558 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3559 (gst_uri_get_protocol), (gst_uri_has_protocol),
3560 (gst_uri_construct), (gst_uri_handler_set_uri):
3561 A valid URI scheme can also include '+', '-' and '.' additional
3562 to alphanumeric characters as per RFC 3986 Section 3.1.
3564 Handle URI schemes case insensitive in all places and convert
3565 to lower-case when constructing an URI or setting an URI with
3566 the GstURIHandler interface. Fixes bug #528868.
3567 All elements can still assume (as before) that they will
3568 get passed URIs with a lower-case URI scheme by the GstURIHandler
3571 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3573 * gst/gstcaps.c: (gst_static_caps_get):
3574 * gst/gstclock.c: (gst_clock_entry_new):
3575 Don't use g_atomic_set_int where it's not needed.
3577 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3579 * gst/gstvalue.c: (gst_value_deserialize_caps):
3580 * gst/parse/grammar.y:
3583 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3585 * gst/gstutils.c: (gst_atomic_int_set):
3586 Use g_atomic_int_set() here too instead of assignment +
3589 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3593 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3594 now that we depend on new enough GLib.
3596 * gst/gstcaps.c: (gst_static_caps_get):
3597 * gst/gstclock.c: (gst_clock_entry_new):
3598 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3599 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3600 (gst_debug_category_set_threshold):
3601 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3602 (gst_base_sink_set_qos_enabled):
3603 * libs/gst/net/gstnettimeprovider.c:
3604 (gst_net_time_provider_set_property):
3605 Use g_atomic_int_set() instead of gst_atomic_int_set().
3607 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3610 Also use G_GINT64_CONSTANT for the queries.
3612 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3615 Use G_GINT64_CONSTANT in varargs function.
3617 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3619 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3620 Initialize the registry magic with zeroes.
3622 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3624 * gst/gstregistrybinary.c: (_gst_crc32),
3625 (gst_registry_binary_write),
3626 (gst_registry_binary_initialize_magic),
3627 (gst_registry_binary_write_cache),
3628 (gst_registry_binary_check_magic),
3629 (gst_registry_binary_read_cache):
3630 * gst/gstregistrybinary.h:
3631 Add crc32 checksum to the binary registry file and check this before
3632 accepting a registry file.
3634 Also free the data list when writing to the registry file fails.
3636 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3638 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3639 (gst_registry_binary_load_feature),
3640 (gst_registry_binary_load_plugin):
3641 If an element supports the Uri interface, returns a valid pointer
3642 to the supported URI protocols but this pointer contains nothing
3643 don't try to save that as it will corrupt the registry.
3645 Don't unref the plugin if we added it to the registry already but
3646 fail to load a feature as gst_registry_add_plugin() takes ownership
3649 Improve debugging a bit.
3651 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3654 Clarify some tag item docs after discussion on irc.
3656 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3658 * docs/gst/gstreamer-docs.sgml:
3659 Remove commented out plugins (they have their own docs). Update
3662 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3664 * docs/gst/gstreamer-docs.sgml:
3665 * docs/gst/gstreamer-sections.txt:
3666 * gst/gstparamspecs.c:
3667 * gst/gstparamspecs.h:
3668 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3669 docs to own section.
3672 This now only documents GValue.
3674 * docs/libs/gstreamer-libs-sections.txt:
3675 * libs/gst/controller/gstcontroller.h:
3676 Remove GST_PARAM_CONTROLLABLE.
3678 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3681 Correct file path. Tell about how to use -overrides.txt.
3682 * docs/design/draft-tagreading.txt:
3683 Small design update.
3685 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3687 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3688 (gst_registry_binary_load_plugin):
3689 Fix a typo in a debug message and revert change from yesterday as
3690 gst_registry_add_plugin() will only fail if something is really wrong
3691 already and we can't survive it anyway.
3693 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3695 * gst/gst.c: (init_post), (gst_deinit):
3696 Pre-register GstGError GType from a thread-safe context
3697 (fixes #527967); unref enum type classes in deinit.
3699 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3701 Patch by: Rene Stadler <mail at renestadler de>
3703 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3704 Merging an empty list with another list in KEEP_ALL mode should
3705 yield an empty list as result and not the second list (#512578).
3707 * tests/check/gst/gsttagsetter.c:
3708 Add unit test for tag merge modes and the aforementioned bug.
3710 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3712 Patch by: Rene Stadler <mail at renestadler de>
3715 Fix description to match the order in the table (#512577).
3717 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3719 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3721 * libs/gst/net/gstnettimepacket.h:
3722 * docs/libs/gstreamer-libs-sections.txt:
3723 Define socklen_t as int if it's not defined yet. Fixes compilation
3724 with MSVC6 and other versions where socklen_t is not defined in
3725 the windows headers (#518022).
3727 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3729 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3730 If gst_registry_add_plugin() fails our reference to the plugin is
3731 invalid so don't try to use it anymore and instead error out.
3733 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3735 * tools/gst-xmlinspect.c: (print_element_info), (main):
3736 De-cruft a bit. If no argument is specified, print all elements in
3737 XML syntax rather than a freestyle list of elements like gst-inspect.
3738 Also, don't print XML header chunk unless we actually have something
3739 to print (ie. don't print it before an error message); print error
3740 message to stderr not stdout. Remove support for printing plugin
3741 info (it would just output something freestyle along the lines of
3742 gst-inspect so far), which fixes #514507. Also add license header.
3744 2008-04-11 Julien Moutte <julien@fluendo.com>
3747 * configure.ac: Merge platform specific defines, introduce a new
3748 define on OS X to remember that forking when updating registry is
3750 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3752 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3754 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3755 condition that leads to absolutely no plugins being registered on
3758 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3760 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3762 * gst/gstutils.c: (gst_pad_add_data_probe),
3763 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3764 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3765 (gst_pad_add_buffer_probe_full):
3767 * docs/gst/gstreamer-sections.txt:
3768 * win32/common/libgstreamer.def:
3769 Add gst_pad_add_*_probe_full() functions with a notify callback that
3770 lets the caller free the data it passes to the probe functions. This
3771 is useful for bindings such as gst-python or gstreamermm (#526814).
3772 API: gst_pad_add_data_probe_full
3773 API: gst_pad_add_buffer_probe_full
3774 API: gst_pad_add_event_probe_full
3776 * tests/check/gst/gstutils.c:
3777 Add minimal unit test to make sure freeing the data actually works
3780 * tests/benchmarks/.cvsignore:
3781 Random cvsignore addendum.
3783 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3785 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3786 (GST_DEBUG_BIN_TO_DOT_FILE):
3787 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3788 to it in the docs (since these are macros the types of the arguments
3789 won't be shown in the docs otherwise).
3791 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3794 Do not abort on out of memory for pad_alloc_buffer.
3796 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3798 * libs/gst/check/gstcheck.c:
3799 Remove blank line between symbol name ad parameters to fix gtkdoc
3802 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3804 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3806 * docs/gst/gstreamer-sections.txt:
3809 * win32/common/libgstreamer.def:
3810 Expose gst_segment_copy() to make things easier for the c++ bindings.
3812 API: gst_segment_copy()
3814 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3816 * gst/gst.c: (gst_init_get_option_group), (init_post):
3817 Fix const position; ref GType classes for enum types to work
3818 around thread-safety issues in GLib versions < 2.16.
3820 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3822 * docs/design/part-buffering.txt:
3823 Fix some typos and set the estimated total for push mode to -1.
3825 * gst/gstquery.c: (gst_query_new_buffering):
3826 Set buffering-left to 0 as we're not buffering by default.
3828 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3829 Implement BUFFERING query.
3831 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3833 Based on patch by: Milosz Derezynski <internalerror gmail com>
3835 * gst/gsterror.c: (_gst_stream_errors_init):
3837 Add two new error codes for encrypted content. Fixes #524659.
3838 API: GST_STREAM_ERROR_DECRYPT
3839 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3841 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3846 * win32/common/libgstreamer.def:
3849 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3851 * plugins/elements/gstidentity.c: (gst_identity_event),
3852 (gst_identity_start):
3853 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3854 event after processing some data. Fixes bug #526042.
3856 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3858 * docs/gst/gstreamer-sections.txt:
3859 * gst/gstquery.c: (gst_query_parse_latency),
3860 (gst_query_set_buffering_percent),
3861 (gst_query_parse_buffering_percent),
3862 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3864 Rename _avail -> _range
3865 API: gst_query_set_buffering_range
3866 API: gst_query_parse_buffering_range
3868 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3870 * docs/design/part-buffering.txt:
3873 * gst/gstquery.c: (gst_query_parse_latency),
3874 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3875 (gst_query_parse_buffering_percent):
3877 Add busy field and quark for the buffering query so that the app can
3878 only use the query to see if buffering is in progress.
3880 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3882 * docs/gst/gstreamer-sections.txt:
3883 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3884 (gst_message_parse_buffering_stats):
3886 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3887 (gst_query_parse_latency), (gst_query_new_buffering),
3888 (gst_query_set_buffering_percent),
3889 (gst_query_parse_buffering_percent),
3890 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3891 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3893 Reorder the message docs and headers for clarity.
3894 Add aditional buffering stats API for messages.
3895 Add buffering query.
3896 Convert some leftover queries to use GstQuark.
3897 API: gst_message_set_buffering_stats
3898 API: gst_message_parse_buffering_stats
3899 API: GST_QUERY_BUFFERING
3900 API: GstBufferingMode
3901 API: gst_query_new_buffering
3902 API: gst_query_set_buffering_percent
3903 API: gst_query_parse_buffering_percent
3904 API: gst_query_set_buffering_stats
3905 API: gst_query_parse_buffering_stats
3907 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3909 * gst/gstmessage.c: (gst_message_new_error),
3910 (gst_message_new_warning), (gst_message_new_info),
3911 (gst_message_new_buffering), (gst_message_new_state_changed),
3912 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3913 (gst_message_new_new_clock), (gst_message_new_segment_start),
3914 (gst_message_new_segment_done), (gst_message_new_duration),
3915 (gst_message_new_async_start), (gst_message_parse_buffering),
3916 (gst_message_parse_state_changed),
3917 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3918 (gst_message_parse_new_clock), (gst_message_parse_error),
3919 (gst_message_parse_warning), (gst_message_parse_info),
3920 (gst_message_parse_segment_start),
3921 (gst_message_parse_segment_done), (gst_message_parse_duration),
3922 (gst_message_parse_async_start):
3923 Use GstQuark for messages.
3925 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3927 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3929 Add some more quarks needed for messages and queries.
3931 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3933 * docs/design/part-buffering.txt:
3934 Remove the "none" buffering mode, STREAM is a good default.
3935 Move estimated-time to the avail query, that's when it will be needed.
3936 Other small typo fixes and updates.
3938 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3940 * gst/gstindex.c: (gst_index_resolver_get_type):
3941 Don't put descriptions into the nick field of a GEnumValue: it's not
3942 meant for that and some language bindings rely on the nick field to
3943 construct constants and the like. Fixes #526705.
3945 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3950 Merge other changes from 0.10.19 release branch.
3952 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3954 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3957 Actually build dlls when cross-compiling with mingw32.
3960 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3962 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3965 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3967 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3969 * docs/design/draft-latency.txt:
3972 * docs/design/part-buffering.txt:
3973 Update design docs with more buffering ideas.
3975 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3978 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3980 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3983 Revert part that belongs to the preset patch.
3985 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3988 Add qoutes to the define. Fixes # 525961.
3990 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3992 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3993 (gst_file_index_load), (gst_file_index_add_id),
3994 (gst_file_index_get_assoc_entry):
3995 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3996 (gst_mem_index_free_id), (gst_mem_index_add_id),
3997 (gst_mem_index_index_format):
3998 Use GSlice when possible.
4000 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
4002 * libs/gst/controller/gstinterpolationcontrolsource.c:
4003 (gst_control_point_free),
4004 (gst_interpolation_control_source_set_internal):
4005 Use GSlice for allocating the control points.
4007 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
4009 * plugins/elements/gsttypefindelement.c:
4010 (gst_type_find_element_class_init),
4011 (gst_type_find_element_set_property),
4012 (gst_type_find_element_get_property),
4013 (gst_type_find_element_activate):
4014 * plugins/elements/gsttypefindelement.h:
4016 Fix pad leak when peer query fails.
4017 We can still typefind when the peer returns -1.
4018 Add property to force caps and bypass typefinding. This will be used in
4022 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4027 * gst/glib-compat-private.h:
4028 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4029 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4030 Unconditionally use GSlice for allocation.
4032 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4033 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4034 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4035 (gst_structure_free):
4036 Use GSlice for allocation.
4038 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
4040 * gst/parse/Makefile.am:
4041 * gst/parse/grammar.tab.pre.c:
4042 * gst/parse/grammar.tab.pre.h:
4043 * gst/parse/lex._gst_parse_yy.pre.c:
4044 Require a new enough flex and bison and remove the parser hacks to use
4045 a pre-regenerated version.
4047 2008-04-01 Julien Moutte <julien@fluendo.com>
4049 patch by: Jason Zhao <E3423C@motorola.com>
4051 * configure.ac: Add a configure switch to disable option parsing
4055 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4058 * gst/gstregistry.c:
4059 MacOS has plugins under .so or under .dylib. Add detection for MacOS
4060 and handle this case.
4063 Add a comment here describing, why we stat each plugin and not try to
4066 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
4068 * libs/gst/base/gstbasetransform.c:
4069 (gst_base_transform_prepare_output_buffer):
4070 Also unset the GAP flag on buffers if we're working inplace but
4071 the element is not GAP-aware.
4073 Mark a comment as FIXME 0.11.
4075 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4078 Fix type in log message and add one to ease seeing how long registry
4079 cache verification takes.
4081 * gst/gstregistry.c:
4082 Only test plugin filenames against G_MODULE_SUFFIX.
4084 2008-03-31 Stefan Kost <ensonic@users.sf.net>
4086 * gst/gstdebugutils.c:
4087 Improve handling ghost/proxy pads.
4089 2008-03-27 Stefan Kost <ensonic@users.sf.net>
4091 * docs/gst/gstreamer-sections.txt:
4094 Expose macro to docs and fix link to it.
4096 2008-03-27 Michael Smith <msmith@fluendo.com>
4098 * libs/gst/dataprotocol/dataprotocol.c:
4099 (gst_dp_packet_from_event_1_0):
4100 When calculating GDP body CRC, use the correct pointer.
4101 Fixes part of #522401.
4103 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4105 Patch by: Mark Nauwelaerts <manauw at skynet be>
4107 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4108 (gst_identity_init), (gst_identity_prepare_output_buffer):
4109 Identity is not always a passthrough element, it can modify the buffer
4110 timestamps when it has a datarate and operates in single-segment mode.
4111 We therefore make it an in_place filter with a custom buffer prepare
4112 function that conditionally makes the input buffer metadata writable
4113 when needed. Fixes #523985.
4115 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4117 Patch by: Mark Nauwelaerts <manauw at skynet be>
4120 * libs/gst/base/gstbasesrc.h:
4121 * libs/gst/base/gstbasetransform.c:
4122 * libs/gst/check/gstcheck.c:
4123 Small documentation fixes. Fixes #523978.
4125 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4127 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4128 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4129 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4131 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4133 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4134 (single_queue_underrun_cb):
4135 When trying to make room in the queue, bump the max allowed buffers
4136 bigger than the current amount of buffers in the queue. this fixes some
4137 nasty deadlocks in multiqueue when dynamically changing the limits of
4140 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4142 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4144 * gst/gstcaps.c: (gst_caps_set_simple),
4145 (gst_caps_set_simple_valist), (gst_caps_intersect):
4147 Constify the field gchar * params in set_simple and friends.
4150 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4152 * gst/gstvalue.c: (gst_value_transform_object_string):
4153 Transform a GstObject to a more meaningfull string that includes the
4154 object type in addition to its name.
4156 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4159 ChangeLog surgery to add bugnumber to commit.
4161 2008-03-23 Rene Stadler <mail@renestadler.de>
4163 * libs/gst/base/gstbasetransform.c:
4164 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4166 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4168 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4169 Rename constant everywhere and don't forget one occurence.
4171 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4173 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4174 Align memory to the pointer size even if the architecture allows
4175 unaligned memory access. Unaligned memory access usually comes with
4176 performance penality.
4178 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4180 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4181 (gst_registry_binary_check_magic),
4182 (gst_registry_binary_load_pad_template),
4183 (gst_registry_binary_load_feature),
4184 (gst_registry_binary_load_plugin):
4185 Align memory to the pointer size instead of always 32 bit. Fixes
4186 unaligned memory accesses on ia64 and friends.
4188 * gst/gstregistrybinary.h:
4189 Bump binary registry format version for this as it changes the
4190 format on those architectures that don't have unaligned access
4191 and 64 bit pointers.
4193 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4195 * docs/pwg/advanced-dparams.xml:
4196 * docs/pwg/building-props.xml:
4197 * docs/pwg/other-source.xml:
4198 * gst/glib-compat.h:
4199 * gst/gstbin.c: (gst_bin_class_init):
4200 * gst/gstclock.c: (gst_clock_class_init):
4201 * gst/gstindex.c: (gst_index_class_init):
4202 * gst/gstobject.c: (gst_object_class_init):
4203 * gst/gstpad.c: (gst_pad_class_init):
4204 * gst/gstpipeline.c: (gst_pipeline_class_init):
4205 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4206 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4207 * libs/gst/base/gstbasetransform.c:
4208 (gst_base_transform_class_init):
4209 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4210 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4211 (_gst_check_fault_handler_sighandler),
4212 (_gst_check_fault_handler_setup), (gst_check_init):
4213 * libs/gst/controller/gstcontroller.c:
4214 (_gst_controller_class_init):
4215 * libs/gst/controller/gstlfocontrolsource.c:
4216 (gst_lfo_control_source_class_init):
4217 * libs/gst/net/gstnetclientclock.c:
4218 (gst_net_client_clock_class_init):
4219 * libs/gst/net/gstnettimeprovider.c:
4220 (gst_net_time_provider_class_init):
4221 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4222 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4223 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4224 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4225 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4226 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4227 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4228 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4229 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4230 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4231 * plugins/elements/gsttee.c: (gst_tee_class_init):
4232 * plugins/elements/gsttypefindelement.c:
4233 (gst_type_find_element_class_init):
4234 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4235 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4236 use it everywhere for GParamSpecs that use static strings (i.e. all).
4237 This gives us less memory usage, fewer allocations and thus less
4238 memory defragmentation. Fixes bug #523806.
4240 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4242 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4243 (gst_param_spec_mini_object):
4244 * gst/gstminiobject.h:
4245 * win32/common/libgstreamer.def:
4246 * docs/gst/gstreamer-sections.txt:
4247 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4248 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4249 GstParamSpecMiniObject into a public header for this.
4251 This make GstMiniObject a bit more consistent with GObject and makes
4252 it possible to extend the param specs.
4254 gst_value_dup_mini_object is mainly useful for set_property methods.
4258 * tools/gst-inspect.c: (print_element_properties_info):
4259 Print something useful for GstMiniObject properties and not just
4262 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4264 * docs/gst/gstreamer-sections.txt:
4265 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4266 (gst_registry_binary_check_magic):
4267 * gst/gstregistrybinary.h:
4268 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4269 and add it to the (private part) of the docs to fix the build.
4271 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4273 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4274 (gst_registry_binary_check_magic),
4275 (gst_registry_binary_read_cache):
4276 * gst/gstregistrybinary.h:
4277 Don't use GST_MAJORMINOR for the binary registry version. Instead
4278 hardcode a value that must be changed whenever the format changes
4279 in an incompatible way.
4280 Also don't GST_ERROR when there is a version mismatch, just
4281 regenerate the registry silently.
4283 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4286 Back to development - 0.10.18.1
4288 === release 0.10.18 ===
4290 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4293 releasing 0.10.18, "So far away"
4295 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4298 * win32/common/config.h:
4299 0.10.17.4 pre-release
4301 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4303 Patch by: Ole André Vadla Ravnås
4304 <ole dot andre dot ravnas at tandberg dot com>
4306 * docs/gst/gstreamer-sections.txt:
4307 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4308 (gst_poll_update_winsock_event_mask),
4309 (gst_poll_prepare_winsock_active_sets),
4310 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4311 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4312 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4313 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4314 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4316 * win32/common/libgstreamer.def:
4317 Add new function gst_poll_fd_ignored() for improved Windows
4319 Various minor fixes and cleanups. See #520808.
4321 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4323 * gst/gstindex.c: (gst_index_entry_free):
4325 Don't free key strings which we don't own. Fixes crash in
4326 gst_index_entry_free() (#522741).
4328 * tests/check/Makefile.am:
4329 * tests/check/gst/.cvsignore:
4330 * tests/check/gst/gstindex.c: (test_index_entries),
4331 (gst_index_suite), (gst_index):
4332 Add unit test for the above.
4334 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4336 * win32/common/libgstreamer.def:
4337 Remove symbols that were removed recently. Fixes bug #521740.
4339 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4342 * win32/common/config.h:
4343 0.10.17.3 pre-release
4345 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4347 Patch by: Ole André Vadla Ravnås
4348 <ole dot andre dot ravnas at tandberg dot com>
4350 * docs/gst/gstreamer-sections.txt:
4351 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4352 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4353 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4354 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4355 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4356 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4357 (gst_poll_fd_can_write), (gst_poll_wait),
4358 (gst_poll_set_controllable), (gst_poll_restart),
4359 (gst_poll_set_flushing):
4361 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4362 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4363 (gst_net_time_provider_new):
4364 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4365 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4366 * tests/benchmarks/gstpollstress.c: (main):
4367 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4368 Remove GstPollMode from the API, it does not make sense to let the
4369 application control this.
4370 Add support for Win32.
4371 Fix the testsuite. Fixes #520671.
4373 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4375 Patch by: Ole André Vadla Ravnås
4376 <ole dot andre dot ravnas at tandberg dot com>
4378 * gst/gstregistrybinary.c:
4379 Include io.h for write() and close() when building with MSVC. Fixes
4382 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4385 * gst/gst_private.h:
4386 * gst/gstconfig.h.in:
4387 * gst/gstregistry.h:
4388 * gst/gstregistrybinary.c:
4389 * win32/common/gstconfig.h:
4390 Move registry backend API to private headers where we can. Add
4391 fixme-0.11 comments for the others. Add stubs for the xml backend when
4392 using the binary to ensure they functions exists (they should not be
4393 used though). Fixes #520756.
4395 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4398 * win32/common/config.h:
4401 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4403 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4404 (gst_registry_binary_read_cache):
4405 * gst/gstregistryxml.c: (gst_registry_save):
4406 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4407 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4408 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4409 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4410 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4413 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4415 * gst/gstminiobject.c:
4416 Import gst_private.h before any other header that might include other
4417 glib headers. This fixes the build on windows using native compilers.
4419 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4421 * win32/common/gstconfig.h:
4422 Add here too, just for completeness.
4424 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4427 * gst/gstconfig.h.in:
4428 * gst/gstregistry.h:
4429 Fix broken use of config.h-defined preprocessor directive in a public
4430 header file. Add a corresponding define to gstconfig.h, since we can't
4431 really remove those function declarations from the header file now
4432 (or can we? and why are they there in the first place?).
4434 2008-03-03 Andy Wingo <wingo@pobox.com>
4436 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4439 * gst/gststructure.c (gst_structure_from_string): Warn if
4440 structure_from_string didn't consume the whole string, but the
4441 caller did not provide an end pointer.
4443 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4445 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4447 * gst/gstregistryxml.c: (read_string), (load_feature):
4448 Strings allocated by libxml2 should be freed with xmlFree(), not
4449 with g_free(). Fixes issues on windows in certain contexts (#519698).
4451 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4453 * gst/gstinterface.c: (gst_element_implements_interface):
4454 Don't crash if the element supports the interface queried, but does
4455 not implement GstImplementsInterface. Fixes #519584.
4457 * tests/check/Makefile.am:
4458 * tests/check/gst/.cvsignore:
4459 * tests/check/gst/gstinterface.c:
4460 Add unit test for the above.
4462 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4464 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4467 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4469 * gst/gstsegment.c: (gst_segment_set_seek),
4470 (gst_segment_to_stream_time):
4471 Improve some comment.
4472 Update variables where it makes more sense.
4474 2008-02-29 Rene Stadler <mail@renestadler.de>
4476 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4477 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4478 URIHandlers implemented using language bindings.
4480 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4482 * gst/gstelementfactory.h:
4483 * tests/check/elements/fakesink.c:
4484 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4485 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4486 * tests/check/elements/filesink.c: (setup_filesink):
4487 * tests/check/elements/filesrc.c: (setup_filesrc):
4488 * tests/check/elements/identity.c: (setup_identity):
4489 * tests/check/elements/tee.c:
4490 * tests/check/generic/sinks.c:
4491 * tests/check/generic/states.c: (setup), (teardown):
4492 * tests/check/gst/gst.c:
4493 * tests/check/gst/gstabi.c:
4494 * tests/check/gst/gstbin.c:
4495 * tests/check/gst/gstbus.c: (pull_messages):
4496 * tests/check/gst/gstcaps.c:
4497 * tests/check/gst/gstelement.c:
4498 * tests/check/gst/gstevent.c:
4499 * tests/check/gst/gstghostpad.c:
4500 * tests/check/gst/gstiterator.c:
4501 * tests/check/gst/gstmessage.c:
4502 * tests/check/gst/gstminiobject.c: (my_foo_init):
4503 * tests/check/gst/gstobject.c: (thread_name_object),
4505 * tests/check/gst/gstpad.c:
4506 * tests/check/gst/gstplugin.c:
4507 * tests/check/gst/gstpoll.c:
4508 * tests/check/gst/gstquery.c:
4509 * tests/check/gst/gstsegment.c:
4510 * tests/check/gst/gststructure.c:
4511 * tests/check/gst/gstsystemclock.c:
4512 * tests/check/gst/gsttask.c:
4513 * tests/check/gst/gstutils.c:
4514 * tests/check/gst/gstvalue.c:
4515 * tests/check/gst/struct_hppa.h:
4516 * tests/check/gst/struct_i386.h:
4517 * tests/check/gst/struct_ppc32.h:
4518 * tests/check/gst/struct_ppc64.h:
4519 * tests/check/gst/struct_x86_64.h:
4520 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4521 * tests/check/libs/basesrc.c:
4522 * tests/check/libs/controller.c: (GST_START_TEST):
4523 * tests/check/libs/gdp.c:
4524 * tests/check/libs/gstnetclientclock.c:
4525 * tests/check/libs/gstnettimeprovider.c:
4526 * tests/check/libs/libsabi.c:
4527 * tests/check/libs/struct_hppa.h:
4528 * tests/check/libs/struct_i386.h:
4529 * tests/check/libs/struct_ppc32.h:
4530 * tests/check/libs/struct_ppc64.h:
4531 * tests/check/libs/struct_x86_64.h:
4532 * tests/check/pipelines/cleanup.c:
4533 * tests/check/pipelines/simple-launch-lines.c:
4534 * tests/check/pipelines/stress.c:
4535 And correct even more valid sparse warnings.
4537 * win32/common/libgstreamer.def:
4538 Add gst_poll_fd_init to the list of symbols.
4540 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4542 * gst/gstconfig.h.in:
4543 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4544 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4545 (gst_check_log_critical_func), (gst_check_drop_buffers),
4546 (gst_check_element_push_buffer_list):
4547 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4548 (gst_controller_get_type):
4549 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4550 (gst_object_get_controller), (gst_object_get_control_source):
4551 * libs/gst/controller/gstinterpolationcontrolsource.c:
4552 (gst_interpolation_control_source_new):
4553 * libs/gst/controller/gstlfocontrolsource.c:
4554 (gst_lfo_control_source_new):
4555 * libs/gst/dataprotocol/dataprotocol.c:
4556 (gst_dp_event_from_packet_0_2):
4557 * plugins/elements/gstfdsrc.c:
4558 * plugins/elements/gstmultiqueue.c:
4559 * plugins/elements/gsttee.c:
4560 * plugins/elements/gsttypefindelement.c:
4561 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4562 (gst_file_index_add_association):
4563 * plugins/indexers/gstmemindex.c:
4564 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4565 * tests/check/elements/queue.c: (setup_queue):
4566 * tests/check/gst/gstpipeline.c:
4567 * tests/check/libs/collectpads.c: (setup), (teardown),
4568 (gst_collect_pads_suite):
4569 * tests/examples/adapter/adapter_test.c:
4570 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4571 * tests/examples/xml/createxml.c:
4572 * tests/examples/xml/runxml.c:
4573 * tools/gst-inspect.c:
4575 Correct all relevant warnings found by the sparse semantic code
4576 analyzer. This include marking several symbols static, using
4577 NULL instead of 0 for pointers, not using variable sized arrays
4578 on the stack, moving variable declarations to the beginning of
4579 a block and using "foo (void)" instead of "foo ()" for declarations.
4581 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4583 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4584 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4585 Don't reset GstPollFDs, this is not necessary at all.
4587 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4588 (delayed_restart), (delayed_control):
4589 Use GST_POLL_FD_INIT.
4591 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4593 * gst/gstpoll.c: (gst_poll_fd_init):
4597 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4598 Use some more init macros.
4600 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4602 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4603 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4604 Use init macros and functions.
4606 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4608 * docs/gst/gstreamer-sections.txt:
4609 * gst/gstpoll.c: (gst_poll_fd_init):
4611 Add INIT macro and _init method for initializing the GstPollFD.
4613 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4615 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4616 (gst_fd_sink_update_fd):
4617 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4618 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4619 (delayed_restart), (delayed_control):
4620 Initialize some uninitialized variables as spotted by valgrind.
4622 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4624 * tests/benchmarks/Makefile.am:
4625 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4627 Add poll stress test.
4629 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4631 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4633 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4634 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4635 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4636 * plugins/elements/gstfdsink.h:
4637 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4638 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4639 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4640 (gst_fd_src_uri_set_uri):
4641 * plugins/elements/gstfdsrc.h:
4642 Port to GstPoll. See #505417.
4644 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4646 * win32/common/libgstreamer.def:
4647 Add new gst_poll_ symbols to win32 defs.
4649 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4651 * docs/libs/gstreamer-libs-sections.txt:
4652 * libs/gst/net/gstnetclientclock.c:
4653 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4654 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4655 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4656 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4657 * libs/gst/net/gstnetclientclock.h:
4658 * libs/gst/net/gstnettimeprovider.c:
4659 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4660 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4661 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4662 (gst_net_time_provider_new):
4663 * libs/gst/net/gstnettimeprovider.h:
4664 Use a private stuct to not break ABI.
4666 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4668 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4670 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4671 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4672 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4673 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4674 * libs/gst/net/gstnetclientclock.h:
4675 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4676 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4677 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4678 (gst_net_time_provider_new):
4679 * libs/gst/net/gstnettimeprovider.h:
4680 Massive code removal and cleanups because of GstPoll.
4683 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4686 Add checks for poll, ppoll and pselect.
4688 * docs/gst/gstreamer-docs.sgml:
4689 * docs/gst/gstreamer-sections.txt:
4690 Add docs for GstPoll.
4694 * gst/gstpoll.c: (find_index), (selectable_fds),
4695 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4696 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4697 (gst_poll_set_mode), (gst_poll_get_mode),
4698 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4699 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4700 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4701 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4702 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4703 (gst_poll_fd_can_write), (gst_poll_wait),
4704 (gst_poll_set_controllable), (gst_poll_restart),
4705 (gst_poll_set_flushing):
4707 Add generic poll abstraction. We ideally don't want to have this in core
4708 here but in glib intead...
4709 This code will be used in various network elements and ultimately for
4710 the nanosecond precision monotonic clock (that's why it's here in core).
4711 It'll allow us to implement cancelable socket operations for windows too.
4713 * tests/check/Makefile.am:
4714 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4715 (delayed_stop), (delayed_restart), (delayed_flush),
4716 (delayed_control), (gst_poll_suite):
4717 Add GstPoll unit test.
4719 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4722 Improve documentation of gst_filter_run(). Fixes #518627.
4724 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4727 Add a few lines about the new 'check-inspected-versions' target.
4729 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4731 * tests/check/gst/gstevent.c:
4732 Add qos to the event test. Rename tcase/tsuite; is not only about
4735 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4737 * plugins/elements/gstqueue.c:
4738 Ensure that buffer metadata is writeable, before modifying. Spotted by
4741 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4743 * plugins/elements/gstqueue.c:
4744 * plugins/elements/gstqueue.h:
4745 When dropping buffers in leaky modes, mark next buffers we sent as
4748 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4750 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4751 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4753 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4755 * plugins/elements/Makefile.am:
4756 * plugins/elements/gstbufferstore.c:
4757 * plugins/elements/gstbufferstore.h:
4758 * plugins/elements/gsttypefindelement.h:
4759 Remove GstBufferStore, no idea why we were still building it.
4760 It's not used anywhere and superseded by GstAdapter.
4762 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4763 (gst_file_src_create_mmap):
4764 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4765 Printf format fixes for 64-bit integers.
4767 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4770 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4771 We're not in 0.8 times anymore.
4773 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4775 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4776 (gst_check_element_push_buffer_list):
4777 * libs/gst/check/gstcheck.h:
4778 Make the declaration in the header for
4779 gst_check_element_push_buffer_list match the implementation.
4781 Fix up spelling, grammar and wording of the documentation in a few
4782 places, and add the Since keyword to new API functions.
4783 Use g_list_delete_link instead of g_list_remove in
4784 gst_check_drop_buffers, since it's immeasurably more efficient.
4786 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4787 Use new gst_check_drop_buffers function where appropriate.
4789 * win32/common/libgstbase.def:
4790 * win32/common/libgstreamer.def:
4791 Add new symbols gst_collect_pads_take_buffer,
4792 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4795 Changelog surgery to add API keyword to new gst_check API.
4797 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4799 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4800 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4801 Update pre-generated flex files with flex 2.3.34.
4803 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4805 * gst/gstminiobject.c:
4806 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4807 friendly to subclasses and not require them to know all internals
4808 of their parent class.
4810 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4812 * docs/libs/gstreamer-libs-sections.txt:
4813 * libs/gst/base/gstcollectpads.c:
4814 * libs/gst/base/gstcollectpads.h:
4815 Add sub-buffer functions to collectpads. Fixes #516187.
4816 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4818 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4821 Copy selected buffer-flags when creating subbuffers.
4824 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4826 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4827 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4828 * gst/gstmessage.c: (gst_message_class_init),
4829 (gst_message_finalize):
4830 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4831 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4832 (gst_mmap_buffer_finalize):
4833 Properly chain up finalize functions to the parent class.
4835 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4837 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4839 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4840 (gst_index_set_resolver_full):
4842 Add new function with option to dispose of user_data in resolver.
4843 Actually call the dispose function when finalizing the object and not
4844 just when changing the resolver/filter.
4845 API: GstIndex::gst_index_set_resolver_full()
4847 * docs/gst/gstreamer-sections.txt:
4848 Add new function to docs. Fixes #515469.
4850 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4852 * gst/gstindex.c: (gst_index_finalize):
4853 Chain up finalize to the parent class. Fixes leaking the GstObject
4854 name and other things.
4856 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4859 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4860 pre-releases or releases.
4862 * docs/faq/gst-uninstalled:
4865 * docs/random/release:
4866 Change one of the steps - we only upload core & base to Gnome FTP
4868 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4870 * gst/gstconfig.h.in:
4871 Add 'id' for example.
4875 * plugins/elements/gstfdsink.c:
4876 Link to signals. Doc and comment fixes.
4878 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4880 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4881 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4882 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4883 unused and unimplemented; finally, it is plugin features, not
4884 plugins, that have ranks.
4886 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4888 * gst/gstpluginfeature.h:
4889 Clarify GstRank range docs.
4891 2008-02-05 David Schleef <ds@schleef.org>
4893 * gst/gst.c: Add a separate gst_deinitialized that prevents
4894 gst_init() from being called after gst_deinit(). Fixes #509559
4896 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4898 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4899 (gst_bin_class_init):
4900 * gst/gstelement.c: (gst_element_base_class_init),
4901 (gst_element_class_add_pad_template):
4902 * gst/gstpadtemplate.c: (gst_pad_template_init):
4903 * gst/gstpipeline.c: (gst_pipeline_get_type),
4904 (gst_pipeline_base_init), (gst_pipeline_class_init):
4905 * libs/gst/base/gstbasesink.c:
4906 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4907 (gst_base_src_base_init), (gst_base_src_class_init):
4908 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4909 (gst_capsfilter_class_init):
4910 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4911 (gst_fake_sink_class_init):
4912 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4913 (gst_fake_src_class_init):
4914 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4915 (gst_fd_sink_class_init):
4916 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4917 (gst_fd_src_class_init):
4918 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4919 (gst_file_sink_class_init):
4920 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4921 (gst_file_src_class_init):
4922 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4923 (gst_identity_class_init):
4924 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4925 (gst_multi_queue_class_init):
4926 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4927 (gst_queue_class_init):
4928 * plugins/elements/gsttee.c: (gst_tee_base_init),
4929 (gst_tee_class_init):
4930 * plugins/elements/gsttypefindelement.c:
4931 (gst_type_find_element_base_init),
4932 (gst_type_find_element_class_init):
4933 * tests/check/gst/gstelement.c: (gst_element_suite):
4934 Revert previous changes to the behaviour of GstPadTemplates, etc
4935 and the possiblity to call them in class_init as it breaks too
4936 many elements. Reopens bug #491501.
4938 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4941 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4943 * tools/gst-launch.c:
4944 Dump one graph per pipeline state-change and state change name
4945 (if GST_DEBUG_DUMP_DOT_DIR is set).
4947 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4950 * tests/check/gst/gstpad.c:
4951 Be sure that we have a new copy of the caps and not
4952 reffed caps from a template
4954 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4956 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4957 * gst/gstpipeline.c: (gst_pipeline_get_type),
4958 (gst_pipeline_class_init):
4959 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4960 (gst_base_sink_class_init):
4961 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4962 (gst_base_src_class_init):
4963 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4964 (gst_base_transform_class_init):
4965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4966 (gst_collect_pads_class_init):
4967 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4968 * libs/gst/net/gstnettimeprovider.c:
4969 (gst_net_time_provider_base_init),
4970 (gst_net_time_provider_class_init):
4971 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4972 (gst_capsfilter_class_init):
4973 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4974 (gst_fake_sink_class_init):
4975 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4976 (gst_fake_src_class_init):
4977 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4978 (gst_fd_sink_class_init):
4979 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4980 (gst_fd_src_class_init):
4981 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4982 (gst_file_sink_class_init):
4983 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4984 (gst_file_src_class_init):
4985 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4986 (gst_identity_class_init):
4987 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4988 (gst_multi_queue_class_init):
4989 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4990 (gst_queue_class_init):
4991 * plugins/elements/gsttee.c: (gst_tee_base_init),
4992 (gst_tee_class_init):
4993 * plugins/elements/gsttypefindelement.c:
4994 (gst_type_find_element_base_init),
4995 (gst_type_find_element_class_init):
4996 Don't use base_init where not absolutely necessary. For example it's
4997 not necessary anymore for adding pad templates or setting element
5000 Leave empty base_init functions in several places as GST_BOILERPLATE
5001 still defines and uses them.
5003 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
5005 * gst/gstelement.c: (gst_element_base_class_init),
5006 (gst_element_class_add_pad_template):
5007 * gst/gstpadtemplate.c:
5008 Make it possible (and recommended) to set element details and add
5009 pad templates in the class_init functions by copying the details/pad
5010 templates in GstElement's base_init.
5012 Also make it possible to replace existing pad templates by adding
5013 a new one with the same name. This was done in a hackish fashion
5014 in same elements before already.
5016 Don't reference pad templates that are added a second time. A
5017 new pad template has a refcount of one and is not floating anymore
5018 and to be owned by the element's class. Make this more explicit by
5019 mentioning it in the docs of gst_element_class_add_pad_template().
5021 These changes are backwards compatible. Fixes bug #491501.
5023 * tests/check/gst/gstelement.c:
5024 Add unit test for setting element details, adding pad templates and
5025 replacing them in a subclass.
5027 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5029 * tools/gst-inspect.c: (print_interfaces),
5030 (print_element_properties_info), (print_pad_info),
5031 (print_signal_info), (print_element_info):
5032 Fix a few memory leaks.
5034 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5036 * docs/libs/gstreamer-libs-sections.txt:
5037 * libs/gst/check/gstcheck.c:
5038 * libs/gst/check/gstcheck.h:
5039 Add more functions for unit testing: gst_check_drop_buffers,
5040 gst_check_caps_equal, gst_check_element_push_buffer_list,
5041 gst_check_element_push_buffer
5042 API: gst_check_drop_buffers
5043 API: gst_check_caps_equal
5044 API: gst_check_element_push_buffer_list
5045 API: gst_check_element_push_buffer
5047 2008-02-01 Julien Moutte <julien@fluendo.com>
5049 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5050 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5051 (gst_index_finalize), (gst_index_entry_free),
5052 (gst_index_add_association): Fix memory leaks.
5053 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5054 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5055 (gst_mem_index_free_format), (gst_mem_index_free_id),
5056 (gst_mem_index_finalize): Fix memory leaks.
5057 * win32/common/config.h: Updated to CVS HEAD.
5059 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5062 Some more details about how the plugin docs works.
5064 * docs/plugins/gstreamer-plugins-sections.txt:
5067 2008-02-01 Stefan Kost <ensonic@users.sf.net>
5069 * gst/parse/grammar.tab.pre.c:
5070 * gst/parse/grammar.tab.pre.h:
5071 * gst/parse/grammar.y:
5072 * gst/parse/lex._gst_parse_yy.pre.c:
5073 Add delayed set-property. This allows to set properties on dynamicaly
5074 created objects (pads in videomxer). Fixes #509391.
5076 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
5079 Check if caps are not NULL (fix bug #510194)
5081 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5083 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5084 (gst_base_sink_get_position_paused):
5085 Add fixme regarding EOS in pull mode.
5086 Fix position reporting in PAUSED for negative rates.
5088 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5090 * gst/gstminiobject.c: (gst_mini_object_replace):
5091 When replacing a miniobject, do a quick equality check first so that we
5092 can avoid a ref/unref pair.
5094 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
5096 * docs/design/part-synchronisation.txt:
5099 * docs/plugins/Makefile.am:
5100 * docs/plugins/gstreamer-plugins-docs.sgml:
5101 * docs/plugins/gstreamer-plugins-sections.txt:
5102 * plugins/elements/gstmultiqueue.c:
5103 Add multiqueue to the docs.
5105 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5110 === release 0.10.17 ===
5112 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5115 releasing 0.10.17, "Due Negligence"
5117 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5120 Revert caps != NULL check temporarily for 0.10.17 release.
5122 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
5125 Check if caps are not NULL (fix bug #510194)
5127 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5130 Fix compilation on systems that have posix timers but no
5133 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5136 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5138 * tools/gst-inspect.c:
5139 Revert previous commit in preparation for an impromptu 0.10.17 release
5141 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5143 * tools/gst-inspect.c: (print_interfaces),
5144 (print_element_properties_info), (print_pad_info),
5145 (print_signal_info), (print_element_info):
5146 Fix a few memory leaks.
5148 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5153 === release 0.10.16 ===
5155 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5158 releasing 0.10.16, "Special Dispensation"
5160 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5163 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5164 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5165 not fail when trying to crosscompile on OpenEmbedded (#511750).
5167 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5170 Use $(MAKE) instead of make to fix the build if GNU make is
5171 called different. Fixes bug #510747.
5173 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5175 * gst/gstplugin.c: (_gst_plugin_initialize):
5176 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5177 again, which I broke two commits ago when changing the API
5178 of gst_plugin_register_static(): the g_list_foreach() in
5179 _gst_plugin_register_static still assumed the old function
5180 signature and would therefore fail (re-fixes #510187).
5182 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5183 (_gst_plugin_register_static), (gst_plugin_register_static):
5184 Revert the (technically correct) change to call g_thread_init() from
5185 the pre-main() constructor. This will break programs which call
5186 g_thread_init() without an if (!g_thread_supported()) guard in their
5187 main function. We could just blame it on GLib or the application, but
5188 it's probably best to just avoid this altogether and simply not use
5189 any GLib functions here and use plain old malloc() with a simple
5190 array to store the plugins to register later when gst_init() is
5191 finally called (re-fixes #510187).
5193 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5194 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5195 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5196 (GST_START_TEST), (gst_plugin_suite):
5197 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5200 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5202 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5203 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5204 This makes gtk-doc complain, but results in slightly better
5205 compiler errors. The old _gst_plugin_register_static() is
5206 still guarded, so there'll be a compiler warning about that
5207 instead. Fixes #510187 too.
5209 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5211 * gst/gst.c: (init_post):
5212 * gst/gstplugin.c: (_gst_plugin_register_static),
5213 (gst_plugin_register_static), (_gst_plugin_initialize):
5214 * gst/gstplugin.h: (GstPluginFilter):
5215 Change API of gst_plugin_register_static() to not take
5216 a GstPluginDesc, but rather just take all the arguments
5217 in a GstPluginDesc directly. This is more intuitive and
5218 avoids certain mistakes when porting code from
5219 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5222 * tests/check/gst/gstplugin.c:
5223 Fix up for changed API.
5225 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5227 * docs/faq/legal.xml:
5228 Update FAQ, Totem actually has an exception these days.
5230 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5232 * win32/common/libgstreamer.def:
5233 Add new API declarations
5235 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5237 * gst/gstminiobject.c:
5238 Spelling fixes for the API docs.
5240 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5242 * libs/gst/base/gstbasetransform.c:
5243 Fix long property description for QoS.
5245 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5248 _gst_trace_on is already provided by gsttrace.h, no need to declare
5251 * docs/libs/gstreamer-libs-sections.txt:
5252 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5253 and remove strange tcase_add_test which is outputting a warning.
5255 * libs/gst/check/gstcheck.c:
5256 * libs/gst/check/gstcheck.h:
5257 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5258 and define them in gstcheck.c instead of having every .c file whcih
5259 includes gstcheck.h be defining its own copy and relying on symbol
5260 interposing to marry them all, which doesn't work on Solaris.
5262 * tests/check/elements/identity.c: (GST_START_TEST):
5263 Don't define 'buffers' locally, it comes from libgstcheck.
5265 * tests/check/generic/sinks.c: (send_buffer):
5266 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5268 * tests/check/gst/gststructure.c: (GST_START_TEST):
5269 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5270 * tests/check/gst/gstutils.c: (GST_START_TEST):
5271 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5272 Add a bunch of casts to make various constants fit the types
5273 they're being assigned to.
5275 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5277 * gst/gstchildproxy.c:
5278 Improve docs and add some ideas for making this more general-purpose.
5280 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5282 * gst/gst_private.h: (GST_CAT_TYPES):
5283 Add GST_CAT_TYPES, for consistency, and so that the other
5284 debug categories don't make fun of it. Spotted by Saur on IRC.
5286 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5288 * gst/parse/Makefile.am:
5289 Move types.h from EXTRA_DIST to noinst_HEADERS.
5291 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5294 Add -Wno-portability to the automake parameters to stop warnings
5295 about GNU make extensions being used. We require GNU make in almost
5296 every Makefile anyway.
5299 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5300 at the same time is required for per target flags.
5302 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5305 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5306 __GNUC__ is defined before using it.
5308 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5310 * docs/gst/gstreamer-sections.txt:
5311 * gst/gst.c: (init_post):
5312 * gst/gstplugin.c: (_gst_plugin_register_static),
5313 (gst_plugin_register_static), (_gst_plugin_initialize),
5314 (gst_plugin_register_func):
5315 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5316 API: add gst_plugin_register_static() and deprecate
5317 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5319 Also, in _gst_plugin_register_static(), make sure to call
5320 g_thread_init() before calling GLib functions such as
5321 g_list_append() if we're not initialised yet, since that
5322 may lead to random crashes with older GSlice/GLib versions.
5324 * tests/check/gst/gstplugin.c:
5325 Adapt unit test to above changes.
5327 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5329 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5330 * gst/gstcaps.c: (gst_caps_to_string):
5331 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5332 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5333 Yet another gratuitous GString micro-optimisation: add a (private)
5334 function that serialises a structure appending to an existing
5335 GString, so that when we serialise caps we don't need to alloc+free
5336 a throwaway GString for each structure (each of which also entailing
5337 multiple reallocs on the way); also use g_string_sized_new() in
5338 various places with an approximate string length to avoid reallocs
5339 within GString. See #500143.
5341 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5343 * gst/gststructure.c: (gst_structure_id_set_value):
5344 Always check UTF-8 conformance of structure strings and not only
5345 if the debugging system is enabled; reasoning: the behaviour of
5346 the actual code shouldn't really change depending on whether the
5347 debugging system is enabled or not (#508291).
5349 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5352 Remove old coverage target in favour of "make lcov".
5354 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5356 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5357 (gst_base_src_loop):
5358 The start segment for reverse playback goes from start to last_stop.
5360 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5362 Patch by: Peter Kjellerstedt <pkj axis com>
5365 Cast the results from the timeval/spec_to_time macros to what the
5366 docs say it casts to, a GstClockTime. fixes #508175.
5368 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5371 Update some comments.
5373 * tools/gst-inspect.c: (print_element_properties_info):
5374 Improve printing of flags.
5376 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5378 * libs/gst/base/gstbasetransform.c:
5379 (gst_base_transform_transform_size):
5380 Print element name with g_warning() if there's a problem
5383 2008-01-07 David Schleef <ds@schleef.org>
5385 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5387 * libs/gst/controller/gstcontroller.h:
5388 * libs/gst/controller/gstcontrolsource.h:
5389 * libs/gst/controller/gstinterpolationcontrolsource.h:
5390 * libs/gst/controller/gstlfocontrolsource.h:
5391 * libs/gst/dataprotocol/dataprotocol.h:
5392 Fix empty prototypes. Fixes bug #507957.
5394 2008-01-07 David Schleef <ds@schleef.org>
5396 * docs/faq/dependencies.xml: Fix typo.
5398 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5400 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5401 (gst_base_src_loop):
5402 Don't update the last_stop position in do_seek, that's the position we
5404 Read backwards when we have a negative rate.
5406 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5407 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5409 Add check for reverse reading.
5411 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5413 Patch by: Alexis Ballier <aballier at gentoo org>
5415 * tests/check/gst/gstabi.c:
5416 * tests/check/gst/struct_ppc64.h:
5417 * tests/check/libs/libsabi.c:
5418 * tests/check/libs/struct_ppc64.h:
5419 Decide which header to include based on the userland ABI target
5420 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5421 for 64-bit userland (#503590). Might need something similar for
5424 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5426 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5427 Log the reason why fopen fails in addition to the fact that it failed.
5429 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5431 * gst/parse/parse.l:
5432 Use "%option never-interactive" to prevent useless calls to isatty()
5433 on every input when parsing. Also use "%option noinput" to not define
5434 the static input/yyinput functions which we don't use anyway. This
5435 removes a compiler warning with gcc 4.3 and saves some bytes in the
5438 * gst/parse/lex._gst_parse_yy.pre.c:
5439 Regenerated for the above change.
5441 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5443 * gst/gstpad.c: (fixate_value):
5444 Don't crash when trying to fixate and empty list.
5447 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5449 * docs/faq/gst-uninstalled:
5450 Clarify the comments to make the usage of this script and what it
5451 does easier to understand.
5453 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5455 * tools/gst-plot-timeline.py:
5456 Add more options to gst-plot-timeline
5458 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5460 * docs/design/part-synchronisation.txt:
5461 Some more info on how the stream_time in GstBaseSink is done.
5463 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5465 * tests/check/generic/sinks.c: (gst_sinks_suite):
5466 Put back the tcase_set_timeout(), apparently it's needed after
5467 all; fix it up in a way that makes things work with valgrind too.
5469 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5471 * gst/gstdebugutils.c:
5472 Add warning when failed to open file for writing.
5474 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5476 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5478 * gst/gstvalue.c: (gst_value_is_fixed):
5479 Optimisation: bail out of the loop as early as possible (#500143).
5481 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5483 * gst/gstcaps.c: (gst_caps_to_string):
5484 * gst/gstinfo.c: (gst_debug_construct_term_color):
5485 * gst/gstparse.c: (gst_parse_launchv):
5486 * gst/gstutils.c: (gst_util_dump_mem):
5487 * gst/gstvalue.c: (gst_value_serialize_any_list),
5488 (gst_value_transform_any_list_string):
5489 Bunch of gratuitous nano-optimisations.
5491 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5493 * tests/check/generic/sinks.c: (async_done_func),
5494 (async_done_eos_func):
5495 Fix leak in unit test (bus sync handler must unref the message
5496 if it returns GST_BUS_DROP). Don't fiddle with the default test
5497 timeout, this is smaller than the current preconfigured value
5498 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5499 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5501 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5503 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5506 Check for stdio_ext.h for the filesink changes.
5508 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5509 (gst_file_sink_class_init), (gst_file_sink_init),
5510 (gst_file_sink_dispose), (gst_file_sink_set_property),
5511 (gst_file_sink_get_property), (gst_file_sink_open_file),
5512 (gst_file_sink_close_file):
5513 * plugins/elements/gstfilesink.h:
5514 Add two properties to control the buffering mode and size.
5515 API: GstFileSink::buffer-mode
5516 API: GstFileSink::buffer-size
5519 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5521 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5522 Add some more docs to explain why a FIXME was wrongly added.
5524 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5527 Fix typo in the gst_object_{ref,unref} documentation.
5529 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5531 * tests/check/libs/controller.c:
5532 * tests/check/libs/typefindhelper.c:
5533 * tests/check/pipelines/parse-launch.c:
5534 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5535 going to be deprecated (see #498924).
5537 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5539 * gst/gsttypefind.c: (gst_type_find_register):
5540 Make gst_type_find_register work for static typefind functions,
5541 ie. allow passing plugin == NULL (prerequisite for #498924).
5543 * gst/gstelementfactory.c: (gst_element_register):
5544 Small docs addition.
5546 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5548 * gst/gstpad.c: (gst_pad_dispose):
5549 Really unlink the peer pad instead of setting the peer pointer to NULL
5550 when we dispose the pad.
5551 This correctly calls the unlink functions and makes sure that the peer
5552 does not have a handle to invalid memory. See #504671.
5554 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5555 Add testsuite for above case.
5557 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5559 Patch by: Peter Kjellerstedt <pkj axis com>
5561 * libs/gst/check/gstcheck.h:
5562 Fix detection of the check version we're compiling against (would
5563 otherwise break if check goes v0.10.0); correctly report the
5564 name of the failed test again in case of failure, instead of
5565 just 'tf' (fixes #504499).
5567 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5569 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5570 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5571 (gst_base_src_loop), (gst_base_src_set_flushing),
5572 (gst_base_src_change_state):
5573 Allow sending EOS to the source to make it send out an EOS event from
5574 the streaming thread.
5575 Update docs and deprecate the old NULL/READY shutdown method.
5577 * tests/check/libs/basesrc.c: (GST_START_TEST),
5578 (gst_basesrc_suite):
5579 Add unit test for controlled shutdown.
5581 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5583 * docs/design/part-synchronisation.txt:
5586 * gst/gstsegment.c: (gst_segment_set_seek),
5587 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5588 (gst_segment_to_running_time):
5589 The seek format can be different from the segment format when the start
5590 and stop values are not to be updated, when we only do a rate change for
5593 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5594 (gst_segment_suite):
5595 Add a testcase for the rate-only seeks, checking that the format is
5596 correctly ignored when start and stop are not updated.
5598 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5600 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5602 * win32/vs8/grammar.vcproj:
5603 * win32/vs8/libgstcontroller.vcproj:
5604 * win32/vs8/libgstreamer.vcproj:
5605 Fix compilation with VS8 and include some missing files.
5607 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5610 Small docs addition: mention that the strings returned by
5611 gst_tag_list_get_string*() are in UTF-8 encoding.
5613 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5616 The check-exports stuff moved to common/win32.mak, so include that.
5618 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5620 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5621 (gst_base_src_perform_seek), (gst_base_src_get_range),
5622 (gst_base_src_set_playing), (gst_base_src_change_state):
5623 Make _wait_playing() not check any variables so that we can call this
5624 function from subclasses. Move the checks elsewhere similar to
5625 _wait_preroll() in basesink.
5627 Only signal the LIVE cond when we are going back to PLAYING.
5629 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5631 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5632 Use g_remove() and g_rename(). Check result of g_rename(), and
5633 don't leak the open file descriptor if we error out when writing.
5635 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5636 Must check the return value of close() after writing out the new
5637 registry file. Sometimes write problems such as out-of-diskspace
5638 are only reported when the file is closed and not already during
5639 the write. This may have caused partial/broken registry files in
5640 some rare circumstances. Should fix #503675.
5642 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5644 * docs/gst/.cvsignore:
5645 * docs/libs/.cvsignore:
5646 * docs/plugins/.cvsignore:
5647 Ignore files generated by new common/* modifications
5649 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5651 * win32/common/libgstbase.def:
5652 Yes, you can also have a <TAB> if you want.
5654 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5656 * win32/common/libgstbase.def:
5657 Add new basetransform API to win export file.
5659 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5661 * tests/check/gst/gstbin.c:
5662 Adjust the test to the refcount change two days ago.
5664 2007-12-14 David Schleef <ds@schleef.org>
5666 * docs/faq/getting.xml: Fix typo.
5668 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5670 * docs/libs/gstreamer-libs-sections.txt:
5671 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5672 (gst_base_transform_prepare_output_buffer),
5673 (gst_base_transform_set_gap_aware):
5674 * libs/gst/base/gstbasetransform.h:
5675 API: Add gst_base_transform_set_gap_aware() to control whether
5676 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5677 get buffers with this flag at all. Fixes #503231.
5679 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5681 * libs/gst/base/gstbasesink.c:
5682 * libs/gst/base/gstbasesrc.c:
5683 * libs/gst/base/gstbasetransform.c:
5684 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5685 thread. Correct log message in gstbasesrc.c.
5687 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5689 * gst/gstutils.c: (element_find_unconnected_pad):
5690 Fix possible compiler warning (#503417).
5692 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5694 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5695 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5697 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5699 * tools/gst-inspect.c: (print_element_properties_info):
5700 Add support for GstFraction properties.
5702 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5705 Add check-exports target and run it as part of 'make check'
5706 (see #499140 and #493983).
5708 * gst/gst_private.h:
5709 * gst/gstelementfactory.h:
5710 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5711 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5712 (_priv_gst_in_valgrind):
5713 * gst/gstinfo.h: (GstLogFunction):
5714 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5715 (gst_type_find_register):
5716 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5717 (gst_type_find_factory_get_type):
5718 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5719 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5720 (gst_controller_new_valist), (gst_controller_new_list),
5721 (_gst_controller_dispose), (_gst_controller_class_init):
5722 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5723 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5724 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5725 (gst_object_get_controller), (gst_object_set_controller),
5726 (gst_object_suggest_next_sync), (gst_object_sync_values),
5727 (gst_object_set_control_source), (gst_object_get_control_source),
5728 (gst_object_get_value_arrays), (gst_object_get_value_array),
5729 (gst_object_get_control_rate), (gst_object_set_control_rate):
5730 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5731 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5732 Make some functions that should be static static; rename some
5733 private symbols so that they don't get exported; add some FIXME
5734 comments so we can move accidentally exported functions into
5735 our private section in 0.11.
5737 * win32/common/libgstreamer.def:
5738 Add gst_utils_get_timestamp().
5740 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5744 Add more missing "Since:" tags to docs.
5746 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5749 Add mising "Since:" to docs.
5751 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5754 Include "glib-compat-private.h" to fix the build on system with
5755 glib < 2.10. Fixes #503131.
5757 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5761 Actually its not PURE as it gets the time from elsewhere.
5763 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5765 * docs/gst/gstreamer-sections.txt:
5767 * gst/gstdebugutils.c:
5771 * libs/gst/base/gstbasesink.c:
5772 * tools/gst-launch.c:
5773 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5774 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5775 Thanks Tim for spotting.
5776 API: gst_util_get_timestamp
5778 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5781 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5783 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5785 * gst/gststructure.c: (gst_structure_validate_name),
5786 (gst_structure_new_valist), (gst_structure_parse_value),
5787 (gst_structure_from_string):
5788 Don't crash in _from_string() if the structure name is not valid
5789 (fixes #501560). Allow structure names to start with a number
5790 again (this apparently broke the ubuntu codec installer).
5792 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5794 Add unit test for the crash; update unit tests for new behaviour.
5796 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5799 Clarify gst_element_get_compatible_pad() documentation.
5802 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5804 * tests/check/Makefile.am:
5805 Don't forget to dist {gst,libs}/struct_hppa.h.
5807 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5809 * libs/gst/base/gstbasesink.c:
5810 Use new API to get elapsed time.
5812 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5814 * gst/gstdebugutils.c:
5816 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5818 * tools/gst-launch.c:
5819 Use new API to get elapsed time.
5821 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5823 * docs/gst/gstreamer-sections.txt:
5825 * gst/gstdebugutils.c:
5827 Rename new API + ChangeLog surgery to remove old name from last entry..
5829 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5831 * docs/gst/gstreamer-sections.txt:
5833 * gst/gstdebugutils.c:
5835 Now hide the different clock stuff behind a macro.
5837 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5840 * gst/gstdebugutils.c:
5842 Apply the posix-timer check from #361155. Conditionally use the posix
5843 timer for logging. This gives better timestamp precission, less
5844 overhead and no ntp jitter.
5846 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5848 * gst/gstminiobject.c: (gst_mini_object_get_type),
5849 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5850 (gst_mini_object_finalize), (gst_mini_object_copy),
5851 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5852 (gst_mini_object_replace), (param_mini_object_validate),
5853 (gst_param_spec_mini_object_get_type):
5854 Some cleanup and checking against invalid function parameters.
5856 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5858 * docs/gst/gstreamer-sections.txt:
5860 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5861 (gst_systemclock_suite):
5862 Start merging in the easy bits of #361155, the monotonic clock patch.
5863 This one adds a few handy macros with docs and a testsuite.
5865 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5867 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5868 Be a bit smarter when seeking, like, don't try to do a seek when it's
5869 not needed. This avoids errors when the file is not seekable.
5872 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5874 * docs/gst/gstreamer-docs.sgml:
5875 * docs/gst/gstreamer-sections.txt:
5876 * docs/gst/gstreamer.types.in:
5881 * plugins/elements/gstqueue.c:
5882 Due to popular request remove preset interface again. :-(.
5884 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5886 * tools/gst-inspect.c:
5887 Print 'default value' for enums and flags too.
5889 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5891 * docs/random/ensonic/profiling.txt:
5895 Fix typo and give better log output.
5897 * gst/gstdebugutils.c:
5898 * gst/gstdebugutils.h:
5899 More ideas, make graphs a bit smaller and fix param name in macro.
5901 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5904 Try harder to use the return value from fgets().
5906 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5909 For theses two fgets we handle the error below.
5911 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5913 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5914 Only send upstream events upstream. Fixes #498746.
5916 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5918 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5920 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5921 (gst_identity_init), (gst_identity_transform_ip),
5922 (gst_identity_set_property), (gst_identity_get_property):
5923 * plugins/elements/gstidentity.h:
5924 Add property to disable handoff signal emission. Fixes #498694.
5925 API: GstIdentity::signal-handoffs
5927 2007-11-21 Julien Moutte <julien@fluendo.com>
5929 * docs/faq/gst-uninstalled: Yet another missing library for the
5930 uninstalled script (fft)
5932 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5934 * docs/faq/developing.xml:
5935 Add a question about how to submit new translations.
5937 * docs/random/release:
5938 Update the contact email address for the Translation Project
5940 * plugins/elements/gstfdsrc.c:
5941 The parent_class for fdsrc is pushsrc, not GstElement.
5943 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5946 Plug a leak and fix saving.
5948 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5950 * docs/gst/gstreamer-sections.txt:
5951 Add new gst_preset__get_property_names() function to the docs
5954 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5958 Change _get_preset_names API to return a strv with copies. Add
5959 _get_property_names to allow implementations to filter and provide
5960 good default implementation.
5962 2007-11-20 Julien MOUTTE <julien@moutte.net>
5964 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5967 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5970 More cleanups, docs, and TODOs from comments that now slowly come in.
5972 2007-11-19 Julien MOUTTE <julien@moutte.net>
5974 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5977 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5980 Fix bogus warning and make the property type specific code more
5983 2007-11-19 Julien MOUTTE <julien@moutte.net>
5985 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5988 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5990 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5991 (gst_bin_add_func), (gst_bin_remove_func),
5992 (gst_bin_change_state_func), (gst_bin_continue_func):
5993 Change email, cleanups add some more debug and comments.
5994 Also set bus and clock on new elements when the pipeline was in error.
5996 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5999 * gst/gstdebugutils.c:
6000 Fix build with --disable-gst-debug. Fixes #497859.
6001 Spotted by Sameer Naik.
6003 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6006 Little documentation improvment.
6009 More TODO cleanups. Remove c++ comments.
6011 * libs/gst/controller/gstcontroller.c:
6012 Add TODO and use quark from static string.
6014 * tests/check/gst/gstmessage.c:
6015 * tests/check/gst/gststructure.c:
6016 Use quark from static string.
6018 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6021 Add some comments and TODOs.
6024 Add padding for future changes.
6026 * plugins/elements/gstqueue.c:
6027 Implement the iface.
6029 2007-11-17 Stefan Kost <ensonic@users.sf.net>
6031 * docs/gst/gstreamer-docs.sgml:
6032 * docs/gst/gstreamer-sections.txt:
6033 * docs/gst/gstreamer.types.in:
6038 Add the preset interface (Fixes #396779). Do some doc cleanups along.
6040 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
6046 === release 0.10.15 ===
6048 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
6051 releasing 0.10.15, "October"
6053 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
6055 * win32/vs6/libgstreamer.dsp:
6056 Convert line endings back to DOS.
6058 2007-11-13 Stefan Kost <ensonic@users.sf.net>
6060 * docs/design/draft-tagreading.txt:
6061 * docs/random/ensonic/profiling.txt:
6062 Update fast tagreading draft and performance profiling ideas.
6064 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6066 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6067 Don't hold the object lock when unreffing a buffer because it could
6068 cause a deadlock when the finalize function wants to grab the object
6069 lock too. Fixes #495133.
6071 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
6073 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6074 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6075 Also accumulate time correctly when doing reverse playback. Fixes
6077 When converting to running and stream time, use default values for
6078 start/stop/time/accum when comparing different formats. Fixes #494245.
6080 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6081 Do running/stream time in TIME format.
6083 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6084 (gst_segment_suite):
6085 2 new unit tests for segment accumulation.
6087 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
6089 * gst/gst.c: (init_pre):
6090 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6091 (_gst_debug_bin_to_dot_file):
6092 Move getenv() back into gst_init, so everyone can live happily
6093 ever after. Make sure the symbol isn't exported though.
6095 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6097 Patch by: Sebastien Moutte <sebastien moutte net>
6099 * win32/common/gstenumtypes.c:
6100 * win32/common/gstenumtypes.h:
6103 * win32/vs6/libgstreamer.dsp:
6104 Update vs6 project files (#494343).
6106 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6108 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6109 (gst_base_src_perform_seek), (gst_base_src_default_event),
6110 (gst_base_src_set_flushing), (gst_base_src_activate_push),
6111 (gst_base_src_activate_pull):
6112 Unify flushing code, remove some old unlock code that is no longer used.
6113 Take the streaming lock when seeking to avoid races. Fixes #492729.
6114 Added some more comments.
6116 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6118 * gst/gst.c: (_gst_disable_segtrap):
6119 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
6120 we can use gst_segtrap_is_enabled() there now that we have that API.
6121 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6122 to do the getenv here (and export the variable).
6124 * gst/gstdebugutils.c: (debug_dump_element),
6125 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6126 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6128 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6129 (gst_debug_log_default):
6130 Rename _gst_info_start_time to priv_gst_info_start_time so it
6131 doesn't get exported (was never in any header).
6133 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6134 (gst_plugin_loading_mutex):
6135 Make static mutex gst_plugin_loading_mutex really static (was never
6136 in any header), and use gst_segtrap_is_enabled() instead of
6137 _gst_disable_segtrap.
6139 * gst/gsttrace.c: (_gst_trace_default):
6140 Make local _gst_trace_default static (was never in any header).
6142 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6144 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6146 * win32/common/libgstbase.def:
6147 * win32/common/libgstcontroller.def:
6148 * win32/common/libgstdataprotocol.def:
6149 * win32/common/libgstnet.def:
6150 * win32/common/libgstreamer.def:
6151 Add more missing symbols, remove some duplicates, and sort
6152 as the 'sort' command sorts it (partially fixes #493983).
6154 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6156 * gst/gstelement.c: (gst_element_set_state_func):
6157 Only change the state cookie if a different state was set on the
6158 element. See #492729.
6160 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6163 Remove unused and uninitialised type variables that were still
6164 exported for some reason (they were never in any header files
6167 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6169 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6170 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6171 (gst_base_sink_event), (gst_base_sink_get_position_last),
6172 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6173 (gst_base_sink_change_state):
6174 Don't try to report a 0 position when we don't know, return -1 and FALSE
6175 instead. This mostly happens when we are prerolling.
6176 Make sure we can report the right position before we post the ASYNC_DONE
6177 message so that a message handler can query position without races.
6179 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6180 (async_done_handoff), (async_done_func), (send_buffer),
6181 (async_done_eos_func), (gst_sinks_suite):
6182 Add two tests for the above.
6184 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6187 Update with new email address.
6189 * docs/design/part-TODO.txt:
6190 Add some more info about future pad-block and negotiation changes.
6192 * docs/design/part-buffering.txt:
6193 Add some ideas about buffering reporting.
6195 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6197 * tests/check/gst/gstobject.c:
6198 Disable silly racy test that always fails on this combination of CPU
6201 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6203 Patch by: Murray Cumming <murrayc@murrayc.com>
6206 Corrected the registration of the parent-set and parent-unset
6207 signals: The parameter is a GstObject, not a GObject (#493134).
6209 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6211 * gst/gst_private.h:
6220 Move declaration of private _gst_foo_initialize() functions into
6221 our private header file where they should have been all along.
6223 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6225 * docs/plugins/gstreamer-plugins-sections.txt:
6226 * gst/gstdebugutils.h:
6228 * plugins/elements/gstqueue.c:
6229 gtk-doc fixes; trailing-comma-in-enum fix.
6231 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6233 * gst/gst.c: (gst_deinit):
6234 Clean up on deinit (not the external ones though, doesn't seem to be
6235 needed for some reason).
6237 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6239 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6240 Remove __declspec(dllimport) for MSVC that was copied over into core
6241 from a plugin, obviously without ever having been tested (note the
6242 single underscore in _declspec in the initial commit), and that doesn't
6243 really make sense. See #492077.
6245 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6247 * gst/gst.c: (init_post):
6248 * gst/gstevent.c: (_gst_event_initialize):
6249 * gst/gstquery.c: (_gst_query_initialize):
6250 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6251 g_type_class_ref() other types as well, see #349410 and #64764.
6253 * gst/gstbuffer.c: (_gst_buffer_initialize):
6254 * gst/gstmessage.c: (_gst_message_initialize):
6255 Simplify existing g_type_class_ref().
6257 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6259 * gst/gstformat.c: (_gst_format_initialize):
6260 g_type_class_ref() our GstFormat type to make sure we avoid the
6261 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6262 bug #64764. Should fix intermittent tee unit test failures (#474823).
6264 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6266 * tests/check/elements/tee.c: (test_num_buffers):
6267 Simplify, simplify, simplify - or not. Rewrite unit test
6268 not to use gst_parse_launch(); allow N sub-streams. Increasing
6269 the number of sub-streams seems to reproduce #474823 more easily.
6271 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6273 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6276 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6277 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6278 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6279 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6280 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6281 so use _pipe() directly (#492077).
6283 * win32/common/dirent.c: (_treaddir):
6284 Add a couple of casts to make it build without warnings with MSVC.
6286 * win32/common/libgstreamer.def:
6287 Add some more symbols that need to be exported.
6289 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6291 * tests/examples/metadata/read-metadata.c: (message_loop):
6292 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6293 arriving in a second or third tag message are added to
6294 the tag list as well.
6296 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6298 * libs/gst/base/gstbasesrc.c:
6299 Its "Since:" and not "@Since:". And remove an superflous cast.
6301 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6303 * docs/libs/gstreamer-libs-sections.txt:
6304 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6305 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6306 (gst_base_sink_get_property), (gst_base_sink_render_object),
6307 (gst_base_sink_preroll_object),
6308 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6309 (gst_base_sink_change_state):
6310 * libs/gst/base/gstbasesink.h:
6311 Add a new last-buffer property that contains the last buffer used in
6312 basesink for preroll or rendering. useful for making snapshots.
6313 API: gst_base_sink_get_last_buffer()
6314 API: GstBaseSink::last-buffer
6316 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6318 * docs/gst/running.xml:
6320 * gst/gstdebugutils.c:
6321 * gst/gstdebugutils.h:
6322 * tools/gst-launch.c:
6323 Improve bin graph dumping, by using the envvar to specify a path.
6324 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6326 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6328 * plugins/elements/gsttypefindelement.c:
6329 (gst_type_find_element_handle_event),
6330 (gst_type_find_element_activate):
6331 Post special error message if we can't determine the type of a stream
6334 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6336 * docs/gst/running.xml:
6337 * gst/gstdebugutils.c:
6338 Document new env-var. Add one log-line after dumpng a graph.
6340 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6343 Ugly hack to put the (recently removed and non-portable, apparently)
6344 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6345 GNU ld, because without that 'make check' fails miserably on my debian
6346 stable box. Someone with more knowledge of linker intricacies and
6347 portability issues than me fix this properly please.
6349 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6351 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6352 Reset last seen position after flushing so that we don't report the old
6355 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6357 * gst/gstelementfactory.c: (gst_element_register):
6359 Patch from Alessandro Decina adding get_type_full and
6360 get_protocols_full private vfuncs to the URIHandler interface
6361 to allow bindings to support creating URI handlers.
6362 Partially fixes: #339279
6363 API: GstURIHandlerInterface::get_type_full
6364 API: GstURIHandlerInterface::get_protocols_full
6366 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6368 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6369 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6370 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6371 Make it so that pads are considered linked until a buffer is pushed
6372 and discovered otherwise. This avoids problems with decodebin2 hanging
6373 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6376 Make sure we lock the multiqueue when updating the max-size properties.
6378 Fix a crash on Solaris in a debug statement in get_request_pad that
6379 passes a NULL string to GST_DEBUG.
6381 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6382 (run_output_order_test):
6383 Fix the test to allow the first buffer on not-linked pads to come out
6384 of sequence while multiqueue discovers that they are not-linked.
6386 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6389 * libs/gst/check/Makefile.am:
6390 Use a custom export symbol regex for libgstcheck, as it needs
6391 to export symbols that don't match the standard GStreamer gst_*
6392 pattern, and --export-dynamic is not portable (only works on
6395 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6396 (gst_check_setup_sink_pad):
6397 Make sure to pass a message parameter to the fail_* macros.
6399 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6400 Fix some compiler warnings.
6402 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6404 * tests/check/gst/gststructure.c: (test_to_string):
6405 Disable test that checks that white spaces are not allowed
6406 in structure names or field names, since we need to
6407 support that for now for backwards compatibility reasons.
6409 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6411 * docs/gst/gstreamer-sections.txt:
6414 API: add GST_TAG_ARTIST_SORTNAME
6415 API: add GST_TAG_ALBUM_SORTNAME
6416 API: add GST_TAG_TITLE_SORTNAME
6417 Add tag variants for sorting (#414539).
6419 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6421 * gst/gststructure.c:
6422 Also allow white space for names so we don't break
6423 backwards compatibility.
6425 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6427 * docs/design/part-TODO.txt:
6428 * docs/design/part-segments.txt:
6429 * docs/design/part-streams.txt:
6432 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6434 * docs/gst/gstreamer-sections.txt:
6435 Fixed documentation from my previous commit (added new API add
6436 gst_value_set_structure(), add gst_value_get_structure() and
6437 GST_VALUE_HOLDS_STRUCTURE).
6439 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6441 * gst/gstdebugutils.c:
6442 Reflow code to fix uninitialized variable warning.
6444 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6446 * gst/gstcaps.c: (gst_caps_to_string),
6447 (gst_caps_from_string_inplace):
6448 * gst/gststructure.c: (gst_structure_get_abbrs),
6449 (gst_structure_to_string), (gst_structure_from_string):
6450 * gst/gstvalue.c: (gst_value_set_structure),
6451 (gst_value_get_structure), (gst_value_serialize_structure),
6452 (gst_value_deserialize_structure), (_gst_value_initialize):
6454 * tests/check/gst/gststructure.c: (GST_START_TEST),
6455 (gst_structure_suite):
6456 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6457 Added GstStructure to gst_value_table and its related functions.
6458 Changed gst_structure_to_string to print ';' in the end.
6459 Changed gst_caps_to_string to not print ';' beteween its
6460 fields (structures) anymore and remove the lastes ';' from latest
6461 structure. Now it is possible to have nested structures.
6462 In addition, backward compatibilty is assured by accepting '\0' as
6463 end delimiter. Fixes: #487969.
6464 API: add gst_value_set_structure()
6465 API: add gst_value_get_structure()
6466 API: add GST_VALUE_HOLDS_STRUCTURE
6468 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6471 When no GSource callback has been set up, tell developer
6472 to use a function that actually exists.
6474 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6476 * docs/gst/gstreamer-sections.txt:
6480 * gst/gstdebugutils.c:
6481 * gst/gstdebugutils.h:
6484 * tools/gst-launch.c:
6485 Allow dumping pipelines as dot graphs. Fixes #456573.
6487 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6489 * gst/gststructure.c:
6490 Allow '+' as well, it can be part of media or mime types
6491 such as image/svg+xml.
6493 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6495 * docs/gst/gstreamer-sections.txt:
6498 API: add gst_bus_pop_filtered
6499 API: add gst_bus_timed_pop_filtered
6500 Two new functions for waiting for specific message types on the
6501 bus for a specified amount of time without iterating any main
6502 loops or main contexts.
6504 * tests/check/gst/gstbus.c:
6505 Some tests for the new functions.
6507 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6509 * docs/libs/gstreamer-libs-sections.txt:
6510 Make gtk-doc ignore stuff it should ignore.
6512 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6514 * libs/gst/check/gstcheck.c:
6515 * libs/gst/check/gstcheck.h:
6516 Allow runtime selection of unit tests to run via the GST_CHECKS
6517 environment variable (test case function names, comma-separated).
6519 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6521 * gst/gststructure.c:
6522 * tests/check/gst/gststructure.c:
6523 Revert serialisation change and constrain structure-names after
6524 consensus on irc. Update api documentation to reflect the change.
6526 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6528 * gst/gststructure.c:
6529 Improve serialization and fix tests.
6531 * tests/check/gst/gststructure.c:
6532 Add another test that covers why I actually did the previous structure
6535 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6537 * tools/gst-inspect.c: (print_element_info):
6538 Don't crash when inspecting an element.
6540 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6542 * tests/check/gst/gststructure.c:
6543 Add unit test for escaping of structure name when serialising
6544 and deserialising to/from strings.
6546 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6548 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6549 (gst_single_queue_new):
6550 * plugins/elements/gstqueue.c: (gst_queue_init),
6551 (gst_queue_push_one):
6552 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6553 upstream is tricked into thinking it can suggest a format downstream
6554 while downstream does not support that format. The real problem is that
6555 core calls acceptcaps when pushing a buffer with new caps, for which we
6556 do a little workaround by setting the caps on the srcpad ourselves
6557 before pushing the buffer (until this is figured out). Fixes #486758.
6559 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6561 * gst/gststructure.c:
6563 Add some more comments and debug output. Quote structure name to fix
6564 deserialisation of some strings.
6566 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6569 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6570 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6572 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6574 * tools/gst-inspect.c:
6575 Save approx. 400 1 byte allocs when printing. Use API to acces element
6581 * tools/gst-xmlinspect.c:
6582 Use API to acces element details.
6584 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6587 Fix some spelling errors.
6589 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6591 * gst/gstbin.c: (bin_handle_async_done):
6592 Correctly set the next state if all of our async children commited their
6593 state. This makes sure we can actually cancel the state change in
6594 progress. Fixes a regression in Rhythmbox when seeking.
6596 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6599 Don't shadow local variable.
6602 Don't shadow global function name.
6604 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6606 * gst/gstelementfactory.c:
6607 * gst/gstpluginfeature.c:
6608 * gst/gstpluginfeature.h:
6609 * gst/gstregistrybinary.c:
6610 * gst/gstregistryxml.c:
6611 * gst/gsttypefind.c:
6612 Use already-interned string for the private GstPluginFeature
6615 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6617 * docs/libs/gstreamer-libs-sections.txt:
6618 Add new API to docs; fixes the build.
6620 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6622 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6624 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6625 (gst_base_sink_event):
6626 * libs/gst/base/gstbasesink.h:
6627 Add function to wait for EOS, subclasses can use this to correctly wait
6628 for devices to drain before performing the EOS logic. Fixes #485343.
6629 API: gst_base_sink_wait_eos()
6631 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6634 Cast description string constants in GST_PLUGIN_DEFINE macros
6635 to a (gchar*) to make C++ code using these macros compile
6636 without warning with g++-4.2 (see #462737). Even if slightly
6637 ugly, this seems preferable to putting the description strings
6638 into the GLib quark table or making the structure member a
6639 const gchar * and doing casts in core code that allocs and
6640 frees these strings, or requiring a cast in the C++ code.
6642 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6645 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6646 to print the entire class/function signature into the log
6647 file for C++ code. This only affects C++ code, for C code
6648 everything remains the same.
6650 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6652 * gst/gstbin.c: (remove_from_queue):
6653 Work around a problem with pipelines containing (semi)loops until a
6654 proper, more complicated solution is ready. See #475455.
6656 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6660 * gst/gstregistrybinary.c:
6661 * gst/gstregistryxml.c:
6662 Put more strings into the GLib quark table. No need to keep
6663 a hundred-something copies of identical version strings,
6664 license strings, package name strings and package origin
6667 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6669 * docs/manual/advanced-dataaccess.xml:
6670 Don't imply that it's okay to unconditionally change
6671 buffer data or buffer metadata in a pad probe callback,
6672 and a bunch of other comments. Fixes #430031.
6674 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6676 * win32/common/gstenumtypes.c:
6677 * win32/common/gstenumtypes.h:
6678 * win32/common/gstversion.h:
6679 Update generated files.
6681 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6683 * docs/manual/advanced-autoplugging.xml:
6684 Prefix section with broken code with a warning (see #342432).
6686 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6688 * docs/manual/appendix-integration.xml:
6689 * docs/manual/basics-init.xml:
6690 Call g_thread_init() before g_option_context_new() to
6691 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6693 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6695 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6696 (gst_base_sink_queue_object_unlocked),
6697 (gst_base_sink_queue_object), (gst_base_sink_event),
6698 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6699 When we received EOS and are waiting for when to post the EOS message,
6700 our state is prerolled and we should not return ASYNC.
6701 Reorganize some code paths to implement this behavior.
6703 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6705 Add unit test to verify above EOS fix.
6707 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6709 * plugins/elements/gsttypefindelement.c:
6710 (gst_type_find_element_have_type), (gst_type_find_element_init),
6711 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6712 Move detecting the input caps of the sinkpad to the setcaps function.
6713 This allows us to update the output caps when we receive new input caps
6714 instead of always using the first detected caps.
6716 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6718 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6719 (gst_base_sink_get_position):
6720 Don't try to preroll non-async elements after a flush.
6721 Subtract latency form clock times when reporting position.
6723 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6725 * gst/gstpad.c: (gst_pad_pause_task):
6727 Small comment and documentation update.
6729 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6731 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6732 (gst_base_src_set_live), (gst_base_src_is_live),
6733 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6734 (gst_base_src_default_event), (gst_base_src_wait),
6735 (gst_base_src_do_sync), (gst_base_src_get_range),
6736 (gst_base_src_pad_get_range), (gst_base_src_loop),
6737 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6738 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6739 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6740 (gst_base_src_change_state):
6741 Rework the locking of basesrc in a similar fashion to basesink. We
6742 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6743 us to handle live sources and semi live ones much better.
6745 Fix unlocking when seeking, shutting down and pausing in live sources.
6747 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6749 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6750 Fix compilation again.
6752 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6755 Use meaningful categories for the logs to clean the default one.
6757 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6759 * tests/check/pipelines/cleanup.c:
6760 Print message name and not just number.
6762 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6764 * docs/design/draft-tagreading.txt:
6765 Add some more thoughts.
6767 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6769 * tests/check/pipelines/simple-launch-lines.c:
6770 Print message name and not just number.
6772 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6774 * libs/gst/base/gsttypefindhelper.c:
6775 Speedup typefinding. This is work in progress (see #459862).
6777 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6780 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6781 Spotted by Josep Torra Valles <josep@fluendo.com>.
6783 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6786 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6787 field has moved to GstObject.
6789 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6791 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6792 (gst_base_src_get_range), (gst_base_src_change_state):
6793 Call unlock for live sources so that they can't get stuck in _create and
6794 produce a buffer before they are set back to PLAYING.
6796 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6798 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6799 (gst_queue_locked_dequeue):
6800 Comment the segment-related code... in the PROPER function.
6801 See #482147 and my commit from yesterday.
6803 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6805 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6806 Also initialize the counter that calculates the first timestamp on a
6807 buffer correctly for non-live sources.
6809 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6811 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6812 Disable code that's breaking the current-time-level reporting.
6815 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6817 * docs/gst/gstreamer-sections.txt:
6818 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6819 as they shouldn't show up. Fixes the docs build.
6821 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6824 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6825 Define M_PI which is used in files which are including gstinfo.h.
6826 VS6 includes doesn't define it.
6827 * win32/common/libgstbase.def:
6828 * win32/common/libgstcontroller.def:
6829 * win32/common/libgstreamer.def:
6830 Add new exported functions and variables.
6831 * win32/vs6/libgstcontroller.dsp:
6832 * win32/vs6/libgstreamer.dsp:
6833 Update the list of files to build.
6835 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6837 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6839 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6840 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6841 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6842 Improve debugging. Fixes #480858.
6844 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6846 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6848 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6849 First patch of code cleanups, use the macros and right arguments in the
6850 macros to signal and lock the queue. See #480858.
6852 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6854 * gst/gstbus.c: (poll_func):
6855 Improve debugging when dealing with _poll().
6857 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6859 * gst/gstregistryxml.c:
6860 Fix memory leak I introduced a few days ago.
6862 2007-09-26 Michael Smith <msmith@fluendo.com>
6864 * gst/gstbuffer.c: (gst_buffer_finalize):
6865 Make it once again possible to free GstBuffers in the default
6867 The poisoning scribbles on parts of the miniobject we need in
6871 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6873 * docs/gst/gstreamer-sections.txt:
6876 API: add GST_TAG_COMPOSER, fixes #459809.
6878 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6882 Add the 3-clause BSD license and the MIT/X11 license to the license
6883 list. Fixes #479784.
6885 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6887 * docs/faq/getting.xml:
6888 Add Q+A about different GStreamer versions (#364056).
6890 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6892 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6893 (gst_base_sink_event), (gst_base_sink_change_state):
6894 Return correct gboolean from query function.
6896 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6898 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6899 (gst_base_sink_event), (gst_base_sink_query),
6900 (gst_base_sink_change_state):
6901 Simplify latency query.
6902 When not synchronizing, we can report latency without querying the peer
6905 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6909 Fix small typos in the docs.
6911 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6913 * docs/design/draft-latency.txt:
6914 * docs/design/draft-push-pull.txt:
6915 * docs/design/draft-tagreading.txt:
6916 * docs/design/part-MT-refcounting.txt:
6917 * docs/design/part-activation.txt:
6918 * docs/design/part-block.txt:
6919 * docs/design/part-element-source.txt:
6920 * docs/design/part-events.txt:
6921 * docs/design/part-gstbin.txt:
6922 * docs/design/part-gstelement.txt:
6923 * docs/design/part-gstobject.txt:
6924 * docs/design/part-gstpipeline.txt:
6925 * docs/design/part-messages.txt:
6926 * docs/design/part-preroll.txt:
6927 * docs/design/part-push-pull.txt:
6928 * docs/design/part-qos.txt:
6929 * docs/design/part-query.txt:
6930 * docs/design/part-scheduling.txt:
6931 * docs/design/part-seeking.txt:
6932 * docs/design/part-segments.txt:
6933 * docs/design/part-states.txt:
6934 Documentation updates and typo fixes.
6936 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6938 * plugins/elements/gstfakesink.c:
6939 Add some debug text to error message to indicate that
6940 we errored out on request.
6942 * tools/gst-launch.c:
6943 When the state change to PLAYING fails, check for an
6944 error message on the bus and print it.
6946 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6948 translated by: Jorge González González <aloriel@gmail.com>
6952 Added Spanish translation.
6954 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6956 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6957 Fix printf arguments.
6959 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6961 * tests/check/generic/states.c:
6962 Improved state change unit test.
6964 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6967 Move priv to the right place.
6969 * gst/gstsystemclock.c:
6970 Add FIXME: and improve log.
6972 * tests/check/Makefile.am:
6973 * tests/examples/manual/Makefile.am:
6974 Work with all types of registries.
6976 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6978 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6979 Don't unref the event after pushing it. Fixes #478401.
6981 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6984 * tests/examples/manual/.cvsignore:
6985 Ignore registries in any format.
6987 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6989 * gst/glib-compat-private.h:
6990 Add compatibility macro for g_intern_string() for
6991 GLib-2.8 (any reason we can't just bump the
6992 requirement to at least 2.10?)
6994 * gst/gstpadtemplate.h:
6995 * gst/gstelementfactory.c:
6996 * gst/gstregistryxml.c:
6997 * gst/gstregistrybinary.c:
6998 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6999 up the internal code accordingly. This shouldn't be a problem, since
7000 there is no reason external code could ever assume the string in such
7001 a structure is dynamically allocated unless it did that itself; the
7002 use of g_strdup() is private to element factories. The new code also
7003 saves some memory by putting pad template name strings into the GLib
7004 quark table instead of allocating them dynamically.
7005 Declaring this field constant fixes warnings with g++-4.2 when using
7006 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7008 2007-09-19 Stefan Kost <ensonic@users.sf.net>
7010 * gst/gstelementfactory.c:
7011 Release static caps. Fixes #475723.
7013 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
7017 Make some internal API take const gchar * instead of just
7018 gchar * to avoid compiler warnings with g++-4.2.2 when
7019 passing string constants (partially fixes #478092).
7021 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7023 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7024 A latency query fails when one of the sinks fail.
7026 * gst/gstelement.c: (gst_element_set_base_time):
7029 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7031 * gst/gstbin.c: (gst_bin_continue_func):
7032 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7033 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7034 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7036 Fix minor compilation warnings shown with Forte.
7038 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
7040 * plugins/elements/gstqueue.c: (apply_buffer),
7041 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7042 Measure queue level based on the diff between head and tail timestamps
7043 even when pushing the first buffer.
7045 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7047 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7048 (gst_base_sink_event), (gst_base_sink_change_state):
7049 Sinks that don't preroll can always be queried for the latency.
7050 Don't post ASYNC start when we are not async.
7052 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7054 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7055 (gst_queue_handle_sink_event), (gst_queue_chain),
7056 (gst_queue_push_one), (gst_queue_handle_src_query),
7057 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7058 * plugins/elements/gstqueue.h:
7059 When downstream returns UNEXPECTED from pushing a buffer, don't try to
7060 push more buffers but allow pushing of EOS and NEWSEGMENT.
7061 Add some more debug info here and there. Fixes #476514.
7063 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
7065 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7066 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7067 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7068 (gst_base_sink_set_flushing), (gst_base_sink_query),
7069 (gst_base_sink_change_state):
7070 Latency query is allowed after we are prerolled. Introduce a new flag
7071 for this and stop abusing other variables.
7073 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7075 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7076 Push OOB events downstream when we get them in send_event. This allows
7077 the application to insert events in the pipeline.
7078 Add some more comments.
7080 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7082 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7083 (do_bin_latency), (gst_bin_change_state_func):
7084 * gst/gstpipeline.c: (gst_pipeline_change_state):
7085 Move latency query from GstPipeline to GstBin so that we can also
7086 use it when async-handling is enabled on bins.
7088 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7090 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7091 (gst_base_src_do_sync), (gst_base_src_change_state):
7093 Clean up the timestamping and syncing code for pseudo live sources.
7095 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
7097 Patch by: Steve Fink <sphink gmail com>
7099 * docs/manual/appendix-checklist.xml:
7100 Mention less -R switch in the section about debug output (#474055).
7102 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
7104 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7105 Queue can latency to the pipeline up to the configured max size in time.
7106 Report this fact in the latency query.
7108 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7110 Patch by: Sebastien Moutte <sebastien at moutte dot net>
7112 * libs/gst/controller/gstinterpolation.c:
7113 * libs/gst/controller/gstlfocontrolsource.c:
7114 Use gst_guint64_to_gdouble() when converting from a uint64 or
7115 GstClockTime to double to fix the build on win32. Fixes #474371.
7117 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7119 * gst/gstbuffer.c: (gst_buffer_finalize):
7120 Implement poisoning for GstBuffer if --enable-poisoning is specified.
7121 When finalizing a buffer the complete struct is filled with 0xff,
7122 thus making a use of the buffer after the final unref impossible.
7124 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
7126 * tests/check/libs/controller.c: (GST_START_TEST):
7127 Use fail_unless_equals_int(a, b) instead of
7128 fail_unless_equals (a == b) to get better output on failures.
7130 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7132 * tests/check/gst/gsturi.c:
7133 Also check for the other file URI variant on win32.
7135 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7137 * gst/gsturi.c: (gst_uri_get_location):
7138 If there's no hostname, we want to return 'c:/foo/bar.txt'
7139 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7141 * tests/check/gst/gsturi.c:
7142 Unit test for the above and a few more things.
7144 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7146 * docs/design/part-live-source.txt:
7147 Add docs on how live sources should timestamp.
7149 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7150 Add some more debug info.
7151 For subclasses that are live and like to sync, add aditional startup
7152 latency to sync time and timestamps so that we timstamp according to the
7155 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7158 Also do a g_type_class_ref() for the subbuffer type in
7161 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7163 * docs/gst/gstreamer-sections.txt:
7164 * gst/gstpad.c: (gst_pad_peer_query):
7166 Add function to perform a query on the peer of a pad.
7167 API: gst_pad_peer_query()
7169 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7171 * tests/check/gst/gstsystemclock.c:
7172 Cleanup the test a little (use gst-logging and not g_message). Improve
7173 test to check if a wait reached the target.
7175 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7177 * docs/libs/gstreamer-libs-sections.txt:
7178 Add new API to docs and fix the build.
7180 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7182 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7183 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7184 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7185 (gst_base_src_get_property), (gst_base_src_do_sync):
7186 * libs/gst/base/gstbasesrc.h:
7187 Add property to make the basesrc timestamp buffers based on the current
7189 API: GstBaseSrc::do-timestamp
7190 API: gst_base_src_set_do_timestamp()
7191 API: gst_base_src_get_do_timestamp()
7193 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7195 * docs/random/release:
7196 Really make sure translations are up-to-date before
7197 a release (#465010).
7199 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7201 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7202 Always destroy the timer, also in error cases.
7204 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7206 * docs/manual/highlevel-xml.xml:
7207 Fix XML example code. Fixes #472714.
7209 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7211 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7212 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7213 (gst_base_sink_query):
7214 Protect eos and have_preroll with the OBJECT lock so we don't need to
7215 take the PREROLL lock when querying the latency. Fixes #473846.
7217 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7220 Give some log-messages a category.
7222 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7224 * gst/gststructure.c:
7225 (gst_structure_fixate_field_nearest_fraction):
7226 Fix fraction list fixation code. Take the fraction with the smallest
7227 difference with the target instead of the first one in the list.
7229 * tests/check/gst/gststructure.c: (GST_START_TEST),
7230 (gst_structure_suite):
7231 Added test to verify correct fraction list fixation behaviour.
7233 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7235 * win32/common/libgstreamer.def:
7236 Export gst_bus_add_signal_watch too.
7238 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7240 * docs/libs/gstreamer-libs-sections.txt:
7241 Add new methods to docs.
7243 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7244 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7245 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7246 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7247 * libs/gst/base/gstbasesink.h:
7248 Add ts-offset property to fine-tune the synchronisation.
7249 API: GstBaseSink::ts-offset property
7250 API: gst_base_sink_set_ts_offset()
7251 API: gst_base_sink_get_ts_offset()
7253 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7255 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7256 (gst_base_sink_init), (gst_base_sink_set_sync),
7257 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7258 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7259 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7260 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7261 (gst_base_sink_get_property), (gst_base_sink_change_state):
7262 * libs/gst/base/gstbasesink.h:
7263 Add async property to instruct the sink never to inform the parent about
7264 ASYNC state changes, update docs.
7265 Check argument with g_return_* for the public functions.
7266 API: GstBaseSink::async property
7267 API: gst_base_sink_set_async_enabled()
7268 API: gst_base_sink_is_async_enabled()
7270 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7272 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7275 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7276 (gst_base_src_default_query), (gst_base_src_wait),
7277 (gst_base_src_do_sync), (gst_base_src_change_state):
7278 Rearrange some code so that we can add support for measuring the
7281 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7283 * docs/random/ensonic/dynlink.txt:
7284 More thoughs on this.
7286 * plugins/elements/gstcapsfilter.c:
7287 Add bugzilla ticket number to FIXME comment.
7289 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7291 * docs/design/part-TODO.txt:
7292 * docs/design/part-block.txt:
7295 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7298 Revert patch which uses $(gst_headers) instead of $^ because it
7301 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7303 * tests/check/gst/gstbin.c: (GST_START_TEST):
7304 Fix leaks in the new unit test.
7306 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7309 Don't use GST_INFO before the debug system is actually initialised
7310 (shouldn't do any harm, but won't print anything either, so we can
7311 just as well remove it).
7314 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7315 compilers that don't support variadic macros (such as MSVC), should
7316 check for debug_level <= __gst_debug_min as well, since that's the
7317 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7318 inline helper functions. Should improve performance a bit, but also
7319 makes sure uses of GST_INFO et.al are ignored if the debugging
7320 system isn't initialised yet (instead of printing an assertion
7323 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7325 patch by: David Nečas <yeti@physics.muni.cz>
7328 Replace some non portable makefile constructs.
7330 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7332 * common/gtk-doc-plugins.mak:
7333 Grrrrr. Don't remove the types file on make clean.
7335 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7337 * tools/gst-launch.1.in:
7338 Add colorspace to example pipeline. Fixes #458274.
7340 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7342 * docs/random/release:
7343 The release manager should run 'make download-po' before making a
7344 release to make sure translations are up-to-date.
7350 Add some new translations.
7352 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7354 * tools/gst-launch.c: (event_loop), (main):
7355 Don´t try to do any state management when a live pipeline posts
7357 Also make the buffering string translatable.
7359 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7361 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7362 (bin_handle_async_start), (gst_bin_handle_message_func):
7364 When adding elements, insert messages into the bus of the newly added
7365 element and make sure the element is the source of the message. This
7366 allows the parent bin to intercept the message and do the
7367 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7368 messages to the app (which is not allowed).
7371 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7372 Fix testsuite so that is does not work around messages that should not
7373 have been posted in the first place.
7375 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7377 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7378 (update_degree), (gst_bin_sort_iterator_next):
7379 Fix annoying bug in the sorted iterator where a sink that is not really
7380 a sink (when it has downstream links) screwed up the iterator.
7382 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7383 Unit test to verify the fix.
7385 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7388 Add some more docs for the messages.
7390 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7391 (gst_base_sink_query):
7392 Add some more debugging.
7394 * tools/gst-launch.c: (event_loop):
7395 When interrupting, don't try to set pipeline to PAUSED twice.
7397 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7400 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7401 (bin_handle_async_start), (gst_bin_handle_message_func):
7402 Move ASYNC_START message posting to where it belongs, similar to
7404 Don't post ASYNC_START when we are in error.
7405 Post ASYNC_START when we added an async element to a bin.
7407 2007-08-14 Julien MOUTTE <julien@moutte.net>
7409 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7410 generation from vargs. Fixes #466595.
7412 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7414 * gst/gstbin.c: (gst_bin_element_set_state):
7415 Always change the state of a NO_PREROLL element even if it has ASYNC
7416 elements inside (in case of a bin).
7418 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7419 Unit test for this case.
7421 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7423 * libs/gst/check/gstbufferstraw.c:
7424 * libs/gst/check/gstcheck.h:
7425 * libs/gst/controller/gstcontroller.c:
7426 * libs/gst/controller/gstcontrolsource.h:
7427 * libs/gst/controller/gstlfocontrolsource.h:
7428 * plugins/elements/gstcapsfilter.h:
7429 * plugins/elements/gstfdsink.h:
7430 * plugins/elements/gstfdsrc.h:
7431 Add more missing docs.
7433 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7435 * gst/gststructure.c:
7436 Add Since tag to docs.
7438 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7440 * docs/gst/gstreamer-sections.txt:
7441 * gst/gststructure.c: (gst_structure_get_uint):
7442 * gst/gststructure.h:
7443 Add function to get uint from a structure.
7444 API: gst_structure_get_uint()
7446 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7448 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7449 (gst_caps_intersect):
7450 Fix proper check for simple caps.
7452 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7454 * docs/gst/Makefile.am:
7455 * docs/libs/Makefile.am:
7456 Remove cruft and do some cleanups.
7458 * docs/gst/gstreamer-docs.sgml:
7459 * docs/libs/gstreamer-libs-docs.sgml:
7460 Prepare for comming gtkdoc features (rebase against online docs).
7462 2007-08-10 Michael Smith <msmith@fluendo.com>
7464 * docs/gst/gstreamer-sections.txt:
7465 Add gst_registry_add_path to docs.
7467 2007-08-10 Michael Smith <msmith@fluendo.com>
7469 * gst/gstregistry.h:
7470 Add gst_registry_add_path, which was missing from this header.
7472 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7474 * libs/gst/controller/gstlfocontrolsource.c:
7477 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7479 * libs/gst/base/gstbasesink.c:
7480 Don't send an async_start message during downwards state change if
7481 target state is less than READY
7483 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7485 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7489 Added Hungarian translation.
7491 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7498 Updated translations.
7500 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7502 * libs/gst/controller/Makefile.am:
7503 Dist gstlfocontrolsourceprivate.h
7505 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7507 * docs/libs/gstreamer-libs.types:
7508 Don't register the enum type gst_lfo_waveform_get_type() in the
7509 .types file - only GObject derived types belong.
7511 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7513 Patch by: <arenevier at fdn dot fr>
7516 Remove comma from last element in enum to avoid compile errors when
7517 using -pendantic. Fixes #464366.
7519 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7521 * docs/design/part-TODO.txt:
7522 Add some more TODO items
7524 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7527 * gst/gstcaps.c: (gst_caps_intersect):
7528 Optimize trivial intersection case between identical caps pointers.
7530 * gst/gstelement.c: (gst_element_continue_state),
7531 (gst_element_set_state_func):
7533 Fix spelling and grammar mistakes.
7535 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7539 Update POTFILES. Fixes #461599.
7541 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7544 Fix confusing typo in debug output.
7546 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7548 reviewed by: Stefan Kost <ensonic@users.sf.net>
7550 * libs/gst/controller/Makefile.am:
7551 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7552 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7553 (gst_lfo_control_source_new),
7554 (gst_lfo_control_source_set_waveform),
7555 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7556 (gst_lfo_control_source_finalize),
7557 (gst_lfo_control_source_dispose),
7558 (gst_lfo_control_source_set_property),
7559 (gst_lfo_control_source_get_property),
7560 (gst_lfo_control_source_class_init):
7561 * libs/gst/controller/gstlfocontrolsource.h:
7562 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7563 API: Add GstLFOControlSource, a control source that gives values
7564 for specific timestamps based on several periodic waveforms.
7567 * tests/check/libs/controller.c: (GST_START_TEST),
7568 (gst_controller_suite):
7569 * docs/libs/gstreamer-libs-docs.sgml:
7570 * docs/libs/gstreamer-libs-sections.txt:
7571 * docs/libs/gstreamer-libs.types:
7572 Add documentation and unit tests for GstLFOControlSource.
7574 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7579 === release 0.10.14 ===
7581 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7584 releasing 0.10.14, "Breathing Vacuum"
7586 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7588 * gst/gstelement.c: (gst_element_class_set_details_simple):
7590 Make strings passed to gst_element_class_set_details_simple()
7591 constant, as they should be (#462752).
7593 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7595 * gst/gstbin.c: (gst_bin_change_state_func),
7596 (bin_handle_async_done), (gst_bin_handle_message_func):
7597 Don't forget about the fact that some element went ASYNC even after a
7598 resync. This makes us post the ASYNC_DONE message correctly.
7601 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7603 * gst/gstregistry.c: (gst_registry_add_feature):
7604 When replacing an existing feature in the registry, make sure to
7605 continue holding a reference until we've replaced the name string
7606 within our feature hash table. Make sure to use g_hash_table_replace
7607 instead of g_hash_table_insert to ensure the new name string is used
7608 as a key instead of the old one that we're about to free.
7611 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7613 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7614 (gst_plugin_feature_set_name):
7615 Revert patch from #459466 until after the release and we can work
7616 out exactly what the problem is (if any).
7618 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7620 * docs/gst/gstreamer-sections.txt:
7623 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7625 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7627 * docs/libs/Makefile.am:
7628 Include our build-prefix libs and includes before the generic ones to
7629 avoid linking against the installed libs when we want the build-tree
7632 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7634 Patch by: Steve Fink <sphink gmail com>
7636 * docs/pwg/building-testapp.xml:
7637 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7638 if people try to build or install the example from the plugin
7639 template against a GStreamer from package using the configure
7642 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7644 Patch by: Steve Fink <sphink gmail com>
7646 * tools/gst-inspect.1.in:
7647 Document --print-all and --print-plugin-auto-install-info command
7648 line options in man page.
7650 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7652 * docs/gst/gstreamer-sections.txt:
7653 Add docs for new api function.
7655 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7657 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7658 * gst/gstelementfactory.h:
7659 API: gst_element_factory_has_interface()
7660 Added method to check if an element factory implements a named
7663 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7666 * docs/gst/gstreamer.types.in:
7667 Another conditional doc check.
7670 * gst/gstparamspecs.h:
7671 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7676 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7678 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7679 (gst_registry_binary_load_feature),
7680 (gst_registry_binary_load_plugin),
7681 (gst_registry_binary_read_cache):
7682 Print error just once and with additional info.
7684 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7686 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7687 (helper_find_suggest), (helper_find_get_length),
7688 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7689 (gst_type_find_helper_for_buffer):
7690 Cleanup the typefindhelper code and add private doc comments.
7692 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7694 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7695 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7696 Fix capsfilter for cases where the caps set on capsfilter will provide
7697 additional information.
7700 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7702 * gst/gsttypefindfactory.c:
7703 Fix docs that recommened wrong function to use.
7705 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7707 * tools/gst-inspect.c: (print_plugin_features):
7708 Also give media-type for typefinders in element output.
7710 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7712 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7713 (gst_registry_remove_features_for_plugin_unlocked),
7714 (gst_registry_add_feature), (gst_registry_remove_feature),
7715 (gst_registry_lookup_feature_locked):
7716 * gst/gstregistry.h:
7717 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7720 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7722 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7723 (gst_plugin_feature_set_name):
7724 Avoid double memory usage for pluginfeature names. Fixes #459466.
7726 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7729 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7730 driving the pipeline may need to explicitly check for NOT_LINKED as
7731 well, since IS_FATAL doesn't cover that.
7733 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7735 * docs/pwg/advanced-types.xml:
7736 Fix typo and duplicate entry in video formats list.
7738 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7740 * libs/gst/controller/gstinterpolation.c:
7741 Also round to the nearest int when using cubic interpolation.
7743 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7745 * libs/gst/controller/gstinterpolation.c:
7746 When linearly interpolating integer types, round to the nearest int
7747 by adding 0.5. Don't do it for float/double types.
7748 Fixes the failing controller test on my machine, which is somehow
7749 rounding differently than on the buildbots.
7751 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7753 * tools/gst-plot-timeline.py:
7754 Better log parsing (categories can have -). Adjust text vs. lines, so
7755 that they span the same y-range.
7757 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7759 * docs/random/ensonic/audiobaseclasses.txt:
7760 * docs/random/ensonic/dynlink.txt:
7761 * docs/random/ensonic/profiling.txt:
7764 * docs/random/moving-plugins:
7765 Add note to use g_assert type macros.
7767 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7770 * libs/gst/check/Makefile.am:
7771 Add libm check as we use in for plugins.
7773 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7775 * gst/gstbin.c: (gst_bin_continue_func):
7776 Check that the state_cookie hasn't changed since the continue_func
7777 was scheduled. Avoids problems where the state changes back to
7778 something it shouldn't be because it was changed in the meantime.
7780 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7782 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7783 (gst_registry_binary_save_string),
7784 (gst_registry_binary_save_pad_template),
7785 (gst_registry_binary_save_feature),
7786 (gst_registry_binary_save_plugin),
7787 (gst_registry_binary_load_feature),
7788 (gst_registry_binary_load_plugin),
7789 (gst_registry_binary_read_cache):
7790 Fix memory leak. Be less verbose in the log.
7792 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7794 * tests/check/elements/.cvsignore:
7795 Add file to cvsignore as commanded.
7797 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7799 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7800 (mq_dummypad_event), (run_output_order_test):
7801 Use a GStaticMutex to protect all cases where libcheck
7802 fail_if/fail_unless macros might be called from multiple threads
7803 simultaneously to avoid errors like:
7804 "check_pack.c:107: :-1081725400:Bad message type arg"
7806 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7808 * tests/check/pipelines/stress.c: (GST_START_TEST):
7809 Make sure we set the pipeline back to the NULL state before
7810 dropping our final reference.
7812 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7814 * tests/check/elements/tee.c: (GST_START_TEST):
7815 Make the tee stress-test a little less stressful so it doesn't just
7816 time out on slow-machines, and remove a small race when it's starting
7817 up by adding a get_state() call.
7819 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7822 Avoid reading registry twice on startup. Fixes #457322.
7824 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7826 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7827 * pkgconfig/gstreamer-check.pc.in:
7828 Substitute the CFLAGS for libcheck into our .pc file too so that
7829 dependent modules will pick it up properly if libcheck is installed
7830 into some other prefix.
7832 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7835 Revert the pkg-config check for libcheck, since it pulls in the
7836 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7837 a proper solution, either from the check project, or something else.
7839 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7842 Use pkg-config to locate check.
7844 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7851 Add deprecation guards.
7853 * libs/gst/base/gstcollectpads.h:
7854 Don't document object (this is implicitly private).
7856 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7858 * gst/gststructure.c: (gst_structure_parse_value):
7859 When deserialising foo=bar without a type cast, check if it's a
7860 boolean before falling back to a string type, otherwise things like
7861 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7862 because the filtercaps end up having a signed=(string)true field,
7863 which causes problems later when intersection caps.
7865 * tests/check/gst/gststructure.c: (GST_START_TEST):
7866 Add a unit test for this.
7868 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7870 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7872 * libs/gst/controller/Makefile.am:
7873 * libs/gst/controller/gstcontroller.c:
7874 (gst_controlled_property_add_interpolation_control_source),
7875 (gst_controlled_property_new), (gst_controlled_property_free),
7876 (gst_controller_find_controlled_property),
7877 (gst_controller_new_valist), (gst_controller_new_list),
7878 (gst_controller_new), (gst_controller_remove_properties_valist),
7879 (gst_controller_remove_properties_list),
7880 (gst_controller_remove_properties),
7881 (gst_controller_set_property_disabled),
7882 (gst_controller_set_disabled), (gst_controller_set_control_source),
7883 (gst_controller_get_control_source), (gst_controller_get),
7884 (gst_controller_sync_values), (gst_controller_get_value_array),
7885 (_gst_controller_dispose), (gst_controller_get_type),
7886 (gst_controlled_property_set_interpolation_mode),
7887 (gst_controller_set), (gst_controller_set_from_list),
7888 (gst_controller_unset), (gst_controller_unset_all),
7889 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7890 * libs/gst/controller/gstcontroller.h:
7891 * libs/gst/controller/gstcontrollerprivate.h:
7892 * libs/gst/controller/gstcontrolsource.c:
7893 (gst_control_source_class_init), (gst_control_source_init),
7894 (gst_control_source_get_value),
7895 (gst_control_source_get_value_array), (gst_control_source_bind):
7896 * libs/gst/controller/gstcontrolsource.h:
7897 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7898 (gst_object_get_control_source):
7899 * libs/gst/controller/gstinterpolation.c:
7900 (gst_interpolation_control_source_find_control_point_node),
7901 (gst_interpolation_control_source_get_first_value),
7902 (_interpolate_none_get), (interpolate_none_get),
7903 (interpolate_none_get_boolean_value_array),
7904 (interpolate_none_get_enum_value_array),
7905 (interpolate_none_get_string_value_array),
7906 (_interpolate_trigger_get), (interpolate_trigger_get),
7907 (interpolate_trigger_get_boolean_value_array),
7908 (interpolate_trigger_get_enum_value_array),
7909 (interpolate_trigger_get_string_value_array):
7910 * libs/gst/controller/gstinterpolationcontrolsource.c:
7911 (gst_control_point_free), (gst_interpolation_control_source_reset),
7912 (gst_interpolation_control_source_new),
7913 (gst_interpolation_control_source_set_interpolation_mode),
7914 (gst_interpolation_control_source_bind),
7915 (gst_control_point_compare), (gst_control_point_find),
7916 (gst_interpolation_control_source_set_internal),
7917 (gst_interpolation_control_source_set),
7918 (gst_interpolation_control_source_set_from_list),
7919 (gst_interpolation_control_source_unset),
7920 (gst_interpolation_control_source_unset_all),
7921 (gst_interpolation_control_source_get_all),
7922 (gst_interpolation_control_source_get_count),
7923 (gst_interpolation_control_source_init),
7924 (gst_interpolation_control_source_finalize),
7925 (gst_interpolation_control_source_dispose),
7926 (gst_interpolation_control_source_class_init):
7927 * libs/gst/controller/gstinterpolationcontrolsource.h:
7928 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7929 API: Refactor GstController into the core controller which can take
7930 a GstControlSource for providing actual values for timestamps.
7931 Implement a interpolation control source and use this for backward
7932 compatibility, deprecate a bunch of functions that are now handled
7933 by GstControlSource or GstInterpolationControlSource.
7934 Make it possible to disable the controller completely or only for
7935 specific properties. Fixes #450711.
7936 * docs/libs/gstreamer-libs-docs.sgml:
7937 * docs/libs/gstreamer-libs-sections.txt:
7938 * docs/libs/gstreamer-libs.types:
7939 Add new functions and classes to the docs.
7940 * tests/check/libs/controller.c: (GST_START_TEST),
7941 (gst_controller_suite):
7942 * tests/examples/controller/audio-example.c: (main):
7943 Port unit test and example to the new API and add some new
7946 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7948 Patch by: Mark Nauwelaerts <manauw at skynet be>
7950 * plugins/elements/gstmultiqueue.c:
7951 (gst_multi_queue_get_internal_links), (apply_buffer),
7952 (single_queue_overrun_cb), (gst_single_queue_new):
7953 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7954 the pipeline layout can be tracked correctly. Fixes #453732.
7956 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7958 * docs/gst/Makefile.am:
7959 * docs/libs/Makefile.am:
7960 * docs/plugins/Makefile.am:
7961 Simplify --extra-dir as gtkdoc scans recursively.
7963 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7965 * tools/gst-launch.c: (main):
7966 When we got an error, there is no point in waiting for preroll when
7969 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7971 * plugins/elements/gsttee.c: (gst_tee_base_init),
7972 (gst_tee_request_new_pad), (gst_tee_release_pad),
7973 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7974 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7976 Be a lot smarter when deciding what srcpad to use for proxying
7977 the buffer_alloc. Also handle pad added/removed when doing so.
7979 Keep track of what pads we already pushed on in case we have pads
7980 added/removed while pushing. Fixes #374639
7982 * tests/check/Makefile.am:
7983 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7985 Added unit test for pad resync.
7987 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7991 Updated translations.
7993 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7995 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7999 Added new Finnish translation.
8001 2007-06-28 Wim Taymans <wim@fluendo.com>
8003 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8004 (single_queue_overrun_cb):
8005 When figuring out when a queue is filled, use our internal time estimate
8006 based on segments, just like check_full does.
8008 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8010 * gst/gstminiobject.c: (gst_mini_object_get_type):
8011 Remove 3 do-nothing methods.
8013 2007-06-27 Wim Taymans <wim@fluendo.com>
8015 Patch by: Tim Angus <tim at ngus dot net>
8017 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8018 (gst_capsfilter_set_property):
8019 Take a reference instead of a copy when setting "caps".
8020 Fix documentation to clarify this behaviour. Fixes #449414.
8022 2007-06-27 Stefan Kost <ensonic@users.sf.net>
8024 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8025 * gst/gstplugin.c: (gst_plugin_init):
8026 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8027 * gst/gstquery.c: (gst_query_get_type):
8028 * gst/gstregistry.c: (gst_registry_init):
8029 * gst/gsturi.c: (gst_uri_handler_base_init):
8030 Remove empty instance_init() functions to save relocs and lessen the
8031 noise. Remove some of the function prototypes that are doubled by
8034 2007-06-27 Wim Taymans <wim@fluendo.com>
8036 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8038 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8039 Add peer and direction in the XML serialisation of ghostpads.
8042 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8045 Preserve useful information, thanks Tim.
8047 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
8049 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8050 (gst_single_queue_flush), (apply_segment), (apply_buffer),
8051 (gst_single_queue_push_one), (gst_multi_queue_loop),
8052 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8053 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8054 (compute_high_id), (gst_single_queue_new):
8055 * plugins/elements/gstmultiqueue.h:
8056 Take the multiqueue lock when updating the fill level so we don't get
8059 After applying a buffer or event on the src pad segment, make sure to
8060 call gst_data_queue_limits_changed() to get the data queue to unblock
8061 and check the filled state again.
8063 Rework the not-linked pad handling so the logic is that not-linked
8064 pads can push as fast as they like, but only so they never get
8065 ahead of any linked pads.
8067 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8068 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8069 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8071 Add a test to check that not-linked pads always stay behind
8076 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
8078 * docs/random/release:
8079 Some updates to the release procedure.
8081 2007-06-26 Stefan Kost <ensonic@users.sf.net>
8083 * gst/gstelementfactory.c: (__gst_element_details_clear):
8084 Microoptimization that saves stunning 80 bytes.
8086 2007-06-25 Stefan Kost <ensonic@users.sf.net>
8088 * docs/plugins/gstreamer-plugins.args:
8089 * docs/plugins/inspect/plugin-coreelements.xml:
8090 * docs/plugins/inspect/plugin-coreindexers.xml:
8091 Update docs with caps info.
8093 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8096 Updated Italian translation.
8098 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8102 Update Vietnamese translations.
8104 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8106 * libs/gst/base/gstbasesink.c:
8107 Remove unused signal enum.
8109 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8111 * docs/gst/gstreamer-sections.txt:
8113 * gst/gstutils.c: (gst_type_register_static_full):
8114 Beef up and include the docs for gst_type_register_static_full and
8115 gst_element_class_set_details_simple and add the API keyword
8118 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
8120 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8121 (update_time_level), (gst_single_queue_push_one),
8122 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8123 (single_queue_overrun_cb), (single_queue_underrun_cb),
8124 (single_queue_check_full):
8125 Fix setting max-* properties after adding queues.
8126 Use IS_FILLED for checking visible items.
8127 Signal overrun if multiple queues overrun.
8128 Add extra debug output.
8129 Patch by: Wim Taymans <wim@fluendo.com>
8131 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8133 * gst/gstelement.c: (gst_element_class_set_details_simple):
8135 * gst/gstutils.c: (gst_type_register_static_full):
8137 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8138 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8139 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8140 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8141 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8142 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8143 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8144 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8145 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8146 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8147 (apply_buffer), (gst_queue_chain):
8148 * plugins/elements/gsttee.c: (gst_tee_base_init):
8149 * plugins/elements/gsttypefindelement.c:
8150 (gst_type_find_element_base_init),
8151 (gst_type_find_element_class_init):
8152 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8153 API: add gst_type_register_static_full
8154 API: add gst_element_class_set_details_simple
8156 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8158 * docs/pwg/advanced-types.xml:
8159 Fix typo in iana.org URI.
8161 2007-06-19 Andy Wingo <wingo@pobox.com>
8163 * tests/check/pipelines/simple-launch-lines.c
8164 (test_state_change_returns): Enable pull-mode tests now that
8165 basesink has been fixed.
8167 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8168 Changed from gst_base_sink_is_prerolled, reversing the sense of
8169 the return value. Returns FALSE also if the sink is in pull mode,
8170 in which case it needs no preroll.
8171 (gst_base_sink_query, gst_base_sink_change_state): Update for
8172 needs_preroll change.
8173 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8174 chaining up, in which we return SUCCESS directly if we activated
8175 in pull mode instead of ASYNC. Involves countering an async_start
8176 message sent before chaining up; not sure if this is correct, in
8177 an ideal world we only send async-start when activating in push
8180 * tests/check/pipelines/simple-launch-lines.c
8181 (test_state_change_returns): New test, partially disabled until
8184 2007-06-19 Wim Taymans <wim@fluendo.com>
8186 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8187 (gst_multi_queue_sink_event):
8190 2007-06-19 Wim Taymans <wim@fluendo.com>
8192 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8193 (gst_bin_change_state_func), (bin_push_state_continue),
8194 (bin_handle_async_start), (bin_handle_async_done),
8195 (gst_bin_handle_message_func):
8196 Move the common code for posting state-change messages into
8198 Broadcast the state signal after we posted the messages.
8199 Mark the bin as busy when it's doing a state-change.
8200 Make sure async-start/done messages don't interfere with the bin's
8201 state when it's busy.
8202 After the state change, let the bin check which elements completed the
8203 state change while it was busy so that it can update its state.
8205 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8207 * docs/random/release:
8208 Add a note about updating the doap file to the release checklist
8210 2007-06-18 Wim Taymans <wim@fluendo.com>
8212 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8213 (gst_single_queue_push_one), (gst_multi_queue_chain),
8214 (gst_multi_queue_sink_event):
8215 Make sure we don't reference the buffer/event after we have given away
8216 ownership in the queue.
8218 2007-06-18 Wim Taymans <wim@fluendo.com>
8220 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8221 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8222 Update queue state _after_ adding the item in the queue because else we
8223 could end up being full without the element added yet.
8225 2007-06-18 Wim Taymans <wim@fluendo.com>
8227 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8228 (gst_bin_remove_func), (gst_bin_get_state_func),
8229 (gst_bin_element_set_state), (gst_bin_continue_func),
8230 (bin_push_state_continue), (bin_handle_async_start),
8231 (bin_handle_async_done), (gst_bin_handle_message_func):
8233 Immediatly commit the toplevel bin state when receiving an async-done
8234 message. This enables us to avoid spawning a thread to commit the state
8235 in some common cases and it also avoids some races.
8236 Avoid spawning a state thread when adding/removing async elements to a
8237 toplevel bin. Instead we immediatly update the bin state.
8238 Get rid of iterating all the children when getting the state in the bin
8239 because it is now always up-to-date.
8240 Fix bug where locked elements would always return _SUCCESS even it they
8241 returned NO_PREROLL before being locked.
8242 Fix the order of the state_change, async-start/done messages that was
8243 sometimes incorrect.
8244 Mark the state_dirty field as deprecated, we don't need it anymore as we
8245 are always up-to-date.
8247 * gst/gstelement.c: (gst_element_get_state_func),
8248 (gst_element_continue_state):
8249 Small debug inprovements.
8250 Return the previous element state return when nothing is pending instead
8251 of blindly returning SUCCESS.
8253 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8255 Add a whole bunch of new testcases.
8257 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8261 Update translations.
8263 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8266 Fix typo in the docs.
8268 2007-06-15 Wim Taymans <wim@fluendo.com>
8270 * docs/libs/gstreamer-libs-sections.txt:
8271 Add docs for new methods.
8273 2007-06-15 Wim Taymans <wim@fluendo.com>
8275 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8276 (gst_multi_queue_item_new):
8277 Don't use GSlice because we don't depend on >= 2.10 yet.
8279 2007-06-15 Wim Taymans <wim@fluendo.com>
8281 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8282 (update_time_level), (apply_segment), (apply_buffer),
8283 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8284 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8285 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8286 (single_queue_underrun_cb), (single_queue_check_full):
8287 Remove debug printf.
8289 2007-06-15 Wim Taymans <wim@fluendo.com>
8291 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8292 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8293 (gst_data_queue_set_flushing), (gst_data_queue_push),
8294 (gst_data_queue_pop), (gst_data_queue_drop_head),
8295 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8296 * libs/gst/base/gstdataqueue.h:
8298 Added methods to get the current levels and to inform the queue that the
8299 'full' limits changed.
8301 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8302 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8303 (gst_single_queue_flush), (update_time_level), (apply_segment),
8304 (apply_buffer), (gst_single_queue_push_one),
8305 (gst_multi_queue_item_steal_object),
8306 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8307 (gst_multi_queue_loop), (gst_multi_queue_chain),
8308 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8309 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8310 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8311 (single_queue_underrun_cb), (single_queue_check_full),
8312 (gst_single_queue_new):
8313 Keep track of time in the queue by measuring the difference between
8314 running_time on input and output. This gives more accurate results and
8315 can compensate for segments correctly.
8316 Make a queue by default only 5 buffers deep. We will now increase the
8317 buffer size depending on the filledness of the other queues.
8318 Factor out commong flush code.
8319 Make sure we don't add additional refcounts to buffers when we can avoid
8321 Propagate GstFlowReturn differently.
8322 Use GSlice for intermediate GstMultiQueueItems.
8324 Resize queues on over and underruns based on filled level of other
8326 When checking if the queue is filled, prefer to measure in time if we
8327 can and fall back to bytes when no time is known.
8329 * plugins/elements/gstqueue.c:
8332 2007-06-15 Wim Taymans <wim@fluendo.com>
8334 * libs/gst/base/gstbasetransform.c:
8335 (gst_base_transform_sink_event):
8336 Work around the brokenness of the event vmethod in basetransform. Prefer
8337 to return TRUE when the subclass returned FALSE (meaning don't forward
8340 * libs/gst/base/gstbasetransform.h:
8343 2007-06-15 Wim Taymans <wim@fluendo.com>
8345 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8346 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8347 (gst_base_src_default_query), (gst_base_src_get_range),
8348 (gst_base_src_start):
8349 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8352 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8354 * docs/pwg/advanced-types.xml:
8355 Added more formats to caps table.
8357 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8359 * tools/gst-launch.c: (main):
8360 Remove crufy code. GOption does not need this workaround.
8362 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8364 * libs/gst/controller/gstcontroller.c:
8365 (gst_controlled_property_set_interpolation_mode):
8366 Fix wrong getter for enums in controller.
8368 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8370 * libs/gst/check/gstcheck.c: (gst_check_init):
8371 Intercept criticals and warnings in the Gst-Phonon log domain, so
8372 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8375 2007-06-14 Edward Hervey <edward@fluendo.com>
8377 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8378 Since this file doesn't include "gst.h" it will not go through the
8379 macros that disable GST_LOG if debugging was disabled.
8381 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8383 * libs/gst/check/Makefile.am:
8384 * libs/gst/check/gstcheck.h:
8385 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8386 * pkgconfig/gstreamer-check.pc.in:
8387 Ugly 'fix' for the controller unit test on the p5 bot: in
8388 fail_unless_equals_float() check whether the values are 'almost
8389 equal' by allowing a small absolute error, which should be good
8390 enough for our use cases (normal numbers and values close to 0).
8391 Proper fixage left to floating point arithmetic aficionados.
8393 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8395 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8396 (gst_base_sink_render_object), (gst_base_sink_get_position):
8397 Add two breaks thats where missing.
8399 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8401 * docs/libs/gstreamer-libs-sections.txt:
8402 * libs/gst/check/gstcheck.h:
8403 API: add fail_unless_equals_float() and assert_equals_float().
8404 Add documentation for some of the macros.
8406 * tests/check/libs/controller.c: (GST_START_TEST):
8407 Use newly-added asserts.
8409 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8411 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8412 Show the caps change in the log to help spotting the case of not
8413 exactly matching caps.
8415 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8417 * docs/pwg/building-boiler.xml:
8418 Fix typos, spotted by Thijs Vermeir (#447190).
8420 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8422 * docs/plugins/tmpl/.cvsignore:
8423 Ignore file to keep the buildbots happy
8425 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8427 * docs/plugins/Makefile.am:
8428 * docs/plugins/gstreamer-plugins-docs.sgml:
8429 * docs/plugins/gstreamer-plugins-sections.txt:
8430 Pull fdsink into the docs too.
8432 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8434 * libs/gst/controller/gstinterpolation.c:
8435 Actually use the new functions with min/max checks for the trigger and
8436 none interpolation modes for get() and get_value_array() instead of
8439 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8441 * libs/gst/controller/gstcontroller.c:
8442 (gst_controlled_property_free):
8443 Unset the minimum and maximum GValues when freeing the corresponding
8444 GstControllerProperty struct.
8446 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8448 * libs/gst/controller/gstcontroller.c:
8449 (gst_controlled_property_new):
8450 * libs/gst/controller/gstcontrollerprivate.h:
8451 * libs/gst/controller/gstinterpolation.c:
8452 (gst_controlled_property_find_control_point_node),
8453 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8454 (interpolate_none_get_string_value_array),
8455 (interpolate_trigger_get),
8456 (interpolate_trigger_get_enum_value_array),
8457 (interpolate_trigger_get_string_value_array):
8458 Protect against values larger or smaller than the minimum or maximum
8459 allowed value for the property when using values that can be compared.
8461 Optimize trigger interpolator a bit by taking the last requested value
8462 into account instead of always looping through the complete list.
8464 Fix coding style a bit, everywhere else we use "return foo" instead
8467 * tests/check/libs/controller.c: (GST_START_TEST),
8468 (gst_controller_suite):
8469 Add unit test for the protection against too large or too small
8472 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8474 * docs/random/slomo/controller.txt:
8475 Add some thoughts about the future of the controller.
8477 2007-06-08 Wim Taymans <wim@fluendo.com>
8479 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8480 Don't overflow in retimestamping code.
8482 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8484 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8485 Use gst_util_guint64_to_gdouble for conversions.
8486 * win32/common/libgstreamer.def:
8487 Add new exported functions.
8489 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8492 Small docs addition.
8494 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8497 Remove that test line again.
8499 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8502 Test commit mail sending.
8504 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8507 Fix typo and test commit mail sending.
8509 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8511 * tests/examples/controller/audio-example.c:
8512 Improve comment and test commit mail sending.
8514 2007-06-07 Wim Taymans <wim@fluendo.com>
8516 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8517 (gst_bin_remove_func), (gst_bin_element_set_state),
8518 (bin_handle_async_start), (bin_handle_async_done),
8519 (gst_bin_handle_message_func):
8520 Add helper function to find messages.
8521 Generate the async-done messages together with the state change
8523 Small cleanups in handling toplevel bins.
8525 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8527 * libs/gst/base/gstdataqueue.c:
8528 * libs/gst/base/gstdataqueue.h:
8529 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8530 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8531 (gst_multi_queue_sink_event):
8532 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8533 Fix multiqueue leaking buffers and events when downstream or the
8534 queue are flushing. Make refcounting assumptions explicit and
8535 document them (shouldn't break existing code that uses it other than
8536 maybe leak miniobjects, but that already happens anyway). Add unit
8537 test for the most common flushing case. Fixes #423700.
8539 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8541 * libs/gst/controller/gstcontroller.c:
8542 Clarify docs: The get_all, get_value_array(s) functions
8543 don't modify the GObject properties.
8545 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8547 * libs/gst/controller/gstcontroller.c:
8548 (gst_controlled_property_set_interpolation_mode),
8549 (gst_controlled_property_prepend_default),
8550 (gst_controlled_property_new), (gst_controller_set_unlocked),
8551 (gst_controller_set), (gst_controller_set_from_list),
8552 (gst_controller_unset), (gst_controller_unset_all):
8553 * libs/gst/controller/gstcontrollerprivate.h:
8554 * libs/gst/controller/gstinterpolation.c:
8555 Factor out the 'set' logic into gst_controller_set_unlocked for the
8556 gst_controller_set and gst_controller_set_from_list functions.
8558 To make life of the interpolators easier always add a control point
8559 at timestamp zero with the default value.
8561 In the linear interpolator make things more obvious by better variable
8564 Implement cubic interpolation mode (by using a natural cubic spline)
8565 and map the quadratic interpolation mode to this too (as quadratic
8566 doesn't make much sense, see discussion on the list).
8568 * tests/check/libs/controller.c: (GST_START_TEST),
8569 (gst_controller_suite):
8570 Add unit test for the cubic interpolation mode and check everywhere
8571 if the interpolation mode could be set as expected.
8573 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8575 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8576 Don't use GLib-2.10 functions, we still depend on
8577 GLib-how-old-is-it-again-2.8.
8579 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8581 * docs/gst/gstreamer-sections.txt:
8585 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8586 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8587 (_gst_param_fraction_values_cmp),
8588 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8589 * gst/gstparamspecs.h:
8591 * tests/check/Makefile.am:
8592 * tests/check/gst/.cvsignore:
8593 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8594 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8595 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8596 (GST_START_TEST), (gst_param_spec_suite):
8597 API: add GstParamSpecFraction, so elements can have fraction
8598 properties without lots of painful string parsing (#444648).
8600 2007-06-05 Wim Taymans <wim@fluendo.com>
8602 * gst/gstobject.c: (gst_object_class_init):
8603 Fix signal signature.
8606 Add small clarification in the api docs.
8608 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8609 States are protected with object lock.
8611 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8614 I should probably be listed as an author by now.
8616 * docs/random/release:
8617 Update the release doc
8619 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8622 Make docs for gst_value_compare() mention return enums that
8625 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8630 === release 0.10.13 ===
8632 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8635 releasing 0.10.13, "With or without you"
8637 2007-05-25 Wim Taymans <wim@fluendo.com>
8639 * gst/gstbin.c: (bin_handle_async_done):
8640 Make sure that the child bin stops after completing the async state
8641 change so that the parent can continue the state change to PLAYING.
8644 2007-05-25 Wim Taymans <wim@fluendo.com>
8646 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8647 (unref_data), (gst_collect_pads_remove_pad),
8648 (gst_collect_pads_check_pads):
8649 Use additional refcounting to avoid crashes when dynamically adding and
8650 removing pads. Fixes #420206.
8652 2007-05-24 Wim Taymans <wim@fluendo.com>
8654 * tools/gst-launch.c: (event_loop):
8655 When buffering goes from a two digit to a single digit number, make sure
8656 to remove the old second digit by writing a blank over it.
8658 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8660 * libs/gst/base/gstdataqueue.c:
8661 Eliminate tabs and trailing comma in enum list; fix some typos.
8663 2007-05-24 Wim Taymans <wim@fluendo.com>
8665 * tests/check/gst/gstbin.c: (GST_START_TEST):
8666 Allow refcount of 3 and 4 because some state thread might still be busy
8669 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8671 * plugins/elements/Makefile.am:
8672 * plugins/elements/gstmultiqueue.h:
8673 * plugins/elements/gstqueue.h:
8674 These are not installed headers, no need for padding.
8676 2007-05-24 Wim Taymans <wim@fluendo.com>
8678 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8679 (gst_bin_continue_func):
8680 Enable latency for next release.
8681 Restore STATE_LOCK around recalc_state that was left out during the
8682 rewrite and could result in racy behaviour when _get_state and
8683 recalc_state are run concurrently. See #440463.
8685 2007-05-23 Wim Taymans <wim@fluendo.com>
8687 * tests/check/gst/gstsystemclock.c: (store_callback),
8689 Improve test_async_order to also work when both timers are already
8690 expired when we get scheduled to check it.
8692 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8694 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8695 (gst_bin_set_property), (gst_bin_get_property),
8696 (gst_bin_remove_func), (gst_bin_handle_message_func):
8698 'private' is a c++ keyword, let's not use that in header files,
8699 otherwise c++ compilers will throw a tantrum.
8701 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8703 * plugins/elements/gstelements.c:
8704 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8705 (gst_file_sink_get_current_offset):
8706 * plugins/indexers/gstindexers.c: (plugin_init):
8707 Use #ifdef for HAVE_XYZ for consistency.
8709 * tests/check/Makefile.am:
8710 * tests/check/elements/.cvsignore:
8711 * tests/check/elements/filesink.c: (setup_filesink),
8712 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8713 Add some unit tests for filesink.
8715 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8717 Patch by: Mark Nauwelaerts <manauw at skynet be>
8719 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8720 (gst_file_sink_query), (gst_file_sink_do_seek),
8721 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8722 * plugins/elements/gstfilesink.h:
8723 Fix position reporting; rename data_written member to current_pos to
8724 reflect its real meaning (fixes #412648).
8726 2007-05-22 Edward Hervey <edward@fluendo.com>
8728 * docs/gst/gstreamer-sections.txt:
8729 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8730 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8731 (gst_bin_remove_func), (gst_bin_handle_message_func):
8733 Add a property for bins that handle the state change of their childs.
8736 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8738 * libs/gst/controller/gstinterpolation.c:
8739 Use an array of the correct type when using _get_value_array with
8740 linear interpolation.
8742 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8744 * gst/gstelement.c (gst_element_requires_clock,
8745 gst_element_provides_clock, gst_element_request_pad,
8746 gst_element_class_set_details, gst_element_class_set_details_simple,
8747 gst_element_default_send_event, gst_element_abort_state,
8748 gst_element_continue_state, gst_element_set_state,
8749 gst_element_set_state_func, iterator_activate_fold_with_resync):
8750 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8751 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8752 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8753 gst_pad_get_range, gst_pad_pull_range):
8754 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8755 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8756 GstPadActivateModeFunction, GstPadChainFunction,
8757 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8758 GstPadFixateCapsFunction, GstPadTemplate):
8759 * gst/gstpipeline.c (gst_pipeline_change_state,
8760 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8761 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8762 gst_pipeline_get_delay):
8763 Whitespace and docs fixes.
8765 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8767 * libs/gst/controller/gstinterpolation.c:
8768 (interpolate_trigger_get_enum_value_array),
8769 (interpolate_trigger_get_string_value_array):
8770 Add support for retrieving value arrays when using the trigger
8773 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8775 * libs/gst/controller/gstcontroller.c:
8776 (gst_controller_get_value_array):
8777 * libs/gst/controller/gstcontroller.h:
8778 Clarify the docs of gst_controller_get_value_array(): The array where
8779 the values should be written to must be allocated as there seems to be
8780 no way to get the size of a random GType. This doesn't change any
8781 behaviour. Also fix some typos all over the place and remove an unused,
8782 commented function that is not necessary as g_object_set() could be
8784 * tests/check/libs/controller.c: (GST_START_TEST),
8785 (gst_controller_suite):
8786 Add unit test for gst_controller_get_value_array().
8788 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8790 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8792 Disable part of the gst_buffer_try_new_and_alloc test, because
8793 it can happily succeed on 64-bit systems where there's more address
8796 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8798 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8799 Add unit test for the improved caps checking from bug #421543.
8801 2007-05-21 Wim Taymans <wim@fluendo.com>
8803 * docs/design/part-synchronisation.txt:
8806 * gst/gstbin.c: (gst_bin_query):
8807 * plugins/elements/gstqueue.c: (apply_segment):
8813 2007-05-21 Wim Taymans <wim@fluendo.com>
8815 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8816 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8817 (gst_pad_configure_src):
8818 Added simple version of improved caps checking. It was previously
8819 assumed that a setcaps function would check the validity of the caps but
8820 people prefer us to check caps against the template automatically.
8823 2007-05-21 Wim Taymans <wim@fluendo.com>
8825 * libs/gst/base/gstbasetransform.h:
8826 Fix macro for locking/unlocking the transform lock.
8828 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8830 * docs/plugins/tmpl/.cvsignore:
8833 2007-05-18 Edward Hervey <edward@fluendo.com>
8835 * plugins/elements/gstqueue.c: (gst_queue_loop):
8836 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8837 for the subtle art of warning a potentially blocking thread that it
8838 should check the source pad return value, and relay the information
8841 2007-05-18 Edward Hervey <edward@fluendo.com>
8843 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8844 Release the queue lock !
8846 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8848 * docs/libs/gstreamer-libs-sections.txt:
8849 Add the two new controller functions to the appropiate places.
8851 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8853 reviewed by: Stefan Kost <ensonic@users.sf.net>
8855 * libs/gst/controller/gstcontroller.c:
8856 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8857 (_gst_controller_get_property), (_gst_controller_set_property),
8858 (_gst_controller_init), (_gst_controller_class_init):
8859 * libs/gst/controller/gstcontroller.h:
8860 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8861 (gst_object_get_control_rate), (gst_object_set_control_rate):
8862 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8863 Add API that provides sync suggestion timestamps for elements that
8864 call gst_object_sync_values() from which those elements can subdivide
8865 their processing loop to get the best results for the controlled
8866 properties. For now it just suggests last_sync + control_rate as
8867 new timestamp but this will be improved in the future.
8869 While doing that change the control-rate property to a GstClockTime
8870 from guint and change it's meaning from samples to nanoseconds as
8871 the GstController doesn't know anything about sampling rate. Strictly
8872 speaking this breaks ABI but as the control-rate property didn't do
8873 anything in the past and as such couldn't be used this should be no
8876 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8878 reviewed by: Stefan Kost <ensonic@users.sf.net>
8880 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8881 (gst_controller_unset_all):
8882 * libs/gst/controller/gstcontrollerprivate.h:
8883 * libs/gst/controller/gstinterpolation.c:
8884 (gst_controlled_property_find_control_point_node):
8885 Save last synced value from the list to continue searching from there
8886 in future syncs. This speeds everything up a bit.
8888 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8890 reviewed by: Stefan Kost <ensonic@users.sf.net>
8892 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8893 (gst_control_point_find), (gst_controlled_property_new),
8894 (gst_control_point_free), (gst_controlled_property_free),
8895 (gst_controller_set), (gst_controller_set_from_list),
8896 (gst_controller_unset), (gst_controller_unset_all),
8897 (gst_controller_sync_values):
8898 * libs/gst/controller/gstcontroller.h:
8899 * libs/gst/controller/gstcontrollerprivate.h:
8900 * libs/gst/controller/gstinterpolation.c:
8901 (gst_controlled_property_find_control_point_node),
8902 (interpolate_none_get), (interpolate_trigger_get):
8903 Add a new private GstControlPoint struct which "inherits" from
8904 GstTimedValue to allow different interpolators to store internal
8905 values next to each control point. From the outside everything is
8906 still a GstControlPoint so we don't loose binary compatibility.
8907 Also fixup all the GValue handling to not leak GValues or list nodes.
8908 * tests/check/libs/controller.c: (GST_START_TEST):
8909 Free the list nodes and GValues in the controller_misc test.
8911 2007-05-17 Edward Hervey <edward@fluendo.com>
8916 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8918 * gst/gstplugin.c: (gst_plugin_load_file):
8919 If we fail to load a plugin because of unresolved symbols or missing
8920 libraries and spew a warning to stderr, we may just as well mention
8921 which plugin it was that failed to load.
8923 2007-05-13 David Schleef <ds@schleef.org>
8925 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8926 handles the case when ENABLE_GTK_DOC is false, and installs
8927 the prebuilt documentation. So gtk-doc subdirs are
8928 unconditionally enabled. Fixes: #349099.
8930 2007-05-13 David Schleef <ds@schleef.org>
8932 * gst/gstutils.h: Reword some documentation.
8934 2007-05-12 David Schleef <ds@schleef.org>
8936 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8937 do anything with the passed "module" parameter, so remove it.
8938 Allows removal of additional vestigal code.
8940 2007-05-12 David Schleef <ds@schleef.org>
8943 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8944 Switch to using g_stat() because it's more portable.
8946 2007-05-12 David Schleef <ds@schleef.org>
8949 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8950 parsing for embedded systems.
8951 * gst/gstelementfactory.c:
8952 Allow gst_element_register() to be called with plugin==NULL.
8953 Did nobody notice that static elements were broken?
8955 2007-05-12 Wim Taymans <wim@fluendo.com>
8957 * tools/gst-launch.c: (event_loop):
8958 Give more interesting info when buffering starts and stops.
8959 Fix case where buffering starts but we fail to update the buffering flag
8960 because the target state is not PLAYING.
8962 2007-05-12 Wim Taymans <wim@fluendo.com>
8964 * plugins/elements/gstqueue.c: (gst_queue_init),
8965 (gst_queue_finalize), (update_time_level), (apply_segment),
8966 (apply_buffer), (gst_queue_locked_flush),
8967 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8968 (gst_queue_handle_sink_event), (gst_queue_chain),
8969 (gst_queue_push_one), (gst_queue_loop):
8970 * plugins/elements/gstqueue.h:
8971 Refactor an cleanup queue a bit.
8972 Do better time level calculations that also work when the srcpad is not
8974 Remove some unneeded debug lines.
8976 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8977 Added testcase for time level measurement.
8978 Try to make some stuff more racefree.
8980 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8982 * gst/gsturi.c: (gst_element_make_from_uri):
8983 Don't leak plugin feature.
8985 * tests/check/Makefile.am:
8986 * tests/check/gst/.cvsignore:
8987 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8988 Add brain-dead unit test.
8990 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8992 Patch by: Jeroen Wouters <woutersj at gmail com>
8994 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8995 Treat protocol strings in a case-insensitive way (#437563).
8997 2007-05-11 Michael Smith <msmith@fluendo.com>
8999 * gst/gstplugin.c: (gst_plugin_load_file):
9000 * gst/gstregistry.c: (gst_registry_scan_path_level):
9001 Don't print a g_warning for any failure to load a shared object.
9002 Instead, push this down into gstplugin.c, and warn _only_ if we
9003 failed to open the module (i.e. failure to link).
9004 Avoids warnings on normal, working, non-plugin .so files.
9006 2007-05-11 Stefan Kost <ensonic@users.sf.net>
9008 * gst/gstplugin.c (gst_plugin_load_file):
9009 * gst/gstregistry.c (GST_CAT_DEFAULT,
9010 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9011 Print a g_warning if there was an error when loading a plugins during
9012 registry scan. The shuld help beginners starting with gst-plugin
9015 2007-05-10 Wim Taymans <wim@fluendo.com>
9017 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9018 (update_time_level), (gst_queue_locked_flush),
9019 (gst_queue_handle_sink_event), (gst_queue_chain),
9020 (gst_queue_push_one), (gst_queue_loop):
9021 * plugins/elements/gstqueue.h:
9022 Be smarter when calculating the current amount of data in the queue by
9023 measuring the difference between start and end timestamps (in running
9024 time) inside the queue. Fixes #432876.
9025 API: GstQueue::pushing to notify elements that we are pushing data again
9026 since the running signal is rather broken for this purpose.
9028 2007-05-10 Stefan Kost <ensonic@users.sf.net>
9030 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9031 gst_queue_base_init, gst_queue_init):
9034 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
9036 * win32/common/libgstreamer.def:
9037 Add new exported functions.
9038 * win32/vs6/grammar.dsp:
9039 Use grammar pre-generated files.
9041 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9043 Based on patch by: Peter Kjellerstedt <pkj at axis com>
9046 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9048 * gst/gstutils.c: (gst_parse_bin_from_description):
9050 Maintain API and ABI when --disable-parse is used. Now that
9051 we have an appropriate error code, we can just return NULL and the
9052 appropriate error when gst_parse_launch() is used despite it having
9053 been disabled (#342564).
9055 * tests/check/Makefile.am:
9056 * tests/check/pipelines/.cvsignore:
9057 * tests/check/pipelines/parse-disabled.c:
9058 Make sure these functions exist and return NULL plus a GError when
9059 --disable-parse is used.
9061 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
9063 * tests/benchmarks/complexity.c: (main):
9064 * tests/benchmarks/mass-elements.c: (main):
9065 Set a good example and don't leak messages.
9067 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9069 * docs/gst/Makefile.am:
9070 * docs/libs/Makefile.am:
9071 Correct fixxrefs options.
9073 * docs/plugins/Makefile.am:
9074 * docs/plugins/gstreamer-plugins-docs.sgml:
9075 * docs/plugins/gstreamer-plugins-sections.txt:
9076 * plugins/elements/Makefile.am:
9077 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9078 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9079 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9080 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9081 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9082 _GstCapsFilterClass, trans_class):
9083 * plugins/elements/gstelements.c (name, rank, type, _elements):
9084 * plugins/elements/gstidentity.c
9085 (gst_identity_check_imperfect_timestamp,
9086 gst_identity_check_imperfect_offset):
9087 Document capsfilter and add doc-blurb to identity.
9089 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
9091 * libs/gst/controller/gstcontroller.c:
9092 (gst_controlled_property_set_interpolation_mode):
9093 * libs/gst/controller/gstinterpolation.c:
9094 Don't crash if someone tries to set an interpolation mode that
9095 is invalid or that isn't supported yet. Fixes #422295.
9097 * tests/check/libs/controller.c: (GST_START_TEST),
9098 (gst_controller_suite):
9099 Add a test case for the above.
9101 2007-05-03 Edward Hervey <edward@fluendo.com>
9103 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9104 Properly set the last_stop position on GstSegment. This will only happen
9105 if there is a buffer to push out.
9107 2007-05-03 Wim Taymans <wim@fluendo.com>
9109 * libs/gst/base/gstbasetransform.c:
9110 (gst_base_transform_buffer_alloc):
9111 always_in_place does not mean that the sink and source caps are the
9112 same! Make sure we don't blindly proxy the buffer_alloc in this case.
9114 2007-05-03 Wim Taymans <wim@fluendo.com>
9116 * docs/libs/gstreamer-libs-sections.txt:
9117 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9118 (gst_base_src_default_query), (gst_base_src_get_range):
9119 * libs/gst/base/gstbasesrc.h:
9120 API: gst_base_src_query_latency(). Added method so that subclasses can
9121 easily get the latency values of the base source class.
9123 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
9125 * tools/gst-inspect.c (print_implementation_info):
9128 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9130 * tools/Makefile.am:
9131 * tools/gst-launch.1.in:
9132 Don't create a customised man page based on the host architecture,
9133 describe the default registry path generically. That way the man
9134 page is the same for all architectures and packagers have one
9135 multilib issue less to deal with. Fixes #434926.
9137 2007-05-02 Wim Taymans <wim@fluendo.com>
9140 Fix documentation as spotted by rg on IRC.
9142 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9145 Improve docs for gst_element_{link,unlink}.
9147 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9149 * docs/design/part-events.txt:
9150 * docs/design/part-overview.txt:
9154 * libs/gst/base/gstbasesink.c:
9155 Typo fixes; minor docs addition.
9157 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9159 * docs/gst/gstreamer-sections.txt:
9160 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9161 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9163 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9164 or src that supports a given URI protocol exists.
9166 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9168 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9169 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9170 Set the location to NULL if "file://" is set as URI. Otherwise
9171 some random previous URI would still be set if "file://" is
9172 set on an already used filesink/filesrc.
9174 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9176 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9177 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9178 Special case the "file://" URI as as this is used by some
9179 applications to test with gst_element_make_from_uri if there's
9180 an element that supports the URI protocol.
9181 Also move the g_path_is_absolute() check for the location part
9182 of the URI to also check this for "file://localhost/bla" URIs.
9184 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9186 * docs/gst/gstreamer-sections.txt:
9187 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9189 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9191 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9193 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9195 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9196 (gst_registry_binary_load_pad_template),
9197 (gst_registry_binary_load_plugin),
9198 (gst_registry_binary_read_cache):
9199 * gst/gstregistrybinary.h:
9200 Implement no-mmap alternative for registry reading. Do code cleanups.
9201 Add more comments about avoiding strdups for all text data. Comments
9204 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9206 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9207 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9208 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9209 Comment structs and reformat to fix the build (that stuff should go
9210 into a priv. header).
9212 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9214 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9215 (gst_registry_binary_load_feature):
9216 * gst/gstregistrybinary.h:
9217 Refactor so that we can implement multiple features. Add support for
9218 TypeFindFactory features.
9220 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9222 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9225 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9227 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9229 * gst/gstbin.c: (gst_bin_element_set_state),
9230 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9231 (bin_handle_async_done), (gst_bin_handle_message_func):
9232 Fix build with --gst-disable-gst-debug
9234 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9236 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9237 Make sure streaming has finished before calling the ::stop() vfunc,
9238 since that vfunc might clear state which is being used in the
9239 streaming thread. This fixes a race that caused crashes in
9240 audioresample when shutting down a pipeline (#420106).
9242 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9244 * docs/gst/gstreamer-sections.txt:
9245 That was one byte missing.
9247 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9250 * docs/gst/gstreamer-sections.txt:
9252 * gst/gstconfig.h.in:
9253 * gst/gstobject.c: (gst_object_class_init),
9254 (gst_signal_object_class_init):
9256 2nd attempt to have a xml-less build as a joined effort of #413123
9259 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9261 * docs/design/draft-tagreading.txt:
9262 Added open issues/thoughts to draft.
9264 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9266 * gst/parse/grammar.tab.pre.c:
9267 * gst/parse/grammar.tab.pre.h:
9268 * gst/parse/lex._gst_parse_yy.pre.c:
9269 Update the prebuild parser sources.
9271 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9273 * gst/parse/Makefile.am:
9274 And now fix the building of the flex sources. Now everything should
9277 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9279 * gst/parse/Makefile.am:
9280 Now hopefully fix the build failures by setting proper rule
9281 dependencies and moving instead of copying.
9283 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9285 * tests/benchmarks/complexity.gnuplot:
9286 * tests/benchmarks/complexity.scm:
9287 * tests/benchmarks/mass-elements.gnuplot:
9288 * tests/benchmarks/mass-elements.scm:
9289 Total licensification.
9291 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9293 * gst/parse/Makefile.am:
9294 Fix the build by correcting the rule that gave wrong files to flex.
9296 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9298 * tests/benchmarks/complexity.c:
9299 * tests/benchmarks/mass-elements.c:
9300 Change licence to LGPL as granted by Benjamin and Andy.
9302 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9304 * gst/parse/Makefile.am:
9305 Add correct grammar.tab.h dependency if compiling without new enough
9306 flex. Fixes #431150.
9308 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9310 * gst/parse/Makefile.am:
9311 Fix typo and use outdated sources if the flex/bison sources are newer
9312 than the pregenerated ones but flex is too old. Print a warning in
9313 that case. This should fix the build on the build bot.
9315 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9317 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9318 * gst/parse/Makefile.am:
9319 * gst/parse/grammar.y:
9320 * gst/parse/parse.l:
9321 Make the parser reentrant and recursively callable. This requires flex
9322 >= 2.5.31, for older versions pregenerated sources are used as we
9323 can't bump the build dependency. Finally fixes #349180.
9325 * gst/gstparse.c: (gst_parse_launch):
9326 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9329 * docs/gst/Makefile.am:
9330 * docs/gst/Makefile.am:
9331 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9332 (__gst_parse_strfree), (__gst_parse_link_new),
9333 (__gst_parse_link_free), (__gst_parse_chain_new),
9334 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9335 (gst_parse_element_set), (gst_parse_free_link),
9336 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9337 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9338 (_gst_parse_launch):
9339 * gst/parse/grammar.tab.pre.h:
9340 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9341 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9342 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9343 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9344 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9345 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9346 (_gst_parse_yypop_buffer_state),
9347 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9348 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9349 (yy_fatal_error), (_gst_parse_yyget_extra),
9350 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9351 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9352 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9353 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9354 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9355 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9356 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9357 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9358 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9359 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9360 (_gst_parse_yyfree):
9361 If the installed flex version is too old use pre-generated parser
9362 sources. These pre-generated parser sources are always updated when
9363 the actual flex/bison sources change but require everybody who wants
9364 to change something in the parser to have flex >= 2.5.31 installed.
9366 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9368 * common/m4/gst-gettext.m4:
9369 * gst/gst-i18n-lib.h:
9370 Make --disable-nls to work
9372 2007-04-17 Wim Taymans <wim@fluendo.com>
9374 * gst/gstconfig.h.in:
9375 Revert previous change that broke the build.
9377 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9381 * gst/gstconfig.h.in:
9382 Drop libxml2 dependency when building with
9383 --enable-binary-registry --disable-loadsave
9385 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9387 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9388 (gst_registry_binary_read_cache):
9389 * gst/gstregistrybinary.h:
9390 Remove unnecessary <sys/mman.h> include which broke the win32 build
9391 with MingW; move includes from header file to .c file, even if the
9392 header file isn't installed; use g_strerror() where UTF-8 strings
9393 are expected, such as in GST_DEBUG messages.
9395 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9397 * docs/libs/gstreamer-libs-sections.txt:
9398 Remove bogus addition for API I didn't end up keeping.
9400 * libs/gst/base/gstbasesrc.h:
9401 Mention Since: 0.10.13 in the documentation.
9403 Add the API keyword to the previous ChangeLog entry.
9405 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9407 * docs/libs/gstreamer-libs-sections.txt:
9408 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9409 (gst_base_src_default_prepare_seek_segment),
9410 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9411 * libs/gst/base/gstbasesrc.h:
9412 Allow basesrc derived classes to execute seeks in other formats
9413 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9414 to prepare the GstSegment in any format that their perform_seek method
9415 will be able to understand. The default implementation provides the
9416 old behaviour of attempting to convert the seek offsets to the
9417 configured native format.
9419 API: basesrc::prepare_seek_segment vmethod.
9421 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9423 * gst/gstelement.c: (gst_element_get_state_func):
9424 Don't output the same debug statement twice.
9426 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9427 (gst_adapter_peek), (gst_adapter_take_buffer):
9428 Optimise the case where we have buffers at the head of the queue that
9429 can be joined quickly (because they're contiguous sub-buffers) by
9430 merging them together rather than copying data out into new memory.
9432 * gst/parse/grammar.y:
9433 * tests/check/pipelines/parse-launch.c:
9434 Fix a leak in an error path for parse_launch, and add a check
9435 for it to the testsuite.
9437 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9439 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9440 Don't deadlock when releasing a pad - gst_pad_set_active may try
9441 and take the multiqueue lock too.
9443 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9445 * gst/gsterror.c: (_gst_core_errors_init):
9447 API: add GST_CORE_ERROR_DISABLED (#392804).
9449 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9451 * docs/faq/gst-uninstalled:
9452 don't get empty paths on the PATH variables
9453 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9454 Don't format for the uncommon terminal width of 84 characters.
9456 2007-04-06 Wim Taymans <wim@fluendo.com>
9458 * gst/gstpipeline.c: (reset_stream_time),
9459 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9460 Only try to select a different pipeline clock when we went back to
9461 PAUSED and not when we merely got flushed.
9463 2007-04-05 Michael Smith <msmith@fluendo.com>
9465 * tools/gst-launch.1.in:
9466 fractions are better supported in gstreamer than ractions, so
9467 suggest using those.
9469 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9471 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9475 Added Danish translation.
9477 2007-04-05 Wim Taymans <wim@fluendo.com>
9479 * libs/gst/base/gstbasesink.c:
9480 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9481 Fix leak caused when refusing newsegment after EOS.
9483 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9484 (gst_fake_sink_init), (gst_fake_sink_set_property),
9485 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9486 (gst_fake_sink_render), (gst_fake_sink_change_state):
9487 * plugins/elements/gstfakesink.h:
9488 Add num-buffers property to make the element generate EOS after a
9489 configurable amount of buffers.
9490 API: fakesink::num-buffers property.
9492 * tests/check/elements/fakesink.c: (GST_START_TEST),
9494 Fix GstBus leak in test.
9495 Test for fakesink num-buffers.
9497 2007-04-05 Wim Taymans <wim@fluendo.com>
9499 * libs/gst/base/gstbasesink.c:
9500 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9501 (gst_base_sink_change_state):
9502 Don't accept anything after an EOS, return UNEXPECTED instead.
9504 * tests/check/elements/fakesink.c: (GST_START_TEST),
9506 Unit test for new EOS behaviour.
9508 2007-04-05 Wim Taymans <wim@fluendo.com>
9510 * gst/gstelement.c: (gst_element_get_request_pad):
9511 Make padtemplates also work when they don't contain %s or %d.
9513 2007-04-05 Wim Taymans <wim@fluendo.com>
9515 * docs/gst/gstreamer-sections.txt:
9516 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9517 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9519 Improve _adjust_unlocked() so that it overflows less.
9520 Add gst_clock_unadjust_unlocked to convert from external time to
9521 internal time based on calibration.
9522 Add some more debug.
9523 API: GstClock::gst_clock_unadjust_unlocked()
9525 2007-04-03 Wim Taymans <wim@fluendo.com>
9527 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9529 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9530 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9531 when releasing sink pad. Fixes #425400.
9533 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9535 * docs/random/ensonic/dynlink.txt:
9536 More work on proposal for new core api.
9538 * docs/libs/gstreamer-libs-sections.txt:
9539 * libs/gst/base/gstbasetransform.h:
9540 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9542 * libs/gst/controller/gstcontroller.c:
9543 (on_object_controlled_property_changed),
9544 (gst_controller_sync_values),
9545 (gst_controller_set_interpolation_mode):
9546 * libs/gst/controller/gstcontroller.h:
9547 Less verbose logging add docs for unimplemented parts and correctly
9548 return when using unavailable parts.
9550 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9552 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9553 Move all the debug to the CLOCK category, and associate it with
9556 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9558 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9559 Make take_buffer a bit quicker by removing redundant checks
9560 caused by calling gst_adapter_take.
9562 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9564 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9567 * tests/check/Makefile.am:
9568 * tests/check/elements/.cvsignore:
9569 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9570 (GST_START_TEST), (multiqueue_suite):
9571 Add some dead simple unit tests for the 'multiqueue' element
9572 (some bits don't work yet and are disabled for now).
9574 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9576 * gst/gstelement.c: (gst_element_get_request_pad),
9577 (gst_element_class_get_request_pad_template):
9578 Make gst_element_get_request_pad() create request pads only for
9579 request pad templates and not for, say, sometimes pad templates.
9581 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9583 * docs/design/draft-klass.txt:
9584 Add example that needs more thinking.
9586 * docs/design/draft-missing-plugins.txt:
9587 More thoughts about wrapper plugins.
9589 * docs/random/ensonic/embedded.txt:
9590 * docs/random/ensonic/profiling.txt:
9593 2007-03-25 Wim Taymans <wim@fluendo.com>
9595 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9596 (gst_base_src_loop):
9597 Only push the segment events in the PLAYING state for live sources.
9599 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9601 * gst/gstpipeline.c: (gst_pipeline_change_state):
9602 Modify the clock distribution path in PAUSED->PLAYING so that we
9603 never attempt to choose a new clock unless we're actually leaving
9604 the PAUSED state for the first time. This prevents choosing a
9605 different clock when the state_change gets called for a 2nd time due
9606 to some element doing an async state change.
9608 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9610 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9611 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9612 (gst_pad_chain_unchecked), (gst_pad_push):
9613 Revert last commit. This needs some more thoughts.
9615 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9617 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9618 (gst_pad_chain_unchecked), (gst_pad_push):
9619 Check in set_caps if the caps are compatible with the pad and remove
9620 two functions that are redundant now. Fixes #421543.
9622 2007-03-22 Wim Taymans <wim@fluendo.com>
9624 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9625 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9626 Unref some more to make valgrind happy.
9628 2007-03-22 Wim Taymans <wim@fluendo.com>
9630 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9631 (gst_system_clock_id_wait_jitter),
9632 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9633 Fix anoying regression that survived a few releases. When adding an
9634 async entry while blocking on a sync entry, the sync entry will unblock
9635 but still be busy, so it should continue to wait instead of returning
9637 Add some comments here and there.
9639 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9640 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9641 Add testcase for this.
9643 2007-03-22 Wim Taymans <wim@fluendo.com>
9645 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9646 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9647 WRONG_STATE and can silently pause the task. All other cases should
9650 2007-03-22 Wim Taymans <wim@fluendo.com>
9652 Patch by: Ville Syrjala <syrjala at sci dot fi>
9654 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9655 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9658 2007-03-21 Michael Smith <msmith@fluendo.com>
9660 * docs/pwg/advanced-types.xml:
9661 Fix some errors in the typefinding docs pointed out on irc.
9663 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9665 * libs/gst/base/gstbasesrc.c:
9666 Clarify FIXME comment in the face of having added unlock_stop()
9668 2007-03-21 Wim Taymans <wim@fluendo.com>
9670 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9671 Prepare for release where we warn against possible app breakage in the
9672 case of live pipelines along with an env var to enable/disable live
9673 preroll mode (GST_COMPAT=[no-]live-preroll).
9675 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9677 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9678 So we should use correct constants for checking for None offset.
9680 2007-03-20 Wim Taymans <wim@fluendo.com>
9682 * docs/design/part-block.txt:
9683 Mention the fact that the newly switched element should be set to at
9686 2007-03-20 Wim Taymans <wim@fluendo.com>
9689 Fix compilation with registry disabled as spotted by Saur.
9691 2007-03-20 Wim Taymans <wim@fluendo.com>
9693 Patch by: Olivier Crete <tester at tester dot ca>
9695 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9696 Look at the pending state too when syncing the element state to the
9697 parent. Fixes #420133.
9699 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9701 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9702 (gst_base_sink_change_state):
9703 * libs/gst/base/gstbasesink.h:
9704 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9705 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9706 (gst_base_src_deactivate):
9707 * libs/gst/base/gstbasesrc.h:
9708 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9709 for sub-classes to correctly clear any state they set trying to
9710 unlock, such as clearing out unlock commands from a command fd.
9711 API: basesrc::unlock_stop
9712 API: basesink::unlock_stop
9714 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9715 (gst_fd_sink_render), (gst_fd_sink_unlock),
9716 (gst_fd_sink_unlock_stop):
9717 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9718 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9719 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9721 Implement unlock_stop in fdsrc and fdsink.
9722 Implement seeking in fdsrc when a seekable fd is passed, as in
9723 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9725 2007-03-19 Wim Taymans <wim@fluendo.com>
9727 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9729 * gst/gstelement.c: (gst_element_class_init):
9730 Fix pad-added and pad-removed signal signatures so that the pad type is
9731 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9733 2007-03-19 Wim Taymans <wim@fluendo.com>
9735 * docs/gst/gstreamer-sections.txt:
9736 Add new element field and method.
9738 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9739 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9740 (gst_bin_recalc_state), (gst_bin_get_state_func),
9741 (gst_bin_element_set_state), (gst_bin_change_state_func),
9742 (gst_bin_continue_func), (bin_bus_handler),
9743 (bin_push_state_continue), (bin_handle_async_start),
9744 (bin_handle_async_done), (gst_bin_handle_message_func):
9745 Make async state changes a bit smarter by using new ASYNC_START and
9746 ASYNC_DONE messages. This reduces the number of times we run the state
9747 recalculation thread.
9748 Don't change state of element with a pending ASYNC_START message.
9749 Deprecate STATE_DIRTY messages.
9751 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9752 (gst_element_get_state_func), (gst_element_continue_state),
9753 (gst_element_lost_state), (gst_element_set_state_func),
9754 (gst_element_change_state):
9756 Keep the state that was last set by the app in a new element field.
9757 Don't allow state changes when handling an element event.
9758 Post ASYNC_START and ASYNC_DONE messages.
9759 Change lost_state so that we go to PAUSED and wait for the parent to set
9760 us to PLAYING again (so latency calculation can be performed)
9761 Export gst_element_change_state() method so that subclasses can use it.
9762 API: gst_element_change_state()
9763 API: GST_STATE_TARGET
9765 * gst/gstpipeline.c: (gst_pipeline_class_init),
9766 (reset_stream_time), (gst_pipeline_change_state),
9767 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9768 Using the new ASYNC_START message we can reset the base_time when
9769 needed. This can then be used to implement base_time redistribution in
9770 flushing seeks so that we can remove the explicit seek handling.
9771 Perform latency query and configuration when going to PLAYING.
9773 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9774 (gst_base_sink_query), (gst_base_sink_change_state):
9775 Post new ASYNC_START/ASYNC_DONE messages.
9777 * tests/check/generic/sinks.c: (GST_START_TEST):
9778 Fix test because the bin will not set the async element to PLAYING right
9781 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9782 Make the message check a little stronger.
9783 Handle ASYNC messages.
9785 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9786 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9787 Expect ASYNC_DONE messages.
9789 2007-03-19 Wim Taymans <wim@fluendo.com>
9791 * docs/gst/gstreamer-sections.txt:
9792 * gst/gstmessage.c: (gst_message_new_async_start),
9793 (gst_message_new_async_done), (gst_message_parse_info),
9794 (gst_message_parse_async_start):
9796 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9799 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9801 * tools/gst-inspect.c:
9802 (print_plugin_automatic_install_info_codecs):
9803 Now that we don't check for the 'Codec' keyword any longer in the
9804 klass, we shouldn't spew a warning if the klass isn't a decoder or
9805 encoder (since it might be a Source/Network, for example).
9807 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9809 * tools/gst-inspect.c:
9810 (print_plugin_automatic_install_info_codecs):
9811 Don't require decoder/demuxer/depayloader elements or
9812 encoder/muxer/paylader elements to have 'Codec' as part of their
9813 factory class string when introspecting a plugin's capabilities.
9814 draft-klass.txt mentions that it might be removed in future, and
9815 flump3dec doesn't have it as part of its class string, so chances
9816 are others might also not have it.
9818 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9840 Update translations from translation project
9842 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9844 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9845 (gst_child_proxy_set_property):
9846 Invert precondition check to be alike the ones in the mimiced gobject
9849 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9851 * docs/design/draft-tagreading.txt:
9852 * docs/random/ensonic/audiobaseclasses.txt:
9853 Do some Architect work.
9855 * gst/gstobject.c: (gst_object_set_name):
9859 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9861 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9863 * gst/gstsystemclock.c: (gst_system_clock_init),
9864 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9865 Defer starting the async system clock thread until the first async
9866 wait is scheduled. Fixes #414986.
9868 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9870 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9871 (gst_single_queue_free):
9872 Fix small leak (free GstSingleQueue structure too, not only contents).
9874 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9876 * gst/gstbin.c:(gst_bin_add):
9877 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9878 * win32/common/libgstbase.def:
9879 * win32/common/libgstreamer.def:
9880 Add new exported functions.
9882 2007-03-09 Wim Taymans <wim@fluendo.com>
9884 * docs/plugins/gstreamer-plugins-sections.txt:
9887 2007-03-09 Wim Taymans <wim@fluendo.com>
9889 * docs/gst/gstreamer-sections.txt:
9890 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9892 Add metadata copy functions. Fixes #393099.
9893 API: gst_buffer_copy_metadata()
9895 * gst/gstutils.c: (gst_buffer_stamp):
9896 * libs/gst/base/gstbasetransform.c:
9897 (gst_base_transform_prepare_output_buffer):
9898 Use new metadata copy functions.
9900 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9902 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9903 (gst_identity_init), (gst_identity_check_perfect),
9904 (gst_identity_check_imperfect_timestamp),
9905 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9906 (gst_identity_set_property), (gst_identity_get_property):
9907 * plugins/elements/gstidentity.h:
9908 Separate out check-imperfect-timestamp and check-imperfect-offset.
9909 Put back check-perfect as it was to keep compatibility.
9911 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9913 * gst/gstelement.c: (gst_element_dispose):
9914 There's no need to warn if VOID_PENDING is not NONE here, as
9915 long as the state is NULL it's ok, and that's checked immediately
9918 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9920 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9921 Fix check for perfect stream to ignore buffers with -1
9922 offsets/offset ends when checking data contiguity.
9924 2007-03-08 Wim Taymans <wim@fluendo.com>
9926 * tools/gst-launch.c: (event_loop):
9927 Print INFO messages.
9929 2007-03-08 Wim Taymans <wim@fluendo.com>
9931 * libs/gst/base/gstbasetransform.c:
9932 (gst_base_transform_sink_eventfunc),
9933 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9934 (gst_base_transform_activate):
9935 * libs/gst/base/gstbasetransform.h:
9936 Add support for dropping buffers with custom GstFlowReturn.
9937 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9938 buffers or dropped buffers.
9940 * docs/libs/gstreamer-libs-sections.txt:
9941 docs for new custom return code.
9943 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9944 Use drop support in base class to implement drop-probability.
9946 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9948 * gst/gst.c: (load_plugin_func):
9949 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9950 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9951 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9952 Remove newlines at end of debug log strings.
9954 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9956 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9957 Only post bus message at max, once per buffer received.
9959 2007-03-07 Wim Taymans <wim@fluendo.com>
9961 * docs/design/Makefile.am:
9962 * docs/design/part-synchronisation.txt:
9963 Add doc about synchronisation
9965 * docs/design/draft-latency.txt:
9966 * docs/design/part-TODO.txt:
9967 * docs/design/part-clocks.txt:
9968 * docs/design/part-events.txt:
9969 * docs/design/part-gstbus.txt:
9970 * docs/design/part-gstpipeline.txt:
9971 * docs/design/part-live-source.txt:
9972 * docs/design/part-messages.txt:
9973 * docs/design/part-overview.txt:
9974 * docs/design/part-streams.txt:
9975 * docs/design/part-trickmodes.txt:
9976 Documentation updates.
9978 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9981 Update the doap file.
9983 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9985 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9986 Rename non-perfect to imperfect for Mike and for the sanctity of the
9988 Also make sure bus message gets emitted for data-incontiguities.
9990 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9992 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9993 (gst_identity_start):
9994 * plugins/elements/gstidentity.h:
9995 Emit bus message if check-perfect is true and we encounter a
9996 non-perfect stream between 2 consecutive buffers.
9999 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10004 === release 0.10.12 ===
10006 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
10009 releasing 0.10.12, "Inevitable Demise"
10011 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
10014 Version 0.10.11.2 (0.10.12 pre-release)
10015 Bump libtool versioning.
10017 2007-03-01 Stefan Kost <ensonic@users.sf.net>
10019 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10020 Log flow-names and not numbers.
10022 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10025 Convert to new AG_GST style.
10027 2007-02-28 Wim Taymans <wim@fluendo.com>
10029 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10030 Don't unref query twice.
10032 2007-02-28 Wim Taymans <wim@fluendo.com>
10034 * gst/gstvalue.c: (gst_value_transform_object_string),
10035 (_gst_value_initialize):
10036 Implement GstObject -> string transform so we print object names
10037 when serializing GValues containing GstObjects.
10039 2007-02-28 Wim Taymans <wim@fluendo.com>
10041 * docs/gst/gstreamer-sections.txt:
10042 Add new stuff to docs.
10044 2007-02-28 Wim Taymans <wim@fluendo.com>
10046 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10047 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10048 (gst_base_sink_change_state):
10049 Improve latency query code.
10050 Don't leak latency events.
10052 * tests/check/gst/gstbin.c: (GST_START_TEST):
10055 2007-02-28 Wim Taymans <wim@fluendo.com>
10057 * gst/gstelement.c: (gst_element_message_full),
10058 (gst_element_get_state_func):
10059 * gst/gstelement.h:
10060 Improve docs a little. Added Since: for new macro.
10062 * gst/gstobject.c: (gst_object_sink):
10063 * gst/gstpipeline.c: (gst_pipeline_change_state),
10064 (gst_pipeline_set_new_stream_time):
10065 * gst/gstpipeline.h:
10066 Improve debugging and docs.
10068 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10071 2007-02-28 Wim Taymans <wim@fluendo.com>
10073 * gst/gstelement.c: (gst_element_message_full),
10074 (gst_element_set_locked_state), (gst_element_get_state_func),
10075 (gst_element_change_state):
10076 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10077 Documentation updates.
10078 Small code cleanups.
10080 * gst/gstmessage.c: (gst_message_new_info),
10081 (gst_message_parse_info):
10082 * gst/gstmessage.h:
10083 API: gst_message_new_info()
10084 API: gst_message_parse_info()
10085 Add INFO message create and parse code.
10087 2007-02-28 Wim Taymans <wim@fluendo.com>
10089 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10090 (bin_query_latency_done):
10091 Also report the live parameter of a latency query.
10093 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
10095 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10096 Copy the current generic/states example from -base and adapt so
10097 we can use the exact same code everywhere.
10098 Check a STATES_IGNORE_ELEMENTS env var which can be used
10099 to ignore certain element factories for this test, which is
10100 what is being done in -base
10101 * tests/check/Makefile.am:
10102 Mention this environment variable.
10104 2007-02-27 Wim Taymans <wim@fluendo.com>
10106 * docs/gst/gstreamer-sections.txt:
10107 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10108 (gst_bus_timed_pop), (gst_bus_pop):
10110 API: gst_bus_timed_pop()
10111 Implement gst_bus_timed_pop() to do a blocking timed wait for a
10112 message to arrive on the bus.
10114 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10116 Two unit tests for new _timed_pop() function.
10118 2007-02-23 Wim Taymans <wim@fluendo.com>
10120 * gst/gstpipeline.c: (gst_pipeline_change_state),
10121 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10122 Don't ref a NULL clock in _provide_clock_func().
10123 Don't allow an INVALID delay.
10124 Don't try to calculate base_time with an invalid start_time.
10125 Also distribute and notify a NULL clock when it was selected.
10127 * tools/gst-launch.c: (event_loop):
10128 Don't crash when a NULL clock was selected in the pipeline.
10130 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10132 * docs/design/Makefile.am:
10133 * docs/design/draft-missing-plugins.txt:
10134 * docs/random/draft-missing-plugins.txt:
10135 Some small updates: update plugin system identifier prefix
10136 ('gstreamer.net' to 'gstreamer'), mention our new install
10137 API in libgstbaseutils rather than libgimme-codec, add
10138 reference to the online docs.
10140 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10142 * win32/common/config.h:
10143 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10144 use moap cl ci to only check in what is mentioned in the ChangeLog.
10146 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10148 * docs/gst/gstreamer-sections.txt:
10149 * gst/gstelement.h:
10150 Fix up documentation to link to the correct GstGError section.
10151 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10153 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10155 * tools/gst-launch.c: (event_loop):
10156 Make sure that we actually show the important message part of a
10158 No need to check if the gerror is not NULL to free; first of all
10159 g_free accepts NULL; and second the default error handler would
10160 segfault if gerror was NULL.
10162 2007-02-21 Wim Taymans <wim@fluendo.com>
10164 * docs/gst/gstreamer-sections.txt:
10165 Removed docs as well.
10167 2007-02-21 Wim Taymans <wim@fluendo.com>
10169 * gst/gstmessage.c: (gst_message_parse_duration):
10170 * gst/gstmessage.h:
10171 Remove new messages for release.
10173 2007-02-20 Wim Taymans <wim@fluendo.com>
10175 * docs/design/part-gstghostpad.txt:
10176 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10177 (gst_ghost_pad_new_full):
10178 Make the ghostpad a parent of the internal pad again for better backward
10179 compatibility. Don't write code that relies on this however.
10181 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10182 (gst_pad_link_check_hierarchy):
10183 Require that parents should be GstElements in the hierarchy check.
10185 2007-02-20 Wim Taymans <wim@fluendo.com>
10187 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10188 (gst_bin_change_state_func), (bin_query_min_max_init),
10189 (bin_query_latency_fold), (bin_query_latency_done),
10191 Improve debug info.
10192 Implement latency query.
10194 2007-02-20 Wim Taymans <wim@fluendo.com>
10196 * docs/design/part-gstghostpad.txt:
10197 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10198 (gst_ghost_pad_internal_do_activate_push),
10199 (gst_ghost_pad_internal_do_activate_pull),
10200 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10201 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10202 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10203 Do not set the internal pad as a parent anymore so we can avoid
10204 hierarchy linking errors when the ghostpad has no parent yet. This also
10205 fixes failed activation because of unlinked internal pads, which in
10206 turn fixes the impossible case where you have to activate a pad before
10207 you can add it to a running element.
10210 * gst/gstpad.c: (pre_activate), (post_activate),
10211 (gst_pad_set_active), (gst_pad_activate_pull),
10212 (gst_pad_activate_push), (gst_pad_check_pull_range):
10213 Add some more debug info.
10214 Mark activation mode in pre_activate so that we don't try to activate in
10215 endless loops. Fixes #385084.
10217 2007-02-19 Wim Taymans <wim@fluendo.com>
10219 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10220 (gst_base_transform_check_get_range):
10221 Implement a checkgetrange function instead of relying on the default
10222 core behaviour that assumes we can operate in pull mode if we have a
10223 getrange function. First step at fixing #385084.
10225 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10227 * gst/gstchildproxy.h:
10228 * libs/gst/base/gstbasesink.h:
10229 * libs/gst/base/gstbasesrc.h:
10230 * libs/gst/base/gstbasetransform.h:
10231 More docs coverage and some ChangeLog surgery (add missing names)
10233 2007-02-15 Wim Taymans <wim@fluendo.com>
10235 * docs/design/part-TODO.txt:
10236 * docs/design/part-activation.txt:
10237 * docs/design/part-block.txt:
10238 * docs/design/part-buffering.txt:
10239 * docs/design/part-clocks.txt:
10240 * docs/design/part-element-source.txt:
10241 * docs/design/part-events.txt:
10242 * docs/design/part-gstbin.txt:
10243 * docs/design/part-gstbus.txt:
10244 * docs/design/part-gstpipeline.txt:
10245 * docs/design/part-live-source.txt:
10246 * docs/design/part-messages.txt:
10247 * docs/design/part-overview.txt:
10248 * docs/design/part-qos.txt:
10249 * docs/design/part-query.txt:
10250 * docs/design/part-states.txt:
10251 * docs/design/part-trickmodes.txt:
10252 Some doc updates. Start renaming from stream_time to running_time where
10253 it was used wrongly.
10255 2007-02-15 Wim Taymans <wim@fluendo.com>
10257 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10258 Answer LATENCY query.
10260 2007-02-15 Wim Taymans <wim@fluendo.com>
10262 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10266 2007-02-15 Wim Taymans <wim@fluendo.com>
10268 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10269 (gst_pad_dispatcher):
10270 Improve debugging of default pad dispatcher and query functions.
10272 2007-02-15 Wim Taymans <wim@fluendo.com>
10274 * docs/gst/gstreamer-sections.txt:
10275 Remove old unused method.
10277 2007-02-13 Wim Taymans <wim@fluendo.com>
10279 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10282 2007-02-13 Wim Taymans <wim@fluendo.com>
10284 * docs/design/part-seeking.txt:
10287 * gst/gstsegment.c: (gst_segment_set_seek):
10288 Revert old bogus change that should make seeking work again.
10290 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10292 * docs/random/ensonic/dynlink.txt:
10293 * docs/random/ensonic/interfaces.txt:
10294 * docs/random/ensonic/receipies.txt:
10295 Possible dynamic reconnection api, plus some type fixes the other two
10298 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10300 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10301 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10302 Also check for an absolute path following file:// in the filesrc
10303 element. Remove redundant check and call g_path_is_absolute() on the
10304 unescaped location.
10306 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10308 * docs/design/draft-klass.txt:
10309 Add existing category analysis.
10312 Fix doc example, framerate is a fraction.
10314 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10317 * docs/gst/Makefile.am:
10318 * docs/gst/gstreamer-sections.txt:
10319 * docs/libs/Makefile.am:
10320 Erm, forgot a bunch of --extra-dir.
10322 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10325 * docs/gst/Makefile.am:
10326 * docs/libs/Makefile.am:
10327 * docs/plugins/Makefile.am:
10328 Add crossreferences to glib/gobject docs.
10330 2007-02-12 Wim Taymans <wim@fluendo.com>
10332 * docs/design/draft-latency.txt:
10335 * docs/libs/gstreamer-libs-sections.txt:
10336 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10337 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10338 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10339 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10340 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10341 (gst_base_sink_get_position), (gst_base_sink_query),
10342 (gst_base_sink_change_state):
10343 * libs/gst/base/gstbasesink.h:
10344 API: gst_base_sink_query_latency() to let subclasses query the upstream
10346 API: gst_base_sink_get_latency() to let subclasses query the configured
10347 latency in the sink.
10348 Implement query and set latency.
10350 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10351 don't continue preroll when we are flushing. Fixes #405284.
10353 * tests/check/pipelines/stress.c: (change_state_timeout),
10354 (quit_timeout), (GST_START_TEST), (stress_suite):
10357 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10359 Patch by: René Stadler <mail at renestadler de>
10361 * docs/gst/gstreamer-sections.txt:
10362 * gst/gsttaglist.c: (_gst_tag_initialize):
10363 * gst/gsttaglist.h:
10364 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10366 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10368 * docs/libs/Makefile.am:
10369 Fix path to core docs.
10371 * gst/gstbin.c: (gst_bin_get_by_interface),
10372 (gst_bin_iterate_all_by_interface):
10373 Refix docs by also renaming 'interface' to 'iface' in implementation.
10375 * docs/gst/gstreamer-sections.txt:
10377 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10378 * gst/gstchildproxy.h:
10379 * gst/gstelementfactory.c:
10380 * gst/gstpadtemplate.h:
10381 * libs/gst/controller/gstcontroller.c:
10382 (gst_controlled_property_new):
10385 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10387 * gst/gstbin.h:(gst_bin_get_by_interface),
10388 (gst_bin_iterate_all_by_interface):
10389 Replace interface parameter name by iface as interface is
10390 a reserved keyword in Visual Studio for C++ projects so it removes
10391 a build error for application developpers using VS.
10392 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10393 Fix a bug on Windows in uri format check. Now the prefix checked
10394 is file:// and next we check if the path after file:// is absolute.
10395 * win32/common/libgstbase.def:
10396 * win32/common/libgstdataprotocol.def:
10397 * win32/common/libgstgstreamer.def:
10398 Add new exported functions.
10400 2007-02-09 Andy Wingo <wingo@pobox.com>
10402 * tests/check/pipelines/simple-launch-lines.c
10403 (simple_launch_lines_suite, test_tee): Disable tee test until I
10404 have time to fix it :-(
10406 * tests/check/Makefile.am (noinst_HEADERS):
10407 * tests/check/libs/libsabi.c:
10408 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10409 * tests/check/gst/gstabi.c:
10410 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10412 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10413 tests for push and pull tee behavior.
10415 * plugins/elements/gsttee.h:
10416 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10417 mark as deprecated as well as unimplemented. It was a crack idea.
10418 Add support for tee operating in pull mode, off by default.
10420 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10421 normal-case logs down to LOG, raise errors to WARNING.
10422 (gst_registry_xml_read_cache): Don't log before calling a function
10425 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10426 exit (registry finalize).
10427 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10428 DEBUG log when we emit signals that people don't even have the
10429 chance to connect to.
10430 (gst_registry_scan_path_level): Less logging in the normal case.
10432 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10434 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10436 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10437 Correctly generate EOS for non-seekable files. We don't have a total
10438 length for them and would get an unexpected end of file if we only
10439 special-cased for regular files. (Fixes: #404569)
10441 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10443 * tests/check/elements/filesrc.c: (GST_START_TEST),
10445 Add unit test for the GstURIHandler interface in filesrc. This also
10446 tests the newly added file://localhost/foo/bar support.
10448 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10450 * gst/gstelementfactory.h:
10451 The klass string is not a hierarchy. Add reference to the design doc
10452 for more information and common types.
10454 2007-02-02 Wim Taymans <wim@fluendo.com>
10456 * gst/gstquery.c: (gst_query_new_latency):
10457 Remove old structure field.
10459 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10461 * tools/gst-launch.1.in:
10462 Give example for network streaming (#351998)
10464 2007-02-02 Wim Taymans <wim@fluendo.com>
10466 * docs/gst/gstreamer-sections.txt:
10467 Add docs for new methods.
10469 * gst/gstevent.c: (gst_event_new_latency),
10470 (gst_event_parse_latency):
10472 Add new LATENCY event to configure latency in a pipeline.
10473 API: gst_event_new_latency
10474 API: gst_event_parse_latency
10476 * gst/gstmessage.c: (gst_message_new_buffering),
10477 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10478 (gst_message_new_latency), (gst_message_parse_buffering),
10479 (gst_message_parse_lost_preroll):
10480 * gst/gstmessage.h:
10481 Added messages used in draft-latency.
10482 API: gst_message_new_lost_preroll
10483 API: gst_message_parse_lost_preroll
10484 API: gst_message_new_prerolled
10485 API: gst_message_new_latency
10487 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10488 (gst_query_parse_latency):
10490 Implemented new latency query as in design doc.
10491 API: gst_query_new_latency
10492 API: gst_query_set_latency
10493 API: gst_query_parse_latency
10495 2007-02-02 Wim Taymans <wim@fluendo.com>
10497 * docs/design/draft-latency.txt:
10498 Slight redesign to allow for dynamic latency adjustments.
10500 * docs/design/part-negotiation.txt:
10503 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10505 reviewed by: Wim Taymans <wim@fluendo.com>
10507 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10508 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10509 Allow file://localhost/foo/bar URLs and correctly fail for every other
10510 hostname that one sets. This was gnomevfssrc is linked for those if
10511 installed as it can handle it (#403172)
10513 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10515 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10517 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10518 (unref_data), (gst_collect_pads_add_pad_full):
10519 * libs/gst/base/gstcollectpads.h:
10520 Don't put the previously added destroy notify in the GstCollectData
10521 struct as all it's padding is already used and we don't want to break
10522 ABI. Instead put in the pad's GObject data for now. This should be
10523 cleaned up for 0.11 (#402393).
10525 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10527 reviewed by: Wim Taymans <wim@fluendo.com>
10529 * docs/libs/gstreamer-libs-sections.txt:
10530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10531 (unref_data), (gst_collect_pads_add_pad),
10532 (gst_collect_pads_add_pad_full):
10533 * libs/gst/base/gstcollectpads.h:
10534 API: Add function to specify a destroy notification for custom
10535 GstCollectData when adding new pads in GstCollectPads (#402393).
10537 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10540 Update Swedish translation (#378255).
10542 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10544 * docs/design/draft-klass.txt:
10545 Fix the previous change, this is a list of categories and not a hierarchy.
10547 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10549 * docs/design/draft-klass.txt:
10550 Add info about how to get a list of used classes.
10552 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10554 * plugins/elements/gsttypefindelement.c:
10555 (gst_type_find_element_chain_do_typefinding),
10556 (gst_type_find_element_change_state):
10557 Don't leak found caps in chain function (no idea why that never
10558 showed up as a leak anywhere).
10560 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10563 Fix and expand GstPluginDesc API docs.
10565 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10568 * gst/gstelementfactory.c:
10569 * gst/gstpadtemplate.h:
10572 * libs/gst/controller/gstcontroller.c:
10573 (gst_controlled_property_new):
10574 * tests/examples/controller/audio-example.c:
10577 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10580 comment about refining the xml deps
10582 * docs/manuals.mak:
10583 comments about moving away from jade for docs
10586 recommit the ifdefs to use the binary registry
10588 * gst/gstbin.c: (gst_bin_change_state_func):
10589 this break is obsolete
10591 * gst/gstelementfactory.h:
10592 better GST_ELEMENT_DETAILS docs, add comment about translation
10597 * gst/gstobject.c: (gst_signal_object_get_type):
10598 add G_UNLIKELY as usual
10600 * gst/gstpad.c: (gst_pad_event_default):
10601 add fall trhu comment
10603 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10604 (gst_registry_binary_initialize_magic),
10605 (gst_registry_binary_save_string),
10606 (gst_registry_binary_save_pad_template),
10607 (gst_registry_binary_save_feature),
10608 (gst_registry_binary_save_plugin),
10609 (gst_registry_binary_write_cache),
10610 (gst_registry_binary_check_magic),
10611 (gst_registry_binary_load_pad_template),
10612 (gst_registry_binary_load_feature),
10613 (gst_registry_binary_load_plugin),
10614 (gst_registry_binary_read_cache):
10615 comment typo and formatting
10617 * gst/gstutils.c: (gst_element_state_get_name),
10618 (gst_element_state_change_return_get_name):
10619 remove obsolete breaks
10621 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10622 add FIXME 0.11 and remove cpp comment
10624 2007-01-29 Edward Hervey <edward@fluendo.com>
10626 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10627 Fix print statement in an even more portable way.
10629 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10631 * docs/gst/gstreamer-sections.txt:
10633 API: add GST_ROUND_DOWN_* macros (#401781).
10635 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10637 * docs/gst/gstreamer.types.in:
10638 * gst/gstregistry.c: (gst_registry_class_init):
10639 Document registry signals and make gtk-doc pick them up (#401381).
10641 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10643 * docs/pwg/building-testapp.xml:
10644 Add some audioconverts and audioresample to the pipeline, and some
10645 more comments and error handling.
10647 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10649 * docs/manual/manual.xml:
10650 * docs/pwg/pwg.xml:
10651 Fix typo (#400987).
10653 2007-01-26 Wim Taymans <wim@fluendo.com>
10655 * gst/gstcaps.c: (gst_static_caps_get):
10656 Init caps flags too.
10658 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10660 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10662 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10663 If not using mmap'ed files try to seek to the end instead of the
10664 start to determine whether we can seek at all. This fixes the case
10665 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10666 seeks for everything afterwards fail. Fixes #400656
10668 2007-01-25 Wim Taymans <wim@fluendo.com>
10670 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10671 Add some refcount debugging.
10672 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10673 in multiple streaming threads.
10675 2007-01-25 Wim Taymans <wim@fluendo.com>
10677 Patch by: David Schleef <ds at schleef dot org>
10679 * docs/libs/gstreamer-libs-sections.txt:
10680 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10681 * libs/gst/base/gstadapter.h:
10682 API: gst_adapter_copy() that can reduce the amount of memcpy when
10683 getting data from the adapter. Fixes #388201.
10685 2007-01-25 Edward Hervey <edward@fluendo.com>
10687 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10688 In print statements, "%x" is for guint. Fixes build on macosx.
10690 2007-01-24 Edward Hervey <edward@fluendo.com>
10692 * plugins/elements/gstmultiqueue.c:
10693 (gst_multi_queue_loop):
10695 (single_queue_overrun_cb), (single_queue_underrun_cb),
10696 (single_queue_check_full), (gst_single_queue_new):
10697 Implement single queue growth system.
10698 This uses the extra-size properties, and will grow single queues by
10699 that much if one goes full whereas there are others empty. This is
10700 called extra-mode in the code.
10701 When a single queue's levels go back below the initial max-size
10702 limits, it is no longer in extra-mode. This is to ensure we don't
10703 consume too much memory.
10706 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10708 * gst/gst.c: (gst_init_get_option_group):
10709 Make warning about late g_thread_init() calls a bit more explicit,
10710 so that it's more obvious to application developers what they need
10711 to do if a user files a bug against their application.
10713 2007-01-22 Edward Hervey <edward@fluendo.com>
10715 * plugins/elements/gstmultiqueue.c:
10716 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10717 Remove previous hack of unsetting the flushing flag for the source pad
10718 instead of activating it. Instead, fix the source pad activate function
10719 so that it no longer depends on having a parent set or not.
10721 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10723 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10725 * docs/manual/basics-bus.xml:
10726 Fix example code, gst_element_unref() doesn't exist any longer.
10728 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10730 Patch by: Mark Nauwelaerts <manauw at skynet be>
10733 Fix two docs typoes (#399094).
10735 2007-01-19 Edward Hervey <edward@fluendo.com>
10737 * docs/faq/gst-uninstalled:
10738 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10739 depending on libgstbaseutils can work in uninstalled environment.
10741 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10743 * gst/gsttaglist.h:
10744 * gst/gsttagsetter.c:
10745 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10746 statement for new tag.
10748 2007-01-17 Edward Hervey <edward@fluendo.com>
10750 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10751 When dynamically creating single queues, activate sinkpad before adding
10753 We should be doing the same thing for the source pad, but we can't
10754 since it would call a method which needs the parent to be set in order
10755 to work propertly. Instead of activating the source pad, we just unset
10756 the flushing flag, which is the minimal requirement for adding a pad
10757 to an element in a state greater than READY.
10759 2007-01-17 Edward Hervey <edward@fluendo.com>
10761 * docs/faq/gst-uninstalled:
10762 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10765 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10767 * tests/check/gst/gstabi.c:
10768 * tests/check/gst/struct_hppa.h:
10769 * tests/check/libs/libsabi.c:
10770 * tests/check/libs/struct_hppa.h:
10771 Add ABI structs for HPPA (see #393796).
10773 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10775 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10776 Actually write ABI structs to the file specified in the GST_ABI
10777 environment variable, as the message we print claims we would.
10779 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10781 * tests/check/gst/gsttask.c:
10782 Fix header comment.
10784 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10786 * gst/gsttaglist.c: (_gst_tag_initialize):
10787 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10788 previous two entries.
10790 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10792 * docs/gst/gstreamer-sections.txt:
10793 * gst/gsttaglist.c: (_gst_tag_initialize):
10794 * gst/gsttaglist.h:
10795 Add tag support for beat-per-minute.
10797 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10799 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10800 (gst_registry_binary_initialize_magic),
10801 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10802 (gst_registry_binary_save_pad_template),
10803 (gst_registry_binary_save_feature),
10804 (gst_registry_binary_save_plugin),
10805 (gst_registry_binary_write_cache),
10806 (gst_registry_binary_check_magic),
10807 (gst_registry_binary_load_pad_template),
10808 (gst_registry_binary_load_feature),
10809 (gst_registry_binary_load_plugin),
10810 (gst_registry_binary_read_cache):
10811 * gst/gstregistrybinary.h:
10812 Use glib types, cleanup comments, impement interfaces and uri-types.
10814 2007-01-13 Andy Wingo <wingo@pobox.com>
10816 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10817 getrange() to return buffers with other caps, while we fix
10818 demuxers and typefind, or otherwise change part-negotiation.txt.
10820 2007-01-12 Andy Wingo <wingo@pobox.com>
10822 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10823 Factor start/stop into this private function instead of partially
10824 in activate functions and partially in the change_state function.
10825 Fixes setup before the element has changed from READY->PAUSED, as
10826 is the case in pull-mode pipelines.
10827 (gst_base_transform_sink_activate_push)
10828 (gst_base_transform_src_activate_pull): Refactor to use
10829 gst_base_transform_activate().
10830 (gst_base_transform_change_state): Removed, not needed any more.
10832 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10833 Truncate before fixating.
10835 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10836 Don't set_caps() if the result of fixating is ANY, as it's not
10837 supported, and not necessary in the case of a link with no
10838 template caps on either side. Fixes tests/check/libs/basesrc in
10839 some pull-mode tests.
10841 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10842 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10843 (gst_base_transform_src_activate_pull):
10844 Track the activation mode.
10845 (gst_base_transform_setcaps): In pull mode, when activating the
10846 src pad, after activating the sink pad, activate the sink pad's
10847 peer, as discussed in part-negotiation.txt.
10849 * libs/gst/base/gstbasesrc.h:
10850 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10851 vmethod, as in basesink.
10853 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10855 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10856 mode, first proxy the setcaps to the peer pad.
10857 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10858 new fixate vmethod.
10859 (gst_base_sink_default_activate_pull): Rename from
10860 gst_base_sink_activate_pull.
10861 (gst_base_sink_negotiate_pull): New function, performs negotiation
10862 in pull mode before calling ::activate_pull().
10863 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10864 vmethod instead of the default implementation. I have no idea how
10865 this worked before. Negotiate before calling activate_pull.
10867 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10868 sink pads in pull mode. In addition to being correct, fixes
10869 filesrc ! decodebin ! identity ! fakesink.
10870 (gst_pad_get_range, gst_pad_pull_range): Don't call
10871 gst_pad_set_caps() if the caps changes; instead error out with
10872 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10874 2007-01-12 Andy Wingo <wingo@pobox.com>
10876 * docs/design/part-negotiation.txt: Update with more policy.
10878 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10880 * libs/gst/check/gstbufferstraw.h:
10881 * libs/gst/check/gstcheck.h:
10882 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10885 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10887 * tests/check/Makefile.am:
10888 * tests/check/gst/.cvsignore:
10889 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10890 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10891 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10892 (GST_START_TEST), (gst_tag_setter_suite):
10893 Add minimal unit test for beforementioned GstTagSetter bug.
10895 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10897 Patch by: René Stadler <mail at renestadler dot de>
10899 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10900 gst_tag_list_merge() returns a new list, so it's not the best idea
10901 to ingore its return value. Effectively meant that tags could only
10902 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10903 Also add function guard to require a non-NULL taglist as input (has
10904 always been so due to gst_tag_list_copy(), just making it explicit).
10906 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10908 * docs/random/draft-missing-plugins.txt:
10909 Some additions: mention new API that is supposed to be used at the
10910 various stages; short blob about new gst-inspect introspection
10911 option; mention potential future problem with plugins that have
10912 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10914 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10916 * tools/gst-inspect.c:
10917 (print_plugin_automatic_install_info_codecs),
10918 (print_plugin_automatic_install_info_protocols),
10919 (print_plugin_automatic_install_info), (main):
10920 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10921 introspect plugin files and get machine-parsable output that corresponds
10922 to the last bit of the missing-plugin installer string (small gotcha:
10923 doesn't take into account ranks).
10925 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10928 * docs/gst/gstreamer-sections.txt:
10930 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10931 (gst_registry_lookup_locked):
10932 * gst/gstregistry.h:
10933 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10934 (gst_registry_binary_initialize_magic),
10935 (gst_registry_binary_save_string),
10936 (gst_registry_binary_save_pad_template),
10937 (gst_registry_binary_save_feature),
10938 (gst_registry_binary_save_plugin),
10939 (gst_registry_binary_write_cache),
10940 (gst_registry_binary_check_magic),
10941 (gst_registry_binary_load_pad_template),
10942 (gst_registry_binary_load_feature),
10943 (gst_registry_binary_load_plugin),
10944 (gst_registry_binary_read_cache):
10945 * gst/gstregistrybinary.h:
10946 * gst/gstregistryxml.c: (load_feature),
10947 (gst_registry_xml_read_cache):
10948 commit binary registry (disabled by default, see #359653)
10950 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10952 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10953 Fix 'make check' too.
10955 2007-01-10 Andy Wingo <wingo@pobox.com>
10957 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10960 * docs/design/part-negotiation.txt: Update with, um, one way that
10961 pull-mode negotiation might work?
10964 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10965 that the pad must be a src pad; makes sense to call it the other
10966 way in pull mode, and the logic is symmetric anyway.
10968 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10970 * plugins/elements/gstfilesink.c:
10971 Include <stdio.h> for fseeko().
10973 2007-01-10 Wim Taymans <wim@fluendo.com>
10977 Reserve LATENCY event.
10979 2007-01-09 Wim Taymans <wim@fluendo.com>
10981 * docs/design/draft-latency.txt:
10984 2007-01-09 Wim Taymans <wim@fluendo.com>
10986 * docs/design/draft-latency.txt:
10989 * gst/gstelement.h:
10990 * gst/gststructure.c:
10994 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10996 * tests/check/.cvsignore:
10997 Ignore test-registry.xml as well.
10999 2007-01-09 Wim Taymans <wim@fluendo.com>
11001 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11002 unref data at the end when we are done with the pad.
11004 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11006 * docs/gst/gstreamer-sections.txt:
11007 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11008 (init_post), (gst_deinit), (gst_update_registry):
11010 API: add gst_update_registry() (#391296).
11012 * tests/check/Makefile.am:
11013 * tests/check/gst/gstregistry.c:
11014 * tests/check/gst/.cvsignore:
11015 Simple unit test for the above.
11017 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
11019 * gst/gstregistry.c: (gst_registry_scan_path_level):
11020 Plugin extension on HP-UX is .sl, add that to the list of approved
11021 plugin extensions (see #393796).
11023 * tests/check/gst/gstpad.c: (GST_START_TEST):
11024 ulong => gulong. Fixes compilation with HP-UX compiler.
11026 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11027 Fix compilation if valgrind headers are not available.
11029 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
11031 * win32/common/libgstreamer.def:
11032 Add new exported function.
11033 * win32/vs6/libgstbase.dsp:
11034 Add gstdataqueue.c to the build.
11035 * win32/vs6/libgstcoreelements.dsp:
11036 Add gstmultiqueue.c to the build.
11038 2007-01-06 Andy Wingo <wingo@pobox.com>
11040 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11041 activate_pull(), providing for a way to specialize the process of
11042 spawning a thread to pull on the sink pad. There is a default
11045 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11046 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11047 (gst_base_sink_init): Renamed pad activation functions (inserting
11048 "_pad" in their names). Refactor to use the new activate_pull
11049 vmethod, as appropriate.
11050 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11051 default activate_pull function to start a task pulling from the
11052 sink pad, as before.
11054 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11055 on the pads if necessary, as in push()/chain(). Update docs.
11056 Shouldn't affect existing pull() usage as it is currently only
11057 being used on buffers without caps.
11059 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11061 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11063 Call g_thread_init() first thing in gst_init() / gst_check_init().
11064 When initialisation is done via gst_init_get_option_group() and
11065 GOption parsing, issue a warning if the GLib thread system has not
11066 been initialised yet by the time gst_init_get_option_group() is
11067 called, as it's quite likely other GLib functions such as
11068 g_option_context_new() have been called already then, and
11069 g_thread_init() must be called before any other GLib function. The
11070 application in question must be fixed in that case, since memory
11071 corruption might happen otherwise.
11072 We issue the warning because even if the GLib folks decide to work
11073 around the problem on their end in future, this is still an issue
11074 with all GLib versions >= 2.10.0, so we should warn until we depend
11075 on a GLib version we know to be safe.
11076 Update documentation as well.
11077 Closes bug #391278.
11079 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11081 * tools/gst-inspect.c: (main):
11082 * tools/gst-launch.c: (main):
11083 * tools/gst-typefind.c: (main):
11084 * tools/gst-xmlinspect.c: (main):
11085 Call g_thread_init() really really early, before any other GLib
11086 function (see #342564 and recent discussion on gtk-devel-list).
11088 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11090 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
11092 * gst/gst_private.h:
11093 * gst/gstconfig.h.in:
11095 On win32, all the __declspec stuff for symbol exporting is
11096 apparently only needed with MSVC, but doesn't work with MingW.
11097 Fixes compilation with MingW and #391909.
11099 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
11101 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11102 Change some GST_ERROR_OBJECT that aren't really errors to
11103 GST_WARNING_OBJECT in order to reduce terminal spam.
11105 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11107 * tests/check/Makefile.am:
11108 disable test again, as there seem to be still race problems
11110 2007-01-04 Stefan Kost <ensonic@users.sf.net>
11112 * tests/check/Makefile.am:
11113 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11114 (GST_START_TEST), (queue_suite):
11115 enable queue test again, add tests for the leaky behaviour
11117 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
11120 * tests/examples/Makefile.am:
11121 Compile adapter test/example only if the required headers are
11122 available (fixes #391915).
11124 2007-01-01 David Schleef <ds@schleef.org>
11127 Restore the previous signal handler for SIGSEGV instead of
11128 setting to default, since we may have stolen it away from
11129 someone. (i.e., Mono)
11131 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11133 * docs/random/draft-missing-plugins.txt:
11134 Some small additions and clarifications.
11136 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11138 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11139 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11140 since that can lead to random memory corruptions and crashes
11141 (may or may not be related to #383244, #386711, and #386711).
11143 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11145 * tests/check/.cvsignore:
11146 * tests/check/Makefile.am:
11147 sync .cvsignome and CLEANFILES
11149 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11151 * tests/check/Makefile.am:
11154 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11156 * docs/design/part-states.txt:
11157 two tiny additional comments
11159 * gst/gststructure.c:
11162 * tests/check/Makefile.am:
11163 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11165 disable test for now, unless it gets fixed
11167 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11169 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11171 fix race in underrun test
11173 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11175 * tests/check/elements/.cvsignore:
11178 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11180 try to narrow test failure
11182 2006-12-21 David Schleef <ds@schleef.org>
11184 * plugins/elements/gstfakesrc.c:
11185 Use g_random_int_range(), since it produces better random
11186 numbers in a range than almost-correct floating point code.
11188 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11190 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11191 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11192 (gst_check_teardown_sink_pad):
11193 do not automatically (de)activate pads
11195 * tests/check/Makefile.am:
11196 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11197 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11198 add new, yet simple tests for queue
11200 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11201 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11202 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11204 * tests/check/elements/identity.c: (cleanup_identity):
11205 consistent pad (de)activation
11207 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11209 Patch by: Sebastian Dröge <slomo ubuntu com>
11211 * libs/gst/base/gstcollectpads.c:
11212 Fix two doc typos (#387866).
11214 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11216 * docs/manual/advanced-dparams.xml:
11217 Fix typo (g_object_control_properties() doesn't exist).
11219 2006-12-19 Edward Hervey <edward@fluendo.com>
11221 * gst/gstsegment.c: (gst_segment_set_seek):
11222 Fine tune the cases where the segment start/stop values are really
11224 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11225 Add tests for the return values of gst_segment_set_seek().
11227 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11232 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11234 Fix incorrect documentation and flesh it out a bit more.
11235 Set default values for the max properties on the GParamSpec as well,
11236 so it shows up correctly in gst-inspect.
11238 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11240 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11241 Correct docs of queue, add more detail and crosslink it more.
11243 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11245 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11246 Print additional debug info when the stream isn't perfectly
11247 timestamped; don't try to use invalid durations.
11249 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11251 * docs/design/Makefile.am:
11252 Dist new design docs.
11254 2006-12-16 Wim Taymans <wim@fluendo.com>
11256 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11258 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11259 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11260 (gst_collect_pads_stop), (gst_collect_pads_event),
11261 (gst_collect_pads_chain):
11262 * libs/gst/base/gstcollectpads.h:
11263 Add refcounting to the collectpads data so we can track when it's safe
11264 to free the data. Fixes #383382.
11266 2006-12-15 Wim Taymans <wim@fluendo.com>
11268 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11269 (gst_collect_pads_remove_pad):
11270 Automatically activate/deactivate pads when they are added to a
11271 started/stoped collectpads.
11273 2006-12-15 Wim Taymans <wim@fluendo.com>
11275 * gst/gstelement.c: (gst_element_add_pad):
11276 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11277 * gst/gstpad.c: (gst_pad_init):
11278 Set pads to FLUSHING when they are created. Check, warn and fix when a
11279 demuxer adds an inactive pad to itself when running. Fixes #339326.
11281 2006-12-15 Wim Taymans <wim@fluendo.com>
11283 * gst/gstelement.c: (gst_element_class_init),
11284 (gst_element_default_send_event), (gst_element_send_event),
11285 (gst_element_default_query), (gst_element_query):
11286 Expose default element send_event and query handling as vmethods that
11287 subclasses can chain up to.
11289 2006-12-15 Wim Taymans <wim@fluendo.com>
11291 * gst/gstelement.c: (gst_element_set_state_func):
11292 Small documentation fixes.
11294 2006-12-15 Wim Taymans <wim@fluendo.com>
11296 * docs/design/draft-latency.txt:
11297 Checked in draft for handling latency in pipelines.
11299 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11303 * gstreamer.spec.in:
11306 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11308 * gst/gst.c: (init_pre), (init_post):
11309 init_pre() and init_post() might be called via our GOptionGroup or
11310 from gst_init(), and we should skip both of them if we've already
11311 been initialised, otherwise we will init some things twice or add
11312 two default log functions.
11314 2006-12-13 Edward Hervey <edward@fluendo.com>
11316 * docs/manual/basics-bus.xml:
11317 No, gst_main_loop does not exist. Its g_main_loop.
11318 Discovered by somebody who abused the copy-paste technique of coding :)
11320 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11322 * gst/gstghostpad.c:
11323 Log ghostpad debug stuff to the GST_PADS category as well rather
11324 than just to the default category.
11326 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11329 * gst/gst.c: (init_pre):
11330 Add some basic system details such as OS and architecture
11331 to the debug output if possible, courtesy of uname().
11333 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11335 * docs/gst/running.xml:
11336 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11337 environment variables.
11339 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11341 * tests/check/gst/gstbin.c: (GST_START_TEST):
11342 It is acceptable to have a refcount of 2 or 3 at this point in the
11343 test, because the pipeline might be just posting its state_change
11344 message. The next line then waits for that message to appear using
11345 bus_poll, so that should be fine too.
11347 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11349 * gst/gst.c: (ensure_current_registry_forking):
11350 Ignore EINTR when reading from the child registry pipe.
11351 Explicitly ignore the return value from close, since it makes no
11354 * gst/gstminiobject.c: (gst_mini_object_ref),
11355 (gst_mini_object_unref):
11356 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11358 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11359 When removing cached plugins, remove their features too, so they're
11360 not visible after they've disappeared.
11362 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11363 In the unlikely case that we are linking pads with no parents, don't
11364 crash trying to get the non-existent parent bin.
11366 * gst/parse/grammar.y:
11367 Output debug in the PIPELINE category
11369 2005-03-08 Wim Taymans <wim@fluendo.com>
11371 Patch by: René Stadler <mail at renestadler dot de>
11373 * gst/gstclock.c: (gst_clock_new_periodic_id):
11374 Reject invalid clock times for interval of periodic ids.
11377 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11379 * gst/gstelementfactory.c: (gst_element_factory_create):
11380 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11381 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11382 * tools/gst-inspect.c: (print_element_info):
11383 Fix refcounting of gst_plugin_feature_load to match the docs.
11386 2006-12-07 Wim Taymans <wim@fluendo.com>
11388 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11389 (gst_base_sink_get_position):
11390 Improve debugging of events.
11392 2006-12-07 Wim Taymans <wim@fluendo.com>
11394 Patch by: René Stadler <mail at renestadler dot de>
11396 * gst/gstclock.c: (gst_clock_id_wait):
11397 Make period ids add the interval to the origial requested time instead
11398 of the possibly updated time which can be wrong when there are multiple
11399 waiters for the same id. Fixes #382592.
11401 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11402 (gst_system_clock_id_wait_jitter_unlocked),
11403 (gst_system_clock_id_wait_jitter):
11404 Fix restart in the async notify thread when an async entry is added to
11405 the front of the list. Fixes #381492.
11407 * tests/check/gst/gstsystemclock.c: (store_callback),
11408 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11409 Added test for multiple async waits.
11410 Added test for async wait order.
11412 2006-12-07 Wim Taymans <wim@fluendo.com>
11414 * gst/gstbin.c: (gst_bin_query):
11415 Add some more docs about the POSITION query.
11417 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11420 Bump version nano - back to CVS.
11422 === release 0.10.11 ===
11424 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11427 releasing 0.10.11, "Love never runs on time"
11429 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11431 * win32/common/libgstbase.def:
11432 * win32/common/libgstreamer.def:
11433 * win32/vs8/libgstbase.vcproj:
11434 * win32/vs8/libgstcoreelements.vcproj:
11435 * win32/vs8/libgstreamer.vcproj:
11436 Fix compilation on win32 under VS8
11437 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11438 Partially fixes #381175
11440 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11442 * gst/gstvalue.c: (gst_value_compare_fraction):
11443 If someone is foolish enough to compare 2 fractions with denominator =
11444 0, return UNORDERED rather than aborting.
11446 2006-11-28 Edward Hervey <edward@fluendo.com>
11448 * libs/gst/base/Makefile.am:
11449 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11450 (gst_data_queue_base_init), (gst_data_queue_class_init),
11451 (gst_data_queue_init), (gst_data_queue_new),
11452 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11453 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11454 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11455 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11456 (gst_data_queue_set_flushing), (gst_data_queue_push),
11457 (gst_data_queue_pop), (gst_data_queue_drop_head),
11458 (gst_data_queue_set_property), (gst_data_queue_get_property):
11459 * libs/gst/base/gstdataqueue.h:
11460 New GstDataQueue object for threadsafe queueing. Most useful for
11461 elements that need some queueing functionnality.
11462 * docs/libs/gstreamer-libs-docs.sgml:
11463 * docs/libs/gstreamer-libs-sections.txt:
11464 Insert documentation for GstDataQueue
11465 * plugins/elements/Makefile.am:
11466 * plugins/elements/gstelements.c:
11467 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11468 (gst_multi_queue_class_init), (gst_multi_queue_init),
11469 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11470 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11471 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11472 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11473 (gst_multi_queue_loop), (gst_multi_queue_chain),
11474 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11475 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11476 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11477 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11478 (wake_up_next_non_linked), (compute_next_non_linked),
11479 (single_queue_overrun_cb), (single_queue_underrun_cb),
11480 (single_queue_check_full), (gst_single_queue_new):
11481 * plugins/elements/gstmultiqueue.h:
11482 New multiqueue element, using GstDataQueue. Used for queuing multiple
11484 Closes #344639 and #347785
11486 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11488 * docs/pwg/advanced-types.xml:
11489 add more missing type details
11491 * tools/gst-run.c: (main):
11492 remove unused variable
11494 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11496 * docs/libs/Makefile.am:
11497 * docs/libs/gstreamer-libs.types:
11498 add types of base classes to enable gobject specific stuff in the docs
11500 * docs/random/ensonic/embedded.txt:
11501 more ideas about isolating platform specific things
11503 2006-11-20 Wim Taymans <wim@fluendo.com>
11505 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11507 * libs/gst/check/gstcheck.h:
11508 Fix compilation and running against 0.9.4. Fixes #377332.
11510 2006-11-20 Wim Taymans <wim@fluendo.com>
11512 * gst/gstsegment.c: (gst_segment_set_seek),
11513 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11514 (gst_segment_to_running_time):
11515 Fix boundary checking in to_running_time() and to_stream_time().
11518 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11519 stream and running time can now be calculated for the complete
11522 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11524 * gst/gstpad.c: (gst_pad_push_event):
11525 Can't access event structure after giving away ownership of
11528 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11530 * docs/random/ensonic/embedded.txt:
11531 * docs/random/ensonic/profiling.txt:
11532 * docs/random/ensonic/receipies.txt:
11535 2006-11-13 Wim Taymans <wim@fluendo.com>
11537 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11540 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11542 2006-11-13 Wim Taymans <wim@fluendo.com>
11544 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11546 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11547 Store new length in segment duration so we don't keep on calling the
11548 potentially expensize get_size() call. Fixes #370865.
11550 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11552 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11554 * win32/common/libgstreamer.def:
11555 Add two missing symbols (#366492).
11557 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11559 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11560 (gst_adapter_take_buffer):
11561 Fix format string to use all its arguments.
11562 Remove useless >= check on a guint
11564 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11566 * tests/examples/adapter/.cvsignore:
11567 Ignore build file as commanded by the build-bot
11569 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11571 * tests/examples/adapter/Makefile.am:
11572 * tests/examples/adapter/adapter_test.c: (run_test_take),
11573 (run_test_take_buffer), (run_tests), (main):
11575 Add new files from the previous commit
11577 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11581 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11582 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11583 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11584 * libs/gst/base/gstadapter.h:
11585 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11586 (GST_START_TEST), (gst_adapter_suite):
11587 * tests/examples/Makefile.am:
11588 Do some optimisation work in GstAdapter to avoid copies in more cases.
11589 It could still do slightly better by merging buffers when
11590 gst_buffer_is_span_fast is true, but is already faster.
11592 Also, avoid traversing a single-linked list to append each incoming
11593 buffer inside the adapter.
11595 Add simple test app that times the adapter behaviour in different
11596 situations, and extend the unit test to check that bytes enter and
11597 exit the adapter in their original order.
11599 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11601 * docs/random/draft-missing-plugins.txt:
11602 Update: use element message instead of adding a new message
11603 type to the core; don't provide GStreamer API to initiate the
11604 plugin download, just provide API to compose the strings needed
11605 and let an external libgimmestuff handle the rest.
11607 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11609 * tools/gst-inspect.c: (print_element_properties_info):
11610 Print a string instead of 'unknown type' for GValueArray properties
11612 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11614 * docs/random/draft-missing-plugins.txt:
11617 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11619 * tests/examples/typefind/typefind.c: (type_found), (main):
11620 Make typefind element example work again (#371894); add a
11623 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11625 * docs/random/draft-missing-plugins.txt:
11626 Commit initial draft about how to deal with missing plugins,
11627 needs work (API too).
11629 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11631 * docs/pwg/advanced-types.xml:
11632 documents the new caps elements (see #363118)
11634 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11636 * gst/gstplugin.c: (gst_plugin_load_file):
11637 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11638 (gst_file_src_map_region), (gst_file_src_start):
11639 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11640 (gst_file_index_commit):
11641 Use g_strerror() instead of strerror() - we want UTF-8.
11643 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11645 Patch by: Peter Kjellerstedt <pkj at axis com>
11647 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11648 Another printf fix (#371493).
11650 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11652 * tests/check/gst/gsttag.c:
11653 relicence (okay with author=company)
11655 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11657 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11658 (gst_pad_push_event):
11659 Enhance debug and improve docs
11664 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11666 * docs/random/ensonic/distributed.txt:
11667 * docs/random/ensonic/profiling.txt:
11670 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11672 * docs/gst/gstreamer-sections.txt:
11673 add new API and fix the build
11675 * gst/gstbin.c: (gst_bin_recalc_state):
11676 * gst/gstelement.c: (gst_element_message_full),
11677 (gst_element_get_state_func), (gst_element_set_state_func):
11678 use new API and improve logging
11680 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11682 API: add function to get StateChangereturn names to improve logs
11684 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11686 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11687 I'm considering shooting the next person to put strerror stuff
11688 in the translateable part of the message.
11690 2006-11-03 Wim Taymans <wim@fluendo.com>
11692 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11693 Get the type and printf conversion specifiers right.
11695 2006-11-03 Wim Taymans <wim@fluendo.com>
11697 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11699 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11700 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11701 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11702 Some small cleanups. Improve debugging.
11704 Signal all waiting threads with a broadcast instead of just one.
11707 2006-11-03 Wim Taymans <wim@fluendo.com>
11709 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11710 (gst_fd_src_create):
11711 Add some debugging.
11712 Only update fd when it's different from the old.
11714 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11716 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11717 Printf fixes for PPC/OSX, take two (#369366).
11719 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11721 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11723 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11724 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11725 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11726 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11727 don't cast to long long for portability reasons, but use
11728 GLib's types instead.
11730 2006-10-30 Michael Smith <msmith@fluendo.com>
11732 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11733 Get the arguments to lseek() the right way around.
11736 2006-10-30 Wim Taymans <wim@fluendo.com>
11738 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11741 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11743 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11745 Patch by: Kjartan Maraas <kmaraas at gnome org>
11747 * docs/design/part-MT-refcounting.txt:
11748 * docs/random/wtay/capsnego2-docs:
11751 Typo fixes (#366212).
11753 2006-10-28 Wim Taymans <wim@fluendo.com>
11755 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11758 * win32/common/libgstbase.def:
11759 * win32/common/libgstreamer.def:
11760 * win32/vs8/libgstbase.vcproj:
11761 * win32/vs8/libgstcontroller.vcproj:
11762 Add needed entries in .def files.
11764 Rearrange def files in vs8 solutions. Fixes #366286.
11766 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11768 * win32/common/gstconfig.h:
11769 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11770 hand-made win32 gstconfig.h. Fixes #366321.
11772 2006-10-27 Wim Taymans <wim@fluendo.com>
11774 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11775 (gst_ghost_pad_new_full):
11776 Make acceptcaps return TRUE when we don't have a target, just like
11779 2006-10-27 Wim Taymans <wim@fluendo.com>
11781 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11782 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11784 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11786 * gst/gststructure.c: (gst_structure_id_set_value):
11787 If someone tries to set a non-UTF8 string field on a structure,
11788 don't just print a warning, but also ignore the request and do
11789 not change/add that field to the structure.
11791 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11792 Test for the above.
11794 2006-10-25 David Schleef <ds@schleef.org>
11797 g_hash_table_insert() needs a cast to a non-const pointer duh.
11799 2006-10-25 David Schleef <ds@schleef.org>
11803 Change name parameter of _gst_debug_register_funcptr to const
11804 to reflect the constness of its use in the function as well
11805 as to quiet a gcc warning.
11807 2006-10-25 Edward Hervey <edward@fluendo.com>
11809 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11810 Don't push the buffer if it's empty.
11813 2006-10-24 Wim Taymans <wim@fluendo.com>
11818 * libs/gst/base/gstbasetransform.c:
11819 (gst_base_transform_sink_eventfunc):
11820 Debug segment values *after* updating them as this is more
11823 2006-10-23 Wim Taymans <wim@fluendo.com>
11825 * docs/design/part-events.txt:
11828 * docs/design/part-block.txt:
11829 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11830 (gst_pad_push_event):
11831 Revert BLOCKING patch, it tries to be smart without really having a
11832 clear idea what or how. So, now we discard all FLUSHING events again on
11833 a blocking pad. Should fix gnonlin again.
11835 2006-10-23 Wim Taymans <wim@fluendo.com>
11837 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11839 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11840 (gst_base_src_start), (gst_base_src_activate_push):
11841 Make sure size is always initialized. Fixes #364388.
11843 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11845 * docs/random/ensonic/distributed.txt:
11846 add some ideas about doing distributed processing
11848 * docs/random/ensonic/profiling.txt:
11849 get_rusage look promising
11851 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11853 * docs/manual/basics-helloworld.xml:
11854 Add a cast in example to fix compile warning
11856 2006-10-18 Wim Taymans <wim@fluendo.com>
11858 * gst/gstsegment.c: (gst_segment_set_last_stop),
11859 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11860 Relax arg checking again, -1 is allowed.
11862 2006-10-18 Wim Taymans <wim@fluendo.com>
11864 * gst/gstsegment.c: (gst_segment_set_last_stop),
11865 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11866 _set_last_stop() must be with a value != -1
11867 A _TYPE_SET to -1 means seek to 0.
11868 Calc last_stop correctly for negative rates.
11869 Make sure we work with positive durations when updating a segment.
11871 2006-10-18 Wim Taymans <wim@fluendo.com>
11873 * docs/design/part-live-source.txt:
11877 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11880 Add an explicit cast to GstBuffer** to keep old code that added an
11881 explicit cast to GstMiniObject** for gst_mini_object_replace()
11882 compiling without warning.
11884 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11886 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11887 check for validity of dates
11889 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11891 * docs/gst/gstreamer-sections.txt:
11892 Forgot this one, makes gtk-doc shut up.
11894 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11896 Patch by: Peter Kjellerstedt <pkj at axis com>
11899 Don't define xmlNodePtr to gpointer if the core was built with
11900 --disable-loadsave and --disable-registry, this will break
11901 applications that want to use libxml2 but are buildling against a
11902 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11903 instead so we don't have to mess with the libxml2 namespace
11906 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11909 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11910 type-punned pointer warnings.
11912 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11914 * gst/gstelement.h:
11915 Add casts to the correct return type to state <=> state transition
11918 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11920 * docs/design/part-live-source.txt:
11921 describe howto handle latency
11923 * docs/random/ensonic/profiling.txt:
11926 * tools/gst-plot-timeline.py:
11927 fix log parsing for solaris, remove unused function
11929 2006-10-16 Wim Taymans <wim@fluendo.com>
11931 * docs/design/part-trickmodes.txt:
11933 Update some docs regarding reverse playback.
11935 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11937 Patch by: Marcus Granado <mrc dot gran at gmail com>
11939 * win32/vs8/grammar.vcproj:
11940 Error out with a warning if glib-genmarshal.exe is not in path,
11941 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11943 2006-10-13 Wim Taymans <wim@fluendo.com>
11945 * gst/gstsegment.c: (gst_segment_set_seek):
11946 When seeking to stop -1, set last_stop (current position) to the
11947 duration of the segment.
11949 2006-10-13 Wim Taymans <wim@fluendo.com>
11951 * gst/gstelement.h:
11952 Clarify _NO_PREROLL a bit more.
11957 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11958 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11959 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11960 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11961 due to wrong locking order. Fixes #361769.
11962 Remove some redundant/misplaced checks in pad_block.
11964 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11965 For negative rates, count backwards from the duration.
11967 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11969 * gst/gsterror.c: (_gst_library_errors_init):
11970 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11971 up with something better).
11973 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11975 * win32/vs6/libgstreamer.dsp:
11976 * win32/vs7/libgstreamer.vcproj:
11977 * win32/vs8/libgstreamer.vcproj:
11978 Don't reference glib-compat.c which is currently not used and not
11979 disted; add gstquark.c which was recently added. Fixes #361730.
11981 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11983 * win32/common/libgstbase.def:
11984 * win32/common/libgstcontroller.def:
11985 * win32/common/libgstreamer.def:
11986 Add gst_caps_merge() and a bunch of other recently-added functions.
11989 2006-10-11 Wim Taymans <wim@fluendo.com>
11991 * docs/plugins/gstreamer-plugins.args:
11992 * docs/plugins/inspect/plugin-coreelements.xml:
11993 * docs/plugins/inspect/plugin-coreindexers.xml:
11994 Update element args.
11996 * gst/gstsystemclock.c:
11997 Small comment update.
11999 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12000 (gst_tee_request_new_pad), (gst_tee_release_pad),
12001 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12002 (gst_tee_sink_activate_pull):
12003 * plugins/elements/gsttee.h:
12005 Add default property defines.
12006 Implement release pad function.
12007 Give properties better blubs etc.
12008 Activate pads before adding them to a running tee.
12009 Do simple buffer_alloc on the first requested pad.
12010 Post error when activation fails.
12012 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12014 * gst/gst.c: (ensure_current_registry_forking):
12015 Check return value of write() to make compiler happy.
12017 2006-10-11 Wim Taymans <wim@fluendo.com>
12019 Patch by: Sjoerd Simons <sjoerd at luon dot net>
12021 * plugins/elements/gstqueue.c: (gst_queue_chain):
12022 Recheck queue filledness after signalling the overrun when we're about
12023 to leak downstream because we released the lock when emitting the signal
12024 and the queue could be empty again. Fixes #352345.
12026 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12028 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12029 Fix refcounting here too, just like we did for _new_valist() a few
12030 days ago (#357180) (thanks to René Stadler). Also remove all those
12031 'Since: 0.9' from the gtk-doc blobs.
12033 * tests/check/libs/controller.c: (controller_refcount_new_list),
12034 (gst_controller_suite):
12035 Unit test for the above.
12037 2006-10-10 Wim Taymans <wim@fluendo.com>
12039 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12041 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12042 (gst_pad_save_thyself):
12044 Write pad direction in XML output. Fixes #345496.
12046 2006-10-10 Wim Taymans <wim@fluendo.com>
12048 Patch by: René Stadler <mail at renestadler dot de>
12050 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12051 (gst_controller_new_list), (_gst_controller_dispose),
12052 (_gst_controller_finalize), (_gst_controller_class_init):
12053 Take ref to controlled object so that it cannot disappear.
12056 2006-10-10 Wim Taymans <wim@fluendo.com>
12058 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12059 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12060 (gst_check_teardown_sink_pad):
12061 Activate/deactivate pads in setup/teardown respectively.
12063 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12065 Patch by: Josep Torra Valles <josep@fluendo.com>
12068 Cast values when making gstenumtypes.h. This pacifies Forte
12069 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12070 in the enumeration.
12072 2006-10-09 Wim Taymans <wim@fluendo.com>
12074 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12075 Rename some more @cur to @start to fix docs.
12077 * gst/gstsegment.c: (gst_segment_set_seek):
12079 time and start must always stay in sync as defined in design doc.
12081 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12082 Rename param to fix docs.
12084 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12085 Check that start and time are in sync.
12087 * tests/check/pipelines/parse-launch.c:
12088 (gst_parse_test_element_change_state):
12089 Activate pad before adding to the element.
12091 2006-10-09 Wim Taymans <wim@fluendo.com>
12093 * docs/design/part-qos.txt:
12098 Update seek event docs regarding negative rates.
12099 Rename @cur to @start.
12101 * gst/gstsegment.c: (gst_segment_set_seek):
12102 * gst/gstsegment.h:
12103 Update set_seek docs regarding negative rates.
12104 Correctly update last_stop to @stop when dealing with negative
12106 Rename @cur to @start.
12108 * tests/check/gst/gstpad.c: (GST_START_TEST):
12109 Activate pads before trying to use them.
12111 * tests/check/gst/gstsegment.c: (GST_START_TEST),
12112 (gst_segment_suite):
12113 Add simple check for segments and negative rates.
12115 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
12117 * gst/gsttaglist.c: (gst_tag_list_is_empty):
12118 * gst/gsttaglist.h:
12119 * docs/gst/gstreamer-sections.txt:
12120 API: add gst_tag_list_is_empty() (#360467).
12122 * tests/check/gst/gsttag.c: (GST_START_TEST):
12125 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12127 * gst/gstmessage.h:
12128 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12129 a value that doesn't fit on enumeration.
12131 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12133 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12134 Remove local debugging system and use Gstreamer's instead.
12136 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12138 Patch by: Josep Torra Valles <josep@fluendo.com>
12140 * common/m4/gst-error.m4:
12141 Disable warning of statement not reached on Forte.
12142 * gst/gstmessage.h:
12143 Fix warning on Forte (value doesn't fit on enumeration).
12144 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12145 Fix warning on Forte (value doesn't fit on enumeration).
12146 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12147 DEBUG macro says it takes minimum of 2 args and so Forte
12148 complains about the use with just 1 arg.
12149 * plugins/elements/gstfdsink.c:
12150 * plugins/elements/gstfdsrc.c:
12151 * plugins/elements/gstfilesink.c:
12152 * plugins/elements/gstfilesrc.c:
12153 Use correct return type for the uri handler implementations.
12155 All these fix warnings in Forte. Fixes bug #360860.
12157 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12159 * gst/gstelement.h:
12160 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12161 format string, so don't use G_GNUC_PRINTF for those versions.
12163 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12165 * gst/gsttaglist.c: (gst_is_tag_list):
12166 * gst/gsttaglist.h:
12167 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12169 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12170 Small test for the above.
12172 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12174 * gst/gsttaglist.h:
12175 Less tabs, more spaces.
12177 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12180 Those two function declarations do actually belong there, revert
12181 commit from yesterday that turned them intro macros.
12183 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12185 Patch by: Josep Torra Valles <josep@fluendo.com>
12187 * gst/gst.c: (gst_init_get_option_group):
12188 Fix empty declaration and type mismatch.
12189 * gst/gstbin.c: (gst_bin_change_state_func):
12191 * gst/gstelement.c: (gst_element_continue_state),
12192 (gst_element_set_state_func), (gst_element_change_state),
12193 (gst_element_change_state_func):
12194 Fix type mismatches.
12195 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12196 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12197 Cast as appropriate.
12198 * gst/gstobject.c: (gst_class_signal_connect):
12199 Cast as appropriate. The function pointer parameter really
12200 has the wrong type but would break API if we change it.
12202 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12203 order of including string.h.
12204 * gst/gstutils.c: (gst_element_state_get_name):
12205 Remove unreachable line.
12206 * gst/gstxml.c: (gst_xml_parse_doc):
12208 All these caught by Forte.
12210 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12212 Patch by: Josep Torra Valles <josep@fluendo.com>
12214 * common/m4/gst-error.m4:
12216 We need to disable warnings on Forte for empty declarations
12217 due to gst-indent adding ;s to lines that just use macros
12218 where the macro actually doesn't need a ; at end to end
12221 2006-10-06 Wim Taymans <wim@fluendo.com>
12223 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12224 (gst_file_sink_close_file), (gst_file_sink_event),
12225 (gst_file_sink_render):
12226 Add some FIXME for the NEWSEGMENT handling.
12228 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12230 * gst/parse/grammar.y:
12231 Remove static function gst_parse_element_lock as all it does
12232 is return. Looks like cruft from 0.8.
12234 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12236 Patch by: Josep Torra Valles <josep@fluendo.com>
12238 * common/m4/gst-error.m4:
12240 * libs/gst/net/Makefile.am:
12241 Fix a compilation issue with Forte on Solaris. inet_aton is in
12244 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12246 * gst/gstpad.c: (pre_activate):
12247 * gst/gstregistry.c: (gst_registry_scan_path_level):
12248 * gst/gstregistryxml.c: (load_plugin):
12249 * libs/gst/controller/gstcontroller.c:
12250 (gst_controlled_property_set_interpolation_mode):
12251 * libs/gst/dataprotocol/dataprotocol.c:
12252 (gst_dp_packet_from_event_1_0):
12253 * libs/gst/net/gstnetclientclock.c:
12254 (gst_net_client_clock_observe_times):
12255 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12258 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12261 * docs/gst/gstreamer-sections.txt:
12262 * gst/gstconfig.h.in:
12263 * gst/gstelement.h:
12265 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12266 whether we can use G_GNUC_PRINTF in other header files and at
12267 least check the printf format/arguments of debug messages and
12268 GST_ELEMENT_ERROR messages when the printf extension is not
12270 Replace more tabs with spaces in gstinfo.h and remove two spurious
12271 function declarations in GST_DISABLE_DEBUG part with macros.
12273 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12275 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12276 More docs for the sync-message signal (mention that it is not
12277 emitted by default); log message structures of messages posted on
12280 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12282 * gst/gst.c: (ensure_current_registry_forking):
12283 Use a pipe pair to receive status results from the forked child, and
12284 ignore the result from waitpid. Fixes #355499
12286 2006-10-02 Wim Taymans <wim@fluendo.com>
12288 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12289 (gst_ghost_pad_suite):
12292 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12295 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12297 2006-10-02 Edward Hervey <edward@fluendo.com>
12299 * docs/design/part-block.txt:
12300 Further explain the use of flushing on blocked pads.
12301 * docs/gst/gstreamer-sections.txt:
12302 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12303 (gst_pad_push_event):
12305 Added new GstPadFlag : GST_PAD_BLOCKING.
12306 Adds the notion of pads really blocking, which enables to properly
12307 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12309 API: gst_pad_is_blocking()
12310 API: GST_PAD_IS_BLOCKING() macro
12311 API: GST_PAD_BLOCKING GstPadFlag
12313 2006-10-02 Wim Taymans <wim@fluendo.com>
12315 Patch by: mrcgran <mrc.gran at gmail dot com>
12317 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12318 Filter the proxied caps against the padtemplate if we have one.
12320 * gst/gstquery.c: (gst_query_new_segment):
12321 Add include for gstinfo.h so that compilation with
12322 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12324 2006-10-02 Wim Taymans <wim@fluendo.com>
12326 Patch by: Alessandro Decina <alessandro at nnva org>
12328 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12329 (gst_file_sink_set_location), (gst_file_sink_open_file),
12330 (gst_file_sink_close_file), (gst_file_sink_event),
12331 (gst_file_sink_render):
12332 Set file to NULL when closing filesink so that we can set a new filename
12333 in READY. Fixes #358613.
12335 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12337 Patch by: Alessandro Decina <alessandro at nnva org>
12339 * gst/gstevent.c: (_gst_event_copy):
12340 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12341 with event structures by setting the parent refcount address of the
12342 copied structure to the address of the refcount member of the newly
12343 copied event rather than the address of the refcount member of the
12344 original event. Fixes #358737.
12346 * tests/check/gst/gstevent.c: (GST_START_TEST):
12347 Unit test for the above.
12349 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12351 * docs/design/Makefile.am:
12352 Dist some more files.
12354 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12356 * tests/check/libs/controller.c: (GST_START_TEST),
12357 (gst_controller_suite):
12358 Add test for the previous fix; add some more tests
12359 for correct refcounting behaviour; fix a few leaks
12360 in test cases; call gst_controller_init() at start
12363 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12365 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12366 (gst_controller_set_from_list):
12367 Don't g_return_val_if_fail() on timed values with invalid timestamps
12368 inside a critical section without unlocking the mutex. Spotted by
12369 René Stadler. (#357617)
12370 Also, fix up refcounting properly: when returning an existing
12371 controller, we should increase the reference only once and not
12372 once per property and when trying to control a property again
12373 we should also increase the refcount.
12375 2006-09-29 Wim Taymans <wim@fluendo.com>
12377 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12378 * libs/gst/net/gstnettimeprovider.c:
12379 (gst_net_time_provider_thread):
12380 Stop reading commands when EOF as well.
12382 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12383 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12384 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12385 Unify description of the dump property.
12387 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12389 * tests/examples/manual/.cvsignore:
12390 OK, so it's actually cvsignore that needs changing. Stop laughing.
12392 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12394 * tests/examples/manual/Makefile.am:
12395 Gah, declare vars *before* using them
12397 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12399 * gst/gst.c: (init_pre), (scan_and_update_registry),
12400 (ensure_current_registry_nonforking),
12401 (ensure_current_registry_forking), (ensure_current_registry),
12402 (init_post), (gst_debug_help), (gst_deinit):
12403 * gst/gst_private.h:
12404 * gst/gstregistry.c: (gst_registry_finalize),
12405 (gst_registry_remove_features_for_plugin_unlocked),
12406 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12407 (gst_registry_scan_path),
12408 (_priv_gst_registry_remove_cache_plugins),
12409 (_priv_gst_registry_cleanup):
12410 * gst/gstregistry.h:
12411 Re-commit the registry changes, along with an extra fix:
12412 When a cached plugin is encountered at a different file path,
12413 update the stored path in the registry cache so that the parent
12414 process knows where it actually is now when it re-reads the registry
12415 cache. Fixes the thing that broke distcheck with the previous commit.
12417 * tests/check/Makefile.am:
12418 Clean up files named 'core' too when running make clean.
12420 * tests/examples/manual/Makefile.am:
12421 Set up a registry path for running these tests, and clean it properly
12424 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12427 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12428 want gmodule-no-export-2.0.pc instead so that we don't drag in
12429 --export-dynamic on every project that links to GStreamer.
12431 Also, make our export regex only match the start of symbols, rather
12432 than any symbol that contains '_gst' somewhere.
12434 * libs/gst/check/Makefile.am:
12435 The libgstcheck we build does however need export-dynamic, as it
12436 produces some symbols that don't match our _gst... style regex.
12439 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12441 * gst/gst.c: (init_pre), (scan_and_update_registry),
12442 (ensure_current_registry_nonforking),
12443 (ensure_current_registry_forking), (ensure_current_registry),
12444 (init_post), (gst_debug_help), (gst_deinit):
12445 * gst/gst_private.h:
12446 * gst/gstregistry.c: (gst_registry_finalize),
12447 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12448 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12449 (_gst_registry_cleanup):
12450 * gst/gstregistry.h:
12451 Revert previous change until I figure out why it breaks distcheck.
12453 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12455 * gst/gst.c: (init_pre), (scan_and_update_registry),
12456 (ensure_current_registry_nonforking),
12457 (ensure_current_registry_forking), (ensure_current_registry),
12458 (init_post), (gst_debug_help), (gst_deinit):
12460 Make init_pre and init_post take the full complement of GOptionFunc
12461 args so they can return useful GErrors. Make the registry updating
12464 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12465 ensure that the registry we're about to write out doesn't contain
12466 stale information about old-deleted plugin files.
12468 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12469 that deletion of plugin files is considered a registry change.
12471 * gst/gst_private.h:
12472 * gst/gstregistry.c: (gst_registry_finalize),
12473 (gst_registry_remove_features_for_plugin_unlocked),
12474 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12475 (gst_registry_scan_path),
12476 (_priv_gst_registry_remove_cache_plugins),
12477 (_priv_gst_registry_cleanup):
12478 * gst/gstregistry.h:
12479 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12480 by adding _priv prefix, so that they won't appear in the global
12481 symbol table. They still do atm though because of #318031. Move the
12482 prototypes to gst_private.h
12484 When removing a plugin, remove all features for that plugin too.
12487 2006-09-27 Wim Taymans <wim@fluendo.com>
12489 * docs/random/moving-plugins:
12490 Make it clear that the "compiled-in descriptions" really mean
12491 the element details.
12493 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12494 (gst_base_sink_wait_preroll):
12497 * docs/libs/gstreamer-libs-sections.txt:
12498 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12499 (gst_base_src_get_range), (gst_base_src_activate_push):
12500 * libs/gst/base/gstbasesrc.h:
12501 Added function to block while waiting for PLAYING, this function
12502 is used by live sources that block on the clock.
12503 API: gst_base_src_wait_playing()
12505 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12507 Patch by: Peter Kjellerstedt <pkj at axis com>
12510 gst-element-check.m4 is generated and should therefore be
12511 copied from the build dir rather than the source dir (#357593).
12512 'make distcheck' hasn't noticed this because we were disting
12513 the file as well, so stop doing that.
12515 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12517 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12518 Add some tests for gst_caps_intersect().
12520 * tools/gst-launch.c: (event_loop):
12521 Print all buffering percentages we get, even the 100% one.
12523 2006-09-26 Wim Taymans <wim@fluendo.com>
12525 * tools/gst-inspect.c: (print_element_properties_info),
12526 (print_signal_info):
12527 Fix printing of flags to match the look of enums.
12529 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12531 * gst/gstelementfactory.c:
12532 Fix typo in docs blurb.
12534 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12536 * gst/gsturi.c: (search_by_entry):
12537 Don't assert/crash here if a uri handler doesn't return any
12538 supported protocols. The list of protocols could be generated
12539 dynamically at runtime or at plugin registration, and an error
12540 in the underlying library shouldn't be fatal (#353301).
12542 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12545 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12546 (spotted by Peter Kjellerstedt).
12548 2006-09-23 Wim Taymans <wim@fluendo.com>
12550 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12552 * libs/gst/base/gstbasesrc.c:
12553 (gst_base_src_default_check_get_range), (gst_base_src_start),
12554 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12555 (gst_base_src_change_state):
12556 Match _start/_stop calls in the activate functions. Remove redundant
12557 _stop call from the state change function. Fixes #356910.
12558 Turn failure DEBUG into ERROR.
12560 2006-09-22 Wim Taymans <wim@fluendo.com>
12562 * docs/design/part-buffering.txt:
12563 * gst/gstmessage.c: (gst_message_new_buffering),
12564 (gst_message_parse_buffering):
12565 Update docs about buffering.
12567 * docs/design/part-trickmodes.txt:
12570 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12572 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12573 (gst_controller_new_list):
12574 Ref instances when returning them again (fixes #357180)
12576 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12578 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12579 Don't forget to release proxy lock when there's an error.
12581 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12584 Add extra initialisers for Caps things, to fix some plugin warnings
12587 2006-09-18 Wim Taymans <wim@fluendo.com>
12589 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12590 Also set template on the internal pad so that a getcaps from the
12591 target pad returns the template caps.
12593 2006-09-18 Wim Taymans <wim@fluendo.com>
12595 * gst/gstelement.c: (gst_element_post_message),
12596 (gst_element_dispose):
12597 Use _DEBUG_OBJECT some more.
12599 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12602 * tools/gst-launch.c: (main):
12603 If the toplevel element is not a GstPipeline, it must be put in a
12604 pipeline so that a bus and clock is selected.
12606 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12608 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12609 JITTER, RATE, and LATENCY query should be handled by the
12610 default case and not by the CONVERT query code.
12612 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12614 * gst/gstformat.c: (gst_format_register):
12615 Fix locking order (must take lock before using n_values).
12617 * gst/gstvalue.c: (gst_value_serialize_enum),
12618 (gst_value_deserialize_enum_iter_cmp),
12619 (gst_value_deserialize_enum):
12620 Fix serialisation/deserialisation of custom registered GstFormats.
12622 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12623 Unit test for custom format serialisation/deserialisation.
12625 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12627 * docs/pwg/building-boiler.xml:
12628 * plugins/elements/gstcapsfilter.c:
12629 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12632 2006-09-16 Edward Hervey <edward@fluendo.com>
12634 * libs/gst/base/gstbasetransform.c:
12635 (gst_base_transform_buffer_alloc):
12636 Check if requested caps are the same as the sinks caps IF
12637 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12639 This fixes the renegotiation issues stated in #352827.
12641 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12644 * docs/manual/advanced-autoplugging.xml:
12645 * tests/examples/Makefile.am:
12646 * tests/examples/manual/.cvsignore:
12647 * tests/examples/manual/Makefile.am:
12648 * tests/examples/manual/extract.pl:
12649 Extract the manual examples again like we used to do.
12652 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12654 * win32/common/config.h:
12657 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12660 Documents how to receive errors.
12662 2006-09-15 Wim Taymans <wim@fluendo.com>
12664 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12665 (event_loop), (main):
12666 Added some comments here and there.
12667 Post an application message when an interrupt is caught instead of doing
12668 an uncontrolled state change.
12669 Clean up the event loop.
12670 Handle buffering messages, pause/resume the pipeline.
12671 Make shutdown because of an interrupt more reliable.
12673 2006-09-15 Wim Taymans <wim@fluendo.com>
12675 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12676 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12677 (gst_base_sink_preroll_object):
12678 Make sure that our internal state is correct when we commit our state
12679 asynchronously. This solves a race where a state change to PLAYING
12680 could cause the sink to remain blocked in preroll in some situations.
12682 2006-09-15 Wim Taymans <wim@fluendo.com>
12684 * tools/gst-inspect.c: (print_element_properties_info),
12685 (print_signal_info):
12686 List flags as hex so it's easier to deal with.
12688 2006-09-15 Wim Taymans <wim@fluendo.com>
12690 * docs/libs/gstreamer-libs-sections.txt:
12691 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12692 (gst_base_sink_do_sync):
12693 * libs/gst/base/gstbasesink.h:
12694 Expose logic to wait for preroll so that subclasses such as audiosink
12695 can also use this method.
12696 API: gst_base_sink_wait_preroll()
12698 2006-09-15 Wim Taymans <wim@fluendo.com>
12700 * gst/gstobject.c: (gst_object_set_parent):
12701 * gst/gstpipeline.c: (do_pipeline_seek):
12702 Small cleanups in docs and code.
12704 * gst/gstsegment.c: (gst_segment_clip):
12705 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12706 if stop == start and start is in the segment, no clipping should be
12707 done. Also add a test for this.
12709 2006-09-15 Wim Taymans <wim@fluendo.com>
12711 * docs/design/part-buffering.txt:
12712 * docs/gst/gstreamer-sections.txt:
12713 * gst/gstmessage.c: (gst_message_new_buffering),
12714 (gst_message_parse_buffering):
12715 * gst/gstmessage.h:
12716 Added methods to create and parse BUFFERING messages.
12717 Added preliminary docs about buffering.
12718 API: gst_message_new_buffering
12719 API: gst_message_parse_buffering
12721 2006-09-06 Wim Taymans <wim@fluendo.com>
12724 Update documentation.
12726 * gst/gstelement.c: (gst_element_class_init),
12727 (gst_element_release_request_pad), (gst_element_set_clock),
12728 (gst_element_get_index), (gst_element_add_pad),
12729 (gst_element_remove_pad), (gst_element_get_random_pad),
12730 (gst_element_send_event), (gst_element_get_query_types),
12731 (gst_element_query), (gst_element_post_message),
12732 (gst_element_message_full), (gst_element_continue_state),
12733 (gst_element_lost_state), (gst_element_save_thyself),
12734 (gst_element_restore_thyself):
12735 Documentation updates.
12736 Rename last bit of the new-pad -> pad-added signal rename.
12737 Fix the case where an element query would only work if the source
12739 Avoid some useless type checking in message handling.
12744 Documentation updates.
12746 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12748 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12749 add an INFO line for when we actually update the fd
12751 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12756 === release 0.10.10 ===
12758 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12761 releasing 0.10.10, "Pais"
12763 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12765 * docs/manual/advanced-position.xml:
12766 Fix typo in sample code.
12768 2006-09-05 Wim Taymans <wim@fluendo.com>
12770 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12771 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12772 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12773 * libs/gst/net/gstnetclientclock.h:
12774 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12775 * libs/gst/net/gstnettimepacket.h:
12776 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12777 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12778 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12779 * libs/gst/net/gstnettimeprovider.h:
12780 Make stuff compile on windows. Fixes #345295.
12782 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12784 * gst/gst.c: (ensure_current_registry_forking):
12785 Print better details when child was terminated by signal.
12787 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12789 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12790 Print a warning rather than g_assert() if a plugin feature
12791 is a URI handler but returns no protocols (#353976).
12793 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12795 * docs/random/moving-plugins:
12798 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12800 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12801 Fix locking order, handle NULL function values properly.
12806 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12807 Initialise variable before using it and fix debug statement to
12808 print the address of the function rather than the address of the
12809 variable on the stack holding the address of the function.
12811 2006-09-01 Wim Taymans <wim@fluendo.com>
12813 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12814 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12815 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12816 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12817 (gst_ghost_pad_parent_unset),
12818 (gst_ghost_pad_internal_do_activate_push),
12819 (gst_ghost_pad_internal_do_activate_pull),
12820 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12821 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12822 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12823 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12824 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12825 (gst_ghost_pad_new_no_target_from_template),
12826 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12828 Avoid needless typechecking in macros.
12829 Since the internal pad is always present and never changes, there is
12830 no need to locking or ref when retrieving it.
12831 Improve debugging a bit.
12832 Handle link errors when setting the target. Fixes #341029.
12834 2006-09-01 Wim Taymans <wim@fluendo.com>
12836 * docs/libs/gstreamer-libs-sections.txt:
12837 * docs/plugins/gstreamer-plugins-sections.txt:
12838 Fix docs some more.
12840 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12841 (gst_collect_pads_event):
12842 * libs/gst/base/gstcollectpads.h:
12843 Documentation updates.
12844 Free queued buffer when removing a pad.
12846 2006-08-31 Michael Smith <msmith@fluendo.com>
12848 * gst/gstutils.c: (gst_element_link_pads),
12849 (gst_element_link_pads_filtered):
12850 Ensure that we set a capsfilter to NULL if we failed to link it
12851 when doing filtered linking, to avoid criticals.
12853 No need to check for unreffing srcpad, which is explicly NULLed
12854 above (a trivial code cleanup).
12856 2006-08-31 Wim Taymans <wim@fluendo.com>
12858 * docs/design/part-gstghostpad.txt:
12859 Update ascii art in documentation.
12861 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12862 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12863 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12864 (gst_ghost_pad_internal_do_activate_push),
12865 (gst_ghost_pad_internal_do_activate_pull),
12866 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12867 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12868 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12869 (gst_ghost_pad_set_target):
12870 Small cleanups and leak fixes.
12871 Remove some checks now that the internal pad is never NULL.
12872 Fix the case where linking pads without a target would create nasty
12873 criticals. Fixes #341029.
12874 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12875 value of _set_target().
12877 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12878 (gst_ghost_pad_suite):
12879 Some more tests for creating and linking untargeted ghostpads.
12881 2006-08-31 Edward Hervey <edward@fluendo.com>
12883 * docs/gst/gstreamer-sections.txt:
12884 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12885 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12886 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12887 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12888 (gst_ghost_pad_new_from_template),
12889 (gst_ghost_pad_new_no_target_from_template):
12890 * gst/gstghostpad.h:
12891 Refactored *_new() functions.
12892 Templates are now used as a g_object_new() parameter.
12893 Use template in _do_getcaps() if we don't have a target.
12894 Small documentation cleanups.
12895 Added two new constructors:
12896 gst_ghost_pad_new_from_template()
12897 gst_ghost_pad_new_no_target_from_template()
12898 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12899 (gst_ghost_pad_suite):
12900 Added tests for new ghostpad instanciation functions.
12902 API additions: gst_ghost_pad_new_from_template,
12903 gst_ghost_pad_new_no_target_from_template
12905 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12907 * docs/random/ensonic/profiling.txt:
12908 Ideas about qos profiling.
12910 2006-08-29 Wim Taymans <wim@fluendo.com>
12912 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12916 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12919 Improve and detypofy docs.
12921 * tests/check/Makefile.am:
12922 * tests/check/gst/.cvsignore:
12923 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12924 Add a basic test suite for GstXML.
12926 2006-08-29 Wim Taymans <wim@fluendo.com>
12928 * gst/gstelement.c: (activate_pads), (clear_caps),
12929 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12930 Clear the pad caps when the element shut down all of the pads and
12931 is not streaming data that could modify the caps.
12934 2006-08-28 Michael Smith <msmith@fluendo.com>
12936 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12937 Revert previous change; I misunderstood single-segment mode.
12939 2006-08-28 Michael Smith <msmith@fluendo.com>
12941 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12942 Unset DISCONT on buffers when using single-segment mode.
12944 2006-08-28 Wim Taymans <wim@fluendo.com>
12946 * gst/gstcaps.c: (gst_caps_merge_structure):
12948 Fix docs and indentation again.
12950 * tests/check/gst/gstquery.c: (GST_START_TEST):
12951 Fix leak in tests and add some more tests.
12953 2006-08-28 Edward Hervey <edward@fluendo.com>
12955 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12956 Inform GstSegment of the last stop position in order for the current
12957 segment to have a proper duration if it doesn't have a specific stop
12958 position from which a duration could be calculated.
12959 This bug was noticeable when a non-flushing, non-update new segment was
12960 followed by another segment (all buffers from the new segment were being
12963 2006-08-28 Wim Taymans <wim@fluendo.com>
12965 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12966 Small comment update.
12968 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12969 (gst_identity_transform_ip):
12970 Drop-probability is broken, mention this in the code with a
12971 FIXME and also in the property description.
12972 Make silent also be silent about the drop messages.
12974 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12976 * docs/manual/appendix-win32.xml:
12977 Remove mention of popt, we don't depend on that any
12978 longer (#353136). Add some comments pointing out that
12979 this section is slightly outdated.
12981 2006-08-28 Wim Taymans <wim@fluendo.com>
12983 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12985 * gst/gstquery.c: (gst_query_new_segment):
12986 * tests/check/gst/gstquery.c: (GST_START_TEST):
12987 Initialize variables when creating a new segment query.
12990 2006-08-28 Wim Taymans <wim@fluendo.com>
12992 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12994 * gst/gstelement.c: (gst_element_get_bus):
12995 * tests/check/gst/gstelement.c: (GST_START_TEST):
12996 Check for NULL before _reffing the bus. Fixes #353122.
12998 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
13000 * docs/manual/basics-bus.xml:
13001 Docs update: fix wrong callback return value explanation; add
13002 some lines about the implicit relationship between main loop
13003 and main context; remove duplicate main loop variable declaration.
13005 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
13007 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13008 Don't leak caps in unit test; add a few more simple
13011 2006-08-24 Stefan Kost <ensonic@users.sf.net>
13013 * docs/gst/gstreamer-sections.txt:
13014 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13015 (gst_caps_structure_is_subset), (gst_caps_merge),
13016 (gst_caps_merge_structure):
13018 * libs/gst/base/gstbasetransform.c:
13019 (gst_base_transform_transform_caps):
13020 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13021 implement caps merging (fixes #352580)
13023 2006-08-23 Stefan Kost <ensonic@users.sf.net>
13025 * tools/Makefile.am:
13026 * tools/gst-plot-timeline.py:
13027 add debug-log plotting developer tool (#340674)
13029 2006-08-23 Wim Taymans <wim@fluendo.com>
13031 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13032 (gst_pad_stop_task):
13033 Improve debugging for task functions.
13035 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13036 (gst_task_start), (gst_task_pause), (gst_task_join):
13037 Make sure that the task function started and finished after a
13039 Don't try to push the task function on the threadpool multiple
13041 Improve the g_warning message with some useful suggestions
13042 about how to fix the problem.
13044 2006-08-23 Wim Taymans <wim@fluendo.com>
13046 * gst/gstutils.c: (gst_pad_proxy_getcaps):
13047 Handle RESYNC correctly in _proxy_getcaps.
13049 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
13051 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13052 (gst_xml_parse_memory), (gst_xml_get_element):
13053 Chain up to parent class in dispose function and also
13054 unref the elements in the toplevel_elements GList.
13055 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13056 Always return a reference in gst_xml_get_element() rather
13057 than only sometimes.
13059 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13060 Don't leak GstXml object.
13062 2006-08-21 Stefan Kost <ensonic@users.sf.net>
13064 * docs/gst/gstreamer-sections.txt:
13065 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13068 * libs/gst/base/gstbasetransform.c:
13069 (gst_base_transform_transform_caps):
13070 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13073 2006-08-21 Edward Hervey <edward@fluendo.com>
13075 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13076 Implement GObject::dispose virtual method in GstXML so we can free the
13077 top_elements GList.
13079 2006-08-21 Wim Taymans <wim@fluendo.com>
13081 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13082 (gst_buffer_create_sub):
13083 Copy duration/offset_end/caps when creating a subbuffer of the
13085 Make the subbuffer read-only when we make the metadata writable for
13086 now. Fixes #351768.
13088 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13089 Added check for metadata copy when creating subbuffers.
13091 2006-08-21 Edward Hervey <edward@fluendo.com>
13093 * libs/gst/base/gstbasetransform.c:
13094 (gst_base_transform_buffer_alloc):
13095 Only call downstream buffer_alloc if transform element is passthrough
13096 or always_in_place. Closes #350449.
13098 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13101 ChangeLog surgery to add comments to previous changes
13103 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13108 * gst/gstpad.c: (gst_pad_set_active):
13109 Be more verbose in the log
13111 * libs/gst/base/gstbasetransform.c:
13112 (gst_base_transform_transform_caps):
13113 Simplify caps to get rid of duplicates, fixes #345444
13115 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13119 Use these optimizations only internally.
13121 2006-08-20 Stefan Kost <ensonic@users.sf.net>
13123 * gst/gstvalue.c: (gst_value_compare_list),
13124 (gst_value_compare_fraction_range),
13125 (gst_value_intersect_fraction_fraction_range),
13126 (gst_value_intersect_fraction_range_fraction_range),
13127 (gst_value_subtract_fraction_fraction_range),
13128 (gst_value_subtract_fraction_range_fraction_range),
13129 (gst_value_get_compare_func), (gst_value_compare),
13130 (gst_value_compare_with_func):
13132 Saves the expensive lookup of the compare function in many cases
13135 2006-08-18 Edward Hervey <edward@fluendo.com>
13137 * tests/check/gst/gstinfo.c: (gst_info_suite):
13138 Disable test that require gstdebug if it wasn't built in core.
13140 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13142 * docs/random/ensonic/logging.txt:
13145 * gst/gstinfo.c: (gst_debug_log_default):
13146 reorder fields, save some columns, add optional color codes for log
13149 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13151 * docs/random/ensonic/logging.txt:
13152 add ideas about making the logs a bit more useful
13154 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13156 * docs/pwg/advanced-events.xml:
13157 * docs/pwg/titlepage.xml:
13158 Update for 0.10 API (#340627). Add myself
13161 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13163 * docs/libs/gstreamer-libs-docs.sgml:
13164 * docs/libs/gstreamer-libs-sections.txt:
13165 * libs/gst/check/gstbufferstraw.c:
13166 Make gstcheck stuff show up in docs (still needs to
13167 be documented properly though).
13169 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13171 * docs/gst/gstreamer-sections.txt:
13173 * gst/gst.c: (init_post):
13174 * gst/gst_private.h:
13175 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13177 * gst/gstquery.c: (gst_query_new_position),
13178 (gst_query_set_position), (gst_query_parse_position),
13179 (gst_query_new_duration), (gst_query_set_duration),
13180 (gst_query_parse_duration), (gst_query_new_convert),
13181 (gst_query_set_convert), (gst_query_parse_convert),
13182 (gst_query_new_segment), (gst_query_set_segment),
13183 (gst_query_parse_segment), (gst_query_new_seeking),
13184 (gst_query_set_seeking), (gst_query_parse_seeking):
13185 Add internal helpers for pre-registering quarks from static strings
13186 and using the quark values directly instead of looking them up when
13187 creating and parsing queries. Can be used for event construction too.
13190 2006-08-16 Wim Taymans <wim@fluendo.com>
13195 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13197 * gst/gstutils.c: (gst_util_set_value_from_string):
13198 Fix memleak (#351502).
13200 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13201 Add unit test for most of gst_util_set_value_from_string()
13202 (not that one would want to encourage use of this function).
13204 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13206 * libs/gst/check/gstcheck.h:
13207 Use const gchar * variables in fail_unless_equals_string
13208 macro to avoid compiler warnings (and don't use tabs for
13211 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13213 * tools/gst-launch.c: (print_tag):
13214 More space on the left for the tag names, to cater
13215 for the 'extended comment' tag (not touching the
13216 string for the first line since it's translated).
13218 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13220 * libs/gst/check/gstcheck.h:
13221 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13222 print something when they fail.
13224 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13226 * docs/gst/gstreamer-sections.txt:
13227 * gst/gsttaglist.c: (_gst_tag_initialize):
13228 * gst/gsttaglist.h:
13229 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13230 Also change merge function for GST_TAG_COMMENT to
13233 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13235 * gst/gstinfo.c: (gst_debug_print_object):
13236 Make GST_PTR_FORMAT print messages as well.
13238 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13239 (GST_START_TEST), (gst_info_suite):
13242 2006-08-14 Edward Hervey <edward@fluendo.com>
13244 * gst/gstelementfactory.c: (gst_element_register):
13245 If the GstElementClass doesn't have a GstElementDetails with all fields
13246 filled up correctly (longname, description AND author), then error out
13247 nicely instead of crashing.
13249 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13251 * gst/gststructure.c:
13252 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13255 Expand on the difference between arrays and lists as we use them.
13257 2006-08-14 Wim Taymans <wim@fluendo.com>
13259 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13260 If the parent state change function failed, don't assume we can safely
13261 stop the source, this will be done when the pads are deactivated.
13263 2006-08-14 Wim Taymans <wim@fluendo.com>
13266 * gst/gsttask.c: (gst_task_join):
13269 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13270 (gst_pad_stop_task):
13271 When pad (de)activation failed for some reason, restore the old
13272 activation mode and set the pad to flushing instead of assuming the
13273 pad is deactivated.
13274 If the _task_join() failed, reinstall the task on the pad so that it can
13275 be stopped later and return an error.
13277 2006-08-11 Andy Wingo <wingo@pobox.com>
13280 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13281 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13282 is only for users of API that don't want to see deprecated
13283 functions in the headers; people that want to compile out
13284 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13285 CFLAGS. Fixes the build of multifdsink, or will soon..
13287 2006-08-11 Wim Taymans <wim@fluendo.com>
13289 * docs/gst/gstreamer-sections.txt:
13290 Add GstClockClass vmethod docs.
13293 Mark #endif with comment for associated #if
13295 * gst/gstclock.c: (gst_clock_id_wait):
13297 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13298 most clock implementations.
13300 Flesh out docs about resolution methods.
13301 API: GstClockClass::wait_jitter
13303 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13304 (gst_system_clock_async_thread),
13305 (gst_system_clock_id_wait_jitter_unlocked),
13306 (gst_system_clock_id_wait_jitter):
13307 Use base class wait_jitter variant for improved performance
13308 due to less clock polling.
13310 2006-08-11 Edward Hervey <edward@fluendo.com>
13312 * gst/gst.c: (gst_init_check), (init_post):
13313 Set gst as being initialized before scanning/updating the registry,
13314 since there might be my python plugin loader that calls gst_init() and
13315 we don't want to loop back in.
13318 2006-08-11 Wim Taymans <wim@fluendo.com>
13320 * docs/design/part-qos.txt:
13321 Bring docs in line with the code. Mostly the sign of the jitter was
13322 wrong in the docs. Fixes #349943.
13325 Fix the docs for the jitter.
13327 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13328 (gst_event_parse_tag), (gst_event_new_buffer_size),
13329 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13330 (gst_event_new_seek), (gst_event_parse_seek),
13331 (gst_event_new_navigation):
13332 Make sure the GstStructure has no parent when creating custom
13334 Add some more argument checking so that we avoid 0.0 rates.
13335 Flesh out the docs for the QoS event some more.
13337 2006-08-11 Wim Taymans <wim@fluendo.com>
13339 * docs/gst/gstreamer-sections.txt:
13340 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13341 (ensure_current_registry_forking), (ensure_current_registry),
13342 (parse_one_option), (parse_goption_arg), (gst_deinit),
13343 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13346 Added API and command line option to disable registry forking in
13347 addition to the environment variable.
13348 Constify some static arrays.
13349 Added some more debug.
13350 Don't deinit twice.
13351 API: gst_registry_fork_is_enabled()
13352 API: gst_registry_fork_set_enabled()
13353 API: --gst-disable-registry-fork command line option
13356 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13358 * gst/gst.c: (gst_init):
13359 Fix typo in error message.
13361 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13363 * libs/gst/controller/gstcontroller.h:
13364 fix ABI size-correction
13366 * tests/check/libs/gdp.c: (gst_dp_suite):
13367 make tests that use deprecated API conditional
13369 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13371 * docs/libs/gstreamer-libs-sections.txt:
13372 * libs/gst/controller/gstcontroller.c:
13373 (_gst_controller_get_property), (_gst_controller_set_property),
13374 (_gst_controller_init), (_gst_controller_class_init):
13375 * libs/gst/controller/gstcontroller.h:
13376 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13377 (gst_object_set_control_rate):
13378 API: add gst_object_{s,g}et_control_rate(), add private data section,
13381 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13382 * libs/gst/dataprotocol/dataprotocol.h:
13383 add deprecation guards to make gtk-doc happy and allow disabling cruft
13385 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13387 * tests/check/Makefile.am:
13388 * tests/check/gst/.cvsignore:
13389 Let's enable the new unit test as well.
13391 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13394 * docs/gst/gstreamer-sections.txt:
13395 * gst/gstconfig.h.in:
13396 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13397 (_gst_info_printf_extension_ptr),
13398 (_gst_info_printf_extension_segment):
13399 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13400 register that lets us easily dump GstSegments into debug
13403 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13404 (info_segment_format_printf_extension), (gst_info_suite):
13405 Add simple unit test that logs a bunch of different segments (not
13406 valgrinded at the moment because of leaks in
13407 gst_debug_add_log_function).
13409 2006-08-09 Edward Hervey <edward@fluendo.com>
13411 * libs/gst/base/gstbasetransform.c:
13412 (gst_base_transform_buffer_alloc):
13413 Even if we can't figure out the proper format to request downstream,
13414 call buffer_alloc() downstream with the input parameters without setting
13415 the caps on the srcpad. This will force negotiation in the chain
13419 2006-08-08 Edward Hervey <edward@fluendo.com>
13421 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13422 Unlinking from a pad without a target is now a perfectly valid case
13423 which should NOT raise an assertion.
13424 This case would happen if a linked ghostpad its target set to NULL after
13425 it was previously linked.
13427 2006-08-08 Edward Hervey <edward@fluendo.com>
13429 * tests/check/libs/gdp.c:
13430 Also comment out the test (see below).
13432 2006-08-08 Edward Hervey <edward@fluendo.com>
13434 * tests/check/libs/gdp.c: (gst_dp_suite):
13435 Use the architecture information from config.h and not gcc macros
13436 in order to properly disable a test that fails on PPC64.
13438 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13440 * gst/gstelement.c: (gst_element_remove_pad):
13441 Don't crash printing the warning if the pad has no parent.
13443 2006-08-02 Wim Taymans <wim@fluendo.com>
13445 * libs/gst/dataprotocol/dataprotocol.c:
13446 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13447 (gst_dp_crc), (gst_dp_header_payload_length),
13448 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13449 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13450 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13451 (gst_dp_event_from_packet), (gst_dp_validate_header),
13452 (gst_dp_validate_payload):
13453 Make debug category static
13454 Constify the crc table.
13455 Do some more arg checking in public functions.
13456 Fix some docs and do some small cleanups.
13458 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13459 Add some more checks to see if GDP deals with bogus input.
13461 2006-07-31 Wim Taymans <wim@fluendo.com>
13463 * gst/gstvalue.c: (gst_value_compare_list):
13464 Fix GstValueList comparison code. Fixes #347293.
13466 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13467 Check to test GstValueList comparison.
13469 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13471 * gst/gstelementfactory.c: (gst_element_factory_create):
13472 Remove unnecessary ref/unref pair
13474 * gst/parse/grammar.y:
13475 Make sure to free the parse buffer on all code paths.
13476 Move a g_free up to the error handler where it's easier to see.
13478 * tests/check/gst/gstevent.c: (test_event):
13479 Extending timeout for downstream travelling events to 10 seconds to
13480 hopefully avoid intermittent failure on the buildbots.
13482 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13483 Don't manually set the state of the src element - it will happen as a
13484 natural consequence of the pipeline changing state, and that way it
13485 will do it in the right order too.
13487 2006-07-31 Wim Taymans <wim@fluendo.com>
13489 * libs/gst/base/gstbasetransform.c:
13490 (gst_base_transform_buffer_alloc):
13491 Use OBJECT_LOCK and refcounting to get the pad caps in the
13492 buffer_alloc function because the caps could change while we are
13493 busy with them. Fixes #349105
13495 2006-07-31 Wim Taymans <wim@fluendo.com>
13497 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13498 Protect _PAD_CAPS with OBJECT_LOCK.
13500 2006-07-31 Wim Taymans <wim@fluendo.com>
13502 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13503 (gst_pad_get_property), (gst_pad_activate_pull),
13504 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13505 (gst_pad_set_activate_function),
13506 (gst_pad_set_activatepull_function),
13507 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13508 (gst_pad_set_getrange_function),
13509 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13510 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13511 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13512 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13513 (gst_pad_set_acceptcaps_function),
13514 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13515 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13516 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13517 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13518 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13519 (gst_pad_configure_sink), (gst_pad_configure_src),
13520 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13521 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13522 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13523 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13524 (gst_pad_send_event):
13525 Use _DEBUG_OBJECT when it makes sense.
13526 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13527 Small cleanups and code reflows.
13528 Avoid caps refcounting in _accept_caps.
13529 Refactor alloc_buffer so that the code performed on the peer is in a
13530 separate function. Also if the pad does not implement a buffer alloc
13531 function, we should still check if the pad is flushing before falling
13532 back to the default allocator.
13534 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13536 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13537 Make all uses of identity and fakesink have silent=true to avoid
13538 serialising every passing data structure, which is breaking tests
13539 on FC4 for some unknown reason.
13541 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13543 * gst/parse/Makefile.am:
13544 * gst/parse/grammar.y:
13545 * gst/parse/parse.l:
13546 Reverted previous patch as it required to bump the flex dependency to
13547 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13549 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13551 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13553 * gst/parse/Makefile.am:
13554 * gst/parse/grammar.y:
13555 * gst/parse/parse.l:
13556 push & pop the state of the lexer for reentrant use case
13559 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13561 * libs/gst/base/gstbasesrc.h:
13562 Note in the docs that the ::newsegment vfunc is not actually used by
13565 2006-07-28 Wim Taymans <wim@fluendo.com>
13567 * libs/gst/base/gstcollectpads.c:
13568 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13569 (gst_collect_pads_clear), (gst_collect_pads_flush),
13570 (gst_collect_pads_event), (gst_collect_pads_chain):
13571 When flushing a pad, also clear the queued buffer so that we don't
13572 accidentally use it when we shouldn't.
13573 Fix leaks by inreffing incomming buffer.
13574 Flush out queued buffers in case of errors.
13577 2006-07-28 Wim Taymans <wim@fluendo.com>
13579 * docs/random/phonon-gst:
13580 Random notes about a Phonon backend.
13582 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13584 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13586 * tests/check/libs/gdp.c: (gst_dp_suite):
13587 Take a whack at fixing the ppc compile using a different define to
13588 disable the broken test.
13590 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13591 Remove excess g_print()
13593 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13595 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13596 Oops, meant to uncomment this line too to dampen the noise a bit.
13598 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13600 * gst/parse/grammar.y:
13601 * gst/parse/parse.l:
13602 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13603 (GST_START_TEST), (parse_suite):
13604 Fix some of the leaks exposed by extending the parse-launch testsuite,
13605 and move the 3 I can't figure out into a separate test that won't run
13606 the pipelines unless the appropriate line is uncommented.
13608 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13610 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13611 Requesting 0 bytes before the end of the file should result in
13612 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13615 2006-07-27 Wim Taymans <wim@fluendo.com>
13617 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13618 Fix useless assert, a uint is always positive.
13620 * gst/gststructure.c: (gst_structure_nth_field_name),
13621 (gst_structure_foreach), (gst_structure_map_in_place):
13622 Check input arguments for public functions to avoid obvious crashes.
13624 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13625 * plugins/elements/gstfakesink.h:
13626 Do less useless typechecking.
13628 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13630 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13631 Do not use mmap() by default since there are a number of error
13632 conditions that we would like to handle in a non-fatal way that
13633 will result in a SIGBUS if we use mmap(). Examples: external
13634 devices (USB harddrive, portable music player) being unplugged
13635 while in use; file on mounted CD/DVD that can't be read because
13636 the medium is partly damaged. Fixes #348455 and #348475.
13638 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13641 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13642 rates are a gdouble
13644 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13646 * gst/gstregistry.c:
13647 Move big documentation comment into class section header, so that it
13648 appears in the API docs.
13650 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13652 * docs/gst/gstreamer-sections.txt:
13653 Oops. Commit the docs additions too for new API.
13654 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13656 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13658 * gst/gststructure.c: (gst_structure_id_set),
13659 (gst_structure_id_set_valist):
13660 * gst/gststructure.h:
13661 Add API for setting values into structures without performing
13662 a quark lookup, if the appropriate quark is already known.
13664 API: gst_structure_id_set
13665 API: gst_structure_id_set_valist
13667 * gst/parse/grammar.y:
13668 * gst/parse/parse.l:
13669 Remove some dead code shown by the coverage information.
13670 Don't throw a critical g_warning when encountering a syntax error,
13671 just warn and let the normal error path handle it.
13673 * plugins/elements/gstelements.c:
13674 Bump the rank of filesink up to PRIMARY so that it is preferred over
13675 gnomevfssink for file:// sink uri's
13677 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13678 (GST_START_TEST), (run_delayed_test),
13679 (gst_parse_test_element_base_init),
13680 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13681 (gst_parse_test_element_change_state),
13682 (gst_register_parse_element), (parse_suite):
13683 Beef up the tests for parse syntax to check that more error cases
13684 fail as they are supposed to. Increases the test coverage a bit.
13686 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13688 * docs/manual/basics-elements.xml:
13689 Fix gst_element_link() example.
13692 Mention in API docs that one should usually gst_bin_add()
13693 elements to a bin or pipeline before doing the linking.
13695 2006-07-26 Wim Taymans <wim@fluendo.com>
13697 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13698 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13699 Avoid function call for known types by keeping the buffer and
13700 subbuffer GType global.
13702 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13703 Random silly optimisations in read() path.
13705 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13707 * tools/gst-launch.c: (main):
13708 If the top-level of the parse is a normal bin, it doesn't do the
13709 right logic to run as a top-level element, so place it inside a
13712 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13714 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13715 Remove superfluous g_object_notify() calls, GObject does
13716 that for us automatically.
13718 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13721 on Win32, use dllspec to export the debug category symbols
13723 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13725 * gst/gsttaglist.c: (_gst_tag_initialize):
13726 Allow more than one GST_TAG_IMAGE per taglist.
13728 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13730 * gst/gstminiobject.c:
13732 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13733 (gst_fd_src_create):
13734 log recurring events at LOG level
13735 add more debug for when the fd gets set
13737 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13739 * gst/gstparse.c: (gst_parse_launch):
13740 Also remove reentrance checks if flex is MT safe (#348179)
13741 Fix my empty ChangeLog entry below
13743 2006-07-21 Andy Wingo <wingo@pobox.com>
13745 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13747 * libs/gst/check/Makefile.am
13748 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13749 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13750 * libs/gst/check/gstbufferstraw.h:
13751 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13752 functions, thus proving I am still a GStreamer haxor. OK I wrote
13753 them a long time ago, but anyways.
13755 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13758 * gst/gstparse.c: (gst_parse_launch):
13759 Check for flex version and omit mutex if we have a MT save flex
13762 2006-07-21 Wim Taymans <wim@fluendo.com>
13764 * gst/gstparse.c: (gst_parse_launch):
13765 Protect recursive calls to _parse with a recursive mutex
13768 2006-07-21 Wim Taymans <wim@fluendo.com>
13770 * tests/check/gst/gstpad.c: (GST_START_TEST):
13773 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13775 * gst/gstparse.c: (gst_parse_launch):
13776 Do not hang on recursive usage of gst_parse_launch()
13778 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13780 * gst/gsttaglist.c:
13781 Add some more docs, comments and FIXME 0.11s here and there
13782 and also fix some typos.
13784 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13786 * gst/gstsegment.h:
13787 Convert tabs to spaces for better readability.
13789 2006-07-20 Edward Hervey <edward@fluendo.com>
13791 * tests/check/libs/gdp.c: (gst_dp_suite):
13792 the test_buffer test fails at line 140 on ppc64 at the following
13794 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13795 GST_BUFFER_FLAG_IN_CAPS),
13796 "GST_BUFFER_IN_CAPS flag should have been copied !");
13797 See bug #348114 for more details.
13799 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13801 * docs/pwg/advanced-scheduling.xml:
13803 Fix typos (#348000).
13805 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13807 * docs/pwg/intro-basics.xml:
13808 Fix wrong links (#347927).
13810 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13812 * gst/gstregistry.h:
13813 * gst/gstregistryxml.c: (load_feature),
13814 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13815 * win32/common/config.h:
13816 make --disable-index work (#342564)
13818 2006-07-18 Wim Taymans <wim@fluendo.com>
13820 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13824 The attached patch adds two missing defines to gsttrace.h when tracing
13825 is disabled. It also corrects one existing define.
13828 2006-07-17 Wim Taymans <wim@fluendo.com>
13830 * docs/gst/gstreamer-sections.txt:
13831 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13833 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13834 Add two functions to check and change the SIGSEGV behaviour
13835 when loading plugins.
13836 Don't mess with the SIGSEGV handler when we were told not to.
13838 API: gst_segtrap_is_enabled
13839 API: gst_segtrap_set_enabled
13841 2006-07-14 Wim Taymans <wim@fluendo.com>
13843 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13844 * tests/check/elements/filesrc.c: (GST_START_TEST):
13845 Revert fix for regression in #347408 after release.
13847 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13849 Patch by: Antoine Tremblay <hexa00 at gmail com>
13851 * gst/gstutils.c: (gst_element_unlink):
13852 Free iterator when done (#347311).
13854 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13855 And add a test case for this.
13857 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13860 Bump nano back to CVS
13862 === release 0.10.9 ===
13864 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13867 releasing 0.10.9, "On the road again"
13869 2006-07-13 Wim Taymans <wim@fluendo.com>
13871 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13872 * tests/check/elements/filesrc.c: (GST_START_TEST):
13873 Revert pull-0 fix for release. Disable check. Fixes #347408.
13875 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13877 * libs/gst/dataprotocol/dataprotocol.c:
13878 (gst_dp_event_from_packet_1_0):
13879 Fixes #347337: failure to deserialize event packets with
13880 empty payload (only event type)
13882 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13885 do not install a .c file in the header directory
13887 2006-07-13 Edward Hervey <edward@fluendo.com>
13889 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13890 GhostPad no longer implicitely use the padtemplates of the targets.
13893 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13895 * gst/gstvalue.c: (gst_value_compare_list),
13896 (gst_value_compare_array), (_gst_value_initialize):
13897 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13898 Make GstValueArray comparison be order dependent as designed.
13899 Add checks for value lists and value array comparisons.
13902 2006-07-11 Edward Hervey <edward@fluendo.com>
13904 * gst/gstbin.c: (activate_pads),
13905 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13906 (gst_bin_change_state_func):
13907 (de)activate src pads before calling state_change on the childs.
13908 This is to avoid the case where a src ghostpad is blocked (holding the
13909 stream lock), which would block the deactivation of the ghostpad's
13911 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13912 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13913 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13914 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13915 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13916 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13917 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13918 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13919 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13920 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13921 (gst_ghost_pad_class_init),
13922 (gst_ghost_pad_internal_do_activate_push),
13923 (gst_ghost_pad_internal_do_activate_pull),
13924 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13925 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13926 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13927 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13928 GhostPads now create their internal GstProxyPad at creation (and not
13929 when they're linked, as it was being done previously).
13930 The internal and target pads are linked straight away.
13931 The data will also travel through the other pad in order to make
13932 pad blocking and probes non-hackish (the probe/block now really happens
13933 on the GhostPad and not on the target).
13934 * gst/gstpad.c: (gst_pad_set_blocked_async),
13935 (gst_pad_link_prepare), (gst_pad_push_event):
13936 Remove previous ghostpad cruft.
13937 * gst/gstutils.c: (gst_pad_add_data_probe),
13938 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13939 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13940 (gst_pad_remove_buffer_probe):
13941 Remove previous ghost pad cruft.
13942 Added more detailed debug statements.
13943 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13944 Fix the testsuite for refcounting changes.
13945 The comments about who has references were correct, but the refcount
13946 being checked wasn't the same (!?!).
13950 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13952 * docs/gst/gstreamer-sections.txt:
13953 * gst/gstconfig.h.in:
13954 More docs for configuration options, add docs to gtk-doc.
13956 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13959 * gst/gstconfig.h.in:
13960 * win32/common/config.h:
13961 Fix build when disabling tracing (fixes #344016). Also start to document
13962 the defines that disable the sub-systems.
13964 2006-07-10 Edward Hervey <edward@fluendo.com>
13966 * gst/gst.c: (ensure_current_registry_forking):
13967 let's make valgrind happy...
13969 2006-07-09 Wim Taymans <wim@fluendo.com>
13971 * gst/gstelement.c: (activate_pads),
13972 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13973 Better pad activation code: Reset the collect value too on resync.
13976 2006-07-09 Wim Taymans <wim@fluendo.com>
13978 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13979 (gst_pad_activate_push):
13980 Use some more macros where it makes sense.
13981 Allow pad mode switching instead of asserting. When a pad
13982 is activated in one mode and we activate it in another,
13983 deactivate it first before activating it in a different mode.
13986 2006-07-08 Andy Wingo <wingo@pobox.com>
13988 * tools/gst-launch.c (main): Handle err == NULL.
13990 * gst/gst.c (init_post, ensure_current_registry)
13991 (ensure_current_registry_forking)
13992 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13993 factoring out the registry scanning into separate functions. Don't
13994 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13995 Better environment var name/interface suggestions accepted.
13997 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13999 * gst/gstobject.c: (gst_object_set_name_default),
14000 (gst_object_set_name):
14001 Random micro-optimisation: don't use a hash table
14002 with strings as keys and the usual strdup/strcmp
14003 involved, but rather just use the GQuark of the
14004 type name as key, since it needs to be looked up
14005 anyway to get the type name string.
14007 * tests/check/gst/gstobject.c: (GST_START_TEST):
14010 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14012 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14013 (gst_bin_iterate_all_by_interface):
14014 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14015 GTypes are gulongs and thus the top 4 bytes might be cut
14016 off on some platforms when doing GPOINTER_TO_INT, leading
14017 to invalid GTypes and bad things happening (see RH bug #179654).
14018 Also add a check to make sure the type passed in is really
14021 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14026 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
14030 * gst-element-check.m4:
14031 * gst-element-check.m4.in:
14032 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14033 instead of the unversioned gst-inspect (#324176, #168659).
14035 2006-07-06 Wim Taymans <wim@fluendo.com>
14037 * gst/gstmessage.h:
14038 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14041 2006-07-06 Wim Taymans <wim@fluendo.com>
14043 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14044 (gst_base_src_wait), (gst_base_src_update_length),
14045 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14046 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14047 (gst_base_src_loop), (gst_base_src_start),
14048 (gst_base_src_activate_pull):
14050 blocksize == 0 now means the default blocksize when working in push
14052 Remove some pointless asserts in _wait function.
14053 Fix offset/length calculations and EOS handling. We can now pull 0
14054 bytes as well, which is allowed.
14055 use _check_get_range() to decide if we can operate in _pull based
14057 Fix refcounting leak when check_get_range function was not
14059 API GstBaseSrc::blocksize range can be 0 too now (default)
14061 * tests/check/elements/filesrc.c: (GST_START_TEST),
14063 Added check to test _get_range() behaviour.
14065 2006-07-06 Wim Taymans <wim@fluendo.com>
14067 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14068 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14069 (gst_pad_pull_range):
14071 Lots of comments and docs added to the pad functions.
14072 Flesh out the expected behaviour of the get_range() functions.
14074 2006-07-06 Wim Taymans <wim@fluendo.com>
14079 * gst/gstiterator.h:
14083 Remove comma at end of enumerator list.
14085 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
14087 * win32/common/libgstbase.def:
14088 * win32/common/libgstdataprotocol.def:
14089 * win32/common/libsgtreamer.def:
14090 Add new exported functions.
14092 2006-07-05 Wim Taymans <wim@fluendo.com>
14094 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14095 Add some more docs here and there.
14097 2006-07-05 Wim Taymans <wim@fluendo.com>
14099 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14100 (gst_base_sink_loop), (gst_base_sink_get_position):
14101 When operating in pull mode update the offset so that we
14104 2006-07-05 Wim Taymans <wim@fluendo.com>
14106 * gst/gstregistryxml.c: (read_string):
14107 Avoid strdup. (will happen in libxml, but hey!)
14110 Add some more docs.
14112 2006-07-05 Wim Taymans <wim@fluendo.com>
14114 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14115 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14116 (gst_buffer_suite):
14117 No point in checking if the size of the subbuffer > 0, the
14118 code handles it correclty as demonstrated by unit test.
14119 Also add a unit test for the zero sized _new_and_alloc and
14120 _copy. Fixes #346663.
14122 2006-07-05 Wim Taymans <wim@fluendo.com>
14124 * libs/gst/base/gstbasetransform.c:
14125 (gst_base_transform_prepare_output_buffer),
14126 (gst_base_transform_buffer_alloc),
14127 (gst_base_transform_handle_buffer):
14128 Make sure the buffer we pass to transform_ip has a refcount of
14129 1 and thus is writable. Fixes #343196
14131 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14133 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14134 (gst_file_src_init), (gst_file_src_set_property),
14135 (gst_file_src_get_property), (gst_file_src_map_region):
14136 * plugins/elements/gstfilesrc.h:
14137 Add "sequential" property, off by default, to use madvise and hint
14138 to the kernel that sequential access is desired.
14139 Touch all retrieved pages by default to ensure they are pulled
14140 into memory. (Closes #345720)
14142 2006-07-03 Wim Taymans <wim@fluendo.com>
14144 * docs/design/part-block.txt:
14145 * docs/design/part-dynamic.txt:
14146 Small docs updates.
14148 2006-07-03 Wim Taymans <wim@fluendo.com>
14150 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14151 (gst_caps_unref), (gst_static_caps_get),
14152 (gst_caps_append_structure):
14153 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14154 Use GSlice when the glib we build against is >= 2.10
14156 2006-07-03 Wim Taymans <wim@fluendo.com>
14158 * gst/gstelement.c: (gst_element_pads_activate):
14159 Small cleanup in pad activation code.
14161 2006-07-03 Wim Taymans <wim@fluendo.com>
14163 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14165 * gst/gst-i18n-app.h:
14166 * gst/gst-i18n-lib.h:
14167 * tools/gst-inspect.c: (print_signal_info):
14168 The attached patch will make the inclusion of gettext.h unconditional in
14169 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14170 libintl.h in tools/gst-inspect.c.
14171 This allows use of --disable-nls again and fixes #344642.
14173 2006-07-03 Edward Hervey <edward@fluendo.com>
14175 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14176 Implement pad blocking on events according to part-block.txt.
14177 More comments on behaviour.
14178 * tests/check/gst/gstevent.c: (test_event):
14179 Send event to peer pad of blocked pad (else it will block).
14181 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14183 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14184 (gst_check_run_suite):
14185 if we get the wrong message, give us the types as string
14186 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14188 * tests/check/elements/filesrc.c: (GST_START_TEST):
14189 add a test for trying to open a non-existing file
14191 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14193 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14194 add a test for adding self
14196 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14198 * libs/gst/check/gstcheck.h:
14199 add some assert_ as alias for fail_unless_*
14200 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14201 increase test coverage
14203 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14206 include lcov.mak for lcov coverage generation
14207 * tools/Makefile.am:
14210 2006-07-02 Edward Hervey <edward@fluendo.com>
14212 * tests/check/elements/.cvsignore:
14215 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14218 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14219 * tests/check/Makefile.am:
14220 clean up gcov files
14222 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14224 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14225 remove gst_caps_simplify; it was not declared and not used
14226 and deprecated in 0.8
14228 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14230 * docs/faq/gst-uninstalled:
14231 don't put empty paths on PYTHONPATH
14232 * docs/gst/gstreamer-sections.txt:
14233 remove some symbols that are not there
14235 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14237 * gst/gstcaps.c: (gst_caps_compare_structures):
14239 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14240 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14243 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14245 * libs/gst/dataprotocol/Makefile.am:
14246 build dataprotocol test by linking to the lib, instead of
14247 compiling the source, so we get coverage
14248 * tests/check/Makefile.am:
14249 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14250 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14251 add a test for filesrc
14253 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14255 * tests/check/gst/gststructure.c: (GST_START_TEST),
14256 (gst_structure_suite):
14257 Push coverage from 59.04% to 70.00%
14259 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14261 * tests/check/Makefile.am:
14262 gst-inspect every element; this makes sure that we also get
14263 coverage on element's get/set functions
14265 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14268 set CFLAGS and friends to -O0 if gcov is being used
14271 * libs/gst/base/Makefile.am:
14272 * libs/gst/check/Makefile.am:
14273 * libs/gst/controller/Makefile.am:
14274 * libs/gst/dataprotocol/Makefile.am:
14275 * libs/gst/net/Makefile.am:
14276 * plugins/elements/Makefile.am:
14277 * plugins/indexers/Makefile.am:
14278 add makefile rules to generate gcov data and clean up
14279 * tests/check/Makefile.am:
14280 add a coverage target that generates an html overview
14283 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14285 * tests/check/elements/fakesink.c:
14286 * tests/check/elements/fakesrc.c:
14287 * tests/check/elements/fdsrc.c:
14288 * tests/check/elements/identity.c:
14289 * tests/check/generic/sinks.c: (gst_sinks_suite):
14290 * tests/check/generic/states.c:
14291 * tests/check/gst/gst.c:
14292 * tests/check/gst/gstabi.c:
14293 * tests/check/gst/gstbin.c:
14294 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14295 * tests/check/gst/gstbus.c: (gst_bus_suite):
14296 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14297 * tests/check/gst/gstelement.c:
14298 * tests/check/gst/gstevent.c: (gst_event_suite):
14299 * tests/check/gst/gstghostpad.c:
14300 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14301 * tests/check/gst/gstmessage.c: (gst_message_suite):
14302 * tests/check/gst/gstminiobject.c:
14303 * tests/check/gst/gstobject.c:
14304 * tests/check/gst/gstpad.c:
14305 * tests/check/gst/gstpipeline.c:
14306 * tests/check/gst/gstplugin.c:
14307 * tests/check/gst/gstquery.c: (gst_query_suite):
14308 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14309 * tests/check/gst/gststructure.c:
14310 * tests/check/gst/gstsystemclock.c:
14311 * tests/check/gst/gsttag.c:
14312 * tests/check/gst/gsttask.c: (gst_task_suite):
14313 * tests/check/gst/gstutils.c:
14314 * tests/check/gst/gstvalue.c:
14315 * tests/check/libs/adapter.c:
14316 * tests/check/libs/basesrc.c:
14317 * tests/check/libs/collectpads.c:
14318 * tests/check/libs/controller.c:
14319 * tests/check/libs/gdp.c: (gst_dp_suite):
14320 * tests/check/libs/gstnetclientclock.c:
14321 * tests/check/libs/gstnettimeprovider.c:
14322 * tests/check/libs/libsabi.c: (libsabi_suite):
14323 * tests/check/libs/typefindhelper.c:
14324 * tests/check/pipelines/cleanup.c:
14325 * tests/check/pipelines/parse-launch.c:
14326 * tests/check/pipelines/simple-launch-lines.c:
14327 * tests/check/pipelines/stress.c: (stress_suite):
14330 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14332 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14333 * libs/gst/check/gstcheck.h:
14334 create a macro and function so that the simple unit test
14335 case can be just one macro to create main()
14337 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14339 * gst/gstbin.c: (gst_bin_restore_thyself):
14340 * gst/gstxml.c: (gst_xml_make_element):
14341 Fix deserialisation from XML. Set parent manually
14342 instead of using gst_bin_add(), since gst_bin_add()
14343 will unlink all pads of the element being added.
14346 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14348 Patch by: Peter Kjellerstedt <pkj at axis com>
14350 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14351 Fix missing g_strdup() and double free when using the
14352 --gst-plugin-load command line option (#346097).
14354 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14357 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14359 * libs/gst/net/gstnetclientclock.c:
14360 * libs/gst/net/gstnettimeprovider.c:
14361 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14363 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14365 * docs/manual/advanced-dataaccess.xml:
14366 Fix buffer probe example compilation in
14369 2006-06-22 Edward Hervey <edward@fluendo.com>
14371 * gst/gstelement.c: (gst_element_pads_activate):
14372 We need to deactivate src pads first and then sink pads.
14373 The reason is the src pads might be blocking while holding the streaming
14374 lock, so we need to deactivate them first so that deactivating the sink
14375 pads doesn't block (since it will require the streaming lock).
14377 2006-06-22 Wim Taymans <wim@fluendo.com>
14379 * libs/gst/base/gstbasetransform.c:
14380 (gst_base_transform_buffer_alloc):
14381 Forgot to remove two unneeded unrefs.
14382 Simplify a check _is_equal allready checks the obvious case.
14384 2006-06-22 Wim Taymans <wim@fluendo.com>
14386 * docs/design/part-block.txt:
14387 Some docs about what pad_block should do.
14389 2006-06-22 Wim Taymans <wim@fluendo.com>
14391 * gst/gstcaps.c: (gst_caps_replace):
14392 Fix crasher when passed NULL. Doc clarification.
14393 Optimize for the trivial case.
14395 * gst/gstpipeline.c: (gst_pipeline_change_state):
14398 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14399 Small documentation cleanup.
14401 * libs/gst/base/gstbasetransform.c:
14402 (gst_base_transform_buffer_alloc):
14403 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14404 is what we need and it avoids a whole lot of redundant
14405 refcount operations.
14407 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14409 Patch by: Philip Jägenstedt <philip at lysator liu se>
14411 * docs/manual/advanced-dataaccess.xml:
14412 Fix 'Embedding static elements' section to use
14413 GST_PLUGIN_DEFINE_STATIC (#345607).
14415 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14417 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14418 Attempt to 'fix' spuriously failing test case: it seems like the
14419 timeout of half a second is simply too small when the system is under
14420 load otherwise, and the timeout doesn't really seem to serve any
14421 particular purpose here. Give the pipeline a few seconds to preroll
14422 first, and then give it another half a second to go from PAUSED to
14423 PLAYING and marshal the message into the main thread.
14425 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14427 * tools/gst-feedback-m.m:
14428 Don't only use unversioned tools, try versioned tools as well
14431 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14433 * gst/gstbus.c: (gst_bus_class_init):
14434 Fix some typos, make docs more explicit.
14436 2006-06-20 Wim Taymans <wim@fluendo.com>
14438 * tests/check/gst/gstghostpad.c: (block_callback),
14439 (GST_START_TEST), (gst_ghost_pad_suite):
14440 Added some more ghostpad tests, mainly blocking
14443 2006-06-16 Wim Taymans <wim@fluendo.com>
14445 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14446 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14447 (gst_file_sink_event), (gst_file_sink_render):
14448 * plugins/elements/gstfilesink.h:
14449 Check if we can seek in the file instead of assuming
14450 we always can. Post an error when we are asked to seek in a
14451 non-seekable file (like a fifo). Fixes #343312.
14454 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14456 * tools/gst-launch.1.in:
14457 Un-garble (fourcc) bit in filtered caps section.
14459 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14461 * docs/manual/advanced-autoplugging.xml:
14462 * docs/manual/basics-helloworld.xml:
14463 * docs/manual/highlevel-components.xml:
14464 Don't leak bus reference in sample code.
14466 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14469 Add default for new --enable-plugin-docs switch.
14472 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14475 * docs/Makefile.am:
14476 Use new ENABLE_PLUGIN_DOCS conditional.
14478 2006-06-14 Wim Taymans <wim@fluendo.com>
14480 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14481 Make it clear with a FIXME and a real define what the #if 0
14482 previously disabled.
14484 2006-06-14 Wim Taymans <wim@fluendo.com>
14486 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14487 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14488 * libs/gst/base/gstbasetransform.c:
14489 (gst_base_transform_sink_eventfunc):
14490 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14491 Don't randomly and silently reset a segment when the format
14492 changes as this is a bug somewhere upstream. Fixes #330379.
14494 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14496 Patch by: Wouter Paesen <wouter at kangaroot net>
14498 * libs/gst/controller/gstcontroller.c:
14499 (gst_controlled_property_new):
14500 Fix controlling of float properties (#344849).
14502 * tests/check/libs/controller.c:
14503 (gst_test_mono_source_get_property),
14504 (gst_test_mono_source_set_property),
14505 (gst_test_mono_source_class_init), (GST_START_TEST):
14506 While we're at it, add some float stuff to unit test.
14508 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14511 * docs/images/gdp-header.svg:
14513 * docs/libs/Makefile.am:
14514 * docs/libs/gdp-header.png:
14515 * libs/gst/dataprotocol/dataprotocol.c:
14516 add it to the API docs
14517 * docs/manual/intro-motivation.xml:
14520 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14522 * gst/gst.c: (scan_and_update_registry), (init_post):
14523 If the fork()'ed child process can't write the updated registry cache
14524 file to disk for some reason, make it exit with a failure exit code,
14525 so that the parent can then re-scan the plugins itself and update the
14526 registry structures in memory and work with that (rather than failing
14527 when creating elements because seemingly no plugins are available).
14528 Refactor registry scanning code into separate function for this and
14529 also separate fork() and non-fork() code paths. Fixes #344748.
14531 2006-06-13 Wim Taymans <wim@fluendo.com>
14533 * docs/manual/advanced-dataaccess.xml:
14534 Fix wrong PluginDesc. Fixes #344755.
14536 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14538 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14539 Fix silly bug that prevented us from creating
14540 ~/.gstreamer-0.10 and writing the registry in one
14541 go (the first call to g_mkstemp() would overwrite the
14542 placeholder in the template string, so the second call
14543 to g_mkstemp() after creating the missing directory
14544 would then error out with 'invalid argument').
14546 2006-06-13 Edward Hervey <edward@fluendo.com>
14548 * gst/gst.c: (init_post):
14551 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14553 * gst/glib-compat-private.h:
14554 * gst/glib-compat.c:
14555 * gst/glib-compat.h:
14556 * gst/gstvalue.c: (gst_value_serialize_flags):
14557 remove GLib 2.6 compatibility code
14559 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14561 * gst/parse/Makefile.am:
14562 Fix build with 'make -j N' even more (#340016).
14564 2006-06-12 Wim Taymans <wim@fluendo.com>
14566 * docs/gst/gstreamer-sections.txt:
14569 2006-06-12 Wim Taymans <wim@fluendo.com>
14571 * gst/gstsegment.c: (gst_segment_set_duration),
14572 (gst_segment_set_last_stop), (gst_segment_set_seek),
14573 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14574 (gst_segment_to_running_time), (gst_segment_clip):
14575 Use G_UNLIKELY to help the compiler a bit.
14577 2006-06-12 Wim Taymans <wim@fluendo.com>
14579 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14581 * gst/gstevent.c: (gst_event_get_type):
14582 * gst/gstmessage.c:
14583 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14585 constify quark registration strings. Fixes #344115
14586 Avoid unneeded type checking is _pad_push() by internally
14587 calling gst_pad_chain_unchecked().
14589 2006-06-12 Wim Taymans <wim@fluendo.com>
14591 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14592 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14593 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14594 (gst_buffer_is_span_fast), (gst_buffer_span):
14595 Init _type for consistency.
14596 Use _FLAGS macro to avoid type check.
14597 Avoid unneeded type checks in subbufer code.
14599 2006-06-12 Wim Taymans <wim@fluendo.com>
14601 * gst/gst.c: (gst_debug_help):
14602 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14603 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14604 (gst_plugin_feature_list_free):
14605 * gst/gstregistry.c: (gst_registry_add_plugin),
14606 (gst_registry_add_feature), (gst_registry_plugin_filter),
14607 (gst_registry_feature_filter), (gst_registry_find_plugin),
14608 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14609 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14610 * gst/gstregistryxml.c: (load_feature),
14611 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14612 * gst/gstminiobject.c: (gst_mini_object_unref),
14613 (gst_mini_object_replace), (gst_value_mini_object_free),
14614 (gst_value_mini_object_copy):
14615 Use _CAST macros to avoid unneeded type checking.
14616 Added some more G_UNLIKELY.
14618 2006-06-12 Wim Taymans <wim@fluendo.com>
14621 Avoid unneeded type checking.
14622 API: GST_BUFFER_IS_DISCONT
14624 * gst/gstminiobject.h:
14625 Avoid type check in flag accessor.
14627 * gst/gstelementfactory.h:
14629 * gst/gstpluginfeature.h:
14631 API: GST_ELEMENT_FACTORY_CAST
14632 API: GST_PLUGIN_CAST
14633 API: GST_PLUGIN_FEATURE_CAST
14635 2006-06-12 Wim Taymans <wim@fluendo.com>
14637 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14638 (gst_object_unref):
14639 Add G_UNLIKELY in type registration.
14640 Avoid type check in _ref/_unref since that is also
14643 2006-06-12 Wim Taymans <wim@fluendo.com>
14645 * gst/gsterror.c: (gst_g_error_get_type):
14646 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14647 (gst_static_pad_template_get_type):
14648 * gst/gsttaglist.c: (gst_tag_list_get_type):
14649 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14650 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14651 * gst/gsturi.c: (gst_uri_handler_get_type):
14652 * gst/gstvalue.c: (gst_date_get_type):
14653 * gst/gstxml.c: (gst_xml_get_type):
14654 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14655 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14656 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14657 Add G_UNLIKELY in type registration.
14659 2006-06-12 Wim Taymans <wim@fluendo.com>
14661 * tools/gst-inspect.c: (print_signal_info):
14662 Properly print enum values.
14664 2006-06-12 Wim Taymans <wim@fluendo.com>
14666 * gst/gstinfo.c: (gst_debug_set_active),
14667 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14669 Add some G_[UN]LIKELY.
14670 Maintain __gst_debug_min to avoid formatting the arguments of
14671 debug messages that will be dropped anyway to avoid a lot of
14672 overhead from the debugging system.
14674 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14677 * po/POTFILES.skip:
14678 add missing files containing translatable strings, tell intltool about
14681 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14683 * tests/check/libs/.cvsignore:
14684 add test-binary to ignore list
14686 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14688 * docs/libs/gstreamer-libs-docs.sgml:
14689 reorder (put dp into a chapter) and indent
14691 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14696 === release 0.10.8 ===
14698 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14701 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14703 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14705 * gst/gst.c: (init_post):
14706 move pid declaration to declaration block
14708 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14710 * gst/gst.c: (init_post):
14711 use _exit() instead of exit() in our forked child; this ensures
14712 that none of the registered exit handlers from whatever is using
14713 GStreamer get executed. This fixes gnome-mixer-applet failing
14714 to load, because ORBit would shut down.
14715 Spotted by: Edward Hervey <edward@fluendo.com>
14716 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14719 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14724 === release 0.10.7 ===
14726 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14729 releasing 0.10.7, "Soepeke, ik zie ou"
14731 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14754 * win32/common/config.h:
14755 0.10.6.2 prerelease
14757 2006-06-07 Wim Taymans <wim@fluendo.com>
14759 * gst/gstindex.c: (gst_index_gtype_resolver):
14760 * tools/gst-xmlinspect.c: (print_plugin_info):
14761 Fix leak spotted by coverity checker. Fixes #343827
14762 Fix another other leak found by paolo borelli.
14764 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14766 * libs/gst/dataprotocol/dataprotocol.c:
14767 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14768 (gst_dp_version_get_type), (gst_dp_init),
14769 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14770 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14771 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14772 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14773 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14774 (gst_dp_packetizer_free):
14775 * libs/gst/dataprotocol/dataprotocol.h:
14776 API: add a GstDPPacketizer object, and create/free functions
14777 API: add GstDPVersion enum
14778 Add 1.0 event function that uses the string serialization
14779 Serialize more useful buffer flags
14782 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14784 * tests/check/Makefile.am:
14785 * tests/check/gst/gstabi.c:
14786 * tests/check/gst/struct_ppc64.h:
14787 * tests/check/libs/libsabi.c:
14788 * tests/check/libs/struct_ppc64.h:
14789 add ppc64 structure sizes
14791 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14793 * tests/check/Makefile.am:
14794 * tests/check/gst/gstabi.c:
14795 * tests/check/gst/struct_x86_64.h:
14796 * tests/check/libs/libsabi.c:
14797 * tests/check/libs/struct_x86_64.h:
14798 generate and add structure size lists for x86_64
14800 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14802 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14803 * libs/gst/check/gstcheck.h:
14804 factor out the method from tests that checks size of structures,
14805 and add code to generate the header containing these sizes
14806 * tests/check/gst/gstabi.c: (GST_START_TEST):
14807 * tests/check/gst/struct_i386.h:
14808 * tests/check/libs/libsabi.c: (GST_START_TEST):
14809 * tests/check/libs/struct_i386.h:
14812 2006-06-06 Michael Smith <msmith@fluendo.com>
14814 * gst/gstsegment.h:
14815 Don't use c++-style comments, fixes #343929
14817 2006-06-05 Edward Hervey <edward@fluendo.com>
14820 plugin_paths is not used if we build without registry support.
14822 * gst/gstsegment.c: (gst_segment_copy):
14823 _copy() was always returning NULL...
14825 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14827 * libs/gst/dataprotocol/dataprotocol.c:
14828 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14829 (gst_dp_packet_from_event):
14830 factor out CRC code
14832 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14834 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14835 make sure we unset caps
14837 2006-06-02 Michael Smith <msmith@fluendo.com>
14839 * libs/gst/check/gstcheck.c: (gst_check_init),
14840 (gst_check_chain_func):
14841 * libs/gst/check/gstcheck.h:
14842 Add a cond/mutex to the check support lib, signal this whenever we
14843 add to the buffers list. This will allow tests to not busy-wait on
14846 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14848 * libs/gst/dataprotocol/dataprotocol.c:
14849 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14850 (gst_dp_packet_from_event):
14851 factor out some common header init code
14853 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14855 * docs/libs/gstreamer-libs-sections.txt:
14856 * docs/libs/tmpl/gstdataprotocol.sgml:
14857 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14858 * libs/gst/dataprotocol/dataprotocol.h:
14859 API: make gst_dp_crc() public
14861 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14863 * plugins/indexers/gstindexers.c: (plugin_init):
14864 conditionally register fileindexer (fixes #343598)
14866 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14868 * gst/gsttagsetter.h:
14869 Can't cast ifaces to a class
14871 * libs/gst/net/gstnetclientclock.h:
14872 * libs/gst/net/gstnettimeprovider.h:
14873 * plugins/elements/gstfakesink.h:
14874 * plugins/elements/gstfakesrc.h:
14875 * plugins/elements/gstfdsink.h:
14876 * plugins/elements/gstfdsrc.h:
14877 * plugins/elements/gstfilesink.h:
14878 * plugins/elements/gstfilesrc.h:
14879 * plugins/elements/gstidentity.h:
14880 * plugins/elements/gstqueue.h:
14881 * plugins/elements/gsttee.h:
14882 * plugins/indexers/gstfileindex.c:
14883 * plugins/indexers/gstmemindex.c:
14884 * tests/old/examples/plugins/example.h:
14885 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14887 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14889 * libs/gst/dataprotocol/dataprotocol.c:
14890 (gst_dp_header_from_buffer):
14891 make sure we zero the whole ABI-compatible area
14893 2006-06-01 Wim Taymans <wim@fluendo.com>
14895 Patch by: Alessandro Decina <alessandro at nnva dot org>
14897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14898 Make sure the EOS flag is cleared from pads after a flush
14899 or stop. Fixes #343538.
14901 * tests/check/libs/collectpads.c: (GST_START_TEST),
14902 (gst_collect_pads_suite):
14903 Added test for collectpads reusage after EOS.
14905 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14908 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14909 * win32/common/libgstbase.def:
14910 export gst_collect_pads_set_flushing
14911 * win32/common/libgstreamer.def:
14912 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14913 gst_value_fraction_multiply
14914 * win32/vs6/gst_inspect.dsp:
14915 add a link to intl.lib
14917 2006-05-30 Wim Taymans <wim@fluendo.com>
14919 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14920 (gst_collect_pads_chain):
14921 Handle the case where a pad is removed from the collection
14922 that could cause the other pads to become collectable.
14924 2006-05-30 Wim Taymans <wim@fluendo.com>
14926 * gst/gstelement.c:
14927 Clarify the use of _release_request_pad() and
14928 _get_request_pad() a bit better.
14930 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14931 (gst_adapter_take_buffer):
14932 Fix some doc and comment typos.
14934 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14936 * docs/gst/gstreamer-sections.txt:
14937 * docs/libs/gstreamer-libs-sections.txt:
14938 add declared symbols
14940 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14942 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14943 Add debug that can be enabled using a #define at the top of the file,
14944 for dumping stats about how late/early we were when waking up from
14945 waiting on the clock.
14947 2006-05-30 Wim Taymans <wim@fluendo.com>
14949 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14950 When rebuilding the pad list, don't leak the previous list.
14952 2006-05-30 Wim Taymans <wim@fluendo.com>
14954 Patch by: Lutz Mueller <lutz at topfrose dot de>
14956 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14957 (gst_base_src_get_query_types), (gst_base_src_update_length):
14958 Publish supported query types.
14959 Update last_stop field in get_range mode so the position
14960 query works. Fixes #342321.
14962 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14964 * docs/gst/gstreamer-sections.txt:
14965 * gst/gsttaglist.c: (_gst_tag_initialize):
14966 * gst/gsttaglist.h:
14967 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14969 2006-05-30 Wim Taymans <wim@fluendo.com>
14971 Patch by: Alessandro Decina <alessandro at nnva dot org>
14973 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14974 Unlock mutex when removing an unknown pad.
14977 * tests/check/Makefile.am:
14978 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14979 (push_event), (setup), (teardown), (GST_START_TEST),
14980 (gst_collect_pads_suite), (main):
14981 Added collecpads check, disabled for now as check crashes for
14984 2006-05-29 Wim Taymans <wim@fluendo.com>
14986 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14987 Don't leak pads lists.
14989 2006-05-29 Wim Taymans <wim@fluendo.com>
14991 * docs/libs/gstreamer-libs-sections.txt:
14992 * libs/gst/base/gstcollectpads.c:
14993 (gst_collect_pads_set_flushing_unlocked),
14994 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14995 (gst_collect_pads_stop):
14996 * libs/gst/base/gstcollectpads.h:
14997 API: gst_collect_pads_set_flushing()
14998 Added api to set the pads to flushing, useful for seeking
14999 code in elements using collectpads.
15000 Clear segment when receiving a flush.
15002 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
15004 * gst/gst.c: (add_path_func), (init_post):
15005 Don't scan registry paths passed via --gst-plugin-path immediately
15006 (will crash, because absolutely nothing is set up and no types are
15007 registered etc.); do this later in init_post(). Fixes #343057.
15009 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
15011 * gst/gst.c: (init_post):
15012 if we have fork, fork while reading/rebuilding the registry
15013 so the parent doesn't take the hit of having all plugins loaded
15014 in memory. Fixes #342777.
15016 Check if we have fork()
15017 * win32/common/config.h.in:
15020 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15022 * plugins/elements/gstelements.c:
15023 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15024 (gst_file_src_init), (gst_file_src_set_property),
15025 (gst_file_src_get_property), (gst_file_src_start):
15026 * plugins/elements/gstfilesrc.h:
15027 API: GstFileSrc::use-mmap
15029 Add a use-mmap property to enable easier testing of all code paths.
15030 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15031 in the absence of gnomevfssrc. (Closes #340501)
15033 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15035 * tools/gst-inspect.c:
15036 Add missing include, removes warning of ngettext not being defined on
15039 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
15041 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15042 Handle NULL input and output pointers silently as a failed conversion,
15043 rather than g_warnings.
15045 2006-05-25 Wim Taymans <wim@fluendo.com>
15047 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15048 Initialize variable before using. Fixes #342820.
15050 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
15052 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15053 Fix off-by-one bug that would only allow peeks of N-1 bytes
15054 from the start even if the buffer to typefind on contains
15055 in fact N bytes of data (makes vorbis typefinding from a
15056 vorbis identification header buffer work).
15058 * tests/check/Makefile.am:
15059 * tests/check/libs/.cvsignore:
15060 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15061 (gst_typefindhelper_suite), (main), (foobar_typefind),
15063 Add very basic unit test for gst_type_find_helper_for_buffer()
15064 that checks for the problem fixed above.
15066 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
15068 * tools/gst-inspect.c: (print_interfaces),
15069 (print_element_properties_info), (print_element_list), (main):
15070 add more translatable strings
15072 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
15074 Patch by: Julien Moutte <julien at moutte net>
15076 * docs/gst/gstreamer-sections.txt:
15077 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15079 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15080 (gst_fake_sink_preroll):
15081 * plugins/elements/gstfakesink.h:
15082 API: Add new GstFakeSink::preroll-handoff signal (#337100).
15084 2006-05-23 Wim Taymans <wim@fluendo.com>
15086 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15088 Added _CUSTOM error and success GstFlowReturn that can be
15089 used be elements internally.
15090 Added macro to check for SUCCESS flowreturns.
15091 API: GST_FLOW_CUSTOM_SUCCESS
15092 API: GST_FLOW_CUSTOM_ERROR
15093 API: GST_FLOW_IS_SUCCESS
15095 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15096 Added check for GstFlowReturn sanity.
15098 2006-05-23 Wim Taymans <wim@fluendo.com>
15100 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15103 (gst_collect_pads_event):
15104 clear/reset segment info in FLUSH_STOP.
15107 2006-05-22 Stefan Kost <ensonic@users.sf.net>
15109 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15110 (gst_collect_pads_check_collected):
15111 Flush queued buffer on _stop(), fixes playing again (#342454)
15113 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
15115 * tests/check/gst/gststructure.c: (GST_START_TEST),
15116 (gst_structure_suite):
15117 add a test for a complete structure
15119 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15121 * docs/faq/developing.xml:
15122 * docs/faq/faq.xml:
15123 * docs/faq/troubleshooting.xml:
15124 * docs/faq/using.xml:
15125 Some minor FAQ updates that won't change the fact that
15126 our FAQ is badly structured, full of information hardly
15127 anyone new to GStreamer needs to know and lacking lots
15128 of information people constantly ask for.
15130 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15132 * gst/gstpad.c: (gst_pad_set_caps):
15133 Short-circuit gst_pad_set_caps if setting the existing
15134 caps pointer again, and avoid printing debug and
15135 reffing/unreffing the caps.
15137 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15138 There's actually no need to set the caps before pushing -
15139 the acceptcaps method will handle it anyway.
15141 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15143 * docs/gst/gstreamer-sections.txt:
15144 * win32/common/libgstreamer.def:
15145 * gst/gstutils.c: (gst_element_seek_simple):
15147 API: add gst_element_seek_simple() (#342238).
15149 2006-05-18 Edward Hervey <edward@fluendo.com>
15151 * gst/gsttypefind.c: (gst_type_find_get_type):
15152 * gst/gsttypefind.h:
15153 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15154 registered for GstTypeFind pointers. This allows wrapping the structure
15155 in bindings (i.e. gst-python).
15157 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15159 * gst/gsttagsetter.c:
15160 Docs additions and fixes (see #339918).
15162 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15164 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15165 The caps intersection algorithm can produce multiple copies of the
15166 caps. Until that is fixed, we need to simplify the result to be
15167 sure whether the allowed caps are fixed or not.
15169 * plugins/elements/gstqueue.c: (gst_queue_init),
15170 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15171 (gst_queue_push_one):
15172 Proxied buffer alloc should not set the caps on the source pad.
15173 When pushing buffers, we always accept the caps change that triggers.
15174 This prevents negotiation errors caused by caps changing mid-stream
15175 and then being refused on our source pad (because upstream is now
15176 refusing those caps).
15178 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15180 * tests/examples/helloworld/helloworld.c: (main):
15181 Must plug audioconvert and audioresample between decoder
15184 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15186 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15187 (load_feature), (load_plugin):
15188 Allow empty strings for some of the plugin fields so we don't
15189 drop valid plugin entries that were written out correctly
15192 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15194 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15195 Use g_remove and g_rename instead of remove and rename that don't
15196 handle utf8 characters. rename was failing for users who had specific
15197 characters in their name then the registry was built at each
15199 * win32/vs6/gst_inspect.dsp:
15200 * win32/vs6/gst_launch.dsp:
15201 * win32/vs6/libgstbase.dsp:
15202 * win32/vs6/libgstcoreelements.dsp:
15203 * win32/vs6/libgstreamer.dsp:
15204 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15205 build of libgstreamer and clean unused libraries in projects link
15208 2006-05-17 Edward Hervey <edward@fluendo.com>
15210 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15211 The queue is not responsible for pushing an EOS when receiving a fatal
15212 flow error. It's up to the real element driving the pipeline to do that.
15214 2006-05-16 Edward Hervey <edward@fluendo.com>
15216 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15217 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15218 buffer returned a fatal error. It should just send an EOS and stop
15220 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15221 when pushing buffers on the queue and will be able to handle the event.
15223 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15225 * docs/manual/basics-bins.xml:
15226 * docs/manual/basics-init.xml:
15227 Fix typos and minor errors in sample code (#341856).
15229 2006-05-16 Wim Taymans <wim@fluendo.com>
15231 * docs/design/part-qos.txt:
15232 Fix indexes in formulas to make more sense.
15234 2006-05-15 Wim Taymans <wim@fluendo.com>
15236 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15237 Don't report POSITION based on clock time if sync is
15238 disabled in a sink.
15240 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15243 Add cast to make compiler happy - refcount variable was a gint
15244 in GstObject but is a guint in GObject and g_atomic_int_get()
15247 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15249 * gst/parse/Makefile.am:
15250 chain commands using &&, which also makes parallel make work
15252 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15254 * docs/gst/gstreamer-sections.txt:
15257 * gst/gstmessage.h:
15260 === release 0.10.6 ===
15262 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15265 releasing 0.10.6, "Take the cannoli"
15267 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15269 * tools/gst-launch.c: (print_tag):
15270 Fix use of uninitialized variable in the hypothetical
15271 case that some broken plugin creates a GST_TAG_IMAGE
15272 tag containing a NULL buffer (#341667).
15274 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15276 * tools/gst-launch.c: (print_tag):
15277 Print something more intelligible for image tags when
15278 using the -t switch (#341556).
15280 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15285 define GST_MAJORMINOR so we have it available in win32/common/config.h
15286 Possibly remove it from our Makefile.am files later
15287 * win32/common/config.h:
15288 * win32/common/config.h.in:
15289 added GST_MAJORMINOR
15290 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15291 * win32/common/gstversion.h:
15294 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15297 Update win32 files listing.
15298 * win32/common/gstversion.h:
15299 Add GST_MAJORMINOR definition.
15300 * win32/common/libgstreamer.def:
15301 Add new exported functions.
15303 2006-05-12 Michael Smith <msmith@fluendo.com>
15305 * gst/gstplugin.c: (gst_plugin_load_file):
15306 If an so file has no plugin entry point, unload the module.
15308 2006-05-11 Wim Taymans <wim@fluendo.com>
15310 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15311 (gst_queue_set_property):
15312 Don't forget to signal the _chain or _loop function
15313 when the queue size or thresholds change since that might
15314 cause them to make progres again.
15316 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15318 * gst/gstclock.c: (gst_clock_class_init):
15319 * gst/gstindex.c: (gst_index_class_init):
15320 * gst/gstobject.c: (gst_object_class_init):
15321 * gst/gstpad.c: (gst_pad_class_init):
15322 * gst/gstpipeline.c: (gst_pipeline_class_init):
15323 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15324 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15325 * libs/gst/base/gstbasetransform.c:
15326 (gst_base_transform_class_init):
15327 * libs/gst/net/gstnetclientclock.c:
15328 (gst_net_client_clock_class_init):
15329 * libs/gst/net/gstnettimeprovider.c:
15330 (gst_net_time_provider_class_init):
15331 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15332 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15333 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15334 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15335 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15336 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15337 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15338 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15339 * plugins/elements/gsttee.c: (gst_tee_class_init):
15340 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15341 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15342 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15344 2006-05-11 Wim Taymans <wim@fluendo.com>
15346 * gst/gstbuffer.c: (_gst_buffer_initialize):
15347 Register subbufer along with the buffer type so that
15348 it does not accidentally gets registered from N
15349 different streaming threads in a non threadsafe way.
15351 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15355 * gst/gstmessage.h:
15356 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15357 gst_event_ref() and gst_message_ref() functions again
15358 (ugly hack, please do fix if there's a better way besides
15359 overrides.txt, which doesn't seem to work).
15361 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15363 * libs/gst/check/gstcheck.h:
15364 add an assert for setting state to avoid lots of repetitive code
15367 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15369 * gst/gstvalue.c: (gst_value_serialize_flags):
15370 fix a leak if no flags are set
15371 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15374 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15376 * docs/manual/basics-pads.xml:
15377 Expand a bit on caps and filtered links and update
15378 examples that were still using the no longer existing
15379 gst_pad_link_filtered() (#338206).
15381 2006-05-10 Wim Taymans <wim@fluendo.com>
15383 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15384 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15385 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15386 (gst_collect_pads_stop):
15387 * libs/gst/base/gstcollectpads.h:
15388 No need to call _stop in _finalize.
15389 Iterate the main pad list in _finalize.
15390 Added some more debug.
15391 Free lists and data in the right order.
15392 Also free data whem doing _remove_pad when stopped for
15393 backward compatibility protect ::started with PAD_LOCK as
15396 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15398 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15399 (gst_structure_parse_value):
15401 rename a method so that it actually says what it does better
15403 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15405 * gst/gstevent.c: (_gst_event_initialize):
15406 * gst/gstformat.c: (_gst_format_initialize):
15407 make sure some essential types used by events are registered
15408 as part of gst_init()
15409 * gst/gstvalue.c: (gst_value_serialize_flags):
15410 if no flags are set, serialize them to a value that represents NONE
15411 so that deserializing them works
15412 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15413 add tests for serialization and deserialization of flags
15415 2006-05-10 Wim Taymans <wim@fluendo.com>
15417 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15418 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15419 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15420 (gst_collect_pads_event), (gst_collect_pads_chain):
15423 Catch and return errors from the collect function
15424 Refuse data on eos pads.
15426 2006-05-10 Edward Hervey <edward@fluendo.com>
15428 * gst/gstinterface.h:
15429 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15430 GInterface type checking.
15431 They were previously using non-defined macros.
15433 2006-05-09 Wim Taymans <wim@fluendo.com>
15435 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15436 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15437 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15438 (gst_collect_pads_start), (gst_collect_pads_stop),
15439 (gst_collect_pads_peek), (gst_collect_pads_pop),
15440 (gst_collect_pads_available), (gst_collect_pads_read),
15441 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15442 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15443 (gst_collect_pads_chain):
15444 * libs/gst/base/gstcollectpads.h:
15445 Clean up the mess that is collectpads, add comments and
15446 FIXMEs where needed.
15447 Maintain a separate pad list so we can add pads while
15448 collecting the other ones. For this we need a new separate
15450 Fix memory leak in finalize.
15451 Refactor some weird code to set/unset pad flushing flags, mark
15453 Don't crash in _available, _read, _flush when we're EOS.
15455 * tests/check/libs/.cvsignore:
15456 Ignore adapter check binary.
15458 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15460 * gst/gstindex.c: (gst_index_resolver_get_type):
15461 * plugins/elements/gstfakesink.c:
15462 (gst_fake_sink_state_error_get_type):
15463 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15464 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15465 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15466 Const-ify GEnumValue arrays.
15468 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15470 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15471 Add test case for flags + gst_buffer_make_metadata_writable().
15473 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15475 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15476 gst_buffer_make_metadata_writable() should maintain the
15477 buffer flags (those that make sense at least) (see #340859).
15479 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15481 * tools/gst-inspect.c:
15482 * tools/gst-launch.c:
15483 * tools/gst-typefind.c:
15484 * tools/gst-xmlinspect.c:
15486 Fix up includes: need to include stdlib.h in tools.h for exit().
15488 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15490 * gst/gsttaglist.c: (_gst_tag_initialize):
15491 * gst/gsttaglist.h:
15492 API: add GST_TAG_IMAGE tag (#340721).
15494 2006-05-08 Wim Taymans <wim@fluendo.com>
15497 Added some docs for the segment query.
15499 2006-05-08 Wim Taymans <wim@fluendo.com>
15501 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15502 (gst_base_src_loop), (gst_base_src_change_state):
15503 Always push non-flushing serialized events in the streaming
15506 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15508 * gst/gsterror.c: (_gst_stream_errors_init):
15509 Add a missing error string.
15511 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15513 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15514 Add applied_rate to the debug
15516 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15517 Copy applied_rate into the outgoing NEWSEGMENT event
15519 2006-05-08 Wim Taymans <wim@fluendo.com>
15521 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15523 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15524 (gst_base_sink_change_state):
15525 call ::unlock before taking the PREROLL_LOCK so we can safely
15526 handle elements that lock in ::render.
15529 2006-05-08 Edward Hervey <edward@fluendo.com>
15531 * autogen.sh: (CONFIGURE_DEF_OPT):
15532 Darwin's libtoolize is in fact called glibtoolize.
15533 Adding glibtoolize to the list of accepted names for libtoolize.
15535 2006-05-08 Wim Taymans <wim@fluendo.com>
15537 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15538 Unify error handling, don't post an error message
15539 when a push() returns EOS but perform our normal EOS
15540 handling code. Fixes #340772.
15542 2006-05-08 Wim Taymans <wim@fluendo.com>
15544 * docs/design/part-overview.txt:
15545 Make upsteam/downstream concepts more clear.
15546 Give an example of serialized/non-serialized events.
15548 * docs/design/part-events.txt:
15549 * docs/design/part-streams.txt:
15550 Mention applied_rate.
15552 * docs/design/part-trickmodes.txt:
15553 Mention applied rate, flesh out some more use cases.
15555 * gst/gstevent.c: (gst_event_new_new_segment),
15556 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15557 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15558 (gst_event_parse_tag), (gst_event_new_buffer_size),
15559 (gst_event_parse_buffer_size), (gst_event_new_qos),
15560 (gst_event_parse_qos), (gst_event_parse_seek),
15561 (gst_event_new_navigation):
15563 Add applied_rate field to NEWSEGMENT event.
15564 API: gst_event_new_new_segment_full()
15565 API: gst_event_parse_new_segment_full()
15567 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15568 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15569 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15570 * gst/gstsegment.h:
15571 Add applied_rate to GstSegment structure.
15572 Make calculation of stream_time and running_time more correct
15573 wrt rate/applied_rate.
15574 Add some more docs.
15575 API: GstSegment::applied_rate field
15576 API: gst_segment_set_newsegment_full();
15578 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15579 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15580 * libs/gst/base/gstbasetransform.c:
15581 (gst_base_transform_sink_eventfunc),
15582 (gst_base_transform_handle_buffer):
15583 Parse and use applied_rate in the GstSegment field.
15585 * tests/check/gst/gstevent.c: (GST_START_TEST):
15586 Add check for applied_rate field.
15588 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15589 (gstsegments_suite):
15590 Add more checks for various GstSegment operations.
15592 2006-05-08 Wim Taymans <wim@fluendo.com>
15594 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15595 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15596 (gst_base_sink_get_position), (gst_base_sink_change_state):
15597 Store the sync time of the buffer end position separatly in a
15598 new variable eos_rtime so we can properly sync the EOS event.
15600 Fix the docs for gst_base_sink_set_qos_enabled().
15601 Don't set segment start to invalid value when we receive a
15602 non TIME newsegment.
15603 get closer to handling position reporting for negative rates
15606 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15609 Docs about how to print caps for debug purposes.
15611 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15612 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15614 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15616 * gst/gstelement.c:
15617 use full enum names and preprend a '%' in docs strings to make recent
15618 gtk-doc turn that into a link
15620 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15622 * docs/manual/basics-bins.xml:
15623 * docs/manual/basics-bus.xml:
15624 * docs/manual/basics-pads.xml:
15625 Some typo fixes, some additions, some clarifications.
15627 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15629 * tools/gst-inspect.c: (main):
15630 * tools/gst-launch.c: (main):
15631 * tools/gst-run.c: (main):
15632 * tools/gst-typefind.c: (main):
15633 * tools/gst-xmlinspect.c: (main):
15634 Use the string passed to g_option_context_new() for
15635 what it's intended for - the program name is already
15638 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15640 * tools/Makefile.am:
15641 * tools/gst-inspect.c: (main):
15642 * tools/gst-launch.c: (main):
15643 * tools/gst-xmlinspect.c: (main):
15645 Add back --version command line option (#340460).
15647 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15648 Add --version option and use GOption for argument parsing; refactor a
15649 bit; accept directories as arguments and recurse into them; lastly,
15650 print a decent error message when things go wrong.
15652 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15654 * docs/manual/basics-bins.xml:
15655 Don't mention GstThread (#340611)
15656 * docs/manual/basics-elements.xml:
15657 Update link to GObject tutorial (#340607)
15659 2006-05-05 Wim Taymans <wim@fluendo.com>
15662 * gst/gstminiobject.c:
15663 Add note about refcounting and miniobject/buffer writeability
15664 to docs. Fixes #340604
15666 * gst/gstelementfactory.h:
15667 Added some explanation about @klass.
15669 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15671 * docs/manual/intro-motivation.xml:
15672 * docs/manual/manual.xml:
15673 Avoid CORBA & Bonobo references (#340598)
15675 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15677 * docs/manual/basics-bus.xml:
15678 * docs/manual/basics-pads.xml:
15679 Fix up some inaccuracies and omissions (#340609)
15681 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15683 * gst/gstghostpad.c:
15684 Small typo in docs (#340625)
15686 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15688 * gst/parse/Makefile.am:
15689 Make 'make -j' proof (see #340698).
15691 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15694 Require GLib-2.8 here as well.
15696 2006-05-05 Wim Taymans <wim@fluendo.com>
15698 * gst/glib-compat.c:
15699 * gst/gst.c: (init_pre):
15700 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15701 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15702 (gst_object_dispatch_properties_changed):
15704 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15705 * gst/gststructure.c: (gst_structure_set_valist):
15706 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15707 Remove pre glib2.8 compatibility, fixes #340508
15709 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15711 * gst/gsttaglist.h:
15712 Mention type of tags in doc blurbs.
15714 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15716 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15717 (gst_pad_configure_src), (gst_pad_push):
15718 Restore acceptcaps checking behaviour now that good plugins have
15721 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15723 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15730 * gst/gstmessage.c:
15734 * gst/parse/Makefile.am:
15735 * libs/gst/base/gstadapter.c:
15736 * libs/gst/base/gstbasesrc.c:
15737 * libs/gst/base/gstpushsrc.c:
15738 * libs/gst/base/gsttypefindhelper.c:
15739 * plugins/elements/gstfakesrc.c:
15740 * plugins/elements/gstidentity.c:
15741 Make sure gstprivate.h and/or config.h are
15742 always included first, otherwise some of our
15743 defines (like _FILE_OFFSET_BITS) might be
15744 redefined in the system headers. Fixes build
15745 on opensolaris (#340016).
15747 2006-05-04 Wim Taymans <wim@fluendo.com>
15749 * docs/libs/gstreamer-libs-sections.txt:
15750 API: addition: gst_adapter_take_buffer()
15752 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15753 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15754 (gst_adapter_available_fast):
15755 * libs/gst/base/gstadapter.h:
15756 Prepare for optimizing the hell out of this hugely inefficient
15758 Added gst_adapter_take_buffer() so we can at least start thinking
15759 about subbuffering and merging.
15760 Added some comments.
15762 * tests/check/Makefile.am:
15763 * tests/check/libs/adapter.c: (GST_START_TEST),
15764 (gst_adapter_suite), (main):
15765 Added GstAdapter check.
15767 2006-05-04 Wim Taymans <wim@fluendo.com>
15769 * docs/design/part-overview.txt:
15770 Fix some typos, add blurb about buffer flags.
15772 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15774 * docs/libs/gstreamer-libs-sections.txt:
15775 make sure GstBaseTransformClass shows up in the docs
15776 * libs/gst/base/gstbasetransform.c:
15777 * libs/gst/base/gstbasetransform.h:
15778 move docs so gtk-doc picks it up now
15780 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15782 * docs/libs/gstreamer-libs-sections.txt:
15783 add missing symbols to docs
15785 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15787 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15788 back out the newsegment handling change, see #340060 for ongoing
15791 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15793 * tools/gst-run.c: (get_candidates), (main):
15794 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15795 work); fix typo in error message. Fixes #340079.
15797 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15799 * common/Makefile.am:
15800 * docs/Makefile.am:
15801 * docs/faq/Makefile.am:
15802 * docs/gst/Makefile.am:
15803 * docs/libs/Makefile.am:
15804 * docs/manual/Makefile.am:
15805 * docs/plugins/Makefile.am:
15806 * docs/pwg/Makefile.am:
15807 * docs/slides/Makefile.am:
15809 * common/upload.mak:
15810 move upload.mak to common
15812 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15814 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15815 add more asserts on refcounts
15816 do more cleanup at end of tests
15817 fix test leaks showing in FC5
15819 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15821 * plugins/elements/gsttypefindelement.c:
15822 (gst_type_find_element_handle_event):
15823 reverted wrong change and reflowed code to avoid others falling into
15826 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15828 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15829 fix changelog entry about last collectpads change,
15830 add notes about proper fix
15832 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15835 * gst/gstregistry.c: (gst_registry_scan_path_level),
15836 (gst_registry_scan_path):
15837 * gst/gstregistry.h:
15838 only write out registry if it has changed, fixes #338339
15840 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15843 * gst/gstpipeline.c:
15844 * plugins/elements/gstcapsfilter.c:
15845 * plugins/elements/gstfakesink.c:
15846 * plugins/elements/gstfakesrc.c:
15847 * plugins/elements/gstfdsink.c:
15848 * plugins/elements/gstfdsrc.c:
15849 * plugins/elements/gstfilesink.c:
15850 * plugins/elements/gstfilesrc.c:
15851 * plugins/elements/gstidentity.c:
15852 * plugins/elements/gstqueue.c:
15853 * plugins/elements/gsttee.c:
15854 * plugins/elements/gsttypefindelement.c:
15855 (gst_type_find_element_handle_event):
15856 make GstElementDetails const
15858 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15860 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15861 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15862 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15863 more detailed debug and formatting cleanup,
15864 forward newsegments to src-pad (so that e.g. adder not eats them)
15866 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15868 * gst/gstutils.c: (gst_element_link_pads):
15869 cleanup double code
15871 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15873 * libs/gst/controller/gstcontroller.c:
15874 (gst_controller_sync_values):
15876 * tests/check/libs/controller.c: (GST_START_TEST),
15877 (gst_controller_suite):
15878 a new test for live value handling
15880 2006-04-28 Wim Taymans <wim@fluendo.com>
15882 * gst/gstutils.c: (push_and_ref):
15883 Added some more docs.
15884 Fix refcount issue whith gst_element_found_tags() helper
15885 function. Fixes #338335
15887 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15888 Added testsuite for gst_element_found_tags().
15890 2006-04-28 Michael Smith <msmith@fluendo.com>
15892 * gst/gstvalue.c: (gst_value_serialize_flags):
15893 Avoid NULL dereference when trying to serialize flags containing
15896 2006-04-28 Michael Smith <msmith@fluendo.com>
15898 * plugins/elements/gsttypefindelement.c:
15899 (gst_type_find_element_handle_event):
15900 If we get EOS before any data is accumulated, don't use
15901 uninitialised local variables.
15903 2006-04-28 Michael Smith <msmith@fluendo.com>
15905 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15906 (gst_dp_event_from_packet):
15907 Fixes in reading/writing events over GDP (not currently used?) -
15908 dereferencing NULL events for unknown/invalid event types, memory
15909 leak, and change g_warning to GST_WARNING.
15911 2006-04-28 Wim Taymans <wim@fluendo.com>
15913 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15914 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15915 (gst_base_sink_get_position), (gst_base_sink_change_state):
15916 When frame dropping is enabled, we should not ignore frames
15917 without a duration.
15918 Update some documentation.
15920 2006-04-28 Wim Taymans <wim@fluendo.com>
15922 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15923 (gst_base_src_send_event), (gst_base_src_change_state):
15924 Documentation updates.
15926 2006-04-28 Wim Taymans <wim@fluendo.com>
15928 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15929 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15930 handle EAGAIN, EINTR and short writes correctly. Also clean
15931 up some error cases, avoid a deadlock on bad file descriptors and
15932 use GST_DEBUG_OBJECT.
15935 2006-04-28 Wim Taymans <wim@fluendo.com>
15937 * gst/gstvalue.c: (gst_value_serialize_buffer),
15938 (gst_value_deserialize_buffer):
15939 Don't try to serialize a GValue with a NULL buffer.
15942 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15943 Added check for serialisation of NULL buffers.
15945 2006-04-28 Wim Taymans <wim@fluendo.com>
15947 * gst/gstminiobject.c: (gst_value_take_mini_object):
15948 Taking a NULL miniobject is valid, fix the case where
15949 we try to unref the NULL miniobject.
15951 2006-04-28 Wim Taymans <wim@fluendo.com>
15953 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15955 * gst/gstbin.c: (gst_bin_handle_message_func):
15957 Don't leak bin refcount when a state recalc is
15958 in progress and we delay another one #339808.
15960 2006-04-28 Wim Taymans <wim@fluendo.com>
15962 * docs/design/part-TODO.txt:
15963 Mention QoS as an ongoing work item.
15965 * docs/design/part-buffering.txt:
15966 New doc about buffering that needs to be fleshed out
15969 * docs/design/part-qos.txt:
15970 More QoS policy for decoders/demuxers/transforms
15972 * docs/design/part-trickmodes.txt:
15975 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15980 === release 0.10.5 ===
15982 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15985 releasing 0.10.5, "Fogo"
15987 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15989 patch by: Wim Taymans
15991 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15992 (gst_pad_configure_src), (gst_pad_push):
15993 * gst/gstpipeline.c: (gst_pipeline_init):
15994 Fix internal data flow errors. Fixes #338711.
15996 2006-04-12 Wim Taymans <wim@fluendo.com>
15998 * tests/check/gst/gstelement.c: (GST_START_TEST):
15999 Don't leak the factory.
16001 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
16004 * win32/common/config.h:
16007 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
16009 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16010 (gst_controller_unset_all):
16011 Free allocated GstTimedValues when freeing list nodes.
16012 Should fix leaks 'make check-valgrind' complains about.
16014 * win32/common/libgstcontroller.def:
16015 Add gst_controller_unset_all.
16017 2006-04-11 Stefan Kost <ensonic@users.sf.net>
16019 * docs/libs/gstreamer-libs-sections.txt:
16020 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16021 (gst_controller_unset_all):
16022 * libs/gst/controller/gstcontroller.h:
16023 API: Added new method gst_controller_unset_all()
16024 fixed gst_controller_unset()
16025 * tests/check/libs/controller.c: (GST_START_TEST),
16026 (gst_controller_suite):
16027 Added two testcases for new and fixed method
16029 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
16031 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16032 MSG_DONTWAIT is not defined on Cygwin, so work
16033 around that (fixes #317048).
16035 2006-04-11 Wim Taymans <wim@fluendo.com>
16037 * gst/gstelementfactory.c: (gst_element_register),
16038 (gst_element_factory_create), (gst_element_factory_make):
16041 Updated docs (Fixes #131079)
16043 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16046 * tests/check/gst/gstelement.c: (GST_START_TEST),
16047 (gst_element_suite):
16048 Added testcase for elementfactory class field.
16050 2006-04-10 Wim Taymans <wim@fluendo.com>
16052 * gst/gstsegment.c:
16053 Added some more docs.
16055 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16056 (gst_base_sink_reset_qos):
16057 Calculate more accurate rate values.
16059 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
16061 * gst/gst_private.h:
16062 add a new #ifdef to use __declspec(dllimport) only for
16063 other modules and not for gstreamer core
16064 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16065 use gst_guint64_to_gdouble for conversion
16066 * win32/common/libgstreamer.def:
16067 add new exported functions
16068 * win32/vs6/gst_inspect.dsp:
16069 * win32/vs6/gst_launch.dsp:
16070 * win32/vs6/libgstbase.dsp:
16071 * win32/vs6/libgstcontroller.dsp:
16072 * win32/vs6/libgstcoreelements.dsp:
16073 * win32/vs6/libgstdataprotocol.dsp:
16074 * win32/vs6/libgstnet.dsp:
16075 update project files
16077 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16079 * gst/gstbuffer.c: (gst_subbuffer_class_init):
16080 * gst/gstclock.c: (gst_clock_class_init):
16081 * gst/gstelement.c: (gst_element_class_init):
16082 * gst/gstindex.c: (gst_index_class_init):
16083 * gst/gstindexfactory.c: (gst_index_factory_class_init):
16084 * gst/gstobject.c: (gst_object_class_init),
16085 (gst_signal_object_class_init):
16086 * gst/gstpad.c: (gst_pad_class_init):
16087 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16088 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16089 * gst/gstregistry.c: (gst_registry_class_init):
16090 * gst/gstsystemclock.c: (gst_system_clock_class_init):
16091 * gst/gsttask.c: (gst_task_class_init):
16092 * gst/gstxml.c: (gst_xml_class_init):
16093 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16094 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16095 (gst_base_src_loop):
16096 * libs/gst/controller/gstcontroller.c:/
16097 (_gst_controller_class_init):
16098 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16099 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16100 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16101 * tests/old/examples/plugins/example.c: (gst_example_class_init):
16102 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16103 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16105 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
16107 * gst/gstpad.c: (gst_pad_link):
16108 Must set peer pads before calling the link function, otherwise
16109 a task started from a link function might get a flow-not-linked
16110 result when trying to push because the other thread where the
16111 linking happens hasn't had a chance to set the peers yet. This
16112 might happen for example when a queue gets linked to a downstream
16113 element, as queue starts a streaming task when its source pad
16114 gets linked. Happens in real life when playing back flac/musepack
16115 files in playbin (#332390).
16117 2006-04-08 Stefan Kost <ensonic@users.sf.net>
16121 * libs/gst/base/gstadapter.h:
16122 * libs/gst/base/gstbasesink.h:
16123 * libs/gst/base/gstbasesrc.h:
16124 * libs/gst/base/gstbasetransform.h:
16125 * libs/gst/base/gstcollectpads.h:
16126 * libs/gst/base/gstpushsrc.h:
16127 Fix broken GObject macros
16129 2006-04-07 Wim Taymans <wim@fluendo.com>
16131 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16132 Initialize start and stop times, thanks valgrind.
16134 2006-04-07 Wim Taymans <wim@fluendo.com>
16136 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16137 Be a bit nicer to badly behaving upstream elements that expect
16138 us to deal with non TIME segments and timestamps (such as fakesrc
16141 2006-04-07 Wim Taymans <wim@fluendo.com>
16144 Small documentation clarification about the signal watch.
16146 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16147 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16148 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16149 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16150 (gst_base_sink_get_position_last),
16151 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16152 Convert and store timestamps in stream time and running time, the
16153 raw timestamps are not useful, also document this better.
16154 Use different window sizes for good and bad QoS observations so
16155 we react to badness a little quicker.
16156 Keep track of the amount of rendered and dropped buffers.
16157 Send QoS timestamps in running time.
16159 * libs/gst/base/gstbasetransform.c:
16160 (gst_base_transform_sink_eventfunc),
16161 (gst_base_transform_handle_buffer):
16162 Compare QoS timestamps against running time.
16164 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16167 Typo fixes in docs.
16169 2006-04-06 Michael Smith <msmith@fluendo.com>
16171 * gst/gstpad.c: (gst_pad_set_property):
16172 Use g_value_get_object() instead of g_value_dup_gst_object(),
16173 to avoid double-reffing the pad template (which we then sink,
16174 so this worked previously if (and only if) the pad template
16177 * gst/gstpadtemplate.c: (gst_pad_template_init),
16178 (gst_pad_template_pad_created):
16179 Never return floating references to pad templates, create
16180 them as initially-sunken.
16182 Document an extra function (and make this stop sinking our
16183 pad template, since that is now guaranteed to do nothing,
16184 since we created it sunken).
16186 * gst/gstghostpad.c:
16189 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16191 * gst/gstinfo.c: (__gst_in_valgrind):
16194 * plugins/elements/gsttypefindelement.c:
16195 (gst_type_find_element_chain):
16196 Don't leak buffer caps.
16198 2006-04-06 Michael Smith <msmith@fluendo.com>
16200 * gst/parse/grammar.y:
16201 Fix a leak in parse-launch for any source-or-sink named element
16204 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16205 Unref the pipeline if it exists after we've failed parsing.
16207 2006-04-05 Michael Smith <msmith@fluendo.com>
16209 * gst/gstpipeline.c: (gst_pipeline_init):
16210 When we create a pipeline bus, initially create it in flushing mode.
16211 Fixes leaks in at least one test, and makes a new pipeline work the
16212 same as one that has gone to READY and then back to NULL.
16214 * gst/gstelement.c:
16217 2006-04-05 Michael Smith <msmith@fluendo.com>
16219 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16220 Unref a pad we reffed.
16221 * tests/check/gst/gstutils.c: (GST_START_TEST):
16224 2006-04-05 Michael Smith <msmith@fluendo.com>
16226 * gst/gstquery.c: (gst_query_set_formats),
16227 (gst_query_set_formatsv):
16228 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16230 2006-04-05 Michael Smith <msmith@fluendo.com>
16232 * tests/check/generic/sinks.c: (GST_START_TEST):
16233 Fix a variety of memleaks in sinks check, which are only sometimes
16234 shown by running the tests under valgrind (weird?).
16236 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16238 * docs/version.entities.in:
16239 Fix the substituted entity name after thomas' changes on the
16242 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16244 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16247 2006-04-05 Andy Wingo <wingo@pobox.com>
16249 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16251 * libs/gst/base/gstbasetransform.c
16252 (gst_base_transform_sink_eventfunc): When resetting our segment on
16253 FLUSH_STOP, also update the flag saying we haven't seen a
16256 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16258 Patch by: Paolo Borelli <pborelli at katamail dot com>
16260 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16261 (gst_plugin_check_license):
16262 minor clean-ups: G_DEFINE_TYPE already takes care of the
16263 parent_class stuff, no need to do it twice. Mark array of
16264 license strings as constant. (#337103)
16266 2006-04-04 Michael Smith <msmith@fluendo.com>
16268 * tools/gst-inspect.c: (print_element_list):
16269 Free the right plugin list; fixes a memory leak.
16271 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16273 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16275 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16276 Don't error out on empty buffers (#336945).
16278 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16280 * docs/libs/gstreamer-libs-sections.txt:
16281 * gst/gsttaglist.c:
16282 * libs/gst/base/gstbasesink.c:
16283 * libs/gst/base/gstbasesink.h:
16284 * libs/gst/base/gstbasesrc.c:
16285 * libs/gst/base/gstbasesrc.h:
16286 Documentation updates. Make BaseSink and BaseSrc docs contain the
16287 class structure so that people can actually see the prototypes for
16288 virtual functions they're supposed to be overriding.
16290 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16292 * plugins/elements/gsttypefindelement.c:
16293 (gst_type_find_element_chain):
16294 More debug info; when skipping typefinding, send cached
16295 events in all cases.
16297 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16300 use new AS_VERSION and AS_NANO macros
16301 * gst/gst-i18n-lib.h:
16304 * gst/gstversion.h.in:
16305 * win32/common/config.h:
16306 * win32/common/config.h.in:
16309 2006-03-31 Michael Smith <msmith@fluendo.com>
16311 * plugins/elements/gsttypefindelement.c:
16312 (gst_type_find_element_chain):
16313 Do not typefind content if the buffers already have caps.
16314 Neccesary for icydemux (#333657), and the right thing to do anyway.
16316 2006-03-30 Wim Taymans <wim@fluendo.com>
16318 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16319 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16320 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16321 (gst_base_sink_record_qos_observation),
16322 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16323 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16324 (gst_base_sink_change_state):
16325 More QoS measurements as described in the design doc.
16326 Get rid of ringbuffer with observations, running average is
16327 more simple and equally good.
16328 Calculates valid proportion now.
16329 Added beginning of flood measurement.
16331 2006-03-29 Wim Taymans <wim@fluendo.com>
16333 * docs/design/part-qos.txt:
16335 Small documentation updates and additions.
16337 2006-03-29 Wim Taymans <wim@fluendo.com>
16339 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16340 (gst_base_src_send_event), (gst_base_src_loop),
16341 (gst_base_src_change_state):
16342 Perform the EOS logic when we reach the segment stop position.
16343 Fix compilation on gcc4.1
16345 2006-03-29 Wim Taymans <wim@fluendo.com>
16347 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16349 * plugins/elements/gstqueue.c: (gst_queue_init),
16350 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16351 (gst_queue_set_property):
16352 * plugins/elements/gstqueue.h:
16353 In queue, when EOS is received, if minimum threshold > max_size -
16354 current_level, there is chance that queue blocks forever in conditional
16355 item del wait. This is because the queue is not emptied completely due
16356 to minimum threshold. Here is another approach. Instead of setting
16357 cur_levels to max in EOS, just zero all minimum threshold levels. This
16358 should make sure that queue gives out all data. When going to READY
16359 (stop) state, just reset the original minimum threshold levels.
16362 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16364 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16365 (gst_type_find_element_handle_event),
16366 (gst_type_find_element_send_cached_events),
16367 (gst_type_find_element_change_state):
16368 * plugins/elements/gsttypefindelement.h:
16369 When typefinding is done in push mode, we should cache
16370 events we receive during typefinding instead of just
16371 dropping them (e.g. newsegment, custom events from
16372 dvdreadsrc etc.) and then send them out once we've
16373 determined the type of the stream (and decodebin
16374 has had a chance to plug in a decoder/demuxer).
16376 2006-03-27 Wim Taymans <wim@fluendo.com>
16378 * docs/design/part-qos.txt:
16381 2006-03-27 Wim Taymans <wim@fluendo.com>
16383 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16385 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16386 (gst_base_src_send_event), (gst_base_src_change_state):
16387 Handle element seek correctly when we are streaming.
16390 2006-03-24 Michael Smith <msmith@fluendo.com>
16392 * docs/faq/gst-uninstalled:
16393 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16394 allow you to correctly run intalled applications built against old
16395 core, using plugins that require updated core (e.g. running
16396 installed totem against a full uninstalled gstreamer stack)
16398 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16400 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16403 2006-03-24 Wim Taymans <wim@fluendo.com>
16405 * docs/gst/gstreamer-sections.txt:
16406 Rearrange the order of the methods so that related methods
16407 are grouped together in sections.
16409 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16411 * gst/gstelement.c:
16412 Little clarification in the docs
16414 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16418 * plugins/elements/gstidentity.c:
16419 * plugins/elements/gstqueue.c:
16420 * plugins/elements/gsttee.c:
16421 * plugins/elements/gsttypefindelement.c:
16422 GST_ELEMENT_DETAILS formatting
16424 2006-03-24 Wim Taymans <wim@fluendo.com>
16426 * libs/gst/base/gstbasesink.h:
16427 Only add fields, not insert or we break ABI.
16429 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16431 * win32/common/libgstbase.def:
16432 * win32/common/libgstreamer.def:
16433 Update, add recently added functions.
16435 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16437 * docs/gst/gstreamer-sections.txt:
16438 * gst/gstutils.c: (gst_pad_query_peer_position),
16439 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16441 API: add some new utility functions:
16442 - gst_pad_query_peer_position()
16443 - gst_pad_query_peer_duration()
16444 - gst_pad_query_peer_convert()
16446 2006-03-23 Wim Taymans <wim@fluendo.com>
16448 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16449 (gst_base_sink_init), (gst_base_sink_finalize),
16450 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16451 (gst_base_sink_set_property), (gst_base_sink_get_property),
16452 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16453 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16454 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16455 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16456 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16457 (gst_base_sink_preroll_object), (gst_base_sink_event),
16458 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16459 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16460 (gst_base_sink_query), (gst_base_sink_change_state):
16461 Decouple max-lateness and the fact that QoS messages are generated
16462 with a new property (qos).
16463 added API: GstBaseSink::async_play()
16464 Add vmethod so subclasses can be notified of ASYNC playing
16466 Collect timestamp start and stop to report better current
16467 position in EOS/PLAYING/PAUSED/READY/NULL.
16468 Refactor QoS/frame dropping and other measurements.
16469 API: GstBaseSrc::qos
16472 * libs/gst/base/gstbasesink.h:
16473 Added Private struct.
16474 API: gst_base_sink_set_qos_enabled()
16475 API: gst_base_sink_is_qos_enabled()
16477 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16479 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16480 If compiling against GLib-2.8 or newer, try to read the
16481 registry file using GMappedFile first before falling back
16482 to fopen() + fread() (#332151).
16484 2006-03-22 Wim Taymans <wim@fluendo.com>
16486 * gst/gstinfo.c: (gst_debug_set_active),
16487 (gst_debug_category_set_threshold):
16488 Disable debugging unless explicitly activated.
16491 2006-03-22 Wim Taymans <wim@fluendo.com>
16493 * gst/gstelement.c: (gst_element_set_locked_state),
16494 (gst_element_dispose):
16495 Cleanup the error case.
16497 * gst/gstobject.c: (gst_object_dispose):
16498 print a critical when some object was disposed with
16499 a parent, also revive the object since it might
16502 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16504 * tools/gst-launch.1.in:
16507 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16510 * tests/check/Makefile.am:
16511 disable some tests when we don't have a registry
16512 * tests/check/gst/gstutils.c: (gst_utils_suite):
16513 don't build the part that needs parsing
16515 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16518 * tests/examples/Makefile.am:
16519 fix --disable-parse build
16521 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16523 * tools/gst-feedback.1.in:
16524 Fix typo: s/feeback/feedback/ (#133494).
16526 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16528 * tools/Makefile.am:
16529 * tools/gst-launch.1.in:
16530 Add FILES section and correct entry about GST_REGISTRY_PATH
16531 environment variable (#133495; #133494).
16533 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16535 * tools/Makefile.am:
16536 * tools/gst-md5sum.1.in:
16537 * tools/gst-md5sum.c:
16538 Remove gst-md5sum and man page (the md5sink element
16539 required was removed ages ago)
16541 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16543 * gst/gststructure.c: (gst_structure_id_set_value):
16544 Make sure that string fields in structures/taglists
16545 contain valid UTF-8 - we don't want to pass rubbish to
16546 applications because of a buggy plugin (cp. #334167).
16548 2006-03-21 Edward Hervey <edward@fluendo.com>
16550 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16551 (gst_bin_handle_message_func):
16552 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16553 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16554 (gst_element_set_bus_func):
16555 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16556 * gst/gstminiobject.c: (gst_value_set_mini_object),
16557 (gst_value_take_mini_object):
16558 * gst/gstpad.c: (gst_pad_set_pad_template):
16559 * gst/gstpipeline.c: (gst_pipeline_dispose),
16560 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16561 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16562 (gst_collect_pads_chain):
16563 * libs/gst/net/gstnettimeprovider.c:
16564 (gst_net_time_provider_set_property):
16565 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16566 It's in fact all issues with gst_*object_replace().
16568 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16570 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16572 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16573 * pkgconfig/gstreamer-check.pc.in:
16574 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16576 2006-03-21 Edward Hervey <edward@fluendo.com>
16580 * gst/gstmessage.h:
16581 gst_[buffer|event|message]_ref() macros are replaced by a static
16582 inline functions because gcc-4.1 will about if the return value
16584 * tests/check/gst/gstevent.c: (event_probe):
16585 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16587 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16590 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16591 the type' case. (Closes: #335195 for now). In the future, when we
16592 depend on GLib 2.10, we could also intern the type name using
16593 g_intern_static_string()
16595 2006-03-20 Wim Taymans <wim@fluendo.com>
16597 * gst/gstbin.c: (gst_bin_handle_message_func),
16598 (bin_query_max_init), (bin_query_position_fold),
16599 (bin_query_position_done), (gst_bin_query):
16600 Position query should also take max of all streams.
16602 2006-03-20 Wim Taymans <wim@fluendo.com>
16604 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16605 (gst_fake_src_finalize):
16606 Fix leaks in fakesrc.
16608 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16609 Fix leaks in the testcase.
16611 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16613 * gst/gst_private.h:
16614 add win32 specific import decoration(__declspec(dllimport))
16615 for all extern GstDebugCategory * variables
16616 * win32/common/libgstbase.def:
16617 * win32/common/libgstcontroller.def:
16618 * win32/common/libgstreamer.def:
16619 Add some exports, remove empty lines
16620 * win32/common/libgstdataprotocol.def:
16621 * win32/common/libgstdataprotocol.dsp:
16622 * win32/common/libgstnet.def:
16623 * win32/common/libgstnet.dsp:
16624 new project files and exportation files added
16626 2006-03-19 Wim Taymans <wim@fluendo.com>
16628 * tests/check/libs/basesrc.c: (eos_event_counter):
16629 Use proper return value for probe.
16631 2006-03-17 Wim Taymans <wim@fluendo.com>
16633 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16635 Don't leak buffers, caps and pads on negotiation errors.
16637 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16639 * docs/faq/cvs.xml:
16640 * docs/faq/dependencies.xml:
16641 * docs/faq/developing.xml:
16642 * docs/faq/faq.xml:
16643 * docs/faq/general.xml:
16644 * docs/faq/getting.xml:
16645 * docs/faq/legal.xml:
16646 * docs/faq/troubleshooting.xml:
16647 * docs/faq/using.xml:
16648 Faq review and update.
16650 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16652 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16654 Don't pound the cpu to pieces by checking get_caps when accept_caps
16655 is called with the same caps as the pad already has.
16656 Use GST_DEBUG_OBJECT when outputting caps change information.
16658 2006-03-15 Wim Taymans <wim@fluendo.com>
16660 * gst/gstclock.c: (gst_clock_class_init):
16663 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16668 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16669 (gst_pad_accept_caps), (gst_pad_configure_sink),
16670 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16671 Make the default acceptcaps behaviour be to check the requested
16672 caps against the gst_pad_get_caps output.
16674 Ensure that gst_pad_accept_caps is used to check caps when a pad
16675 doesn't have a setcaps function, so that pads automatically refuse
16676 caps that they don't allow in their pad template. (Fixes #332986)
16678 When a buffer with attached caps is pushed, ensure that the source
16679 pad receives those caps even if the element didn't call
16680 gst_pad_set_caps first.
16682 2006-03-15 Wim Taymans <wim@fluendo.com>
16684 * libs/gst/base/gstadapter.c:
16687 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16689 * win32/common/libgstbase.def:
16690 * win32/common/libgstcontroller.def:
16691 * win32/common/libgstreamer.def:
16692 Add a whole bunch of missing functions (#334434).
16694 2006-03-14 Wim Taymans <wim@fluendo.com>
16696 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16697 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16698 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16699 Better debug info when we receive a segment event.
16700 Reorganize a bit so we can pass the get_times() results around.
16701 Use the segment format when calculating the running time.
16702 Don't do QoS is sync is disabled or we have no clock or the
16703 element does not want us to sync to the clock.
16704 Don't drop buffers if QoS is disabled for now.
16706 2006-03-14 Wim Taymans <wim@fluendo.com>
16708 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16709 Marked the stats property as unimplemented so people don't get
16711 Add debug message when regression goes wrong.
16712 Added some more docs.
16714 2006-03-14 Wim Taymans <wim@fluendo.com>
16716 * gst/gstsegment.c: (gst_segment_to_stream_time):
16717 Return correct return type in case of errors.
16719 2006-03-14 Wim Taymans <wim@fluendo.com>
16721 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16722 Don't segfault on invalid formats.
16724 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16726 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16727 Can't use gst_segment_to_running_time() when the segment
16728 is not in GST_TIME_FORMAT (like with filesink, for example).
16729 Stops flac encoding pipelines from spewing critical warnings
16732 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16734 * gst/gstpipeline.c: (gst_pipeline_class_init):
16735 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16737 * plugins/elements/gsttypefindelement.c:
16738 (gst_type_find_element_handle_event):
16739 Don't try to typefind empty streams.
16741 2006-03-14 Wim Taymans <wim@fluendo.com>
16743 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16744 (gst_base_sink_do_qos):
16745 Separate QoS calculation.
16746 Only drop buffers when lateness is bigger than the
16747 duration of the buffer.
16749 2006-03-13 Wim Taymans <wim@fluendo.com>
16751 * gst/gstpipeline.c: (gst_pipeline_set_property),
16752 (gst_pipeline_get_property), (do_pipeline_seek),
16753 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16754 (gst_pipeline_get_delay):
16755 Don't deadlock when reading properties.
16757 2006-03-13 Wim Taymans <wim@fluendo.com>
16759 * libs/gst/base/gstbasetransform.c:
16760 (gst_base_transform_class_init), (gst_base_transform_init),
16761 (gst_base_transform_sink_event),
16762 (gst_base_transform_sink_eventfunc),
16763 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16764 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16765 (gst_base_transform_set_property),
16766 (gst_base_transform_get_property),
16767 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16768 (gst_base_transform_set_qos_enabled),
16769 (gst_base_transform_is_qos_enabled):
16770 * libs/gst/base/gstbasetransform.h:
16771 Make basetransform virtual method for src events too.
16772 Handle QOS in basetransform.
16773 API: gst_base_transform_update_qos()
16774 API: gst_base_transform_set_qos_enabled()
16775 API: gst_base_transform_is_qos_enabled()
16777 2006-03-13 Wim Taymans <wim@fluendo.com>
16779 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16780 (gst_base_sink_do_sync):
16782 Use QOS debug category.
16784 2006-03-13 Wim Taymans <wim@fluendo.com>
16786 * plugins/elements/gstqueue.c:
16787 Very small doc update.
16789 2006-03-13 Wim Taymans <wim@fluendo.com>
16791 * gst/gst_private.h:
16792 * gst/gstinfo.c: (_gst_debug_init):
16793 Added QOS debug category
16795 2006-03-13 Wim Taymans <wim@fluendo.com>
16797 * docs/gst/gstreamer-sections.txt:
16798 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16800 * gst/gstbus.c: (gst_bus_class_init):
16803 * gst/gstelement.c: (gst_element_set_locked_state):
16804 * gst/gstsegment.c:
16805 Documentation updates.
16807 * gst/gstpipeline.c: (gst_pipeline_get_type),
16808 (gst_pipeline_class_init), (gst_pipeline_init),
16809 (gst_pipeline_dispose), (gst_pipeline_set_property),
16810 (gst_pipeline_get_property), (do_pipeline_seek),
16811 (gst_pipeline_send_event), (gst_pipeline_change_state),
16812 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16813 (gst_pipeline_get_delay):
16814 * gst/gstpipeline.h:
16815 Added methods for setting the delay.
16816 API: gst_pipeline_set_delay()
16817 API: gst_pipeline_get_delay()
16818 Add pipeline debug category
16821 Don't reset stream time when seek failed.
16823 2006-03-13 Wim Taymans <wim@fluendo.com>
16825 * docs/design/draft-klass.txt:
16826 * docs/design/part-clocks.txt:
16827 * docs/design/part-events.txt:
16828 * docs/design/part-gstbin.txt:
16829 * docs/design/part-gstpipeline.txt:
16830 * docs/design/part-messages.txt:
16831 * docs/design/part-negotiation.txt:
16832 * docs/design/part-overview.txt:
16833 * docs/design/part-preroll.txt:
16834 * docs/design/part-seeking.txt:
16835 * docs/design/part-states.txt:
16836 * docs/design/part-streams.txt:
16837 Documentation updates.
16839 2006-03-12 Julien MOUTTE <julien@moutte.net>
16841 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16842 us to leak strings...
16844 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16846 * libs/gst/net/gstnettimeprovider.c:
16848 * win32/common/config.h:
16851 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16853 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16856 Don't check for libgnomeui (leftover from old examples
16857 that aren't built or disted any longer) (#334303).
16859 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16861 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16862 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16863 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16864 there's no space left on the device.
16866 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16869 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16870 to cast the input to GstClockTime before comparing with
16871 another GstClockTime value.
16873 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16878 === release 0.10.4 ===
16880 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16883 releasing 0.10.4, "Light"
16885 2006-03-10 Michael Smith <msmith@fluendo.com>
16887 * libs/gst/dataprotocol/dataprotocol.c:
16888 Fix docs for dataprocotol to not get the return types completely
16889 wrong for a few functions.
16891 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16893 * docs/gst/gstreamer-sections.txt:
16894 * gst/gstpipeline.c: (gst_pipeline_class_init),
16895 (gst_pipeline_init), (gst_pipeline_set_property),
16896 (gst_pipeline_get_property), (gst_pipeline_change_state),
16897 (gst_pipeline_set_auto_flush_bus),
16898 (gst_pipeline_get_auto_flush_bus):
16899 * gst/gstpipeline.h:
16900 Add new API: gst_pipeline_set_auto_flush_bus() and
16901 gst_pipeline_get_auto_flush_bus() to disable automatic
16902 flushing of the pipeline's GstBus when going from READY
16903 to NULL state (#332045).
16905 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16907 * docs/gst/gstreamer-sections.txt:
16908 * gst/gsturi.c: (gst_uri_has_protocol):
16910 Add new API: gst_uri_has_protocol() (#333779).
16912 2006-03-09 Wim Taymans <wim@fluendo.com>
16914 * gst/gstclock.c: (gst_clock_entry_new),
16915 (gst_clock_id_compare_func), (gst_clock_id_wait),
16916 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16917 (gst_clock_init), (gst_clock_get_internal_time),
16918 (gst_clock_set_master), (do_linear_regression),
16919 (gst_clock_add_observation), (gst_clock_set_property):
16923 Fix a possible segfault when the window-size is made smaller.
16924 Calculate jitter before performing the clock wait. Ideally
16925 the clock implementation should calculate jitter but we need
16926 API breakage for that.
16928 * gst/gstsystemclock.c: (gst_system_clock_init):
16931 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16932 Remove leftover else
16934 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16935 (gst_systemclock_suite):
16936 Added check to test GST_CLOCK_DIFF.
16938 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16940 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16941 (gst_type_find_helper_get_range):
16942 If we are provided with the size, we should implement
16943 GstTypeFind::get_length, so that typefind functions who
16944 want to can actually peek at the middle of a file.
16946 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16948 * docs/manual/advanced-dataaccess.xml:
16949 Add some very very basic error checking.
16951 * docs/pwg/appendix-checklist.xml:
16952 Some updates to the list of things to check when writing an element.
16954 2006-03-08 Wim Taymans <wim@fluendo.com>
16956 * docs/design/part-element-transform.txt:
16957 Added some docs about the design of tranform elements.
16959 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16960 (gst_base_src_loop), (gst_base_src_change_state):
16961 Mark buffers with the DISCONT flag.
16963 2006-03-08 Michael Smith <msmith@fluendo.com>
16965 * gst/gstregistry.h:
16966 * gst/gstregistryxml.c: (gst_registry_save),
16967 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16968 (gst_registry_xml_save_pad_template),
16969 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16970 (gst_registry_xml_write_cache):
16971 Rewrite registry-saving to avoid race conditions and check for
16974 2006-03-08 Wim Taymans <wim@fluendo.com>
16976 * libs/gst/base/gstbasetransform.c:
16977 (gst_base_transform_transform_caps),
16978 (gst_base_transform_transform_size),
16979 (gst_base_transform_prepare_output_buffer),
16980 (gst_base_transform_get_unit_size),
16981 (gst_base_transform_buffer_alloc),
16982 (gst_base_transform_handle_buffer),
16983 (gst_base_transform_change_state):
16984 Cleanups, separate normal flow from errors, add sensible
16986 Don't try to renegotiate when allocating an output buffer.
16987 Also copy DISCONT buffer flag when copying a buffer.
16988 Reset the transform after we finish streaming, not during.
16990 2006-03-08 Wim Taymans <wim@fluendo.com>
16992 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16993 Use last buffer timestamp in qos message.
16995 2006-03-07 Wim Taymans <wim@fluendo.com>
16997 Patch by: Christophe Fergeau
16999 * docs/pwg/advanced-tagging.xml:
17000 * docs/pwg/building-pads.xml:
17003 2006-03-07 Wim Taymans <wim@fluendo.com>
17005 * docs/libs/gstreamer-libs-sections.txt:
17006 Added basesink new methods.
17010 Docs updates. Flesh out the QoS docs.
17012 * libs/gst/base/gstadapter.c:
17013 Small doc clarification about ownership and flushing.
17015 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17016 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17017 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17018 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17019 * libs/gst/base/gstbasesink.h:
17021 Added new methods to allow subclass to control max-lateness
17023 Generate very basic QoS events based on last sync observation.
17024 Updated docs, fix typo, added some QoS blurb.
17026 * libs/gst/base/gstbasesrc.c:
17027 Remove obsolete _get_state() calls from docs.
17029 2006-03-07 Wim Taymans <wim@fluendo.com>
17031 * docs/libs/gstreamer-libs-sections.txt:
17032 * libs/gst/base/gstbasetransform.h:
17033 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17034 Fix docs for GstBaseSrc.
17036 2006-03-07 Wim Taymans <wim@fluendo.com>
17038 * docs/gst/gstreamer-sections.txt:
17041 * libs/gst/base/gstbasetransform.h:
17042 Small documentation fixes.
17044 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17047 Document thread-unsafety of gst_value_register_foo_func()
17048 when used at the same time as gst_value_foo() (#322628).
17050 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
17052 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17053 (gst_push_src_check_get_range):
17054 Push sources don't support pull mode by default.
17056 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17058 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17059 (gst_base_src_init), (gst_base_src_pad_check_get_range),
17060 (gst_base_src_default_check_get_range):
17061 * libs/gst/base/gstbasesrc.h:
17062 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17063 provide default implementation, and rename
17064 gst_base_src_check_get_range() to
17065 gst_base_src_pad_check_get_range() for clarity.
17067 2006-03-06 Wim Taymans <wim@fluendo.com>
17069 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17070 Make property overridable.
17072 2006-03-06 Wim Taymans <wim@fluendo.com>
17074 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17075 (gst_base_sink_init), (gst_base_sink_set_property),
17076 (gst_base_sink_get_property), (gst_base_sink_do_sync):
17077 * libs/gst/base/gstbasesink.h:
17078 API addition: Make max-lateness a property.
17080 2006-03-06 Wim Taymans <wim@fluendo.com>
17082 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17083 (gst_base_sink_do_sync), (gst_base_sink_render_object):
17084 Don't ever draw a frame that is >10ms late.
17086 2006-03-06 Michael Smith <msmith@fluendo.com>
17088 * gst/gstmessage.c: (_gst_message_copy):
17089 When copying a message, set the parent_refcount of the enclosed
17090 structure to point at the copy, not the original message.
17092 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
17094 Patch by: Christophe Fergeau
17097 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17098 usable in c++ code (#333417)
17100 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
17103 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17105 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
17107 * libs/gst/base/gstbasetransform.c:
17108 (gst_base_transform_transform_caps):
17109 Make sure caps are writable before passing them to
17112 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17115 Fix some minor docs errors.
17117 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
17119 Patch by: Ross Burton <ross at burtonini dot com>
17121 * gst/gsterror.c: (_gst_resource_errors_init):
17123 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17125 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17128 Add a check and output a g_warning when GStreamer is built
17129 against GLib 2.6 but running against 2.8 or higher, and vice
17130 versa. (Closes: #323542)
17132 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17134 * gst/parse/parse.l:
17135 Commit patch for parse_launch syntax from #331255. Removes
17136 support for quoted strings and mimetypes when writing filtered
17137 caps. See the bug report for more details - I'm pretty sure this
17138 obscure feature is not in use by _anyone_ anywhere.
17140 With this simple change, the size of the gstreamer.so here
17141 drops from 2193KB to 1565KB.
17143 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17145 * plugins/elements/gsttypefindelement.h:
17146 * plugins/elements/gsttypefindelement.c:
17147 (gst_type_find_element_src_event), (start_typefinding),
17148 (stop_typefinding), (gst_type_find_element_handle_event),
17149 (gst_type_find_element_chain),
17150 (gst_type_find_element_chain_do_typefinding):
17151 Use gst_type_find_helper_for_buffer() for chain-based
17154 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17156 * plugins/elements/gsttypefindelement.c:
17157 (gst_type_find_element_class_init),
17158 (gst_type_find_element_set_property),
17159 (gst_type_find_element_get_property):
17160 Deprecate "maximum" property (not only was it only taken into
17161 account for typefinding in push-mode anyway, it also was never
17162 actually possible to set it in the first place because the
17163 property was registered with the numeric property ID for the
17164 "minimum" property). Register "maximum" property correctly,
17165 for the sake of future copy'n'pasters. Remove some cruft
17166 from property get/set functions.
17168 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17170 * plugins/elements/gsttypefindelement.c:
17171 (gst_type_find_element_activate):
17172 Use gst_type_find_helper_get_range() here, so we
17173 can honour the "minimum" property and also emit
17174 the signal with the correct probability of the found caps.
17176 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17178 * docs/libs/gstreamer-libs-sections.txt:
17179 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17180 (helper_find_suggest), (gst_type_find_helper_get_range),
17181 (gst_type_find_helper):
17182 * libs/gst/base/gsttypefindhelper.h:
17183 New API: gst_type_find_helper_get_range() (#333042).
17185 2006-03-02 Michael Smith <msmith@fluendo.com>
17187 * gst/gstregistryxml.c: (load_feature):
17188 Asserting on a failure to read part of the registry is Not Cool.
17189 Just log a warning and return NULL (which is already handled)
17191 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17193 * win32/common/libgstbase.def:
17194 added export of gst_type_find_helper_for_buffer
17195 * win32/common/libgstbase.def:
17196 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17197 gst_ghost_pad_get_target
17199 2006-02-28 Wim Taymans <wim@fluendo.com>
17201 * docs/design/draft-klass.txt:
17203 Added Connector to mark elements that are only used to
17204 allow pipeline connections.
17205 Moved Debug to extra feature since most of them are
17206 functionally something else.
17208 2006-02-28 Wim Taymans <wim@fluendo.com>
17210 * docs/design/draft-klass.txt:
17211 Some updates and clarifications.
17213 2006-02-28 Wim Taymans <wim@fluendo.com>
17215 * docs/design/draft-klass.txt:
17216 Proposal for klass field values.
17218 * docs/design/part-streams.txt:
17219 Start of a doc describing stream anatomy.
17221 2006-02-28 Wim Taymans <wim@fluendo.com>
17223 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17224 Help the compiler a bit with type registration.
17225 Use existing forward cod path instead of duplicating it when
17226 handling a message.
17228 * gst/gstbus.c: (gst_bus_get_type):
17229 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17230 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17231 * gst/gstclock.c: (gst_clock_get_type):
17232 * gst/gstelement.c: (gst_element_get_type),
17233 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17234 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17235 * gst/gstminiobject.c: (gst_mini_object_get_type):
17236 * gst/gstpad.c: (gst_pad_get_type):
17237 * gst/gstsegment.c: (gst_segment_get_type):
17238 * gst/gststructure.c: (gst_structure_get_type):
17239 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17240 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17242 Help compiler with type registration.
17244 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17247 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17249 * plugins/elements/gsttypefindelement.c:
17250 (gst_type_find_element_handle_event):
17251 When we get an EOS event and have not found a type yet
17252 (most likely because we had not yet accumulated
17253 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17254 type given the data we have so far. Fixes typefinding
17255 for very short streams again, most notably quicktime
17256 redirections as used on Apple's trailer site (#331701).
17258 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17260 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17261 (gst_type_find_helper):
17262 Try typefinding factories with the highest rank first.
17264 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17266 * docs/libs/gstreamer-libs-docs.sgml:
17267 * docs/libs/gstreamer-libs-sections.txt:
17268 * libs/gst/base/gsttypefindhelper.c:
17269 Add section for typefind helper and add documentation
17270 for the old and the new function.
17272 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17274 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17275 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17276 (gst_type_find_helper_for_buffer):
17277 * libs/gst/base/gsttypefindhelper.h:
17278 New API: gst_type_find_helper_for_buffer() (#332723).
17280 2006-02-27 Michael Smith <msmith@fluendo.com>
17282 Patch by: Loïc Minier
17285 * docs/Makefile.am:
17286 * docs/slides/Makefile.am:
17287 prevent CVS directories getting disted.
17289 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17291 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17292 Use the REFCOUNTING category for caps refcounting.
17294 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17296 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17297 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17299 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17301 * plugins/elements/gsttypefindelement.c:
17302 (gst_type_find_element_activate):
17303 Use gst_pad_check_pull_range() before _activate_pull()
17304 to avoid unnecessary open/close (see #331690).
17306 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17309 Docs enhancement: make it crystal clear what the
17310 gst_pad_add_*_probe() callbacks should look like.
17312 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17314 * libs/gst/base/gstbasesrc.c:
17315 Document how applications can stop recording from
17316 live sources (see #330996).
17318 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17320 * tests/check/Makefile.am:
17321 * tests/check/libs/basesrc.c: (eos_event_counter),
17322 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17323 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17324 (gst_basesrc_suite), (main):
17325 ... and add some tests for the base source EOS stuff.
17327 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17329 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17330 Test case originally showed the problem fixed below,
17331 but was then amended. Add checks back at the place
17332 where they used to be.
17334 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17336 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17337 (gst_base_src_init), (gst_base_src_loop),
17338 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17339 (gst_base_src_change_state):
17340 * libs/gst/base/gstbasesrc.h:
17341 Don't unconditionally send EOS when going from PAUSED to
17342 READY state, esp. make sure we don't send two EOS events
17343 in some cases (e.g. one when reaching EOS and one when
17344 going from PAUSED to READY). Also, we don't want to send
17345 EOS events when operating in pull mode. However, we do
17346 want to send an EOS event when shutting down a live
17347 source explicitly, for example (fixes #330996).
17349 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17351 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17352 Update src->read_position after a seek when not using mmap.
17353 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17355 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17361 Make things work with --disable-parse as they do with
17362 --disable-load-save - the symbols involved disappear, but the
17363 header is still installed and GST_DISABLE_PARSE is included via
17366 2006-02-20 Julien MOUTTE <julien@moutte.net>
17368 * libs/gst/base/gstbasetransform.c:
17369 (gst_base_transform_change_state): Fix a stupid bug. I was
17370 sure I compiled that.
17372 2006-02-20 Julien MOUTTE <julien@moutte.net>
17374 * gst/gstpad.c: (gst_pad_set_blocked_async):
17375 * gst/gstutils.c: (gst_pad_add_data_probe),
17376 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17377 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17378 (gst_pad_remove_buffer_probe): Make those function act on the
17379 ghostpad target when it's a ghostpad. (Closes #331727)
17381 2006-02-20 Julien MOUTTE <julien@moutte.net>
17383 * libs/gst/base/gstbasetransform.c:
17384 (gst_base_transform_change_state): Make basetransform reusable.
17387 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17389 * docs/random/release:
17390 Move the current documentation of how to do a release to the top
17393 * gst/gstbin.c: (gst_bin_class_init),
17394 (gst_bin_handle_message_func):
17395 Allow multiple state-recalculation threads. (Closes #328873)
17397 2006-02-19 Julien MOUTTE <julien@moutte.net>
17399 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17400 * gst/gstpad.c: (gst_pad_set_event_function),
17401 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17402 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17403 2 strings. You can't use the STR_NULL macro on that.
17405 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17407 * gst/gstpad.c: (gst_pad_set_event_function),
17408 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17409 (gst_pad_set_getcaps_function)
17410 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17411 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17412 So now, we can use --gst-debug-level=5 on Windows
17413 * win32/common/libgstcontroller.def:
17414 Added export of gst_controller_init
17415 * win32/vs6/libgstcontroller.dsp:
17416 Fixed Release post build configuration
17418 2006-02-17 Wim Taymans <wim@fluendo.com>
17420 * tests/check/gst/gstquery.c: (GST_START_TEST):
17421 Added another check.
17423 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17425 * plugins/elements/gsttypefindelement.c: (find_peek):
17426 We can do peeks at non-zero offsets, as long as they
17427 fall within the buffer we have.
17429 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17431 * tests/check/Makefile.am:
17432 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17433 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17434 (parse_suite), (main):
17435 Add testsuite for parse launch syntax
17437 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17439 * plugins/elements/gsttypefindelement.c:
17440 (gst_type_find_element_chain):
17441 When typefinding is unsuccessful in the chain function, don't
17442 error out immediately. Only error out with NO_CAPS_FOUND if
17443 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17444 otherwise simply wait for more data so we can try typefinding
17445 again with more data later. Also, don't attempt to typefind
17446 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17447 this should improve typefinding from network sources where the
17448 size of the first buffer can be somewhat random.
17450 2006-02-14 Wim Taymans <wim@fluendo.com>
17452 * docs/gst/gstreamer-sections.txt:
17453 * gst/gstpadtemplate.c:
17454 * gst/gstpadtemplate.h:
17455 Fix padtemplate docs, fixes #328805.
17457 2006-02-14 Wim Taymans <wim@fluendo.com>
17459 * tools/gst-launch.c: (main):
17460 NO_PREROLL is not an ERROR so don't send confusing messages
17463 2006-02-14 Wim Taymans <wim@fluendo.com>
17465 Patch by: Torsten Schoenfeld
17467 * gst/gstregistry.c: (gst_registry_get_default),
17468 (_gst_registry_cleanup):
17469 Protect default registry with lock and ref/sink it.
17472 2006-02-14 Wim Taymans <wim@fluendo.com>
17475 * gst/gstquery.c: (gst_query_list_add_format),
17476 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17477 (gst_query_parse_formats_nth):
17478 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17481 2006-02-14 Wim Taymans <wim@fluendo.com>
17483 * docs/gst/gstreamer-sections.txt:
17484 Reworked query docs.
17486 * gst/gstquery.c: (gst_query_new_formats),
17487 (gst_query_list_add_format), (gst_query_set_formats),
17488 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17489 (gst_query_parse_formats_nth):
17491 Flesh out formats query, added some new methods.
17492 Fix part of #324398.
17494 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17495 Added query creation tests.
17497 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17499 * gst/gstpad.c: (fixate_value):
17500 Add a default fixation for fraction lists.
17502 2006-02-13 Wim Taymans <wim@fluendo.com>
17504 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17505 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17508 Detect and warn for obvious deadlocks. fixes #320340
17509 Fix error case where lock was not released.
17511 * tests/check/Makefile.am:
17512 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17513 (task_func), (gst_element_suite), (main):
17516 2006-02-13 Wim Taymans <wim@fluendo.com>
17518 * docs/gst/gstreamer-sections.txt:
17520 Add new functions to docs.
17522 2006-02-13 Wim Taymans <wim@fluendo.com>
17524 * docs/design/part-TODO.txt:
17525 Updated TODO list, basesrc supports seeking to non-bytes
17528 * docs/design/part-element-sink.txt:
17531 * gst/gstbin.c: (bin_replace_message),
17532 (gst_bin_handle_message_func):
17533 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17534 * gst/gstevent.c: (gst_event_finalize):
17535 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17536 (gst_pad_send_event):
17537 Use shiny new _TYPE_NAME macros.
17539 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17540 Move debug statement up.
17542 * gst/gstelement.c: (gst_element_set_locked_state):
17543 Add some debugging.
17545 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17547 * docs/gst/gstreamer-sections.txt:
17548 * gst/gstmessage.h:
17550 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17551 macros (#330906). Also, document the already existing
17552 GST_QUERY_TYPE macro.
17554 2006-02-13 Wim Taymans <wim@fluendo.com>
17556 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17557 (event_probe), (GST_START_TEST):
17558 Only events up to the pipeline EOS are counted, there are
17559 some more when going to NULL currently which we don't care
17562 2006-02-13 Wim Taymans <wim@fluendo.com>
17564 * gst/gstpad.c: (gst_pad_send_event):
17565 Correctly check flushing and emit probes. fixes #330125
17567 2006-02-10 Andy Wingo <wingo@pobox.com>
17569 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17571 (gst_bus_init): Cache the location of the private data in the
17572 instance structure.
17573 (gst_bus_enable_sync_message_emission)
17574 (gst_bus_disable_sync_message_emission): Implement new public
17576 (gst_bus_post): Emit the sync-message signal if the user asked for
17579 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17580 location of the bus-private structure.
17581 (gst_bus_enable_sync_message_emission)
17582 (gst_bus_disable_sync_message_emission): API addition
17584 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17586 Patch by: Vincent Torri
17588 * docs/pwg/building-boiler.xml:
17589 PWG patch from #326800
17591 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17594 * docs/Makefile.am:
17595 * docs/design/Makefile.am:
17598 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17603 === release 0.10.3 ===
17605 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17608 releasing 0.10.3, "Like a virgin"
17610 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17613 2nd prerelease of 0.10.3
17614 Bump libtool versioning.
17616 2006-02-07 Andy Wingo <wingo@pobox.com>
17618 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17619 update last_stop if we're in TIME format and the timestamp is
17622 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17623 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17624 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17625 If we get a new newsegment with a different format, adapt
17628 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17629 of 0. Not a problem, really.
17631 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17634 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17639 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17642 project files updated to the default vs7 configuration
17643 * win32/common/libgstbase.def:
17644 * win32/common/libgstreamer.def:
17646 removed empty lines,
17647 sorted all exported symbols alphabetically
17648 * win32/common/dirent.c:
17649 * win32/common/dirent.h:
17650 * win32/common/gchar.h:
17651 use windows line end.
17653 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17655 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17656 Send EOS event when stopping.
17658 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17661 Tell folks what to do if the plugin-foobar.xml file
17662 hasn't been generated for a newly-added plugin.
17664 2006-02-05 Julien MOUTTE <julien@moutte.net>
17666 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17667 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17668 (gst_collect_pads_start), (gst_collect_pads_stop),
17669 (gst_collect_pads_event): Collectpads now holds a reference
17670 to the GstPad that was added. Indeed we don't want to look
17671 at pads that might just go away with no warning...
17673 2006-02-05 Julien MOUTTE <julien@moutte.net>
17675 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17676 (gst_collect_pads_start), (gst_collect_pads_stop),
17677 (gst_collect_pads_event), (gst_collect_pads_chain):
17678 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17679 Mark Nauwelaerts's patch on bug #328491.
17681 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17683 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17685 Add some simple tests for gst_parse_bin_from_description() and
17686 gst_bin_find_unconnected_pad() (#329069).
17688 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17690 * tools/gst-launch.c: (event_loop), (main):
17691 Catch errors during preroll (#320084).
17693 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17695 * plugins/elements/gsttypefindelement.c:
17696 (gst_type_find_element_activate):
17697 Post TYPE_NOT_FOUND error message when typefinding
17698 is unsuccessful in the activate function as well.
17700 2006-02-02 Wim Taymans <wim@fluendo.com>
17702 * docs/design/part-element-sink.txt:
17705 2006-02-02 Wim Taymans <wim@fluendo.com>
17707 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17708 (gst_base_sink_render_object),
17709 (gst_base_sink_queue_object_unlocked):
17710 Only keep track of prerollable items when we are
17712 Before rendering after preroll, always check if we
17714 Added some more debugging.
17716 2006-02-02 Wim Taymans <wim@fluendo.com>
17718 * gst/gstelement.c: (gst_element_continue_state),
17719 (gst_element_set_state_func), (gst_element_change_state):
17720 Fixed #326576, been running this for quite some time with
17721 no regressions at all.
17723 2006-02-02 Wim Taymans <wim@fluendo.com>
17726 Added more suppressions
17728 2006-02-02 Wim Taymans <wim@fluendo.com>
17730 * docs/design/part-element-sink.txt:
17733 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17734 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17735 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17736 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17737 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17738 (gst_base_sink_preroll_object),
17739 (gst_base_sink_queue_object_unlocked),
17740 (gst_base_sink_queue_object), (gst_base_sink_event),
17741 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17742 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17743 (gst_base_sink_get_position), (gst_base_sink_change_state):
17744 * libs/gst/base/gstbasesink.h:
17745 Totally refactored matching the design doc.
17746 Use two segments, one to clip incomming buffers and another to
17748 Handle queueing correctly, bypass the queue when playing.
17749 Make EOS cancelable.
17750 Handle errors correctly when operating in pull based mode.
17752 * tests/check/elements/fakesink.c: (GST_START_TEST),
17754 Added new check for sinks.
17756 2006-02-02 Wim Taymans <wim@fluendo.com>
17758 * gst/gstsegment.c: (gst_segment_clip):
17759 No reason to refuse to clip when start == -1
17761 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17764 * docs/manual/intro-basics.xml:
17765 * docs/manual/intro-preface.xml:
17766 * docs/manual/manual.xml:
17767 * docs/pwg/advanced-dparams.xml:
17768 * docs/pwg/intro-basics.xml:
17769 * docs/pwg/intro-preface.xml:
17770 * docs/pwg/pwg.xml:
17771 describe dparams (controller) for plugins
17772 unify docs a little more
17774 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17776 * docs/gst/gstreamer-sections.txt:
17777 * gst/gstutils.c: (element_find_unconnected_pad),
17778 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17780 Add new API: gst_parse_bin_from_description() and
17781 gst_bin_find_unconnected_pad() (#329069).
17783 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17785 * docs/manual/README:
17786 uncover a nasty detail of the docs build
17788 2006-01-31 Wim Taymans <wim@fluendo.com>
17790 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17791 Don't cache duration messages if we're not going to use or
17794 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17796 * docs/manual/advanced-dparams.xml:
17797 * docs/pwg/advanced-dparams.xml:
17801 * libs/gst/controller/lib.c: (gst_controller_init):
17804 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17806 * gst/gstelement.c: (gst_element_message_full):
17807 also show file/line/func if no additional debug was given
17809 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17811 * win32/vs7/grammar.vcproj:
17812 activate copy of autogenerated files for Release mode
17814 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17816 * win32/common/libgstreamer.def:
17817 export gst_value_compare
17819 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17821 * plugins/elements/Makefile.am:
17822 * plugins/elements/gstelements.c:
17823 * plugins/elements/gstfdsink.c: (_do_init),
17824 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17825 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17826 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17827 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17828 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17829 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17830 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17831 * plugins/elements/gstfdsink.h:
17832 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17834 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17836 * docs/manual/advanced-dparams.xml:
17837 describe controller
17838 * docs/manual/advanced-position.xml:
17839 * docs/manual/basics-init.xml:
17840 * docs/manual/manual.xml:
17841 * docs/manual/titlepage.xml:
17842 * docs/pwg/pwg.xml:
17843 * docs/pwg/titlepage.xml:
17844 cleanup xml (more to come)
17845 * libs/gst/controller/gstcontroller.c:
17848 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17850 * win32/vs6/grammar.dsp:
17851 add autogen of gstmarshal.c,h for Release mode
17853 2006-01-30 Wim Taymans <wim@fluendo.com>
17855 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17856 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17857 (gst_base_sink_handle_object), (gst_base_sink_event),
17858 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17859 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17860 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17861 (gst_base_sink_deactivate), (gst_base_sink_activate),
17862 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17863 (gst_base_sink_query), (gst_base_sink_change_state):
17864 Basesink cleanups, remove some old code.
17865 Handle the case where a subclass can preroll in the render
17866 method (mostly audiosinks).
17867 Handle more events.
17868 Remove some locks around variables that are now protected
17869 with the PREROLL_LOCK (clock_id, flushing, ..).
17870 Optimize position query some more, do correct locking.
17871 Remove old code to push queue in state change, this is not
17872 needed anymore since preroll blocks on all prerollable items
17874 Almost implemented as described in design doc.
17876 2006-01-30 Wim Taymans <wim@fluendo.com>
17878 * tests/check/gst/gstbin.c: (GST_START_TEST):
17879 Wait for refcount to settle down before checking.
17881 2006-01-30 Wim Taymans <wim@fluendo.com>
17883 * docs/design/part-element-sink.txt:
17884 Pseudo code overview of desired sink behaviour regarding
17887 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17888 * win32/vs6/grammar.dsp:
17889 fix some bugs in Release mode for autogenerated files
17891 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17892 * win32/common/libgstbase.def:
17893 * win32/common/libgstreamer.def:
17894 export some new symbols: gst_base_src_set_format,
17895 gst_iterator_next, gst_structure_set_valist
17897 2006-01-29 Julien MOUTTE <julien@moutte.net>
17899 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17900 Set pad functions unconditionally. Fixes #329105.
17902 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17904 add vs8 project files created by Sergey Scobich
17906 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17908 * gst/gstutils.c: (gst_element_unlink_pads):
17909 Don't leak pad references.
17911 * tests/check/elements/fakesink.c: (GST_START_TEST):
17912 * tests/check/generic/sinks.c: (GST_START_TEST):
17913 * tests/check/generic/states.c: (GST_START_TEST):
17914 * tests/check/gst/gstbin.c: (GST_START_TEST):
17915 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17916 * tests/check/gst/gstelement.c: (GST_START_TEST):
17917 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17918 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17919 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17920 Fix a bunch of leaks. Make generic/sinks.c
17921 use a bit less cpu by slowing the buffer rate
17922 between fakesrc and fakesink.
17924 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17926 * gst/gstelement.c: (gst_element_send_event):
17929 * gst/gstiterator.c:
17930 * gst/gstiterator.h:
17931 * gst/gstpad.c: (gst_pad_send_event):
17932 * gst/gststructure.c:
17936 * libs/gst/base/gstadapter.c:
17937 doc fixes, to link to function, just write gst_cool_function(), don't
17940 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17942 * plugins/elements/gsttee.c: (gst_tee_do_push),
17943 (gst_tee_handle_buffer):
17944 Always prefer an actual return value from a src
17945 pad in place of NOT_LINKED. This means we return
17946 WRONG_STATE when all src pads are WRONG_STATE
17947 instead of NOT_LINKED.
17949 Lock when replacing the last message to prevent
17950 racing with the get_property method.
17954 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17956 * tests/check/Makefile.am:
17957 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17959 Add a very simple check that should have caught the memleak I fixed
17960 last night (if not for the slice allocator hiding it)
17962 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17964 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17965 (gst_bin_remove_func), (gst_bin_handle_message_func),
17966 (bin_query_duration_fold), (bin_query_generic_fold):
17967 Clean up references to the clock provider when disposed or when
17968 handling a clock-lost message from it.
17970 Unref sinks when performing a query via gst_iterator_fold, as the
17971 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17973 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17974 (gst_clock_set_master):
17975 Drop our reference to the master clock, if any, when we are disposed.
17977 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17978 Chain up in dispose.
17980 2006-01-26 Wim Taymans <wim@fluendo.com>
17982 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17983 Add some debugging.
17985 2006-01-26 Julien MOUTTE <julien@moutte.net>
17987 * plugins/elements/gsttee.c: (gst_tee_do_push),
17988 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17989 handles pad being NOT_LINKED or in WRONG_STATE.
17991 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17996 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17999 remove obsolete entry
18001 2006-01-26 Stefan Kost <ensonic@users.sf.net>
18003 * docs/gst/gstreamer-sections.txt:
18004 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18005 (gst_bin_iterate_sources), (gst_bin_send_event):
18007 * gst/gstelement.c: (gst_element_send_event):
18009 * gst/gstpad.c: (gst_pad_send_event):
18010 added code for downstream events, reviewed docs in gstevent.c
18012 2006-01-25 Julien MOUTTE <julien@moutte.net>
18014 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18015 We only query position using the clock in the playing state.
18016 Query peer in the other cases.
18017 * win32/common/config.h: Updates.
18019 2006-01-24 Wim Taymans <wim@fluendo.com>
18021 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18022 A clock entry that is scheduled for the exact time of the
18023 clock is still in time.
18025 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18026 (gst_base_sink_do_sync):
18027 Add some more debug info.
18029 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18032 Add new vs7 project files and solution.
18034 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
18037 all files removed as they were out-dated.
18039 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18041 * docs/random/release:
18043 * gst/gstbin.c: (gst_bin_init):
18044 * gst/gstbus.c: (gst_bus_new):
18046 * gst/gstpipeline.c: (gst_pipeline_init):
18047 use gst_bus_new(), improve logging, fix docs
18048 * win32/common/config.h:
18049 update for cvs build
18051 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
18054 up required version of automake to 1.7
18056 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
18058 * win32/common/libgstreamer.def:
18059 export gst_buffer_is_metadata_writable
18061 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
18063 * docs/gst/gstreamer-sections.txt:
18065 Add gst_event_replace() (#327001)
18067 2006-01-20 Wim Taymans <wim@fluendo.com>
18069 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18070 Make it actually compile too..
18072 2006-01-20 Wim Taymans <wim@fluendo.com>
18075 Clarify behaviour of _is_equal() when passing NULL parameters.
18077 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18078 (gst_pad_set_caps):
18079 Cleanups. Don't unref NULL caps.
18080 When setting the same caps, protect caps of the pad with
18082 Use full functionality of _is_equal() when comparing caps.
18084 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18086 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18087 Don't loop infinitely if there are no buffers to present. Partially
18088 fixes #327197, but collectpads is just broken for reusing elements
18089 to do multiple encodes atm.
18091 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
18093 * tools/gst-inspect.c: (print_element_features):
18094 * tools/gst-xmlinspect.c: (main):
18095 URL_HANDLER is not a plugin feature we can search for in
18098 2006-01-19 Edward Hervey <edward@fluendo.com>
18100 * gst/gstelement.c: (gst_element_pads_activate):
18101 When activating, do src pads first, then sink pads.
18102 When de-activating, do sink pads first, then src pads.
18104 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18106 * docs/gst/gstreamer-sections.txt:
18107 Add gst_index_add_associationv to the docs
18109 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18114 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18115 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18116 Do some refactoring. Doesn't actually change functionality,
18117 but makes landing the DRAIN event easier later.
18119 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
18121 * docs/pwg/advanced-scheduling.xml:
18122 Update from 0.9.x to 0.10 API and make example a bit
18125 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18127 * docs/gst/gstreamer-sections.txt:
18128 Add gst_buffer_(is|make)_metadata_writable methods.
18130 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18132 * docs/design/part-sparsestreams.txt:
18133 Update sparse streams doc, hopefully for greater clarity
18135 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18137 * docs/design/part-events.txt:
18138 Remove mention of FILLER events.
18141 * docs/design/part-sparsestreams.txt:
18142 Write some things about using NEWSEGMENT to keep sparse streams
18145 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18147 * gst/gstbin.c: (gst_bin_dispose):
18148 Guard gst_object_unref call against a NULL object (dispose
18149 can theoretically be called multiple times).
18151 2006-01-18 Wim Taymans <wim@fluendo.com>
18153 * gst/gstbin.c: (gst_bin_element_set_state):
18154 * gst/gstclock.c: (gst_clock_id_wait):
18155 Added some more debug info.
18157 * libs/gst/base/gstadapter.c:
18160 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18161 (gst_base_sink_do_sync), (gst_base_sink_chain):
18162 Added some comments.
18164 2006-01-18 Wim Taymans <wim@fluendo.com>
18166 * tests/check/Makefile.am:
18167 * tests/check/elements/fakesink.c: (chain_async_buffer),
18168 (chain_async), (chain_async_return), (GST_START_TEST),
18169 (fakesink_suite), (main):
18170 Added fakesink test that checks prerolling and clipping
18173 * tests/check/gst/gstutils.c: (GST_START_TEST):
18174 Make check run faster so that buildbots don't timeout.
18176 2006-01-18 Wim Taymans <wim@fluendo.com>
18178 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18179 (gst_base_sink_do_sync):
18181 When the sink finishes blocking on the preroll buffer, it can
18182 immediatly render it instead of rendering when the next buffer
18185 2006-01-18 Wim Taymans <wim@fluendo.com>
18187 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18188 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18189 (gst_base_sink_chain):
18191 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18192 Don't store _last_stop if the buffer is dropped.
18194 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18196 * plugins/elements/gsttypefindelement.c:
18197 (gst_type_find_element_class_init):
18198 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18199 object method handler that sets the caps on the pad and we want
18200 that to happen before we emit the signal (fixes e.g. feeding a
18201 plain text file to decodebin).
18203 2006-01-18 Christian Schaller <Christian@fluendo.com>
18205 * gst/gstplugin.c: Add MPL and Proprietary as license options
18207 2006-01-18 Andy Wingo <wingo@pobox.com>
18209 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18210 symbol was exported before, it appears this was just an oversight.
18212 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18214 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18215 prototype to gint. OK since this prototype was not in the header.
18217 2006-01-17 Andy Wingo <wingo@pobox.com>
18219 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18220 registry while we remove plugins.
18222 * tools/gst-inspect.c (print_element_info): Don't unref the
18223 factory arg, that should be the responsibility of whatever code
18224 received the ref. Fixes a double-free when called from
18225 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18226 (main): Unref the factory if we have one.
18227 (print_element_list): No change -- relies on the
18228 plugin_feature_list_free to free the list of features.
18230 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18232 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18233 (gst_buffer_make_metadata_writable):
18235 * libs/gst/base/gstbasetransform.c:
18236 (gst_base_transform_prepare_output_buf):
18237 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18238 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18239 Replace gst_buffer_(make|is)_metadata_writable patch now
18240 that the release is out.
18242 2006-01-17 Andy Wingo <wingo@pobox.com>
18244 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18245 in the present tense without reference to versions.
18247 * gst/gstregistry.c (gst_registry_add_plugin)
18248 (gst_registry_remove_plugin, gst_registry_remove_feature)
18249 (gst_registry_find_feature, gst_registry_get_feature_list)
18250 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18251 (gst_registry_lookup, gst_registry_scan_path)
18252 (_gst_registry_remove_cache_plugins)
18253 (gst_registry_get_feature_list_by_plugin): Add argument
18256 === release 0.10.2 ===
18258 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18261 releasing 0.10.2, "If man is five"
18263 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18267 * libs/gst/base/gstbasetransform.c:
18268 (gst_base_transform_prepare_output_buf):
18269 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18270 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18271 Back out patch until after the release.
18273 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18275 * gst/gstminiobject.c:
18276 Spelling fix in docs.
18277 * ChangeLog - remove conflict indicator
18279 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18281 Reviewed By: Andy Wingo
18283 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18284 (gst_buffer_make_metadata_writable):
18286 Add gst_buffer_(is|make)_metadata_writable as analogues of
18287 gst_buffer_(is|make)_writable.
18289 * libs/gst/base/gstbasetransform.c:
18290 (gst_base_transform_prepare_output_buf):
18291 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18292 Use name gst_buffer_(is|make)_metadata_writable functions.
18294 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18295 Test gst_buffer_(is|make)_metadata_writable
18299 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18301 * docs/manual/Makefile.am:
18302 don't do parallel make
18305 * win32/common/config.h.in:
18306 add generations for HOST_CPU and GST_MAJORMINOR
18307 * win32/common/config.h:
18308 commit generated result
18310 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18312 * docs/manual/appendix-integration.xml:
18313 Update GNOME integration section to use gst_init_get_option_group()
18314 instead of the old popt stuff (#322911). Also, GNOME applications
18315 should now use gconf*sink and gconf*src instead of the old gconf
18318 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18321 * docs/gst/gstreamer-docs.sgml:
18322 * docs/gst/gstreamer-sections.txt:
18323 * docs/libs/gstreamer-libs-sections.txt:
18324 add new API entries to the docs
18325 * libs/gst/controller/Makefile.am:
18326 * libs/gst/controller/gstcontroller.c:
18327 * libs/gst/controller/gstcontroller.h:
18328 * libs/gst/controller/gstcontrollerprivate.h:
18329 * libs/gst/controller/gsthelper.c:
18330 * libs/gst/controller/gstinterpolation.c:
18331 move private structs to private header
18333 gstreamer-0.7 -> gstreamer-0.10
18334 * tests/check/libs/struct_i386.h:
18335 remove private structs
18337 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18339 * plugins/indexers/Makefile.am:
18340 Fixes as part of #317048
18342 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18344 * plugins/indexers/Makefile.am:
18345 fix #316086 - compilation when mmap is missing
18347 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18349 * libs/gst/base/gstbasesink.c:
18350 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18351 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18352 * win32/common/config.h:
18353 added some defines GST_MAJORMINOR and HOST_CPU
18354 * win32/common/libgstbase.def:
18355 * win32/common/libgstreamer.def:
18356 added some exported functions.
18358 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18360 * libs/gst/controller/gstcontroller.c:
18361 (gst_controlled_property_set_interpolation_mode),
18362 (gst_controlled_property_new):
18363 * libs/gst/controller/gstcontroller.h:
18364 * libs/gst/controller/gstinterpolation.c:
18365 (interpolate_none_get_string_value_array):
18366 make G_TYPE_STRING controlable
18368 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18371 * tools/gst-feedback.1.in:
18372 * tools/gst-inspect.1.in:
18373 * tools/gst-launch.1.in:
18374 * tools/gst-md5sum.1.in:
18375 * tools/gst-typefind.1.in:
18376 * tools/gst-xmlinspect.1.in:
18377 * tools/gst-xmllaunch.1.in:
18378 cleanup man-pages, remove reference to gst-register, document env-vars
18380 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18382 * gst/gstbuffer.c: (gst_buffer_span):
18383 gst_buffer_span should copy the timestamp of the first buffer
18384 if they were both originally overlapping subbuffers of the
18385 same parent, using the same logic as the 'slow copy' case.
18387 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18389 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18390 Need to awaken ALL the pads when we pop a buffer, otherwise
18391 collectpads only works when there is 2 input streams.
18393 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18395 * docs/random/ensonic/media-device-daemon.txt:
18398 fix doc example, add clarification
18399 * tools/gst-launch.1.in:
18400 add initial info about GST_PLUGIN_PATH, needs more work
18402 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18404 * docs/manual/basics-bins.xml:
18405 * docs/manual/basics-elements.xml:
18406 * docs/manual/intro-basics.xml:
18407 Some more minor docs additions and updates.
18409 2006-01-11 Wim Taymans <wim@fluendo.com>
18411 * docs/manual/basics-bins.xml:
18412 * docs/manual/basics-elements.xml:
18413 Some small fixes as pointed out by Ser-ver on IRC.
18415 2006-01-10 Edward Hervey <edward@fluendo.com>
18417 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18418 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18419 the single-segment mode.
18421 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18423 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18425 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18426 (gst_base_src_perform_seek), (gst_base_src_send_event),
18427 (gst_base_src_set_property), (gst_base_src_get_property),
18428 (gst_base_src_loop), (gst_base_src_start),
18429 (gst_base_src_activate_push):
18430 * libs/gst/base/gstbasesrc.h:
18431 Name (private) union; makes Sun's Forte compiler happy (#324900).
18433 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18436 gst-register is gone.
18438 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18440 * gst/gstvalue.c: (_gst_value_initialize):
18441 make the G_TYPE_DATE instantiation work if debug is disabled
18443 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18445 * gst/gstmessage.c: (gst_message_parse_tag),
18446 (gst_message_parse_error), (gst_message_parse_warning):
18447 Don't crash when return location for error/warning debug
18448 string is NULL; add fact that return locations can be
18449 NULL to docs where appropriate.
18451 2006-01-05 Wim Taymans <wim@fluendo.com>
18453 * gst/gstplugin.c: (gst_plugin_load_file):
18454 Replace strdup by g_strdup.
18456 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18458 * docs/pwg/advanced-types.xml:
18461 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18463 submitted by: Abel Cheung
18467 Added Chinese (traditional) translation
18469 2006-01-04 Wim Taymans <wim@fluendo.com>
18471 * docs/manual/basics-pads.xml:
18472 * docs/plugins/Makefile.am:
18473 * docs/plugins/gstreamer-plugins-docs.sgml:
18474 * docs/plugins/gstreamer-plugins-sections.txt:
18475 * docs/pwg/advanced-clock.xml:
18476 * docs/pwg/advanced-scheduling.xml:
18477 * docs/pwg/advanced-types.xml:
18478 * plugins/elements/gstfdsink.c:
18479 * plugins/elements/gstfdsrc.c:
18480 * plugins/elements/gstfdsrc.h:
18481 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18482 * plugins/elements/gstidentity.h:
18483 * plugins/elements/gstqueue.h:
18484 * plugins/elements/gsttee.c:
18485 * plugins/elements/gsttee.h:
18486 * plugins/elements/gsttypefindelement.c:
18487 (gst_type_find_element_class_init):
18488 * plugins/elements/gsttypefindelement.h:
18489 Small updates to various docs.
18490 Added core plugins to docs.
18492 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18495 add a suppression for liboil's uninitialized variable
18497 2006-01-02 James Livingston <jrl at ids dot org dot au>
18499 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18502 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18503 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18504 compiler switch is being used (#325429).
18506 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18508 * gst/gstbin.c: (gst_bin_query):
18509 Disable duration query caching in bins until it gets
18510 fixed (see #324807).
18512 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18514 * tools/gst-inspect.c: (print_element_properties_info):
18515 Handle properties of POINTER and BOXED type.
18517 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18519 * gst/gst.c: (init_post):
18520 Init tags stuff and some other things before loading
18521 any static plugins (there may be other static plugins
18522 than just the GStreamer ones, and they may want to
18523 register their own tags or formats or whatever, and
18524 preferably without segfaulting).
18526 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18527 Print at least a warning in the debug logs if we drop a
18528 query just because we don't know how to adjust the value
18529 in the particular format.
18531 2005-12-24 David Schleef <ds@schleef.org>
18533 * tools/gstreamer-completion:
18534 Replacement for gst-complete written in sh and sed. Only
18535 completes names of features, but that's 90% of what I want
18536 it for. Properties are not available in registry.xml. (Maybe
18539 === release 0.10.1 ===
18541 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18544 releasing 0.10.1, "Nollaig chridheil"
18546 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18548 * docs/faq/cvs.xml:
18549 Add missing quote, should be make ERROR_CFLAGS="".
18551 2005-12-20 Wim Taymans <wim@fluendo.com>
18553 * docs/design/part-trickmodes.txt:
18554 More documentation on trickmodes.
18556 2005-12-20 Edward Hervey <edward@fluendo.com>
18558 * gst/gstcaps.c: (gst_static_caps_get_type):
18560 API addition: GST_TYPE_STATIC_CAPS
18561 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18562 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18563 * gst/gstpadtemplate.h:
18564 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18565 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18568 2005-12-18 Wim Taymans <wim@fluendo.com>
18570 * libs/gst/base/gstadapter.c:
18571 * libs/gst/base/gstadapter.h:
18572 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18573 (gst_base_sink_get_position):
18574 * libs/gst/base/gstbasesink.h:
18575 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18576 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18577 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18578 (gst_base_src_send_event), (gst_base_src_update_length),
18579 (gst_base_src_get_range), (gst_base_src_loop),
18580 (gst_base_src_start):
18581 * libs/gst/base/gstbasesrc.h:
18582 * libs/gst/base/gstbasetransform.h:
18583 * libs/gst/base/gstcollectpads.h:
18584 * libs/gst/base/gstpushsrc.c:
18585 * libs/gst/base/gstpushsrc.h:
18586 * libs/gst/dataprotocol/dataprotocol.c:
18587 * libs/gst/dataprotocol/dataprotocol.h:
18588 * libs/gst/net/gstnetclientclock.h:
18589 * libs/gst/net/gstnettimeprovider.h:
18590 Documentation updates.
18592 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18594 * docs/manual/basics-helloworld.xml:
18595 Remove superfluous closing bracket in helloworld example.
18597 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18599 * tools/gst-launch.1.in:
18600 Update gst-launch man page; add a section with useful
18601 environment variables. Fixes #323882.
18603 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18606 * gst/gst_private.h:
18607 change some char* into char[]
18609 2005-12-16 Wim Taymans <wim@fluendo.com>
18611 * gst/gstregistryxml.c: (load_feature):
18613 Don't use g_object_unref on GstObjects so that we avoid
18614 leaks on unsafe glibs.
18616 2005-12-16 Wim Taymans <wim@fluendo.com>
18618 * gst/gstbin.c: (gst_bin_recalc_state):
18621 2005-12-16 Wim Taymans <wim@fluendo.com>
18623 * common/check.mak:
18624 Added make forever target for check.
18626 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18628 * gst/gst.c: (init_post):
18629 make the registry cache file HOST_CPU-dependent
18631 2005-12-16 Andy Wingo <wingo@pobox.com>
18633 * plugins/elements/gstbufferstore.c
18634 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18637 * tests/check/gst/gstobject.c
18638 (test_fake_object_name_threaded_unique): Pay attention to
18639 g_list_sort return value.
18641 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18643 * tools/gst-feedback-m.m:
18644 Update for 0.9/0.10 (fixes #323870).
18646 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18648 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18649 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18651 * tests/check/gst/gstminiobject.c: (my_foo_init),
18652 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18653 (test_value_collection), (gst_mini_object_suite):
18654 Add test to ensure refcounts end up as expected when passing
18655 GstMiniObjects through g_object_get() and g_object_set().
18657 2005-12-14 Julien MOUTTE <julien@moutte.net>
18659 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18660 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18661 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18662 of collectpads. This version removes a lot of races without
18663 touching API/ABI. Yay !
18665 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18667 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18668 Don't allow activation of a srcpad in pull_range if it has no
18670 Change some debug statements to be a little clearer
18672 * plugins/elements/gsttypefindelement.c:
18673 (gst_type_find_handle_src_query):
18674 Check that we have a peer before executing queries thereupon.
18676 * tests/examples/metadata/read-metadata.c: (message_loop):
18677 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18678 immediately return us any available message with 0 timeout.
18680 2005-12-12 Michael Smith <msmith@fluendo.com>
18682 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18683 Don't unref factories after calling them.
18684 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18685 * plugins/elements/gsttypefindelement.c:
18686 (gst_type_find_element_chain):
18687 Free lists of factories after using them. Fixing typefinding memory
18690 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18692 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18693 (gst_plugin_feature_load):
18694 more meaningful debug output
18696 * tests/Makefile.am:
18697 * tests/old/examples/Makefile.am:
18698 make make distcheck happy again
18700 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18702 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18703 Catch the special case where we are operating chain-based,
18704 but the downstream peer pad has no chain function. Emit a
18705 custom error message in this case instead of letting the
18706 core generate one implying that this is some sort of core
18707 bug. It's not, it just means that whatever got plugged
18708 into the pipeline downstream when we announced the type
18709 can only operate pull-based, while our source can only
18710 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18711 Error string has not been marked for translation yet, as
18712 it probably needs some more work first.
18714 (gst_type_find_element_get_best_possibility):
18715 Add helper function to find the best of all available
18716 found possibilities that qualify given the min. threshold.
18718 (gst_type_find_element_handle_event):
18719 Fix the case where we get an EOS while still in TYPEFIND
18720 mode (we want to chose the best of all possible types,
18721 not just the first type that happens to be in our unsorted
18722 list of possible types).
18724 (gst_type_find_element_chain):
18725 Make sure we return GST_FLOW_ERROR when we errored out
18726 in stop_typefinding(); also, don't just find the best of
18727 all found type entries and then use the last examined
18728 type entry, but actually use the best entry.
18730 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18732 * tests/examples/typefind/typefind.c: (type_found):
18733 * tests/examples/xml/runxml.c: (xml_loaded):
18734 More gcc4 fixes and a mem leak fix.
18736 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18738 * tests/examples/xml/createxml.c: (object_saved):
18741 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18743 * tests/Makefile.am:
18744 enable the examples even more
18746 2005-12-12 Andy Wingo <wingo@pobox.com>
18748 * libs/gst/net/gstnettimeprovider.c
18749 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18750 (gst_net_time_provider_set_property)
18751 (gst_net_time_provider_get_property):
18752 API addition: Export "active" as a GObject property.
18753 (gst_net_time_provider_thread): Only respond to time queries if
18754 the time provider is active.
18756 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18757 NetTimeProvider, preserving binary compat.
18759 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18761 * tests/examples/controller/audio-example.c: (main):
18762 * tests/examples/launch/Makefile.am:
18763 convert comments again
18765 2005-12-12 Wim Taymans <wim@fluendo.com>
18767 * libs/gst/base/gstpushsrc.c:
18770 2005-12-12 Wim Taymans <wim@fluendo.com>
18772 * docs/libs/gstreamer-libs-sections.txt:
18773 Added new symbol to docs.
18775 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18776 (gst_base_src_init), (gst_base_src_set_format),
18777 (gst_base_src_default_query), (gst_base_src_query),
18778 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18779 (gst_base_src_perform_seek), (gst_base_src_send_event),
18780 (gst_base_src_default_event), (gst_base_src_event_handler),
18781 (gst_base_src_set_property), (gst_base_src_get_property),
18782 (gst_base_src_wait), (gst_base_src_do_sync),
18783 (gst_base_src_update_length), (gst_base_src_get_range),
18784 (gst_base_src_check_get_range), (gst_base_src_loop),
18785 (gst_base_src_default_negotiate), (gst_base_src_start),
18786 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18787 (gst_base_src_change_state):
18788 * libs/gst/base/gstbasesrc.h:
18789 Implement seeking to other formats than _BYTES.
18790 Implement more seeking methods correctly.
18792 Added query vmethod.
18793 Added do_seek vmethod to make life easier for subclasses
18795 API addition: gst_base_src_set_format()
18797 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18799 * tests/examples/Makefile.am:
18802 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18805 * docs/random/ensonic/media-device-daemon.txt:
18806 * tests/examples/controller/.cvsignore:
18807 * tests/examples/controller/Makefile.am:
18808 * tests/examples/controller/audio-example.c: (main):
18809 * tests/examples/helloworld/.cvsignore:
18810 * tests/examples/helloworld/Makefile.am:
18811 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18812 * tests/examples/launch/.cvsignore:
18813 * tests/examples/launch/Makefile.am:
18814 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18815 * tests/examples/metadata/.cvsignore:
18816 * tests/examples/metadata/Makefile.am:
18817 * tests/examples/metadata/read-metadata.c: (message_loop),
18818 (make_pipeline), (print_tag), (main):
18819 * tests/examples/queue/.cvsignore:
18820 * tests/examples/queue/Makefile.am:
18821 * tests/examples/queue/queue.c: (event_loop), (main):
18822 * tests/examples/typefind/.cvsignore:
18823 * tests/examples/typefind/Makefile.am:
18824 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18826 * tests/examples/xml/.cvsignore:
18827 * tests/examples/xml/Makefile.am:
18828 * tests/examples/xml/createxml.c: (object_saved), (main):
18829 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18830 * tests/old/examples/Makefile.am:
18831 * tests/old/examples/TODO:
18832 * tests/old/examples/controller/.cvsignore:
18833 * tests/old/examples/controller/Makefile.am:
18834 * tests/old/examples/controller/audio-example.c:
18835 * tests/old/examples/helloworld/.cvsignore:
18836 * tests/old/examples/helloworld/Makefile.am:
18837 * tests/old/examples/helloworld/helloworld.c:
18838 * tests/old/examples/launch/.cvsignore:
18839 * tests/old/examples/launch/Makefile.am:
18840 * tests/old/examples/launch/mp3parselaunch.c:
18841 * tests/old/examples/launch/mp3play:
18842 * tests/old/examples/manual/Makefile.am:
18843 * tests/old/examples/metadata/Makefile.am:
18844 * tests/old/examples/metadata/read-metadata.c:
18845 * tests/old/examples/queue/.cvsignore:
18846 * tests/old/examples/queue/Makefile.am:
18847 * tests/old/examples/queue/queue.c:
18848 * tests/old/examples/typefind/.cvsignore:
18849 * tests/old/examples/typefind/Makefile.am:
18850 * tests/old/examples/typefind/typefind.c:
18851 * tests/old/examples/xml/.cvsignore:
18852 * tests/old/examples/xml/Makefile.am:
18853 * tests/old/examples/xml/createxml.c:
18854 * tests/old/examples/xml/runxml.c:
18855 applied some simple fixing to some examples
18856 re-enabled the working examples
18858 2005-12-12 Wim Taymans <wim@fluendo.com>
18860 * gst/gstsegment.c: (gst_segment_init),
18861 (gst_segment_set_last_stop), (gst_segment_set_seek),
18862 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18863 (gst_segment_to_running_time):
18864 Added more documentation.
18865 Make sure the last_pos value is updated properly.
18866 Make sure to_stream_time and to_running_time don't
18867 operate on wrong values.
18869 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18872 2005-12-12 Michael Smith <msmith@fluendo.com>
18874 * plugins/elements/gsttypefindelement.c: (free_entry),
18875 (gst_type_find_element_chain):
18876 Now that we're not leaking factories, make sure we keep references
18877 to them while we need them.
18879 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18881 * tests/check/gst/struct_i386.h:
18882 ifdef out the XML structs
18884 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18886 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18887 floor is not needed, F is always positive; this obviates the
18888 need for adding -lm when building without libxml
18890 2005-12-12 Wim Taymans <wim@fluendo.com>
18892 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18893 Take current playback rate into account when reporting
18896 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18898 * docs/manual/mime-world.fig:
18899 Let's try this again, this time with a file that is
18900 actually in XFig format.
18902 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18904 * docs/manual/mime-world.fig:
18905 Add audioconvert element to diagram so that it
18906 matches the text and the code (fixes #319526).
18908 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18910 * docs/pwg/building-chainfn.xml:
18911 * docs/pwg/building-pads.xml:
18912 * docs/pwg/building-state.xml:
18913 * docs/pwg/other-source.xml:
18914 Update state change stuff for 0.10 (fixes #322969).
18916 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18918 * docs/manual/advanced-dataaccess.xml:
18919 * docs/manual/appendix-checklist.xml:
18920 * docs/manual/appendix-programs.xml:
18921 * docs/manual/basics-pads.xml:
18922 * docs/manual/highlevel-components.xml:
18923 * docs/manual/manual.xml:
18924 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18925 add converters in front of pipelines; remove curly
18926 brackets for threads stuff, they no longer exist; use
18927 GST_TYPE_FRACTION for framerates; update some pieces of
18928 code to 0.10, but there's plenty more to do.
18930 * docs/manual/appendix-porting.xml:
18931 Expand on asynchroneous state changes; s/0.9/0.10/;
18932 mention disappearance of gst_init_get_popt_table()
18935 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18937 * docs/faq/using.xml:
18938 Spider no longer exists, and neither does gst-launch-ext.
18939 Update examples to use decodebin and playbin and put
18940 converters in front of sinks (fixes #323726).
18942 2005-12-09 Michael Smith <msmith@fluendo.com>
18944 * plugins/elements/gsttypefindelement.c: (find_peek),
18945 (gst_type_find_element_chain):
18946 Fix leaking element factories in typefinding.
18947 Fix problem where we forgot about a probable type on non-seekable
18948 files, and thus later mis-typefound it.
18950 2005-12-09 Michael Smith <msmith@fluendo.com>
18952 * common/m4/gst-makecontext.m4:
18953 * common/m4/gst-mcsc.m4:
18955 * win32/common/config.h:
18956 * win32/common/config.h.in:
18957 Remove makecontext stuff; not used in 0.10 and causes problems on
18958 HPUX according to bug #322441
18960 2005-12-07 Wim Taymans <wim@fluendo.com>
18962 * tests/check/Makefile.am:
18963 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18965 * tests/check/libs/struct_i386.h:
18966 Added ABI check for libs
18968 2005-12-07 Wim Taymans <wim@fluendo.com>
18970 * tests/check/Makefile.am:
18971 And add the struct_i386.h to dist.
18973 2005-12-07 Wim Taymans <wim@fluendo.com>
18975 * tests/check/Makefile.am:
18976 * tests/check/gst/.cvsignore:
18977 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18979 * tests/check/gst/struct_i386.h:
18980 Added check for ABI compatibility.
18982 2005-12-07 Wim Taymans <wim@fluendo.com>
18984 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18985 (gst_fake_src_get_times), (gst_fake_src_create):
18986 Fix broken sync option, fixes #323259
18988 2005-12-07 Wim Taymans <wim@fluendo.com>
18993 * gst/gstcaps.c: (gst_caps_is_equal):
18994 Don't assert on NULL <--> X. Fixes #323260
18996 * gst/gstminiobject.c: (gst_mini_object_replace):
18997 If we're doing atomic operations, we might just as well use
18998 the proper way to get an atomic pointer.
19000 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19001 Clean up debugging.
19003 2005-12-07 Michael Smith <msmith@fluendo.com>
19005 * gst/parse/grammar.y:
19006 Remove handling of { } for threads.
19008 2005-12-06 David Schleef <ds@schleef.org>
19010 * libs/gst/base/gstbasetransform.c: speling fix.
19012 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
19014 * docs/libs/tmpl/gstdataprotocol.sgml:
19015 * docs/random/omega/testing/gstobject.c:
19018 * gst/gstelement.c:
19019 * gst/gstelementfactory.c:
19022 * gst/gstghostpad.c:
19024 * gst/gstpadtemplate.c:
19025 * gst/gstregistryxml.c:
19026 * gst/gsttaglist.c:
19027 * gst/gsttagsetter.c:
19028 * gst/gsttypefind.c:
19030 * libs/gst/base/gstbasesrc.c:
19031 * libs/gst/net/gstnetclientclock.c:
19032 * libs/gst/net/gstnettimeprovider.c:
19033 * plugins/elements/gstfakesrc.c:
19034 * plugins/elements/gstfdsrc.c:
19035 * plugins/elements/gstfilesrc.c:
19036 * plugins/elements/gstidentity.c:
19037 * plugins/elements/gstqueue.c:
19038 * plugins/elements/gsttypefindelement.c:
19039 * plugins/indexers/gstfileindex.c:
19040 * plugins/indexers/gstmemindex.c:
19041 * tests/check/gst/gsttag.c:
19042 * tests/old/examples/cutter/cutter.c:
19043 * tests/old/examples/mixer/mixer.c:
19044 * tests/old/examples/xml/runxml.c: (main):
19045 * tests/old/testsuite/caps/normalisation.c:
19046 * tests/old/testsuite/debug/global.c:
19047 * tests/old/testsuite/parse/parse1.c:
19048 * tools/gst-xmlinspect.c:
19049 * win32/common/dirent.c:
19052 === release 0.10.0 ===
19054 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19057 releasing 0.10.0, "Maroilles"
19059 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19061 submitted by: Funda Wang <fundawang@linux.net.cn>
19065 added Chinese (Traditional) translation
19067 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19069 * docs/gst/gstreamer-sections.txt:
19070 * docs/libs/tmpl/gstdataprotocol.sgml:
19071 * docs/random/thomasvs/TODO:
19076 2005-12-05 Andy Wingo <wingo@pobox.com>
19078 patch by: Wim Taymans <wim@fluendo.com>
19080 * libs/gst/base/gstbasetransform.c
19081 (gst_base_transform_prepare_output_buf)
19082 (gst_base_transform_buffer_alloc):
19083 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19084 alloc_buffer_and_set_caps.
19086 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19087 set_caps on the source pad.
19088 (gst_pad_alloc_buffer_and_set_caps): New function, does what
19089 alloc_buffer used to do. Fixes #322874.
19091 * docs/gst/gstreamer-sections.txt:
19092 * docs/design/part-negotiation.txt:
19093 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19096 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
19098 patch by: Sebastien Moutte
19101 * win32/common/config.h.in:
19102 * win32/vs6/libgstcontroller.dsp:
19105 2005-12-05 Wim Taymans <wim@fluendo.com>
19107 * gst/gstcaps.c: (gst_caps_is_equal):
19108 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19109 (gst_fake_src_create):
19110 Back out previous code changes, leave doc updates, file bugs
19113 2005-12-05 Wim Taymans <wim@fluendo.com>
19115 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19116 (gst_fake_src_get_times), (gst_fake_src_create):
19117 * plugins/elements/gstfakesrc.h:
19118 Fix broken sync code.
19120 2005-12-05 Wim Taymans <wim@fluendo.com>
19122 * gst/gstcaps.c: (gst_caps_is_equal):
19123 Comparing NULL against !NULL yields different caps, not a
19126 2005-12-05 Wim Taymans <wim@fluendo.com>
19128 * gst/gstpipeline.c:
19129 Fix small typo in docs.
19131 2005-12-05 Andy Wingo <wingo@pobox.com>
19133 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19135 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19136 registries/plugins with a MAJORMINOR one.
19137 (plugin_desc): Rename library from gstcoreleements to
19138 staticelements. Fixes #323222.
19140 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19142 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19143 Change debug category to 'collectpads' from 'collect_pads'
19146 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19148 patch by: Sebastien Moutte
19150 * libs/gst/controller/gstinterpolation.c:
19151 use convert function for uint64/double
19152 * win32/vs6/libgstcontroller.dsp:
19155 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19157 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19158 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19160 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19161 add tests that seem to show that the guint64/gdouble conversions
19164 2005-12-02 Wim Taymans <wim@fluendo.com>
19166 * gst/gstregistry.c: (gst_registry_add_path):
19167 * gst/gstregistry.h:
19168 * gst/gstregistryxml.c:
19171 2005-12-02 Wim Taymans <wim@fluendo.com>
19173 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19174 (gst_util_uint64_scale_int):
19177 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19178 Add debug log line.
19180 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19183 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19186 * win32/common/config.h:
19187 * win32/vs6/gstreamer.dsw:
19188 * win32/vs6/libgstcoreelements.dsp:
19189 * win32/vs6/libgstelements.dsp:
19190 renamed core elements plugin
19192 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19194 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19196 do piece-wise major/minor comparison so 0.9 < 0.10
19197 also allow .exe extensions for tools
19199 2005-12-02 Michael Smith <msmith@fluendo.com>
19202 Escape a % to make gtkdoc happier; bug 322958.
19204 === release 0.9.7 ===
19206 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19209 releasing 0.9.7, "My Dog Has No Nose"
19211 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19213 * common/gst-xmlinspect.py:
19215 * docs/libs/tmpl/gstdataprotocol.sgml:
19216 * docs/random/release:
19235 * win32/common/config.h:
19236 * win32/common/config.h.in:
19237 * win32/vs6/gst_inspect.dsp:
19238 * win32/vs6/gst_launch.dsp:
19239 * win32/vs6/libgstbase.dsp:
19240 * win32/vs6/libgstelements.dsp:
19241 * win32/vs6/libgstreamer.dsp:
19242 * win32/vs7/GStreamer.vcproj:
19243 * win32/vs7/gst-inspect.vcproj:
19244 * win32/vs7/gst-launch.vcproj:
19245 * win32/vs7/libgstbase.vcproj:
19246 bump GST_MAJORMINOR to 0.10
19247 reset libtool version
19249 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19253 Added Bulgarian translation by (Alexander Shopov)
19255 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19257 * tests/check/gst/gstplugin.c:
19260 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19262 * common/gst-xmlinspect.py:
19263 * common/gtk-doc-plugins.mak:
19265 * docs/Makefile.am:
19266 * docs/gst/Makefile.am:
19267 * docs/gst/gstreamer-docs.sgml:
19268 * docs/gst/gstreamer-sections.txt:
19269 * docs/gst/gstreamer.types:
19270 * docs/gst/gstreamer.types.in:
19271 * docs/plugins/Makefile.am:
19272 * docs/plugins/gstreamer-plugins-docs.sgml:
19273 * docs/plugins/gstreamer-plugins-sections.txt:
19274 * docs/plugins/gstreamer-plugins.types:
19275 * docs/plugins/inspect.stamp:
19276 * docs/plugins/inspect/plugin-coreelements.xml:
19277 * docs/plugins/inspect/plugin-coreindexers.xml:
19278 * docs/plugins/scanobj-build.stamp:
19279 * gstreamer.spec.in:
19280 * plugins/elements/Makefile.am:
19281 * plugins/elements/gstelements.c:
19282 * plugins/elements/gstfakesink.c:
19283 * plugins/elements/gstfakesrc.c:
19284 * plugins/elements/gstfilesink.c:
19285 * plugins/elements/gstfilesrc.c:
19286 * plugins/elements/gstqueue.c:
19287 * plugins/indexers/Makefile.am:
19288 * plugins/indexers/gstindexers.c:
19289 document core plugins in a separate document just like all the
19291 rename these plugins to something starting with core
19293 2005-12-01 Andy Wingo <wingo@pobox.com>
19295 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19296 padding here before, but it missed the commit.
19298 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19300 * libs/gst/controller/gstinterpolation.c:
19301 whitespace prices have crashed, we should feel free to use some now
19302 use gst_guint64_to_gdouble
19304 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19306 * libs/gst/controller/gstcontroller.c:
19307 * libs/gst/controller/gsthelper.c:
19308 * libs/gst/controller/gstinterpolation.c:
19309 * libs/gst/controller/lib.c:
19310 wrap config.h include
19312 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19314 * docs/gst/gstreamer-sections.txt:
19317 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19319 * plugins/elements/gstelements.c:
19320 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19321 (gst_fd_sink__class_init), (gst_fd_sink__init),
19322 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19323 (gst_fd_sink__get_property):
19324 * plugins/elements/gstfdsink.h:
19325 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19326 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19327 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19328 (gst_fd_src_unlock), (gst_fd_src_set_property),
19329 (gst_fd_src_get_property), (gst_fd_src_create),
19330 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19331 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19332 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19333 (gst_fd_src_uri_handler_init):
19334 * plugins/elements/gstfdsrc.h:
19335 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19338 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19340 * docs/gst/Makefile.am:
19341 * docs/gst/gstreamer.types.in:
19345 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19351 * gst/gstregistry.h:
19352 * tests/benchmarks/complexity.c:
19353 * tests/benchmarks/mass-elements.c:
19354 * tests/check/Makefile.am:
19355 * tools/Makefile.am:
19356 * tools/gst-inspect.c:
19357 * tools/gst-xmlinspect.c:
19358 various fixes to make
19359 --disable-nls --disable-registry --disable-loadsave
19360 --disable-parse --disable-gst-debug
19361 work and get the core .so down to 360444 bytes after stripping
19363 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19368 * docs/random/thomasvs/TODO:
19369 * tests/Makefile.am:
19373 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19375 * win32/GStreamer.vcproj:
19378 * win32/Makefile.inspect:
19379 * win32/Makefile.launch:
19380 * win32/Makefile.register:
19381 * win32/README.txt:
19382 * win32/gst-inspect.vcproj:
19383 * win32/gst-launch.vcproj:
19384 * win32/gst-register.vcproj:
19385 * win32/gstelements.vcproj:
19386 * win32/gstgetbits.def:
19387 * win32/gstgetbits.vcproj:
19388 * win32/gstreamer-dbg.def:
19389 * win32/gstreamer.def:
19390 * win32/libgstbase.def:
19391 * win32/libgstbase.vcproj:
19392 * win32/link_oldruntime.c:
19396 * win32/msvc71.sln:
19397 move even more stuff, win32/ is nice and clean now
19399 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19401 * libs/gst/control/.cvsignore:
19406 * win32/gstbytestream.def:
19407 * win32/gstbytestream.vcproj:
19408 * win32/gstconfig.h:
19409 * win32/gstenumtypes.c:
19410 * win32/gstenumtypes.h:
19411 * win32/gstoptimalscheduler.vcproj:
19412 * win32/gstversion.h:
19414 * win32/testsuite/bins.vcproj:
19415 * win32/testsuite/bytestream.vcproj:
19416 * win32/testsuite/caps.vcproj:
19417 * win32/testsuite/cleanup.vcproj:
19418 * win32/testsuite/clock.vcproj:
19419 * win32/testsuite/debug.vcproj:
19420 * win32/testsuite/dlopen.vcproj:
19421 * win32/testsuite/dynparams.vcproj:
19422 * win32/testsuite/elements.vcproj:
19423 * win32/testsuite/ghostpads.vcproj:
19424 * win32/testsuite/indexers.vcproj:
19425 * win32/testsuite/negotiation.vcproj:
19426 * win32/testsuite/parse.vcproj:
19427 * win32/testsuite/plugin.vcproj:
19428 * win32/testsuite/refcounting.vcproj:
19429 * win32/testsuite/schedulers.vcproj:
19430 * win32/testsuite/states.vcproj:
19431 * win32/testsuite/tags.vcproj:
19432 * win32/testsuite/threads.vcproj:
19433 remove old win32 stuff that isn't maintained and should be
19436 2005-11-30 Andy Wingo <wingo@pobox.com>
19438 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19439 loading the gst.interfaces python module bork.
19441 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19442 available since GLib 2.2. Fixes #318031.
19444 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19447 * check/.cvsignore:
19448 * check/Makefile.am:
19449 * check/elements/.cvsignore:
19450 * check/elements/fakesrc.c:
19451 * check/elements/fdsrc.c:
19452 * check/elements/identity.c:
19453 * check/generic/.cvsignore:
19454 * check/generic/states.c:
19455 * check/gst-libs/.cvsignore:
19456 * check/gst-libs/controller.c:
19457 * check/gst-libs/gdp.c:
19458 * check/gst/.cvsignore:
19459 * check/gst/capslist.h:
19461 * check/gst/gstbin.c:
19462 * check/gst/gstbuffer.c:
19463 * check/gst/gstbus.c:
19464 * check/gst/gstcaps.c:
19465 * check/gst/gstelement.c:
19466 * check/gst/gstevent.c:
19467 * check/gst/gstghostpad.c:
19468 * check/gst/gstiterator.c:
19469 * check/gst/gstmessage.c:
19470 * check/gst/gstminiobject.c:
19471 * check/gst/gstobject.c:
19472 * check/gst/gstpad.c:
19473 * check/gst/gstpipeline.c:
19474 * check/gst/gstplugin.c:
19475 * check/gst/gstsegment.c:
19476 * check/gst/gststructure.c:
19477 * check/gst/gstsystemclock.c:
19478 * check/gst/gsttag.c:
19479 * check/gst/gstutils.c:
19480 * check/gst/gstvalue.c:
19481 * check/net/.cvsignore:
19482 * check/net/gstnetclientclock.c:
19483 * check/net/gstnettimeprovider.c:
19484 * check/pipelines/.cvsignore:
19485 * check/pipelines/cleanup.c:
19486 * check/pipelines/simple_launch_lines.c:
19487 * check/pipelines/stress.c:
19488 * check/states/.cvsignore:
19489 * check/states/sinks.c:
19491 * examples/Makefile.am:
19492 * examples/appreader/.cvsignore:
19493 * examples/appreader/Makefile.am:
19494 * examples/appreader/appreader.c:
19495 * examples/controller/.cvsignore:
19496 * examples/controller/Makefile.am:
19497 * examples/controller/audio-example.c:
19498 * examples/cutter/.cvsignore:
19499 * examples/cutter/Makefile.am:
19500 * examples/cutter/cutter.c:
19501 * examples/cutter/cutter.h:
19502 * examples/events/Makefile.am:
19503 * examples/events/seek.c:
19504 * examples/helloworld/.cvsignore:
19505 * examples/helloworld/Makefile.am:
19506 * examples/helloworld/helloworld.c:
19507 * examples/helloworld2/.cvsignore:
19508 * examples/helloworld2/Makefile.am:
19509 * examples/helloworld2/helloworld2.c:
19510 * examples/launch/.cvsignore:
19511 * examples/launch/Makefile.am:
19512 * examples/launch/mp3parselaunch.c:
19513 * examples/launch/mp3play:
19514 * examples/manual/.cvsignore:
19515 * examples/manual/Makefile.am:
19516 * examples/manual/extract.pl:
19517 * examples/metadata/Makefile.am:
19518 * examples/metadata/read-metadata.c:
19519 * examples/mixer/.cvsignore:
19520 * examples/mixer/Makefile.am:
19521 * examples/mixer/mixer.c:
19522 * examples/mixer/mixer.h:
19523 * examples/pingpong/.cvsignore:
19524 * examples/pingpong/Makefile.am:
19525 * examples/pingpong/pingpong.c:
19526 * examples/plugins/.cvsignore:
19527 * examples/plugins/Makefile.am:
19528 * examples/plugins/example.c:
19529 * examples/plugins/example.h:
19530 * examples/pwg/.cvsignore:
19531 * examples/pwg/Makefile.am:
19532 * examples/pwg/extract.pl:
19533 * examples/queue/.cvsignore:
19534 * examples/queue/Makefile.am:
19535 * examples/queue/queue.c:
19536 * examples/queue2/.cvsignore:
19537 * examples/queue2/Makefile.am:
19538 * examples/queue2/queue2.c:
19539 * examples/queue3/.cvsignore:
19540 * examples/queue3/Makefile.am:
19541 * examples/queue3/queue3.c:
19542 * examples/queue4/.cvsignore:
19543 * examples/queue4/Makefile.am:
19544 * examples/queue4/queue4.c:
19545 * examples/retag/.cvsignore:
19546 * examples/retag/Makefile.am:
19547 * examples/retag/retag.c:
19548 * examples/retag/transcode.c:
19549 * examples/thread/.cvsignore:
19550 * examples/thread/Makefile.am:
19551 * examples/thread/thread.c:
19552 * examples/typefind/.cvsignore:
19553 * examples/typefind/Makefile.am:
19554 * examples/typefind/typefind.c:
19555 * examples/xml/.cvsignore:
19556 * examples/xml/Makefile.am:
19557 * examples/xml/createxml.c:
19558 * examples/xml/runxml.c:
19559 * tests/Makefile.am:
19560 * tests/check/Makefile.am:
19561 * testsuite/.cvsignore:
19562 * testsuite/Makefile.am:
19564 * testsuite/caps/.cvsignore:
19565 * testsuite/caps/Makefile.am:
19566 * testsuite/caps/app_fixate.c:
19567 * testsuite/caps/audioscale.c:
19568 * testsuite/caps/caps.c:
19569 * testsuite/caps/caps.h:
19570 * testsuite/caps/caps_strings:
19571 * testsuite/caps/compatibility.c:
19572 * testsuite/caps/deserialize.c:
19573 * testsuite/caps/enumcaps.c:
19574 * testsuite/caps/eratosthenes.c:
19575 * testsuite/caps/filtercaps.c:
19576 * testsuite/caps/fixed.c:
19577 * testsuite/caps/fraction-convert.c:
19578 * testsuite/caps/fraction-multiply-and-zero.c:
19579 * testsuite/caps/intersect2.c:
19580 * testsuite/caps/intersection.c:
19581 * testsuite/caps/normalisation.c:
19582 * testsuite/caps/random.c:
19583 * testsuite/caps/renegotiate.c:
19584 * testsuite/caps/sets.c:
19585 * testsuite/caps/simplify.c:
19586 * testsuite/caps/string-conversions.c:
19587 * testsuite/caps/structure.c:
19588 * testsuite/caps/subtract.c:
19589 * testsuite/caps/union.c:
19590 * testsuite/debug/.cvsignore:
19591 * testsuite/debug/Makefile.am:
19592 * testsuite/debug/category.c:
19593 * testsuite/debug/commandline.c:
19594 * testsuite/debug/global.c:
19595 * testsuite/debug/output.c:
19596 * testsuite/debug/printf_extension.c:
19597 * testsuite/dlopen/.cvsignore:
19598 * testsuite/dlopen/Makefile.am:
19599 * testsuite/dlopen/dlopen_gst.c:
19600 * testsuite/dlopen/loadgst.c:
19601 * testsuite/elements/.cvsignore:
19602 * testsuite/elements/Makefile.am:
19603 * testsuite/elements/gst-inspect-check.in:
19604 * testsuite/elements/struct_i386.h:
19605 * testsuite/elements/struct_size.c:
19606 * testsuite/indexers/.cvsignore:
19607 * testsuite/indexers/Makefile.am:
19608 * testsuite/indexers/cache1.c:
19609 * testsuite/indexers/indexdump.c:
19610 * testsuite/parse/.cvsignore:
19611 * testsuite/parse/Makefile.am:
19612 * testsuite/parse/parse1.c:
19613 * testsuite/parse/parse2.c:
19614 * testsuite/plugin/.cvsignore:
19615 * testsuite/plugin/Makefile.am:
19616 * testsuite/plugin/README:
19617 * testsuite/plugin/dynamic.c:
19618 * testsuite/plugin/linked.c:
19619 * testsuite/plugin/loading.c:
19620 * testsuite/plugin/registry.c:
19621 * testsuite/plugin/static.c:
19622 * testsuite/plugin/static2.c:
19623 * testsuite/plugin/testplugin.c:
19624 * testsuite/plugin/testplugin2.c:
19625 * testsuite/plugin/testplugin2_s.c:
19626 * testsuite/plugin/testplugin_s.c:
19627 * testsuite/refcounting/.cvsignore:
19628 * testsuite/refcounting/Makefile.am:
19629 * testsuite/refcounting/bin.c:
19630 * testsuite/refcounting/element.c:
19631 * testsuite/refcounting/element_pad.c:
19632 * testsuite/refcounting/mainloop.c:
19633 * testsuite/refcounting/mem.c:
19634 * testsuite/refcounting/mem.h:
19635 * testsuite/refcounting/object.c:
19636 * testsuite/refcounting/pad.c:
19637 * testsuite/refcounting/sched.c:
19638 * testsuite/refcounting/thread.c:
19639 * testsuite/states/.cvsignore:
19640 * testsuite/states/Makefile.am:
19641 * testsuite/states/bin.c:
19642 * testsuite/states/locked.c:
19643 * testsuite/states/parent.c:
19644 * testsuite/threads/.cvsignore:
19645 * testsuite/threads/159566.c:
19646 * testsuite/threads/159852.c:
19647 * testsuite/threads/Makefile.am:
19648 * testsuite/threads/queue.c:
19649 * testsuite/threads/signals.c:
19650 * testsuite/threads/staticrec.c:
19651 * testsuite/threads/thread.c:
19652 * testsuite/threads/threadb.c:
19653 * testsuite/threads/threadc.c:
19654 * testsuite/threads/threadd.c:
19655 * testsuite/threads/threade.c:
19656 * testsuite/threads/threadf.c:
19657 * testsuite/threads/threadg.c:
19658 * testsuite/threads/threadh.c:
19659 * testsuite/threads/threadi.c:
19660 move all of these under tests
19662 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19665 * tests/Makefile.am:
19668 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19670 * docs/gst/gstreamer-sections.txt:
19671 * tests/sched/.cvsignore:
19672 * tests/sched/Makefile.am:
19673 * tests/sched/cases/(fs-fs).xml:
19674 * tests/sched/cases/(fs-i-fs).xml:
19675 * tests/sched/cases/(fs-i-i-fs).xml:
19676 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19677 * tests/sched/dynamic-pipeline.c:
19678 * tests/sched/interrupt1.c:
19679 * tests/sched/interrupt2.c:
19680 * tests/sched/interrupt3.c:
19681 * tests/sched/runtestcases:
19682 * tests/sched/runxml.c:
19683 * tests/sched/sched-stress.c:
19684 * tests/sched/sort.c:
19685 * tests/sched/testcases:
19686 * tests/sched/testcases1.tc:
19687 * tests/seeking/.cvsignore:
19688 * tests/seeking/Makefile.am:
19689 * tests/seeking/seeking1.c:
19690 * tests/threadstate/.cvsignore:
19691 * tests/threadstate/Makefile.am:
19692 * tests/threadstate/test1.c:
19693 * tests/threadstate/test2.c:
19694 * tests/threadstate/threadstate1.c:
19695 * tests/threadstate/threadstate2.c:
19696 * tests/threadstate/threadstate3.c:
19697 * tests/threadstate/threadstate4.c:
19698 * tests/threadstate/threadstate5.c:
19699 remove obsolete tests
19701 * tests/bench-complexity.scm:
19702 * tests/bench-mass_elements.scm:
19703 * tests/complexity.c:
19704 * tests/complexity.gnuplot:
19705 * tests/instantiate/.cvsignore:
19706 * tests/instantiate/Makefile.am:
19707 * tests/instantiate/caps.c:
19708 * tests/mass_elements.c:
19709 * tests/network-clock-utils.scm:
19710 * tests/network-clock.scm:
19712 First pass at cleaning up tests/ dir before moving the rest
19713 Combined with CVS surgery
19715 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19718 queue has moved, update
19720 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19722 * docs/gst/gstreamer-sections.txt:
19723 remove double entries from the docs
19724 * gst/gst_private.h:
19725 * gst/gstinfo.c: (_gst_debug_init):
19726 remove the THREAD debug category
19730 * docs/gst/gstreamer.types:
19731 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19732 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19733 completely move queue and fix up debugging categories
19735 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19737 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19738 make initialization portable, using LL is not
19740 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19742 * win32/common/gstconfig.h:
19745 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19747 * win32/common/libgstreamer.def:
19748 rename symbols; sort base section
19750 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19752 * gst/gstclock.c: (do_linear_regression):
19753 remove crack non-portable handrolled DEBUG macro
19755 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19757 * docs/random/release:
19759 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19760 (gst_object_flags_get_type), (register_gst_bin_flags),
19761 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19762 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19763 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19764 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19765 (gst_caps_flags_get_type), (register_gst_clock_return),
19766 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19767 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19768 (gst_clock_flags_get_type), (register_gst_state),
19769 (gst_state_get_type), (register_gst_state_change_return),
19770 (gst_state_change_return_get_type), (register_gst_state_change),
19771 (gst_state_change_get_type), (register_gst_element_flags),
19772 (gst_element_flags_get_type), (register_gst_core_error),
19773 (gst_core_error_get_type), (register_gst_library_error),
19774 (gst_library_error_get_type), (register_gst_resource_error),
19775 (gst_resource_error_get_type), (register_gst_stream_error),
19776 (gst_stream_error_get_type), (register_gst_event_type_flags),
19777 (gst_event_type_flags_get_type), (register_gst_event_type),
19778 (gst_event_type_get_type), (register_gst_seek_type),
19779 (gst_seek_type_get_type), (register_gst_seek_flags),
19780 (gst_seek_flags_get_type), (register_gst_format),
19781 (gst_format_get_type), (register_gst_index_certainty),
19782 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19783 (gst_index_entry_type_get_type),
19784 (register_gst_index_lookup_method),
19785 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19786 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19787 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19788 (gst_index_flags_get_type), (register_gst_debug_level),
19789 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19790 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19791 (gst_iterator_result_get_type), (register_gst_iterator_item),
19792 (gst_iterator_item_get_type), (register_gst_message_type),
19793 (gst_message_type_get_type), (register_gst_mini_object_flags),
19794 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19795 (gst_pad_link_return_get_type), (register_gst_flow_return),
19796 (gst_flow_return_get_type), (register_gst_activate_mode),
19797 (gst_activate_mode_get_type), (register_gst_pad_direction),
19798 (gst_pad_direction_get_type), (register_gst_pad_flags),
19799 (gst_pad_flags_get_type), (register_gst_pad_presence),
19800 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19801 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19802 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19803 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19804 (gst_plugin_flags_get_type), (register_gst_rank),
19805 (gst_rank_get_type), (register_gst_query_type),
19806 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19807 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19808 (gst_tag_flag_get_type), (register_gst_task_state),
19809 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19810 (gst_alloc_trace_flags_get_type),
19811 (register_gst_type_find_probability),
19812 (gst_type_find_probability_get_type), (register_gst_uri_type),
19813 (gst_uri_type_get_type), (register_gst_parse_error),
19814 (gst_parse_error_get_type):
19815 * win32/common/gstenumtypes.h:
19816 * win32/common/gstversion.h:
19817 update visual studio generated files
19819 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19821 * win32/vs6/libgstbase.dsp:
19822 * win32/vs6/libgstelements.dsp:
19823 update project files for new locations
19825 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19830 reinstate and update
19835 * docs/random/LICENSE:
19838 2005-11-30 Edward Hervey <edward@fluendo.com>
19840 * gst/gsttypefind.c: (gst_type_find_register):
19841 * gst/gsttypefind.h:
19842 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19843 (gst_type_find_factory_dispose):
19844 * gst/gsttypefindfactory.h:
19845 Fix memory leak in GstTypeFindFactory.
19847 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19850 * plugins/elements/Makefile.am:
19851 * plugins/elements/gstelements.c:
19852 * plugins/elements/gstqueue.c:
19853 move queue from core to the elements plugin
19855 2005-11-29 Andy Wingo <wingo@pobox.com>
19857 * libs/gst/base/gstbasetransform.h:
19858 * libs/gst/base/gstbasesrc.h:
19859 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19861 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19862 of pointers by which to pad very extensible base classes (like the
19863 ones in libs/gst/base).
19865 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19867 * docs/gst/gstreamer-docs.sgml:
19868 * docs/gst/gstreamer-sections.txt:
19869 * docs/libs/gstreamer-libs-docs.sgml:
19870 * docs/libs/gstreamer-libs-sections.txt:
19871 moving documentation from core to lib
19873 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19875 * check/Makefile.am:
19877 * docs/gst/Makefile.am:
19879 * gst/base/.cvsignore:
19880 * gst/base/Makefile.am:
19882 * gst/base/gstadapter.c:
19883 * gst/base/gstadapter.h:
19884 * gst/base/gstbasesink.c:
19885 * gst/base/gstbasesink.h:
19886 * gst/base/gstbasesrc.c:
19887 * gst/base/gstbasesrc.h:
19888 * gst/base/gstbasetransform.c:
19889 * gst/base/gstbasetransform.h:
19890 * gst/base/gstcollectpads.c:
19891 * gst/base/gstcollectpads.h:
19892 * gst/base/gstpushsrc.c:
19893 * gst/base/gstpushsrc.h:
19894 * gst/base/gsttypefindhelper.c:
19895 * gst/base/gsttypefindhelper.h:
19896 * gst/check/Makefile.am:
19897 * gst/check/gstcheck.c:
19898 * gst/check/gstcheck.h:
19899 * gst/net/Makefile.am:
19900 * gst/net/gstnet.h:
19901 * gst/net/gstnetclientclock.c:
19902 * gst/net/gstnetclientclock.h:
19903 * gst/net/gstnettimepacket.c:
19904 * gst/net/gstnettimepacket.h:
19905 * gst/net/gstnettimeprovider.c:
19906 * gst/net/gstnettimeprovider.h:
19907 * libs/gst/Makefile.am:
19908 * libs/gst/base/Makefile.am:
19909 * libs/gst/base/gstbasetransform.c:
19910 * libs/gst/check/Makefile.am:
19911 * plugins/elements/Makefile.am:
19913 CVS surgery + support to move base, check, and net out of gst
19916 2005-11-29 Andy Wingo <wingo@pobox.com>
19918 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19920 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19923 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19925 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19927 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19929 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19930 padding; reduces object size by about 30%. We don't expect
19931 anything else to go into gstobject.
19933 * gst/gstminiobject.h (struct _GstMiniObject)
19934 (struct _GstMiniObjectClass): Only one pointer of padding; the
19935 payload is only a pointer and two ints anyway. For the class there
19936 are only two methods as well.
19938 * gst/gstelement.h (struct _GstElementClass): Removed
19939 the state_changed signal callback, it is not used.
19941 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19943 * docs/gst/gstreamer.types:
19944 fix includes, though they are a little dinky
19946 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19948 * check/Makefile.am:
19949 look in the right place for elements, a lot more chance of
19952 remove indexers and elements subdirs
19953 * plugins/Makefile.am:
19954 make indexers conditional
19956 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19960 * plugins/elements/Makefile.am:
19961 * plugins/elements/gstcapsfilter.c:
19962 * plugins/elements/gstfilesink.c:
19963 * plugins/elements/gstfilesrc.c:
19964 * plugins/elements/gstidentity.c:
19965 * plugins/indexers/Makefile.am:
19966 do CVS surgery and related build fixery to move elements
19967 and indexers in a new gstreamer/plugins directory, out of the
19970 2005-11-29 Andy Wingo <wingo@pobox.com>
19972 * check/Makefile.am:
19973 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19974 * pkgconfig/gstreamer-net.pc.in:
19975 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19978 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19980 * tools/Makefile.am:
19981 * tools/gst-complete.1.in:
19982 * tools/gst-complete.c:
19983 * tools/gst-compprep.1.in:
19984 * tools/gst-compprep.c:
19985 removing -compprep and -complete
19987 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19989 * gst/gstevent.c: (gst_event_new_new_segment),
19990 (gst_event_parse_new_segment):
19992 fix #320529 - clean up new_segment API and structure.
19993 Let's hope everyone was using the methods, and not the structure.
19995 2005-11-29 Edward Hervey <edward@fluendo.com>
19997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19998 (gst_base_sink_event), (gst_base_sink_do_sync),
19999 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20000 Properly handle non GST_FORMAT_TIME segment
20001 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20002 Properly handle non GST_FORMAT_TIME segment
20003 * gst/gstsegment.c:
20004 This function is valid if the accumulator is 0 and the format
20005 is different from the requested format.
20007 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20009 * docs/gst/gstreamer-sections.txt:
20010 Add gst_query_new_seeking and gst_query_parse_seeking to the
20013 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
20015 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20016 Treat a pad alloc with new caps the same as if we were not
20017 negotiated, in order to allow a changing upstream output
20018 to produce a new format of data.
20020 2005-11-29 Edward Hervey <edward@fluendo.com>
20022 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20023 (gst_base_transform_event), (gst_base_transform_eventfunc):
20024 The event virtual method is now properly implemented, with a default
20026 Sub classes should call the parent_class event method. They should
20027 return FALSE if they had a problem handling the given event, or don't
20028 want GstBaseTransform to send that even downstream
20029 * gst/elements/gstidentity.c: (gst_identity_class_init),
20030 (gst_identity_init), (gst_identity_event),
20031 (gst_identity_transform_ip), (gst_identity_set_property),
20032 (gst_identity_get_property):
20033 * gst/elements/gstidentity.h:
20034 Added the single-segment boolean property.
20035 If set to TRUE, it will output a single segment of data, starting from
20036 0, will eat up all incoming newsegment, and modify the timestamp of the
20037 buffers accordingly
20039 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
20041 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20042 Don't ref NULL target pad (#322751). Improve docs.
20044 2005-11-29 Michael Smith <msmith@fluendo.com>
20046 * gst/gstregistryxml.c: (load_plugin):
20047 Don't crash if we failed to load a feature from a plugin.
20049 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20051 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20053 use more check API and less GLib API
20055 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20058 don't run checks if we don't have check
20059 * common/check.mak:
20060 remove the registry when running make torture
20061 * docs/gst/gstreamer-sections.txt:
20062 remove second multiply
20063 * gst/gstqueue.c: (gst_queue_loop):
20064 fix a compile warning when disabling debug
20066 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20069 Hey! Let's print the pad name if the pointer != NULL instead
20070 of when it == NULL :-)
20072 2005-11-28 Wim Taymans <wim@fluendo.com>
20074 * check/gst/gstutils.c: (GST_START_TEST):
20075 Updated check, add some scaling accuracy checking code.
20077 * gst/gstutils.c: (gst_util_div128_64),
20078 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20079 (gst_util_uint64_scale_int):
20080 Fix 6 times faster division code. Optimize for common
20081 1/1 and less common X/1 cases.
20083 2005-11-28 Wim Taymans <wim@fluendo.com>
20085 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20088 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20089 (do_linear_regression), (gst_clock_add_observation):
20091 Release lock when the clock cannot be slaved.
20092 Catch the case where the regression returned an invalid denominator.
20094 * gst/gstutils.c: (gst_util_div128_64_iterate),
20095 (gst_util_div128_64), (gst_util_uint64_scale_int64),
20096 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20097 Add protentially more performant non-iterative 128/64 divide function
20098 that unfortunatly does not work yet.
20099 Shortcut the trivial 0/X = 0 case.
20100 Remove the warnings on overflow.
20102 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20104 * gst/gstplugin.c: (gst_plugin_register_func):
20105 everything causing a plugin not to load should be at least a WARNING
20107 2005-11-28 Stefan Kost <ensonic@users.sf.net>
20109 * docs/random/ensonic/dparams.txt:
20110 some TODOs for the next dev cycle
20111 * libs/gst/controller/gstcontroller.c:
20112 (gst_controlled_property_set_interpolation_mode),
20113 (gst_controlled_property_new):
20114 * libs/gst/controller/gstcontroller.h:
20115 use base type to assign acccessor functions
20117 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20119 * check/Makefile.am:
20120 Oops, that should have been top_srcdir
20122 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
20124 * check/Makefile.am:
20125 * check/elements/fdsrc.c: (GST_START_TEST):
20126 Use a cmdline define to specify the location of a file to use for
20127 testing, to avoid breaking distcheck.
20129 2005-11-28 Andy Wingo <wingo@pobox.com>
20131 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20133 2005-11-28 Edward Hervey <edward@fluendo.com>
20135 * tools/gst-launch.c: (main):
20136 Clarify the output strings, makes it easier to translate.
20139 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20142 don't try and build net if we don't even have <sys/socket.h>
20144 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20146 * check/Makefile.am:
20147 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20148 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20149 Add tests for fdsrc seekability
20151 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20152 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20153 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20154 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20155 * gst/elements/gstfdsrc.h:
20156 fdsrc should not be a 'live' source.
20157 Implement seeking on seekable fd's.
20159 * gst/gstquery.c: (gst_query_new_seeking),
20160 (gst_query_parse_seeking):
20162 Implement SEEKING query functions:
20163 *_new_seeking and *_parse_seeking
20165 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20167 * gst/gstelement.c: (gst_element_dispose):
20170 * gst/gstiterator.c:
20171 * gst/gststructure.c:
20174 * libs/gst/controller/gstcontroller.c:
20175 (gst_controlled_property_set_interpolation_mode):
20176 * libs/gst/controller/gstcontroller.h:
20177 * libs/gst/controller/gstinterpolation.c:
20178 (interpolate_none_get_enum_value_array):
20179 support controlling enums
20181 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20184 Improve documentation for gst_value_union().
20187 Change return value for union, intersect and subtract functions
20188 from gint to gboolean.
20190 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20192 * gst/gstvalue.c: (gst_value_serialize_any_list),
20193 (gst_value_transform_any_list_string),
20194 (gst_value_deserialize_list), (gst_value_deserialize_array),
20195 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20196 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20197 (gst_value_set_fraction_range_full),
20198 (gst_value_deserialize_fraction_range),
20199 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20200 (gst_value_deserialize_boolean),
20201 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20202 (gst_value_serialize_float), (gst_value_deserialize_float),
20203 (gst_string_wrap), (gst_value_deserialize_string),
20204 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20205 (gst_value_union_int_range_int_range),
20206 (gst_value_intersect_int_range_int_range),
20207 (gst_value_intersect_double_range_double_range),
20208 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20209 (gst_value_subtract_int_range_int_range),
20210 (gst_value_subtract_double_double_range),
20211 (gst_value_subtract_double_range_double_range),
20212 (gst_value_deserialize_fraction):
20214 Use gint, gdouble and gchar in our API instead of int, double and
20215 char (and make usage in gstvalue.c more consistent).
20217 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20219 * check/Makefile.am:
20220 * libs/gst/controller/Makefile.am:
20221 * libs/gst/dataprotocol/Makefile.am:
20222 fix up Makefile.am and remove GST_ENABLE_NEW
20224 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20228 * gst/base/Makefile.am:
20229 * gst/check/Makefile.am:
20230 * gst/elements/Makefile.am:
20231 * gst/net/Makefile.am:
20232 update LDFLAGS use some more
20234 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20236 * common/m4/gst-doc.m4:
20239 2005-11-26 Edward Hervey <edward@fluendo.com>
20241 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20242 This shouldn't issue a g_warning since it returns NULL if it
20243 couldn't find the plugin, and all functions using this behave
20244 properly on a NULL return. Switching to a GST_WARNING.
20246 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20248 * gst/gstbin.c: (gst_bin_handle_message_func):
20249 Don't leak clock messages.
20251 2005-11-25 Wim Taymans <wim@fluendo.com>
20253 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20254 (gst_util_uint64_scale_int):
20255 Optimisations, remove unneeded vars.
20257 2005-11-25 Wim Taymans <wim@fluendo.com>
20259 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20260 Added more checks for the high precision uint64 cases.
20262 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20263 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20264 Implement high precision (guint64 * guint64) / guint64.
20266 2005-11-24 Wim Taymans <wim@fluendo.com>
20268 * gst/base/gstbasesrc.c: (gst_base_src_query):
20269 Fix wrong percentage query.
20271 * gst/gstutils.c: (gst_util_uint64_scale),
20272 (gst_util_uint64_scale_int):
20273 Add some more common cases that can be handled
20274 efficiently to _scale.
20276 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20278 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20279 (gst_mini_object_suite):
20280 don't use check calls from threads; check probably isn't
20281 threadsafe and using a lock to make it threadsafe would
20282 defeat the purpose of this check
20283 * gst/check/gstcheck.c:
20284 * gst/check/gstcheck.h:
20285 use GST_DEBUG some more
20287 2005-11-24 Wim Taymans <wim@fluendo.com>
20289 * gst/gstutils.c: (gst_util_uint64_scale),
20290 (gst_util_uint64_scale_int):
20291 Chain trivial case to _scale_int.
20293 2005-11-24 Wim Taymans <wim@fluendo.com>
20295 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20296 Added test for scaling.
20301 * gst/gstutils.c: (gst_util_uint64_scale_int):
20302 Implemented high precision scaling code.
20304 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20307 do not crash on pad==NULL
20309 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20311 Patch by: Stefan Kost
20313 * common/gtk-doc.mak:
20314 * docs/gst/Makefile.am:
20315 * docs/libs/Makefile.am:
20316 Fix distcheck issues for the libraries docs build
20319 2005-11-24 Michael Smith <msmith@fluendo.com>
20321 * docs/manual/basics-helloworld.xml:
20322 Fix bug #315027: memory leak in example code in docs.
20324 2005-11-24 Michael Smith <msmith@fluendo.com>
20326 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20327 Unlock the PREROLL_LOCK in a failure case.
20329 2005-11-24 Wim Taymans <wim@fluendo.com>
20331 * docs/gst/gstreamer-sections.txt:
20332 * gst/base/gstadapter.h:
20333 * gst/base/gstbasesink.h:
20334 * gst/base/gstbasesrc.h:
20335 * gst/base/gstbasetransform.h:
20336 * gst/base/gstpushsrc.h:
20337 * gst/elements/gstfakesink.h:
20338 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20339 * gst/elements/gstfakesrc.h:
20340 * gst/elements/gstfilesink.h:
20341 * gst/elements/gstfilesrc.h:
20344 * gst/gstbuffer.c: (_gst_buffer_copy):
20347 * gst/gstchildproxy.c:
20349 * gst/gstelement.c:
20350 * gst/gstelementfactory.c:
20351 * gst/gstelementfactory.h:
20353 * gst/gstghostpad.h:
20355 * gst/gstinterface.h:
20356 * gst/gstminiobject.c:
20357 * gst/gstminiobject.h:
20360 * gst/gstpadtemplate.h:
20361 * gst/gstpipeline.h:
20362 * gst/gstpluginfeature.h:
20365 * gst/gsttaglist.c:
20366 * gst/gsttaglist.h:
20367 * gst/gsttagsetter.c:
20368 * gst/gsttagsetter.h:
20371 * gst/gsttypefind.h:
20374 * gst/net/gstnetclientclock.c:
20375 * gst/net/gstnetclientclock.h:
20376 * gst/net/gstnettimepacket.c:
20377 * gst/net/gstnettimeprovider.c:
20378 * gst/net/gstnettimeprovider.h:
20381 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20383 * configure.ac: back to HEAD
20385 === release 0.9.6 ===
20387 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20390 releasing 0.9.6, "Always On Time"
20392 2005-11-23 Wim Taymans <wim@fluendo.com>
20394 * docs/gst/gstreamer-sections.txt:
20395 * gst/glib-compat.c:
20396 * gst/gsttagsetter.c:
20398 * gst/net/gstnetclientclock.c:
20399 * gst/net/gstnettimepacket.h:
20402 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20404 * docs/faq/using.xml:
20405 * docs/libs/tmpl/gstcontrol.sgml:
20406 * docs/manual/advanced-dparams.xml:
20407 * docs/manual/appendix-checklist.xml:
20408 * docs/manual/basics-elements.xml:
20409 * docs/pwg/other-source.xml:
20410 * docs/random/moving-plugins:
20412 * tools/gst-launch.1.in:
20413 remove mentions of sinesrc
20415 2005-11-23 Michael Smith <msmith@fluendo.com>
20417 * docs/gst/gstreamer-sections.txt:
20418 Update for new API and API changes.
20420 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20422 Documentation typo fix.
20423 * gst/net/gstnettimepacket.c:
20424 Documentation fixes for arguments.
20426 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20428 * gst/gststructure.c: (gst_structure_get_fraction),
20429 (gst_structure_parse_value),
20430 (gst_structure_fixate_field_nearest_fraction):
20431 * gst/gststructure.h:
20432 * gst/gstutils.c: (gst_util_uint64_scale_int):
20434 * scripts/update-funcnames:
20436 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20437 Make gst_structure_fixate_field_nearest_fraction take a numerator
20438 and denominator argument instead of a GValue
20439 add gst_structure_get_fraction helper function.
20441 2005-11-23 Wim Taymans <wim@fluendo.com>
20443 * docs/design/part-TODO.txt:
20446 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20447 * gst/net/gstnetclientclock.h:
20448 Use parent fields for timeout and window_size.
20450 2005-11-23 Andy Wingo <wingo@pobox.com>
20452 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20453 rate_num/rate_denom change.
20455 * gst/net/gstnetclientclock.c
20456 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20457 OBJECT_LOCK. Don't call add_observation with the lock.
20459 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20461 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20463 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20464 deal with rate as a fraction whose numerator and denominator are
20465 GstClockTime values.
20466 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20467 master; the other fields are protected by the SLAVE_LOCK.
20468 (do_linear_regression): Note that this must be called with the
20470 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20471 OBJECT_LOCK. Call set_calibration instead of touching the
20472 variables directly.
20473 (gst_clock_set_property, gst_clock_get_property): Protect
20474 master/slave parameters with the SLAVE_LOCK.
20476 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20477 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20478 note that all of the instance variables that add_observation and
20479 the set_master functions use are protected by that lock and not
20481 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20483 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20484 the caller to take the object lock.
20486 2005-11-23 Wim Taymans <wim@fluendo.com>
20488 * gst/gsterror.c: (_gst_core_errors_init):
20490 Add error for clock stuff.
20492 * gst/gstpipeline.c: (gst_pipeline_change_state),
20493 (gst_pipeline_set_clock):
20494 Post clock error when clock cannot be used in a pipeline.
20496 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20498 * docs/gst/gstreamer-sections.txt:
20499 make two symbols from gstinfo private for the docs
20500 * gst/base/gstcollectpads.h:
20502 fix doc typos, update docs
20504 2005-11-22 Wim Taymans <wim@fluendo.com>
20506 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20507 (gst_base_sink_wait), (gst_base_sink_do_sync),
20508 (gst_base_sink_handle_event):
20509 * gst/base/gstbasesink.h:
20510 No need to store the clock, the parent element class already
20513 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20514 Updates for clock_set returning a gboolean
20516 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20517 (gst_clock_id_wait_async), (gst_clock_class_init),
20518 (gst_clock_init), (gst_clock_finalize),
20519 (gst_clock_get_internal_time), (gst_clock_get_time),
20520 (gst_clock_slave_callback), (gst_clock_set_master),
20521 (gst_clock_get_master), (do_linear_regression),
20522 (gst_clock_add_observation), (gst_clock_set_property),
20523 (gst_clock_get_property):
20525 Implement master/slave. When setting a clock as a slave, a
20526 periodic timeout is scheduled to sample master and slave times.
20527 Then the slave clock is recalibrated to match offset and rate
20528 of the master clock.
20529 Update logging a bit.
20530 Add flag so that a clock can state that is cannot be slaved to
20533 * gst/gstelement.c: (gst_element_set_clock):
20534 * gst/gstelement.h:
20535 The set clock returns a gboolean for when an element cannot
20536 deal with the selected clock in the pipeline.
20538 * gst/gstpipeline.c: (gst_pipeline_change_state),
20539 (gst_pipeline_set_clock):
20540 * gst/gstpipeline.h:
20541 Handle the case where the selected clock cannot be set on
20544 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20545 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20546 (gst_net_client_clock_set_property),
20547 (gst_net_client_clock_get_property),
20548 (gst_net_client_clock_observe_times):
20549 * gst/net/gstnetclientclock.h:
20550 Use regression code in GstClock parent, remove duplicated
20553 2005-11-22 Michael Smith <msmith@fluendo.com>
20555 * gst/gstutils.c: (gst_util_clock_time_scale):
20557 * docs/gst/gstreamer-sections.txt:
20558 Rename method to have extra underscore.
20560 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20562 * gst/elements/Makefile.am:
20563 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20564 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20565 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20566 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20567 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20568 * gst/elements/gstfakesrc.h:
20569 * gst/gstqueue.c: (queue_leaky_get_type):
20570 correctly fix GEnumValues so that nick is the short lowercase
20572 * tools/gst-inspect.c: (print_element_properties_info):
20573 also show the nick, since it's useful to use from parse_launch
20577 2005-11-22 Michael Smith <msmith@fluendo.com>
20579 * gst/gstutils.c: (gst_util_clocktime_scale):
20581 * docs/gst/gstreamer-sections.txt:
20582 Add util method for scaling a clocktime by a fraction. Useful
20583 implementation is left as an exercise for the reader.
20585 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20587 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20588 If needed, allocate storage in the destination value during
20591 2005-11-22 Edward Hervey <edward@fluendo.com>
20593 * docs/gst/gstreamer-sections.txt:
20596 * gst/gsturitype.c:
20597 * gst/gsturitype.h:
20598 * gst/gstutils.c: (gst_util_set_object_arg):
20599 * tools/gst-compprep.c: (main):
20600 * tools/gst-inspect.c: (print_element_properties_info):
20601 Removed GstURI, closes bug #321061
20603 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20605 * check/gst/gststructure.c: (GST_START_TEST):
20606 * gst/gststructure.c: (gst_structure_parse_value):
20607 Oops, broke automatic string type parsing.
20608 Add a test to catch it in future.
20610 2005-11-22 Andy Wingo <wingo@pobox.com>
20612 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20613 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20614 Actually rename the function implementations. Grr.
20616 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20618 * check/gst/capslist.h:
20620 * check/gst/gststructure.c: (GST_START_TEST),
20621 (gst_structure_suite):
20622 Test automatic value type detection in gst_structure_from_string.
20623 * gst/gststructure.c: (gst_structure_parse_value):
20624 Add fraction as a type we try and guess automatically in
20625 caps/structure strings.
20627 2005-11-22 Andy Wingo <wingo@pobox.com>
20629 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20631 * gst/gsttagsetter.h:
20632 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20633 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20634 (gst_tag_setter_add_tag_valist)
20635 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20636 _add_values, _add_valist, and _add_valist_values. Since this is an
20637 interface the function suffixes should be more explicit so
20638 language binding don't end up with element.add_valist ->
20639 gst_tag_setter_add_valist, for example. Fixes #322069.
20641 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20643 * check/gst/gstcaps.c: (GST_START_TEST):
20644 Extend caps string tests to check that a caps to string
20645 conversion is reversible and produces the same caps.
20647 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20648 Output "fraction" as the generic type fraction range, so caps
20649 serialisation and deserialisation works.
20650 * check/gst/capslist.h:
20651 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20652 Support 'MIN' and 'MAX' for deserialising fractions.
20654 2005-11-22 Andy Wingo <wingo@pobox.com>
20656 * gst/gstevent.h (gst_event_new_new_segment)
20657 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20658 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20659 Renamed from *_newsegment, *_buffersize, *_notarget.
20661 * scripts/update-funcnames: New script, performs the changes
20664 2005-11-22 Wim Taymans <wim@fluendo.com>
20666 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20667 Make sure the GstFlowReturn is returned.
20669 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20670 (gst_bus_add_signal_watch):
20672 add gst_bus_add_signal_watch_full.
20674 * gst/gstplugin.c: (gst_plugin_load_file):
20675 Small style cleanup.
20677 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20679 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20680 Block the fakesrc srcpad when we send an event, to avoid
20681 contention on the stream_lock causing random test failures.
20683 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20685 * check/gst/gstvalue.c: (GST_START_TEST):
20686 * gst/gstvalue.c: (gst_value_fraction_subtract):
20689 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20692 include "gstchildproxy.h"
20693 * gst/gstchildproxy.h:
20694 * libs/gst/controller/gstcontroller.h:
20695 use G_GNUC_NULL_TERMINATED
20697 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20699 * check/gst/capslist.h:
20700 * check/gst/gstcaps.c: (GST_START_TEST):
20701 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20702 * gst/gststructure.c: (gst_structure_parse_range),
20703 (gst_structure_fixate_field_nearest_fraction):
20704 * gst/gststructure.h:
20705 * gst/gstvalue.c: (gst_value_init_fraction_range),
20706 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20707 (gst_value_collect_fraction_range),
20708 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20709 (gst_value_set_fraction_range_full),
20710 (gst_value_get_fraction_range_min),
20711 (gst_value_get_fraction_range_max),
20712 (gst_value_serialize_fraction_range),
20713 (gst_value_transform_fraction_range_string),
20714 (gst_value_compare_fraction_range),
20715 (gst_value_deserialize_fraction_range),
20716 (gst_value_intersect_fraction_fraction_range),
20717 (gst_value_intersect_fraction_range_fraction_range),
20718 (gst_value_subtract_fraction_fraction_range),
20719 (gst_value_subtract_fraction_range_fraction),
20720 (gst_value_subtract_fraction_range_fraction_range),
20721 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20722 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20723 (gst_value_transform_string_fraction), (_gst_value_initialize):
20725 Implement fraction ranges and extend GstFraction to support
20726 arithmetic subtraction, as well as deserialization from integer
20727 strings such as "100"
20728 Add a testsuite as for int and double range set operations
20730 2005-11-21 Andy Wingo <wingo@pobox.com>
20732 * gst/gsttaglist.h:
20734 * gst/gststructure.h: Add glib-compat.h.
20736 2005-11-21 Wim Taymans <wim@fluendo.com>
20738 * gst/gstbin.c: (gst_bin_change_state_func):
20741 2005-11-21 Wim Taymans <wim@fluendo.com>
20743 * gst/gstsegment.h:
20744 And add a nice define too.
20746 2005-11-21 Wim Taymans <wim@fluendo.com>
20748 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20749 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20750 (gst_segment_set_duration), (gst_segment_set_last_stop),
20751 (gst_segment_set_seek), (gst_segment_set_newsegment),
20752 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20753 (gst_segment_clip):
20754 * gst/gstsegment.h:
20755 Make binding friendly.
20757 2005-11-21 Andy Wingo <wingo@pobox.com>
20759 * gst/gsttagsetter.h:
20760 * gst/gsttaglist.h:
20761 * gst/gststructure.h:
20763 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20766 * gst/gsterror.c (_gst_core_errors_init):
20767 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20770 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20771 (noinst_HEADERS): noinst the -private.
20773 2005-11-21 Michael Smith <msmith@fluendo.com>
20776 * gst/gstregistry.h:
20777 Remove unimplemented declarations for which we can see no sensible
20780 2005-11-21 Andy Wingo <wingo@pobox.com>
20782 * gst/gst.h: Include glib-compat.h.
20784 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20786 * gst/glib-compat.c: Include the public and the private header.
20788 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20792 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20794 * check/gst/gstevent.c (create_custom_events): Check that
20795 FLUSH_STOP is serialized.
20797 * check/elements/identity.c (event_func):
20798 * check/elements/fakesrc.c (event_func): No stream lock, the core
20801 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20802 stream lock taking, yay.
20804 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20805 ensure that core takes the stream lock.
20807 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20810 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20811 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20812 it already. For the flush start we do take it though so we get the
20813 right preroll state change messages.
20815 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20816 the stream lock here, the core does it for us.
20818 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20819 GST_STREAM_GET_LOCK.
20820 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20821 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20822 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20823 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20824 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20825 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20827 * gst/gstpad.c: Update for stream lock name change.
20829 * gst/base/gstbasesink.c: Update for preroll lock name change.
20831 2005-11-21 Wim Taymans <wim@fluendo.com>
20833 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20834 (gst_clock_get_master):
20836 * gst/gstsystemclock.c: (gst_system_clock_init):
20837 Convert Clock flags to object flags.
20838 Added methods to manage master/slave clocks.
20840 2005-11-21 Wim Taymans <wim@fluendo.com>
20842 * check/gst/gstsegment.c: (GST_START_TEST):
20843 * docs/design/part-TODO.txt:
20844 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20845 (gst_base_sink_event), (gst_base_sink_do_sync),
20846 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20847 (gst_base_sink_query), (gst_base_sink_change_state):
20848 * gst/base/gstbasesink.h:
20849 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20850 (gst_base_src_default_newsegment),
20851 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20852 (gst_base_src_get_range), (gst_base_src_loop),
20853 (gst_base_src_change_state):
20854 * gst/base/gstbasesrc.h:
20855 * gst/base/gstbasetransform.c:
20856 (gst_base_transform_prepare_output_buf),
20857 (gst_base_transform_event), (gst_base_transform_change_state):
20858 * gst/base/gstbasetransform.h:
20859 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20860 (gst_collect_pads_event):
20861 * gst/base/gstcollectpads.h:
20862 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20863 (gst_fake_src_create):
20864 * gst/elements/gstfakesrc.h:
20865 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20866 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20867 (gst_segment_set_last_stop), (gst_segment_set_seek),
20868 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20869 (gst_segment_to_running_time), (gst_segment_clip):
20870 * gst/gstsegment.h:
20871 More segment updates, replace code in plugins with segment
20874 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20876 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20877 Don't ignore sscanf results
20879 2005-11-21 Andy Wingo <wingo@pobox.com>
20881 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20884 * *.c: Ran scripts/update-macros. Oh yes.
20886 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20887 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20890 * scripts/update-macros: New script. Run it on your files to
20891 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20894 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20896 * docs/gst/Makefile.am:
20897 * docs/gst/gstreamer-docs.sgml:
20898 * docs/gst/gstreamer-sections.txt:
20899 * docs/gst/gstreamer.types:
20901 more docs fixes, add new api to the docs
20903 2005-11-21 Andy Wingo <wingo@pobox.com>
20905 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20906 state_broadcast call.
20908 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20910 2005-11-21 Julien MOUTTE <julien@moutte.net>
20912 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20913 function calls for arrays.
20915 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20917 * docs/random/ensonic/media-device-daemon.txt:
20918 wild idea, can this be done?
20919 * docs/gst/gstreamer-sections.txt:
20924 * gst/gstpluginfeature.c:
20928 doc fixes and additions
20930 2005-11-21 Andy Wingo <wingo@pobox.com>
20932 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20933 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20934 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20935 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20936 private to the basesrc implementation.
20938 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20939 behalf of event function if necessary. It should no longer be
20940 necessary to take the stream lock in pad's event functions. Fixes
20943 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20944 * docs/gst/gstreamer-sections.txt:
20945 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20946 (gst_structure_fixate_field_nearest_double),
20947 (gst_structure_fixate_field_boolean):
20948 * gst/gststructure.h:
20949 * win32/common/libgstreamer.def:
20950 * win32/gstreamer.def:
20952 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20955 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20957 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20958 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20959 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20960 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20961 (gst_fdsrc_uri_handler_init):
20962 * gst/elements/gstfdsrc.h:
20963 Port fd:// URI handler from 0.8 to fdsrc
20965 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20967 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20968 (gst_value_serialize_fourcc):
20970 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20971 consistent with our other format defines (#320324).
20973 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20975 * gst/gstvalue.c: (gst_value_is_fixed):
20976 Revert previous commit. Value lists are by definition
20977 not fixed, as they are a list of possible values.
20979 2005-11-21 Andy Wingo <wingo@pobox.com>
20981 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20982 during the stable series if we need it. Fixes #319178.
20984 * gst/gstevent.c (gst_event_new_filler): Removed.
20986 * check/gst/gstevent.c: Update comment about filler events.
20988 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20990 * gst/gstvalue.c: (gst_value_is_fixed):
20991 Should handle both value arrays and value lists.
20993 2005-11-21 Andy Wingo <wingo@pobox.com>
20995 patch by: Alessandro Dessina <alessandro nnva org>
20997 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20998 functions to access arrays. Fixes #321962.
21000 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21002 * docs/gst/gstreamer.types:
21003 gst_collectpads_get_type => gst_collect_pads_get_type.
21005 * gst/base/gstbasetransform.c:
21006 Remove unused SIGNAL_HANDOFF enum.
21008 2005-11-21 Andy Wingo <wingo@pobox.com>
21010 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21011 the event type (upstream, downstream, serialized). Renamed
21012 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21013 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21014 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21016 * gst/gstevent.c: Update for new CUSTOM event names.
21018 * check/gst/gstevent.c: Update check for new CUSTOM event names.
21021 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21024 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21026 * docs/gst/gstreamer-sections.txt:
21027 * win32/common/libgstbase.def:
21028 * win32/libgstbase.def:
21029 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21030 (gst_collect_pads_class_init), (gst_collect_pads_init),
21031 (gst_collect_pads_finalize), (gst_collect_pads_new),
21032 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21033 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21034 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21035 (gst_collect_pads_start), (gst_collect_pads_stop),
21036 (gst_collect_pads_peek), (gst_collect_pads_pop),
21037 (gst_collect_pads_available), (gst_collect_pads_read),
21038 (gst_collect_pads_flush), (gst_collect_pads_event),
21039 (gst_collect_pads_chain):
21040 * gst/base/gstcollectpads.h:
21041 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21042 unimplemented functions as unimplemented. Add padding to
21043 GstCollectData. (#320766, #320423)
21045 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
21047 * gst/gstmessage.c:
21048 Improve docs for DURATION message (usage of duration parameter)
21051 2005-11-20 Wim Taymans <wim@fluendo.com>
21053 * check/Makefile.am:
21054 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21058 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21059 (gst_segment_set_seek), (gst_segment_set_newsegment),
21060 (gst_segment_to_stream_time), (gst_segment_to_running_time),
21061 (gst_segment_clip):
21062 * gst/gstsegment.h:
21063 Added segment helper structure and methods. Not fully implemented
21065 Added segment check.
21067 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
21069 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21070 Add a deserialisation test for fractions
21071 * examples/metadata/read-metadata.c: (message_loop),
21072 (make_pipeline), (main):
21073 Fix up metadata reading sample.
21074 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21076 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21077 Don't try and fixate empty caps
21078 * gst/gst_private.h:
21079 Wrap in G_BEGIN_DECLS/G_END_DECLS
21080 * gst/gstvalue.c: (gst_value_collect_fraction),
21081 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21082 (gst_value_transform_string_fraction),
21083 (gst_value_compare_fraction):
21084 Add some extra guards to ensure that we don't end up
21085 with an invalid denominator of 0 in a gstfraction and
21086 that fractions always get reduced.
21088 2005-11-20 Wim Taymans <wim@fluendo.com>
21090 * docs/gst/gstreamer-sections.txt:
21092 * gst/gstelement.c:
21101 2005-11-20 Wim Taymans <wim@fluendo.com>
21103 * docs/design/part-TODO.txt:
21105 Make a proper enum of the flag.
21107 2005-11-19 Wim Taymans <wim@fluendo.com>
21109 * docs/design/part-TODO.txt:
21110 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21111 (gst_format_to_quark), (gst_format_register):
21113 * gst/gstquery.c: (_gst_query_initialize),
21114 (gst_query_type_get_name), (gst_query_type_to_quark),
21115 (gst_query_type_register):
21117 Add type to quark and type to string conversions.
21119 2005-11-19 Andy Wingo <wingo@pobox.com>
21121 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21124 2005-11-19 Wim Taymans <wim@fluendo.com>
21126 * docs/design/part-TODO.txt:
21127 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21128 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21129 (gst_bin_handle_message_func):
21131 Make message handling overridable.
21133 2005-11-19 Andy Wingo <wingo@pobox.com>
21135 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21138 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21140 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21141 is a GstClockTime. Fixes #321710.
21143 * gst/gstclock.h (GstClock): Remove offset property. Add
21144 internal_calibration and external_calibration. Fix padding. Pad
21145 also by GstClockTime so we don't run into problems.
21147 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21148 (gst_clock_get_rate_offset): Remove.
21149 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21152 * gst/gstutils.c (g_static_rec_cond_wait)
21153 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21155 * gst/gstbin.c: Remove terrible continue_state prototype.
21157 * gst/gstelement.h (gst_element_continue_state): Make public.
21159 * gst/gstelement.h:
21160 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21161 by continue_state. Fixes #319389.
21163 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21164 Really fixes #168438. However I don't see anywhere where the
21165 filter function is called... stupid GStreamer...
21167 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21168 don't have a dispose function, so it won't get called when the
21169 object is unreffed, but oh well!
21171 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21172 allows a destroy function to be set so user_data can be freed.
21174 (gst_index_set_filter): Call gst_index_set_filter_full.
21176 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21178 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21179 string should produce an error, given the lack of a way to
21180 represent NULL strings. Fixes #165650.
21183 * gst/gstvalue.c (gst_value_array_append_value)
21184 (gst_value_array_prepend_value, gst_value_array_get_size)
21185 (gst_value_array_get_value): New API, copied from
21186 gst_value_list_*, only operates on arrays.
21187 (gst_value_list_append_value, gst_value_list_prepend_value)
21188 (gst_value_list_concat, gst_value_list_get_size)
21189 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21191 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21192 init_list, because it works on both.
21193 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21194 (gst_value_copy_list_or_array): Renamed from copy_list.
21195 (gst_value_free_list_or_array): Renamed from free_list.
21196 (gst_value_collect_list_or_array): Renamed from collect_list.
21197 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21198 (gst_value_list_or_array_peek_pointer): Renamed from
21200 (_gst_value_array_value_table, _gst_value_list_value_table):
21201 Update value table functions.
21202 (gst_value_compare_list_or_array): Renamed from compare_list.
21204 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21207 * gst/gsttaglist.c:
21208 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21209 GstTagList*. Fixes #143472.
21211 * gst/gststructure.h: Clarify what the foreach/map functions can
21212 or can't do to their arguments.
21214 2005-11-18 Wim Taymans <wim@fluendo.com>
21216 * gst/gstclock.c: (gst_clock_set_calibration),
21217 (gst_clock_get_calibration):
21219 Calibration can be set with internal time equal to current
21222 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21228 2005-11-18 Andy Wingo <wingo@pobox.com>
21231 * pkgconfig/gstreamer-net.pc.in:
21232 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21233 * pkgconfig/Makefile.am: Add net pkgconfig files.
21235 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21238 * gst/gstghostpad.c:
21244 2005-11-18 Andy Wingo <wingo@pobox.com>
21246 * gst/net/gstnetclientclock.c: Turn off debugging.
21248 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21249 times connverge somewhat. Can't make a real test.
21251 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21252 integer arithmetic. Return the minimum of the domain, which can be
21253 set as "internal" for gst_clock_set_calibration.
21254 (gst_net_client_clock_observe_times): Call _set_calibration.
21255 (gst_net_client_clock_new): Call _set_calibration instead of
21258 * check/net/gstnetclientclock.c (test_functioning): Use the right
21262 * gst/gstclock.c (gst_clock_get_calibration)
21263 (gst_clock_set_calibration): New functions, obsolete the ones I
21264 added yesterday. Doh. Precision issues mean we have to extrapolate
21265 from a point in the more recent past than 1970.
21266 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21268 (gst_clock_adjust_unlocked): Use the right calibration data.
21270 2005-11-18 Edward Hervey <edward@fluendo.com>
21272 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21273 Also reset the ->current_* values in READY->PAUSED
21275 2005-11-18 Andy Wingo <wingo@pobox.com>
21277 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21278 Whoops, check the right fd. Also add some debugging.
21279 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21280 (do_linear_regression): Add a crapload of debugging. Subtract off
21281 the minimum values from the input series to discard unneeded bits.
21282 Use only int arithmetic. There is still double arithmetic when
21283 calculating the intercept that needs fixing. Return boolean to
21284 indicate success; FALSE would mean the domain or range is too
21285 great. Still needs fixes.
21287 2005-11-18 Wim Taymans <wim@fluendo.com>
21289 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21290 For the current position in stream time, we need to subtract
21293 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21294 Release lock before calling the callback function of async
21297 2005-11-18 Andy Wingo <wingo@pobox.com>
21299 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21300 Port goes all the way to MAXUINT16.
21302 * gst/net/gstnettimeprovider.c: Make the port range the same as
21303 for the kernel: 0 assigns, otherwise ports are less than
21306 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21309 * check/net/gstnetclientclock.c (test_functioning): Add the start
21312 2005-11-18 Wim Taymans <wim@fluendo.com>
21314 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21315 (gst_bin_remove_func), (bin_bus_handler):
21317 Removing a clock provider from a bin, triggers a clock lost message
21318 so that a new clock will be selected.
21319 Adding a clock to a bin triggers a clock provider message.
21320 Make sure we reselect a clock when we received a clock lost message.
21321 Keep a reference to the element that provided the clock.
21323 2005-11-18 Andy Wingo <wingo@pobox.com>
21325 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21326 the clock initially so it produces values around the base time.
21327 (gst_net_client_clock_class_init): Typo fix.
21328 (gst_net_client_clock_thread): Add note on when the socket gets
21331 2005-11-17 Wim Taymans <wim@fluendo.com>
21333 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21334 Free remote and local time arrays.
21336 2005-11-17 Wim Taymans <wim@fluendo.com>
21338 * gst/net/gstnetclientclock.c: (do_linear_regression),
21339 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21340 Fix compilation, uninitialized vars and a forgotten continue.
21342 2005-11-17 Andy Wingo <wingo@pobox.com>
21344 * check/Makefile.am (check_PROGRAMS):
21345 * check/net/gstnetclientclock.c: Add a most minimal test for the
21346 net client clock. More to come later.
21348 * gst/net/gstnet.h:
21349 * gst/net/Makefile.am: Add netclientclock.
21351 * gst/net/gstnetclientclock.h:
21352 * gst/net/gstnetclientclock.c: New files, implement an untested
21353 GstClock that takes its time from a network time provider.
21354 Implements the algorithm in network-clock.scm.
21356 * tests/network-clock.scm (*window-size*): Rename from
21358 * tests/network-clock.scm (network-time):
21359 * tests/network-clock-utils.scm (q-push): Update callers.
21361 2005-11-17 Wim Taymans <wim@fluendo.com>
21363 * gst/gstbin.c: (gst_bin_provide_clock_func),
21364 (gst_bin_sort_iterator_new):
21365 And unref the child too..
21367 2005-11-17 Wim Taymans <wim@fluendo.com>
21369 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21370 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21371 Refactor the sort iterator so it can be used while holding the
21373 Make clock selection select a clock closest to the source.
21375 2005-11-17 Michael Smith <msmith@fluendo.com>
21377 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21378 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21380 Anonymous structs are a gcc (and some other compilers) extension, so
21381 don't use them. Since this is only for ABI-compatibility, and our
21382 API/ABI freeze is over in a few days, this whole thing will only
21383 last a few days, so don't bother trying to think up a meaningful
21384 name for the struct.
21386 2005-11-17 Andy Wingo <wingo@pobox.com>
21388 * gst/gstclock.h (GstClock): Add rate and offset properties,
21389 preserving ABI stability. Add rate/offset accessors. Will file bug
21390 for the freeze break.
21392 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21393 and offset, trying to keep precision and avoiding
21394 underflow/overflow.
21395 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21396 functions. Make gst_clock_set_time_adjust obsolete.
21397 (gst_clock_set_time_adjust): Note that this function is obsolete.
21398 Will file bug soon.
21400 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21401 greppable by using GST_PADDING-1+1.
21403 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21405 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21407 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21408 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21410 * gst/gstpadtemplate.h:
21411 * gst/gstpluginfeature.h:
21412 Don't use c++ style comments in headers (#321638).
21414 2005-11-16 Andy Wingo <wingo@pobox.com>
21416 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21419 * check/net/gstnettimeprovider.c: Check to see that the time
21420 provider actually provides times. Works, yo!
21422 2005-11-16 Wim Taymans <wim@fluendo.com>
21424 * check/Makefile.am:
21427 * check/elements/fakesrc.c: (GST_START_TEST):
21428 Set element to NULL before disposing it.
21430 2005-11-16 Andy Wingo <wingo@pobox.com>
21432 * gst/net/Makefile.am:
21433 * gst/net/gstnet.h:
21434 * gst/net/gstnettimeprovider.c:
21435 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21436 provider, include it from gstnet.h, and add it to the build.
21438 * gst/net/gstnettimepacket.h:
21439 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21440 sending and receiving.
21442 2005-11-16 Wim Taymans <wim@fluendo.com>
21444 * check/Makefile.am:
21445 Enable valgrind check.
21447 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21448 (gst_fake_src_alloc_buffer):
21451 2005-11-16 Wim Taymans <wim@fluendo.com>
21453 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21454 Call parent finalize too.
21456 2005-11-16 Wim Taymans <wim@fluendo.com>
21458 * check/Makefile.am:
21459 Enable valgrind check that should work fine now.
21461 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21462 * gst/gstqueue.c: (gst_queue_init):
21463 Fix memleaks in pad allocation.
21465 2005-11-16 Andy Wingo <wingo@pobox.com>
21467 * gst/net/Makefile.am:
21468 * gst/net/gstnet.h: New part of core to hold network elements and
21469 objects. Put in core because it exposes API that applications want
21470 to use. The library is named libgstnet-tempname right now because
21471 of the existing libgstnet in gst-plugins-base. Solution is
21472 probably to rename the one in plugins-base; will file a bug for
21475 * gst/net/gstnettimeprovider.c:
21476 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21477 get_time call over the network.
21480 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21482 * check/Makefile.am:
21483 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21484 get additions shortly.
21486 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21488 * gst/gstpad.c: (gst_pad_new_from_static_template):
21490 add gst_pad_new_from_static_template functions
21491 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21492 (gst_check_setup_sink_pad):
21493 * gst/elements/gsttee.c: (gst_tee_init):
21496 2005-11-16 Wim Taymans <wim@fluendo.com>
21498 * gst/gstpad.c: (gst_pad_pause_task):
21499 Removed warning, it's not really an error either.
21501 2005-11-16 Wim Taymans <wim@fluendo.com>
21503 * gst/base/gstbasetransform.c:
21504 (gst_base_transform_prepare_output_buf),
21505 (gst_base_transform_event):
21506 Check if the caps are NULL, this can happen if the element
21507 is shutting down and the pad caps are set to NULL.
21509 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21511 * gst/elements/gsttee.c: (gst_tee_init):
21512 fix pad template leak in tee
21514 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21516 * gst/glib-compat.c: (g_value_dup_gst_object):
21517 * gst/glib-compat.h:
21518 * gst/gstpad.c: (gst_pad_set_property):
21519 use gst_object_ref when setting the pad template; this will
21520 trigger the pad template leaks on GLib 2.6 and the slaves
21522 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21524 * gst/glib-compat.c: (gst_flags_get_first_value):
21525 * gst/glib-compat.h:
21526 * gst/gstregistryxml.c:
21527 remove functions copied from GLib 2.6
21529 2005-11-16 Michael Smith <msmith@fluendo.com>
21532 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21533 do, but only breaks with newer valgrind versions. We're not a
21534 valgrind tool, we have no link-time dependencies on libcoregrind.
21536 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21538 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21540 * gst/gstmessage.h:
21543 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21545 * gst/base/gstbasesrc.c: (gst_base_src_init):
21546 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21547 * gst/gstqueue.c: (gst_queue_init):
21548 * gst/gstregistryxml.c: (load_feature):
21549 Revert all these unrefs, they don't even pass make check !
21551 2005-11-15 Johan Dahlin <johan@gnome.org>
21553 * gst/base/gstbasesrc.c: (gst_base_src_init):
21554 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21555 * gst/gstqueue.c: (gst_queue_init):
21556 Free pad templates, fixes a couple of leaks.
21558 2005-11-15 Daniel Fischer <dan at f3c dot com>
21560 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21562 * gst/gstpad.c: (gst_pad_get_property):
21563 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21564 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21567 2005-11-15 Wim Taymans <wim@fluendo.com>
21572 2005-11-15 Andy Wingo <wingo@pobox.com>
21574 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21576 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21577 using GST_CLOCK_TIME_NONE to disable base time management.
21578 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21579 time if it was NONE before.
21580 (gst_pipeline_change_state): Only munge the base time if
21581 stream_time != GST_CLOCK_TIME_NONE.
21583 * check/gst/gstpipeline.c (test_base_time): Punt around the
21584 problem of the probe not being called, because that's not the
21585 issue I'm looking at. Add a check that setting stream_time to NONE
21586 disables base time management.
21588 2005-11-15 Wim Taymans <wim@fluendo.com>
21590 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21591 segment_stop == -1 at startup.
21593 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21594 (gst_base_transform_change_state):
21595 Init segment values at start.
21597 2005-11-15 Wim Taymans <wim@fluendo.com>
21599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21600 0 segment values are 0 in any format.
21602 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21603 * gst/base/gstbasetransform.h:
21604 Parse newsegment correctly in basetransform
21606 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21607 Sync to clock using updated segment values.
21609 2005-11-15 Andy Wingo <wingo@pobox.com>
21611 * check/gst/gstpipeline.c (test_base_time): Add check that the
21612 base time and stream time are reset correctly.
21614 2005-11-15 Wim Taymans <wim@fluendo.com>
21616 * docs/design/part-TODO.txt:
21617 Some more TODO items.
21619 2005-11-15 Andy Wingo <wingo@pobox.com>
21621 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21622 error if the user selected "no clock" as the clocking method.
21624 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21625 timestamps with live capture.
21627 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21628 is 0 but we are a live source, timestamp the buffers using the
21631 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21633 * docs/gst/gstreamer-sections.txt:
21635 * gst/gstghostpad.c:
21640 2005-11-14 Wim Taymans <wim@fluendo.com>
21643 add suppressions from Wim's Debian machine
21645 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21648 add suppressions from Andy's AMD64 Ubuntu machine
21650 2005-11-14 Andy Wingo <wingo@pobox.com>
21652 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21653 STATE_LOCK not necessary. Fixes #311489.
21655 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21658 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21659 this function is not implemented.
21661 2005-11-14 Julien MOUTTE <julien@moutte.net>
21663 * gst/base/gstbasetransform.c:
21664 (gst_base_transform_prepare_output_buf):
21665 Ref the source pad caps while we need them.
21668 2005-11-11 Wim Taymans <wim@fluendo.com>
21670 * docs/gst/gstreamer-sections.txt:
21671 Added some docs for GstCollectData.
21673 * gst/base/gstadapter.c:
21674 Some small code example fix.
21676 * gst/base/gstcollectpads.c:
21677 * gst/base/gstcollectpads.h:
21678 Document some more.
21680 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21682 * configure.ac: back to HEAD
21684 === release 0.9.5 ===
21686 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21689 releasing 0.9.5, "Bike Lunch Day"
21691 2005-11-11 Wim Taymans <wim@fluendo.com>
21693 * gst/gstbuffer.c: (_gst_buffer_copy):
21696 * gst/gstcaps.c: (gst_caps_is_equal):
21698 Make _is_equal fast in the trivial cases.
21700 * gst/gstminiobject.c:
21701 * gst/gstminiobject.h:
21702 More docs. Spifify .h file.
21707 2005-11-11 Wim Taymans <wim@fluendo.com>
21709 * gst/base/gstbasetransform.c:
21710 (gst_base_transform_prepare_output_buf),
21711 (gst_base_transform_handle_buffer):
21713 If we're processing a buffer and need to allocate an output
21714 buffer, we cannot accept a format change. If we did get a
21715 format change, we have to alloc a buffer ourselves of the
21718 2005-11-11 Wim Taymans <wim@fluendo.com>
21720 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21721 While checking the flag for reentrancy in the gstcaps function
21722 is nice to detect recursive invocations, it also makes it
21723 impossible to call getcaps from multiple threads, which must be
21724 possible. So, checking for recursive calls has to go.
21726 2005-11-11 Michael Smith <msmith@fluendo.com>
21728 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21729 Don't sync on buffers that fall partially outside our current
21730 segment. Prevents an assertion failure/abort playing some files.
21732 2005-11-10 Andy Wingo <wingo@pobox.com>
21734 * check/gst/gstbin.c (test_message_state_changed_children): Style
21737 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21738 gst_bus_poll with the signal watch. Ensures that poll and a signal
21739 watch see the same messages.
21741 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21742 a poll and a watch at the same time get the same messages.
21744 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21746 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21747 * gst/gstcaps.c: (gst_caps_intersect):
21748 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21749 and it's not needed.
21751 2005-11-10 Wim Taymans <wim@fluendo.com>
21753 * docs/design/part-TODO.txt:
21756 2005-11-10 Wim Taymans <wim@fluendo.com>
21758 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21759 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21760 (gst_base_src_do_sync), (gst_base_src_get_range):
21761 Implement clock sync in base class.
21763 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21765 patch by: Tim-Philipp Müller <tim at centricular dot net>
21767 * gst/gststructure.c: (gst_structure_parse_field),
21768 (gst_structure_from_string):
21769 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21770 so that gst_parse_launch() can deal with spaces in filtered link
21771 caps (fixes #164479)
21772 * check/gst/capslist.h:
21773 * check/gst/gststructure.c: (GST_START_TEST):
21774 add unit tests for this change
21776 2005-11-10 Wim Taymans <wim@fluendo.com>
21778 * docs/gst/gstreamer-sections.txt:
21779 * gst/gstelement.c:
21780 * gst/gstelement.h:
21781 Fix docs, move some STATE macros to private.
21783 2005-11-10 Wim Taymans <wim@fluendo.com>
21785 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21786 Added check for bug #317341
21790 Some more spiffifying.
21792 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21793 Call peer linkfunction if we are a source pad. Totally fixes
21797 Update docs, source pads should call the peer linkfunction
21798 so they can atomically perform the pad link.
21800 2005-11-09 Wim Taymans <wim@fluendo.com>
21804 Uber-spiffy-spiffify some more.
21806 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21808 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21809 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21810 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21811 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21812 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21813 * gst/gstpad.c: (gst_pad_init):
21814 Use GST_DEBUG_FUNCPTR() more extensively.
21816 2005-11-09 Wim Taymans <wim@fluendo.com>
21818 * gst/gstobject.c: (gst_object_class_init):
21820 Documentation fixes.
21822 2005-11-09 Edward Hervey <edward@fluendo.com>
21824 * gst/gsttypefindfactory.c:
21827 2005-11-09 Edward Hervey <edward@fluendo.com>
21829 * gst/base/gsttypefindhelper.c:
21830 * gst/gsttypefind.c:
21831 * gst/gsttypefind.h:
21834 2005-11-09 Wim Taymans <wim@fluendo.com>
21836 * gst/gstiterator.c:
21843 2005-11-09 Wim Taymans <wim@fluendo.com>
21849 2005-11-09 Wim Taymans <wim@fluendo.com>
21851 * docs/gst/gstreamer-sections.txt:
21852 Moved the message async delivery private lock and cond
21853 to the private section.
21855 * gst/gstmessage.c:
21856 * gst/gstmessage.h:
21859 2005-11-09 Edward Hervey <edward@fluendo.com>
21861 * docs/gst/gstreamer-sections.txt:
21864 Document GstURIHandler
21866 2005-11-09 Wim Taymans <wim@fluendo.com>
21868 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21869 (gst_iterator_find_custom):
21870 * gst/gstiterator.h:
21873 2005-11-09 Wim Taymans <wim@fluendo.com>
21876 Document another field.
21878 * gst/gststructure.c:
21879 * gst/gststructure.h:
21882 2005-11-09 Wim Taymans <wim@fluendo.com>
21885 Documented structs.
21887 2005-11-09 Wim Taymans <wim@fluendo.com>
21889 * docs/gst/gstreamer-sections.txt:
21890 Added some new macros.
21897 2005-11-09 Wim Taymans <wim@fluendo.com>
21899 * docs/design/part-TODO.txt:
21900 Some more items for the TODO
21906 2005-11-09 Andy Wingo <wingo@pobox.com>
21908 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21909 to work on something else now tho...
21911 * gst/base/gstadapter.c: More adapter docs.
21913 * gst/elements/gstfilesink.c (gst_file_sink_start)
21914 (gst_file_sink_stop): New functions, replace the state change
21916 (gst_file_sink_class_init): Hook up the start and stop functions.
21917 (gst_file_sink_base_init): Don't set the state change handler any
21918 more. It was a bit ugly too, being set from here...
21919 (gst_file_sink_get_property, gst_file_sink_set_property):
21921 (gst_file_sink_set_location): More robust check that doesn't call
21922 GST_STATE. Ugggggg.
21924 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21926 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21927 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21929 2005-11-08 Wim Taymans <wim@fluendo.com>
21931 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21932 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21933 (gst_base_sink_chain), (gst_base_sink_change_state):
21934 * gst/base/gstbasesink.h:
21935 * gst/base/gstbasesrc.h:
21936 * gst/gstelement.h:
21938 Avoid excessive typechecking in macros.
21940 * gst/gstminiobject.c: (gst_mini_object_get_type),
21941 (gst_mini_object_init), (gst_mini_object_new),
21942 (gst_mini_object_free):
21943 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21944 (gst_object_finalize):
21945 Remove cruft code, optimize alloc_trace.
21947 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21949 * docs/faq/gst-uninstalled:
21950 fix up PS1 for systems that try to reset it
21952 2005-11-07 Wim Taymans <wim@fluendo.com>
21954 * gst/base/gstbasesrc.c: (gst_base_src_init),
21955 (gst_base_src_get_range):
21956 Set the segment_end to -1 initially. Fixed typefind.
21958 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21960 * gst/base/gstadapter.c:
21961 Debug category should be 'adapter', not 'GstAdapter'.
21963 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21964 (gst_collectpads_class_init), (gst_collectpads_init),
21965 (gst_collectpads_peek), (gst_collectpads_pop),
21966 (gst_collectpads_event), (gst_collectpads_chain):
21967 Add debug category and some debugging output. Use boilerplate
21968 macros. Remove some extraneous words from docs.
21970 2005-11-05 Andy Wingo <wingo@pobox.com>
21972 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21975 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21977 * docs/gst/gstreamer-sections.txt:
21980 * gst/gstminiobject.h:
21985 2005-11-04 Wim Taymans <wim@fluendo.com>
21987 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21988 Small update to stop at the configured segment_end
21991 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21993 * gst/gstregistry.c:
21994 * gst/gstregistry.h:
21997 2005-11-04 Edward Hervey <edward@fluendo.com>
21999 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22000 Check if we are doing a segment seek and have arrived at the
22001 end of that segment.
22003 2005-11-04 Wim Taymans <wim@fluendo.com>
22005 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22006 Don't leak a mutex unlock in case of an error.
22011 2005-11-04 Wim Taymans <wim@fluendo.com>
22013 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22015 Get the context to wake up only once.
22017 2005-11-03 Wim Taymans <wim@fluendo.com>
22019 * check/states/sinks.c: (GST_START_TEST):
22020 Uncomment fixed check.
22022 * docs/design/part-TODO.txt:
22025 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22026 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22027 (gst_base_sink_get_position):
22028 If we are going to PLAYING, post the right pending state
22029 when we post the intermediate paused message.
22031 * gst/gstelement.c: (gst_element_continue_state),
22032 (gst_element_set_state_func), (gst_element_change_state):
22033 Don't post state changes that were between the same state
22034 and were not ASYNC.
22036 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22038 * docs/gst/gstreamer-sections.txt:
22041 * gst/gstminiobject.h:
22044 more docs and doc style fixes
22046 2005-11-03 Stefan Kost <ensonic@users.sf.net>
22048 * docs/gst/gstreamer-sections.txt:
22049 * gst/gstelement.c:
22050 * gst/gstminiobject.c:
22053 2005-11-03 Andy Wingo <wingo@pobox.com>
22055 * check/states/sinks.c (test_livesrc_sink): Add checks that the
22056 state-changed messages actually have the right order and the right
22059 2005-11-03 Wim Taymans <wim@fluendo.com>
22061 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22062 Added some more checks. Specifically the case where NO_PREROLL
22063 elements are in the pipeline.
22065 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22066 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22067 (gst_base_sink_get_position):
22068 Post READY->PAUSED state change messages too.
22069 Fix bug where VOID was posted as pending state...
22071 * gst/gstbin.c: (gst_bin_recalc_state):
22072 use _element_continue_state() to continue the state change.
22074 * gst/gstelement.c: (gst_element_continue_state),
22075 (gst_element_commit_state), (gst_element_set_state_func),
22076 (gst_element_change_state), (gst_element_change_state_func):
22077 Lots of state change cleanups, assign the STATE_RETURN in
22078 a new continue_state() function that also propagates the
22079 last return value from a state change to the app.
22080 Update some debug statements with proper category.
22082 2005-11-03 Wim Taymans <wim@fluendo.com>
22084 * docs/design/part-events.txt:
22085 * docs/design/part-gstpipeline.txt:
22086 * docs/design/part-messages.txt:
22087 * docs/design/part-overview.txt:
22088 * docs/design/part-seeking.txt:
22089 * docs/design/part-states.txt:
22090 * docs/design/part-trickmodes.txt:
22091 * docs/manual/advanced-position.xml:
22092 Small docs updates.
22095 People think !! is ugly, this looks better.
22097 * gst/gstpad.c: (gst_pad_set_blocked_async):
22098 Remove !! since it's fixed elsewhere now.
22100 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22102 * gst/gstminiobject.h:
22104 Add !! to _FLAG_IS_SET macros to make the result boolean.
22106 2005-11-03 Edward Hervey <edward@fluendo.com>
22108 * gst/gstpad.c: (gst_pad_set_blocked_async):
22109 comparing a flag and a gboolean rarely returns coherent results...
22110 Added two characters (!!) to make that work correctly.
22112 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22114 * gst/gstbus.c: (gst_bus_class_init):
22117 * gst/gstqueue.c: (gst_queue_loop):
22118 Don't assume a miniobject that isn't a buffer is an
22119 event (it could be that there is a refcounting
22120 problem somewhere and the pointer is stale and
22121 refers to an already destroyed miniobject).
22123 2005-11-03 Julien MOUTTE <julien@moutte.net>
22125 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22127 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
22129 * docs/manual/advanced-position.xml:
22130 Update seek example and explanations to current 0.9 API.
22132 * gst/elements/gsttypefindelement.c:
22133 (gst_type_find_element_activate):
22134 Remove FIXME comment now that the found caps
22137 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22139 * gst/gstregistryxml.c: (load_feature):
22140 Add another GST_STR_NULL instance
22142 2005-11-02 Edward Hervey <edward@fluendo.com>
22144 * gst/gstpad.c: (handle_pad_block):
22145 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22147 2005-11-02 Wim Taymans <wim@fluendo.com>
22152 * gst/gstelement.c: (gst_element_commit_state):
22153 Remove unused value.
22155 * gst/gstiterator.c:
22156 Mention that the returned element is reffed in the docs.
22158 2005-11-02 Wim Taymans <wim@fluendo.com>
22160 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22161 (gst_pad_push), (gst_pad_push_event):
22162 Unlock blocked pads when they are flushed.
22164 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22167 * docs/gst/gstreamer-sections.txt:
22170 * gst/gstregistry.c: (gst_registry_scan_path_level):
22171 fix for a nasty little missed situation where an installed plug-in
22172 which was in the cache did not get overridden by an uninstalled one
22173 which was earlier in the plugin path because the newly created plugin
22174 for the uninstalled one (not in the registry) didn't get its
22175 ->registered set to TRUE
22177 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22179 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22180 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22181 (gst_collectpads_is_active), (gst_collectpads_collect),
22182 (gst_collectpads_collect_range), (gst_collectpads_start),
22183 (gst_collectpads_stop), (gst_collectpads_peek),
22184 (gst_collectpads_pop), (gst_collectpads_available),
22185 (gst_collectpads_read), (gst_collectpads_flush):
22186 Guard public API with assertions.
22189 Fix docs for gst_pad_set_link_function().
22191 2005-11-02 Johan Dahlin <johan@gnome.org>
22193 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22194 Unref found_caps after we used it.
22196 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22198 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22199 Don't try to ref NULL.
22201 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22203 * win32/common/config.h.in:
22204 provide a GST_FUNCTION that just gives a string for now
22206 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22208 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22209 (gst_object_flags_get_type), (register_gst_bin_flags),
22210 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22211 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22212 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22213 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22214 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22215 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22216 (gst_clock_flags_get_type), (register_gst_state),
22217 (gst_state_get_type), (register_gst_state_change_return),
22218 (gst_state_change_return_get_type), (register_gst_state_change),
22219 (gst_state_change_get_type), (register_gst_element_flags),
22220 (gst_element_flags_get_type), (register_gst_core_error),
22221 (gst_core_error_get_type), (register_gst_library_error),
22222 (gst_library_error_get_type), (register_gst_resource_error),
22223 (gst_resource_error_get_type), (register_gst_stream_error),
22224 (gst_stream_error_get_type), (register_gst_event_type),
22225 (gst_event_type_get_type), (register_gst_seek_type),
22226 (gst_seek_type_get_type), (register_gst_seek_flags),
22227 (gst_seek_flags_get_type), (register_gst_format),
22228 (gst_format_get_type), (register_gst_index_certainty),
22229 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22230 (gst_index_entry_type_get_type),
22231 (register_gst_index_lookup_method),
22232 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22233 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22234 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22235 (gst_index_flags_get_type), (register_gst_debug_level),
22236 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22237 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22238 (gst_iterator_result_get_type), (register_gst_iterator_item),
22239 (gst_iterator_item_get_type), (register_gst_message_type),
22240 (gst_message_type_get_type), (register_gst_mini_object_flags),
22241 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22242 (gst_pad_link_return_get_type), (register_gst_flow_return),
22243 (gst_flow_return_get_type), (register_gst_activate_mode),
22244 (gst_activate_mode_get_type), (register_gst_pad_direction),
22245 (gst_pad_direction_get_type), (register_gst_pad_flags),
22246 (gst_pad_flags_get_type), (register_gst_pad_presence),
22247 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22248 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22249 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22250 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22251 (gst_plugin_flags_get_type), (register_gst_rank),
22252 (gst_rank_get_type), (register_gst_query_type),
22253 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22254 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22255 (gst_tag_flag_get_type), (register_gst_task_state),
22256 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22257 (gst_alloc_trace_flags_get_type),
22258 (register_gst_type_find_probability),
22259 (gst_type_find_probability_get_type), (register_gst_uri_type),
22260 (gst_uri_type_get_type), (register_gst_parse_error),
22261 (gst_parse_error_get_type):
22262 * win32/common/gstversion.h:
22263 update win32 copies
22265 2005-11-01 Luca Ognibene <luogni@tin.it>
22268 fix docs. popt is dead, long live GOption.
22270 2005-10-31 Wim Taymans <wim@fluendo.com>
22275 2005-10-31 Andy Wingo <wingo@pobox.com>
22279 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22281 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22282 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22283 the possibility of deadlocks here if code calling notify() or
22284 set() has a lock that can be taken in another notify handler (ABBA
22285 with class lock and e.g. python GIL state lock).
22287 2005-10-28 Julien MOUTTE <julien@moutte.net>
22289 * gst/gstbus.c: Doc updates.
22291 2005-10-28 Wim Taymans <wim@fluendo.com>
22293 * docs/design/part-TODO.txt:
22294 * gst/gstiterator.c:
22295 * gst/gstsystemclock.c:
22296 * gst/gstsystemclock.h:
22299 2005-10-28 Edward Hervey <edward@fluendo.com>
22301 * docs/gst/gstreamer-docs.sgml:
22302 * docs/gst/gstreamer-sections.txt:
22303 the GstURIType documentation page is private, it only defines GstURIType
22304 which should be defined in the GstURIHandler page
22306 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22308 * gst/gstbin.c: (gst_bin_class_init):
22311 Documentation updates.
22313 2005-10-28 Wim Taymans <wim@fluendo.com>
22315 * docs/gst/gstreamer-sections.txt:
22318 Documented the clocks.
22320 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22322 * docs/gst/gstreamer-sections.txt:
22323 move some macros to private sections
22324 * gst/gstminiobject.c:
22325 * gst/gstminiobject.h:
22326 add descriptions provided by ds and some more
22328 mark macro as to be removed
22330 2005-10-28 Wim Taymans <wim@fluendo.com>
22332 * docs/design/part-TODO.txt:
22333 Add an item to TODO.
22335 * gst/gstiterator.c: (gst_iterator_fold),
22336 (gst_iterator_find_custom):
22337 * gst/gstiterator.h:
22340 2005-10-28 Wim Taymans <wim@fluendo.com>
22342 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22343 (gst_base_transform_init):
22346 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22347 An EOS event marks the queue as completely filled.
22349 2005-10-27 Wim Taymans <wim@fluendo.com>
22351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22352 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22353 Some more debugging.
22355 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22356 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22357 (gst_base_transform_event), (gst_base_transform_getrange),
22358 (gst_base_transform_chain):
22359 * gst/base/gstbasetransform.h:
22361 Protect transform and concurrent buffer alloc with a new lock.
22362 Try not to break ABI/API.
22364 2005-10-27 Wim Taymans <wim@fluendo.com>
22366 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22367 (gst_base_src_init), (gst_base_src_query),
22368 (gst_base_src_default_newsegment),
22369 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22370 (gst_base_src_send_event), (gst_base_src_event_handler),
22371 (gst_base_src_pad_get_range), (gst_base_src_loop),
22372 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22373 (gst_base_src_start), (gst_base_src_deactivate),
22374 (gst_base_src_activate_push), (gst_base_src_change_state):
22375 Move some stuff around and cleanup things.
22377 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22379 * gst/base/gstbasesrc.c: (gst_base_src_query):
22380 Add missing break statements.
22382 2005-10-27 Wim Taymans <wim@fluendo.com>
22384 * check/gst/gstbin.c: (GST_START_TEST):
22385 An extra refcount is taken in basesrc.
22387 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22388 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22389 (gst_base_src_loop):
22390 Small cleanups, check for flushing after being unlocked from the
22391 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22392 Don't send out EOS when going to READY.
22394 2005-10-27 Wim Taymans <wim@fluendo.com>
22396 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22397 (gst_base_sink_get_position):
22400 * gst/gstbin.c: (message_check), (bin_replace_message),
22401 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22402 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22403 (bin_query_duration_init), (bin_query_duration_fold),
22404 (bin_query_duration_done), (bin_query_generic_fold),
22406 * tools/gst-launch.c: (main):
22409 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22411 * examples/controller/audio-example.c: (main):
22412 * examples/queue/queue.c: (event_loop):
22413 * gst/base/gstbasetransform.h:
22414 * gst/gstelement.c: (gst_element_send_event):
22416 * gst/gstpad.c: (gst_pad_send_event):
22419 changing log priority in error situations
22421 2005-10-25 Wim Taymans <wim@fluendo.com>
22423 * gst/gstbin.c: (message_check), (bin_replace_message),
22424 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22425 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22426 (bin_query_duration_init), (bin_query_duration_fold),
22427 (bin_query_duration_done), (bin_query_generic_fold),
22429 Some doc and debug updates.
22430 Cache previously requested query DURATION for speed. invalidate
22431 cached duration if element posts a DURATION message.
22433 2005-10-25 Wim Taymans <wim@fluendo.com>
22435 * docs/design/part-TODO.txt:
22438 * gst/gstbin.c: (message_check), (bin_replace_message),
22439 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22440 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22441 (bin_query_duration_init), (bin_query_duration_fold),
22442 (bin_query_duration_done), (bin_query_generic_fold),
22444 Handle SEGMENT_START/DONE messages correctly.
22445 More evolved query algorithm that handles duration queries
22448 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22449 (gst_element_get_state_func), (gst_element_abort_state),
22450 (gst_element_commit_state), (gst_element_lost_state):
22451 Some more debugging.
22453 * gst/gstmessage.h:
22456 2005-10-25 Wim Taymans <wim@fluendo.com>
22458 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22459 Don't use invalid stream_time.
22461 * gst/gstevent.c: (gst_event_new_newsegment):
22462 stream_time in newsegment cannot be undefined.
22464 2005-10-24 Wim Taymans <wim@fluendo.com>
22469 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22471 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22473 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22475 * docs/libs/tmpl/gstdparam.sgml:
22476 * docs/libs/tmpl/gstdplinint.sgml:
22477 * docs/libs/tmpl/gstdpman.sgml:
22478 * docs/libs/tmpl/gstdpsmooth.sgml:
22479 * docs/libs/tmpl/gstunitconvert.sgml:
22482 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22487 === release 0.9.4 ===
22489 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22492 releasing 0.9.4, "Tyrannosaurus Rex"
22494 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22496 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22497 (gst_file_sink_get_current_offset):
22498 Use fseeko() and ftello() if available. When falling back on
22499 lseek() to get the current offset, fflush() first to make sure
22500 everything is up-to-date and we get the right offset.
22502 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22504 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22505 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22506 * gst/gsterror.c: (_gst_stream_errors_init):
22508 * gst/gstqueue.c: (gst_queue_loop):
22510 remove prematurely added error category and clean up the instances
22512 2005-10-21 Wim Taymans <wim@fluendo.com>
22514 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22515 (gst_base_sink_get_position), (gst_base_sink_query),
22516 (gst_base_sink_change_state):
22517 Simply set the right flag when going to playing, that's all
22518 we need to do instead of calling a function inside the object
22519 lock (that could take the lock as well and deadlock)
22521 2005-10-21 Wim Taymans <wim@fluendo.com>
22523 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22524 (gst_base_src_loop):
22525 Don't warn, the peer element knows what to do best when
22526 the seek failed, it might try something else.
22528 2005-10-21 Wim Taymans <wim@fluendo.com>
22530 * gst/base/gstbasesrc.c: (gst_base_src_init),
22531 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22534 2005-10-21 Wim Taymans <wim@fluendo.com>
22536 * docs/design/part-segments.txt:
22539 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22540 Correctly set caps, even on the subbufer.
22542 2005-10-21 Wim Taymans <wim@fluendo.com>
22544 * docs/gst/gstreamer-docs.sgml:
22545 * docs/gst/gstreamer-sections.txt:
22546 * gst/gstelement.h:
22549 * gst/gstmessage.h:
22552 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22556 And 2% more doc coverage.
22558 2005-10-21 Andy Wingo <wingo@pobox.com>
22560 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22561 position reporting.
22563 2005-10-20 Wim Taymans <wim@fluendo.com>
22565 * gst/gsterror.c: (gst_error_get_message):
22568 * gst/gststructure.c:
22573 2005-10-20 Wim Taymans <wim@fluendo.com>
22578 Another 1% more coverage.
22580 2005-10-20 Wim Taymans <wim@fluendo.com>
22582 * docs/gst/gstreamer-sections.txt:
22583 * gst/gstelement.c: (gst_element_get_state_func),
22584 (gst_element_abort_state), (gst_element_commit_state),
22585 (gst_element_lost_state):
22587 * gst/gstquery.c: (gst_query_set_position),
22588 (gst_query_parse_position), (gst_query_set_duration),
22589 (gst_query_parse_duration), (gst_query_new_convert):
22591 Yay! 1% more docs coverage.
22593 2005-10-20 Wim Taymans <wim@fluendo.com>
22596 * gst/gstquery.c: (gst_query_set_position),
22597 (gst_query_parse_position), (gst_query_set_duration),
22598 (gst_query_parse_duration), (gst_query_new_convert):
22600 * gst/gstutils.c: (gst_element_query_convert):
22602 Docs and consistency fixes.
22604 2005-10-20 Wim Taymans <wim@fluendo.com>
22610 2005-10-20 Wim Taymans <wim@fluendo.com>
22612 * gst/gstbin.c: (message_check), (bin_replace_message),
22613 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22614 (update_degree), (gst_bin_sort_iterator_next),
22615 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22616 Reworked the message handling a bit, cache the messages instead of
22617 only the senders. alows us to do more in the future.
22619 2005-10-20 Wim Taymans <wim@fluendo.com>
22621 * docs/design/part-TODO.txt:
22624 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22625 (gst_base_sink_query):
22626 Don't use clock time to report position when in EOS.
22628 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22630 * tools/gst-inspect.c: (print_interfaces),
22631 (print_element_properties_info), (print_element_info):
22632 Fix interface output with gst-inspect -a; don't print
22633 newlines after double/float properties.
22635 2005-10-20 Wim Taymans <wim@fluendo.com>
22637 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22638 (gst_base_sink_query):
22639 Speed up current position calculation.
22641 * gst/base/gstbasesrc.c: (gst_base_src_query),
22642 (gst_base_src_default_newsegment):
22643 Correctly set stream position in newsegment.
22645 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22646 (update_degree), (gst_bin_sort_iterator_next),
22647 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22648 * gst/gstmessage.c: (gst_message_new_custom):
22649 Clean up debugging info
22651 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22652 (gst_queue_loop), (gst_queue_handle_src_query):
22655 2005-10-19 Wim Taymans <wim@fluendo.com>
22657 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22658 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22659 Fix query handling again.
22661 2005-10-19 Wim Taymans <wim@fluendo.com>
22663 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22664 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22665 * gst/base/gstbasesrc.c: (gst_base_src_query):
22666 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22667 * gst/elements/gsttypefindelement.c:
22668 (gst_type_find_handle_src_query), (find_element_get_length),
22669 (gst_type_find_element_activate):
22672 * gst/gstquery.c: (gst_query_new_position),
22673 (gst_query_set_position), (gst_query_parse_position),
22674 (gst_query_new_duration), (gst_query_set_duration),
22675 (gst_query_parse_duration), (gst_query_set_segment),
22676 (gst_query_parse_segment):
22678 Bundling query position/duration is not a good idea since duration
22679 does not change much and we don't want to recalculate it for every
22680 position query, so they are separated again..
22681 Base value in segment query is not needed.
22683 * gst/gstqueue.c: (gst_queue_handle_src_query):
22684 * gst/gstutils.c: (gst_element_query_position),
22685 (gst_element_query_duration), (gst_pad_query_position),
22686 (gst_pad_query_duration):
22688 Updates for query API change.
22689 Added some docs here and there.
22691 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22693 * check/gst/gstbin.c: (GST_START_TEST):
22694 * check/gst/gstghostpad.c: (GST_START_TEST):
22695 * check/pipelines/cleanup.c: (GST_START_TEST):
22696 wait on thread to die so we can check refcount correctly
22698 2005-10-18 Wim Taymans <wim@fluendo.com>
22700 * check/pipelines/stress.c: (GST_START_TEST):
22701 Make check a little more time consuming.
22703 2005-10-18 Wim Taymans <wim@fluendo.com>
22705 * check/Makefile.am:
22706 * check/pipelines/stress.c: (GST_START_TEST),
22707 (simple_launch_lines_suite), (main):
22708 Small state change torture test.
22710 * docs/design/part-states.txt:
22711 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22712 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22713 (gst_base_sink_change_state):
22714 Never take state lock from streaming thread, clean up ugly
22715 hacks. Unfortunatly core does not yet support nice ways to
22716 async commit state.
22718 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22720 Start state recalc if a STATE_DIRTY message is posted, but only
22721 on the toplevel bin.
22723 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22724 (gst_element_get_state_func), (gst_element_abort_state),
22725 (gst_element_commit_state), (gst_element_lost_state),
22726 (gst_element_set_state_func), (gst_element_change_state):
22727 * gst/gstelement.h:
22728 State variables are now protected with the LOCK, the state
22729 lock is only used to serialize _set_state().
22731 2005-10-18 Wim Taymans <wim@fluendo.com>
22733 * check/gst/gstbin.c: (GST_START_TEST):
22734 * check/gst/gstmessage.c: (GST_START_TEST):
22735 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22736 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22738 * gst/gstelement.c: (gst_element_abort_state),
22739 (gst_element_commit_state), (gst_element_lost_state):
22740 * gst/gstmessage.c: (gst_message_new_state_changed),
22741 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22742 (gst_message_new_segment_done), (gst_message_new_duration),
22743 (gst_message_parse_state_changed),
22744 (gst_message_parse_segment_start),
22745 (gst_message_parse_segment_done), (gst_message_parse_duration):
22746 * gst/gstmessage.h:
22747 * tools/gst-launch.c: (event_loop):
22748 Seriously, this is better than a previous commit as we only need
22749 to notify the fact that an element changed state in a streaming
22750 thread, marking the state of the parents dirty, hence the
22751 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22754 2005-10-18 Wim Taymans <wim@fluendo.com>
22756 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22757 (gst_bin_recalc_func):
22758 * gst/gstelement.c: (gst_element_set_clock),
22759 (gst_element_abort_state), (gst_element_lost_state):
22760 Cleanups, prepare for state change fixes.
22762 2005-10-18 Wim Taymans <wim@fluendo.com>
22765 * gst/gstelement.c: (gst_element_class_init),
22766 (gst_element_set_state), (gst_element_set_state_func):
22767 * gst/gstelement.h:
22768 Pending ABI changes.
22769 GThreadPool in GstBinClass to monitor async state changes.
22770 state_cookie in GstElement to detect concurrent gst/set state.
22771 set_state is now virtual too in case a very complicated element
22772 has to be constructed.
22774 2005-10-18 Wim Taymans <wim@fluendo.com>
22776 * check/gst/gstbin.c: (GST_START_TEST):
22777 * check/gst/gstmessage.c: (GST_START_TEST):
22778 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22779 * gst/gstbin.c: (bin_bus_handler):
22780 * gst/gstelement.c: (gst_element_commit_state),
22781 (gst_element_lost_state):
22782 * gst/gstmessage.c: (gst_message_new_state_changed),
22783 (gst_message_new_segment_start), (gst_message_new_segment_done),
22784 (gst_message_new_duration), (gst_message_parse_state_changed),
22785 (gst_message_parse_segment_start),
22786 (gst_message_parse_segment_done), (gst_message_parse_duration):
22787 * gst/gstmessage.h:
22788 * tools/gst-launch.c: (event_loop):
22789 Make messages future proof.
22790 state-change gets a flag if it was a message comming from the
22792 segment-start/stop can also be specified in other formats.
22793 A message to notify an app that a pipeline changed playback
22795 Also fix a GstMessage leak in -launch
22797 2005-10-18 Andy Wingo <wingo@pobox.com>
22799 * gst/gstelement.c (gst_element_dispose): More helpful message.
22801 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22803 reviewed by: <delete if not using a buddy>
22805 * common/gtk-doc.mak:
22807 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22809 * gst/gstregistry.c: (gst_registry_scan_path_level):
22810 unref a plug-in we get that was already initialized
22812 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22814 * docs/gst/gstreamer-sections.txt:
22815 * docs/libs/gstreamer-libs-sections.txt:
22816 * gst/gstelement.h:
22817 add new api entries
22818 hide internal macro
22820 2005-10-17 Andy Wingo <wingo@pobox.com>
22822 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22825 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22827 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22829 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22830 (gst_element_get_state_func): Better debug message.
22831 (gst_element_commit_state): s/INFO/DEBUG/.
22832 (gst_element_lost_state, gst_element_change_state):
22834 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22835 (gst_message_new_custom): s/INFO/LOG/.
22837 2005-10-17 Michael Smith <msmith@fluendo.com>
22839 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22840 Check if end time is valid using end time, not start time.
22842 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22844 * check/gst-libs/controller.c: (GST_START_TEST),
22845 (gst_controller_suite):
22846 * libs/gst/controller/gstcontroller.c:
22847 (gst_controlled_property_set_interpolation_mode):
22848 * libs/gst/controller/gstcontroller.h:
22849 * libs/gst/controller/gstinterpolation.c:
22850 * testsuite/controller/.cvsignore:
22851 * testsuite/controller/Makefile.am:
22852 * testsuite/controller/interpolator.c:
22853 merge controller testsuites
22855 remove mem-chunk from docs
22857 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22859 * gst/gstmemchunk.c:
22860 * gst/gstmemchunk.h:
22861 * gst/gsttrashstack.c:
22862 * gst/gsttrashstack.h:
22863 out. get out. you're fired. to the Attic !
22865 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22867 * gst/gstcaps.c: (gst_caps_intersect):
22868 fix signedness issues in a (hopefully) correct way
22869 * gst/gstelement.c: (gst_element_pads_activate):
22871 * gst/gstobject.c: (gst_object_set_parent):
22874 2005-10-17 Julien MOUTTE <julien@moutte.net>
22876 * gst/gstvalue.h: Fix prototypes.
22878 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22880 * docs/gst/gstreamer-sections.txt:
22881 * gst/gst.c: (gst_version_string):
22883 * gst/gstversion.h.in:
22884 * win32/common/libgstreamer.def:
22885 add gst_version_string ()
22887 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22891 * gst/gst.c: (init_post):
22892 * win32/common/config.h.in:
22894 * gst/gstcaps.c: (gst_caps_intersect):
22895 use gint64, the range could be bigger than a guint
22897 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22900 document potential problem in 2038
22902 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22904 * gst/gstcaps.c: (gst_caps_intersect):
22905 Fix guint j diving under 0
22907 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22910 * win32/common/config.h:
22911 * win32/common/config.h.in:
22912 check for process.h, declares getpid() on Windows
22914 include process.h if we have it
22915 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22916 * gst/gstmemchunk.h:
22917 fix signedness issues
22918 * win32/common/libgstreamer.def:
22921 2005-10-16 Julien MOUTTE <julien@moutte.net>
22923 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22924 fix. Because of unsigned ints, caps intersection was going nuts and
22925 trying to access structures with G_MAXUINT index. That fixes
22926 videotestsrc ! ffmpegcolorspace ! fakesink
22927 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22930 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22933 use the gettext macro
22934 * gst/elements/gstelements.c:
22936 * gst/indexers/gstindexers.c:
22937 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22938 * win32/common/config.h:
22940 * win32/common/config.h.in:
22941 add the template to generate config.h
22942 * win32/common/gstenumtypes.c:
22943 * win32/common/gstversion.h:
22946 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22948 * gst/gst.c: (gst_version):
22949 * gst/gstversion.h.in:
22952 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22955 Oops, add missing closing bracket.
22957 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22960 use common m4's for argument checking
22962 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22964 * docs/gst/gstreamer-sections.txt:
22966 Add GST_EVENT_TYPE_NAME() macro.
22968 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22971 * gst/gstpluginfeature.c:
22973 privatize more symbols
22975 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22978 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22979 everything that uses GStreamer API should have the includes
22981 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22983 * docs/gst/gstreamer-sections.txt:
22984 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22986 give each value a _get_type, removes the DATA exports
22988 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22992 remove _gst_registry_auto_load, not used anymore
22993 * gst/gstbin.c: (gst_bin_get_type):
22995 * gst/gstelement.c: (gst_element_get_type):
22996 * gst/gstelement.h:
22997 * gst/gstobject.c: (gst_object_get_type):
22999 * gst/gstpad.c: (gst_pad_get_type):
23001 make _get_type functions similar, fixes data export from library
23003 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23006 correctly make conditionals
23007 * gst/elements/Makefile.am:
23008 * gst/elements/gstelements.c:
23009 fix typo causing fdsrc not to build
23011 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23013 * testsuite/Makefile.am:
23014 * testsuite/bytestream/.cvsignore:
23015 * testsuite/bytestream/Makefile.am:
23016 * testsuite/bytestream/filepadsink.c:
23017 * testsuite/bytestream/gstbstest.c:
23018 * testsuite/bytestream/test1.c:
23019 * testsuite/bytestream/testfile1:
23020 * testsuite/caps/normalisation.c:
23021 * testsuite/caps/random.c: (main):
23022 * testsuite/cleanup/.cvsignore:
23023 * testsuite/cleanup/Makefile.am:
23024 * testsuite/cleanup/cleanup1.c:
23025 * testsuite/cleanup/cleanup2.c:
23026 * testsuite/cleanup/cleanup3.c:
23027 * testsuite/cleanup/cleanup4.c:
23028 * testsuite/cleanup/cleanup5.c:
23029 * testsuite/controller/interpolator.c:
23030 * testsuite/debug/printf_extension.c: (main):
23031 * testsuite/elements/tee.c:
23032 * testsuite/negotiation/.cvsignore:
23033 * testsuite/negotiation/Makefile.am:
23034 * testsuite/negotiation/pad_link.c:
23035 * testsuite/pad/Makefile.am:
23036 * testsuite/pad/chainnopull.c:
23037 * testsuite/pad/getnopush.c:
23038 * testsuite/pad/link.c:
23039 * testsuite/refcounting/sched.c: (create_pipeline):
23040 * testsuite/registry/Makefile.am:
23041 * testsuite/registry/gst-print-formats.c:
23042 * testsuite/schedulers/.cvsignore:
23043 * testsuite/schedulers/142183-2.c:
23044 * testsuite/schedulers/142183.c:
23045 * testsuite/schedulers/143777-2.c:
23046 * testsuite/schedulers/143777.c:
23047 * testsuite/schedulers/147713.c:
23048 * testsuite/schedulers/147819.c:
23049 * testsuite/schedulers/147894-2.c:
23050 * testsuite/schedulers/147894.c:
23051 * testsuite/schedulers/Makefile.am:
23052 * testsuite/schedulers/group_link.c:
23053 * testsuite/schedulers/queue_link.c:
23054 * testsuite/schedulers/relink.c:
23055 * testsuite/schedulers/unlink.c:
23056 * testsuite/schedulers/unref.c:
23057 * testsuite/schedulers/useless_iteration.c:
23058 * testsuite/states/bin.c:
23059 clean out/remove some stuff from the testsuite directories
23061 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23064 check for some headers
23065 * gst/elements/Makefile.am:
23066 * gst/elements/gstelements.c:
23067 don't compile fdsrc without sys/socket.h
23068 * gst/indexers/Makefile.am:
23069 * gst/indexers/gstindexers.c: (plugin_init):
23070 don't compile fileindex without mmap
23072 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
23079 * check/Makefile.am:
23080 * docs/gst/Makefile.am:
23081 * examples/helloworld/Makefile.am:
23083 * gst/base/Makefile.am:
23084 * gst/check/Makefile.am:
23085 * gst/elements/Makefile.am:
23086 * gst/indexers/Makefile.am:
23087 * gst/parse/Makefile.am:
23088 * libs/gst/controller/Makefile.am:
23089 * libs/gst/dataprotocol/Makefile.am:
23090 * examples/helloworld/helloworld.c: (event_loop):
23091 compile fixes, though it's not being compiled currently
23093 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23095 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23096 Add some simple tests for the new taglist date API.
23098 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23100 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23101 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23102 Beautify 'last-message' output: print 'none' for buffer timestamps
23103 and durations if none is set; improve alignment with next messages.
23105 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
23107 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23108 * gst/gstpluginfeature.h:
23109 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23110 * gst/gstregistry.h:
23111 * docs/gst/gstreamer-sections.txt:
23112 Add new API to check plugin feature version requirements.
23114 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23115 Some basic tests for the above.
23117 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23119 * gst/gststructure.c: (gst_structure_to_string):
23120 guard against NULL printf - happens when for example
23121 a message structure with GstClock gets serialized
23123 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23125 * gst/base/gstcollectpads.c: (gst_collectpads_event):
23126 Fix presumable copy'n'pasto.
23128 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23130 * gst/elements/gstfakesrc.h:
23131 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23132 * gst/elements/gsttypefindelement.c:
23133 fix some signedness
23134 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23135 I wonder if this could actually write +2GB files before
23137 2005-10-13 Andy Wingo <wingo@pobox.com>
23139 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23140 Fix Timmeke Waymans bug.
23141 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23142 string of the proper length to gst_caps_from_string. There's a
23143 potential for, before this fix, that this could cause someone
23144 connecting over the network to cause a segfault if the payload is
23145 not NUL-terminated.
23147 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23149 * docs/design/draft-push-pull.txt:
23150 * docs/design/part-overview.txt:
23151 * docs/random/TODO-pre-0.9:
23152 * docs/random/old/ChangeLog.gstreamer:
23153 * gst/base/gstpushsrc.c:
23157 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23159 * gst/glib-compat.c: (gst_flags_get_first_value):
23160 * gst/glib-compat.h:
23161 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23162 (gst_value_compare_double), (gst_value_serialize_flags):
23163 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23166 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23168 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23169 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23171 * tools/gst-launch.c: (event_loop):
23172 print out clock nicely
23174 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23176 * docs/gst/gstreamer-sections.txt:
23177 * gst/gsttaglist.h:
23178 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23179 (gst_tag_list_get_date_index):
23180 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23181 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23183 2005-10-13 Julien MOUTTE <julien@moutte.net>
23185 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23186 (gst_collectpads_chain):
23187 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23190 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23192 * docs/gst/gstreamer-sections.txt:
23195 * tools/gst-inspect.c: (main):
23196 * tools/gst-launch.c: (main):
23197 * tools/gst-run.c: (main):
23198 * tools/gst-xmlinspect.c: (main):
23199 fix GOption context leaks
23202 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23206 * win32/common/config.h:
23208 * win32/vs6/grammar.dsp:
23209 * win32/vs6/libgstelements.dsp:
23210 * win32/vs6/libgstreamer.dsp:
23213 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23215 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23216 * gst/base/gstbasesrc.c: (gst_base_src_query):
23217 fix more guint64<->gdouble conversions
23219 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23222 add win32-update target
23223 * win32/common/gstconfig.h:
23224 * win32/common/gstenumtypes.c:
23225 * win32/common/gstenumtypes.h:
23226 * win32/common/gstversion.h:
23227 add files that visual studio can't generate
23229 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23232 add a win32-update target
23235 2005-10-12 Wim Taymans <wim@fluendo.com>
23237 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23238 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23239 * gst/gstelement.c: (gst_element_commit_state),
23240 (gst_element_set_state):
23241 Protect flags with proper lock.
23242 unref provided cached clock in dispose.
23244 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23247 * gst/gstminiobject.h:
23249 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23250 removed unused flags from miniobject
23253 2005-10-12 Wim Taymans <wim@fluendo.com>
23255 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23256 (gst_file_sink_event), (gst_file_sink_render):
23257 Flush before seeking.
23259 2005-10-12 Andy Wingo <wingo@pobox.com>
23261 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23262 always been the case.
23264 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23266 * check/gst/gstbin.c: (GST_START_TEST):
23267 * docs/gst/gstreamer-sections.txt:
23268 * gst/base/gstbasesink.c: (gst_base_sink_init):
23269 * gst/base/gstbasesrc.c: (gst_base_src_init),
23270 (gst_base_src_get_range), (gst_base_src_check_get_range),
23271 (gst_base_src_start), (gst_base_src_stop):
23272 * gst/base/gstbasesrc.h:
23273 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23274 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23275 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23279 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23281 * gst/gstelement.c: (gst_element_is_locked_state),
23282 (gst_element_set_locked_state), (gst_element_commit_state),
23283 (gst_element_set_state):
23284 * gst/gstelement.h:
23285 * gst/gstindex.c: (gst_index_init):
23287 * gst/gstminiobject.h:
23288 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23289 (gst_object_set_parent):
23291 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23292 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23294 * gst/gstpadtemplate.h:
23295 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23296 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23297 * gst/gstpipeline.h:
23298 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23299 (gst_file_index_commit):
23300 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23301 * testsuite/pad/link.c: (gst_test_src_init),
23302 (gst_test_filter_init), (gst_test_sink_init):
23303 * testsuite/states/locked.c: (main):
23304 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23305 moved bitshift from macro to enum definition
23307 2005-10-12 Wim Taymans <wim@fluendo.com>
23309 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23310 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23311 (gst_file_sink_render):
23312 Some more debugging info.
23314 2005-10-12 Wim Taymans <wim@fluendo.com>
23316 * docs/design/part-states.txt:
23317 * tools/gst-launch.c: (main):
23319 Revert non-intentional change.
23321 2005-10-12 Wim Taymans <wim@fluendo.com>
23323 * check/gst/gstbin.c: (GST_START_TEST):
23324 * check/gst/gstelement.c: (GST_START_TEST):
23325 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23326 * check/gst/gstghostpad.c: (GST_START_TEST):
23327 * check/gst/gstpipeline.c: (GST_START_TEST):
23328 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23329 * check/states/sinks.c: (GST_START_TEST):
23330 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23331 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23332 (gst_bin_remove_func), (gst_bin_get_state_func),
23333 (gst_bin_recalc_state), (gst_bin_change_state_func),
23335 * gst/gstelement.c: (gst_element_get_state_func),
23336 (gst_element_get_state), (gst_element_abort_state),
23337 (gst_element_commit_state), (gst_element_set_state),
23338 (gst_element_change_state), (gst_element_change_state_func):
23339 * gst/gstelement.h:
23340 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23341 (gst_pipeline_provide_clock_func):
23342 * gst/gstutils.c: (gst_element_link_pads_filtered):
23343 * tools/gst-launch.c: (main):
23344 * tools/gst-typefind.c: (main):
23345 Use GstClockTime in _get_state() instead of GTimeVal.
23346 Remove old code in gstutils.c
23348 2005-10-12 Andy Wingo <wingo@pobox.com>
23350 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23353 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23354 there is no task. Shouldn't affect any code, as nothing in our
23355 plugins checks this return value.
23356 (gst_pad_stop_task): Also take the stream lock if the pad has no
23357 task. Docs updated.
23359 2005-10-12 Wim Taymans <wim@fluendo.com>
23361 * gst/gstpad.c: (pre_activate), (post_activate),
23362 (gst_pad_activate_pull), (gst_pad_activate_push):
23363 Cleanup activation code. Reset old state if
23366 2005-10-12 Wim Taymans <wim@fluendo.com>
23368 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23369 (gst_base_sink_change_state):
23370 No need to prerol after receiving EOS.
23372 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23373 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23374 * gst/elements/gstidentity.c: (gst_identity_event):
23375 Print events more verbosely.
23377 2005-10-12 Wim Taymans <wim@fluendo.com>
23379 * check/Makefile.am:
23380 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23381 * check/states/sinks2.c:
23382 Moved sinks2 testcode in sinks check.
23384 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23385 (gst_bin_remove_func), (gst_bin_recalc_state),
23386 (gst_bin_change_state_func), (bin_bus_handler):
23387 Fix potential race condition when _get_state() iterated over an
23388 ASYNC element right before it posted a state completion.
23391 Do proper cast here.
23393 * gst/gstevent.c: (gst_event_new_newsegment),
23394 (gst_event_parse_newsegment):
23395 A playback rate of 0.0 is not allowed.
23397 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23399 * win32/common/config.h:
23400 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23401 (_trewinddir), (_ttelldir), (_tseekdir):
23402 * win32/common/dirent.h:
23403 * win32/common/gtchar.h:
23404 * win32/common/libgstbase.def:
23405 * win32/common/libgstreamer.def:
23406 * win32/vs6/grammar.dsp:
23407 * win32/vs6/gst_inspect.dsp:
23408 * win32/vs6/gst_launch.dsp:
23409 * win32/vs6/gstreamer.dsw:
23410 * win32/vs6/libgstbase.dsp:
23411 * win32/vs6/libgstelements.dsp:
23412 * win32/vs6/libgstreamer.dsp:
23413 Visual Studio 6 project files, and a new common directory.
23416 2005-10-11 Wim Taymans <wim@fluendo.com>
23418 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23419 (gst_base_sink_do_sync), (gst_base_sink_query),
23420 (gst_base_sink_change_state):
23421 * gst/base/gstbasesink.h:
23422 Correctly parse newsegment info.
23424 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23426 * gst/gst.c: (init_post):
23427 split plugin paths correctly
23429 2005-10-11 Wim Taymans <wim@fluendo.com>
23431 * check/gst/gstevent.c: (GST_START_TEST):
23432 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23433 (gst_base_sink_change_state):
23434 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23435 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23436 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23437 * gst/gstevent.c: (gst_event_new_newsegment),
23438 (gst_event_parse_newsegment):
23440 Added extra flag to newsegment for future API freeze.
23441 Updated check and base elements.
23443 2005-10-11 Julien MOUTTE <julien@moutte.net>
23445 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23446 (gst_collectpads_add_pad), (gst_collectpads_pop),
23447 (gst_collectpads_event), (gst_collectpads_chain):
23448 * gst/base/gstcollectpads.h: Handle EOS correctly.
23450 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23452 * tools/gst-launch.c: (main):
23453 more null protecting
23455 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23457 * gst/gst-i18n-lib.h:
23458 check for ENABLE_NLS, not GETTEXT_PACKAGE
23459 * gst/gstregistry.c: (gst_registry_add_plugin),
23460 (gst_registry_scan_path_level),
23461 (_gst_registry_remove_cache_plugins):
23462 protect possibly NULL strings
23463 * gst/parse/types.h:
23464 config.h already included before
23465 * tools/gst-inspect.c: (main):
23466 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23467 check for ENABLE_NLS, not GETTEXT_PACKAGE
23468 * tools/gst-launch.c: (main):
23469 check for ENABLE_NLS, not GETTEXT_PACKAGE
23471 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23474 if we don't have glib, fail before testing 2.8
23475 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23476 fix a leak, should fix plugins-base testsuite
23478 2005-10-11 Andy Wingo <wingo@pobox.com>
23480 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23481 take the mode we're going to as an arg. Go head and set the mode
23482 and flushing flags now, so that if the activate function starts a
23483 thread all the flags will be in the right state.
23484 (post_activate): Renamed also. Just handle making sure streaming
23485 finishes for the deactivation case, and setting the deactivated
23487 (gst_pad_set_active): Complain loudly if deactivation fails.
23488 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23489 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23490 remove the terrible hack.
23492 2005-10-11 Wim Taymans <wim@fluendo.com>
23494 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23495 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23496 (gst_bin_recalc_state), (gst_bin_change_state_func),
23497 (gst_bin_dispose), (bin_bus_handler):
23499 Prepare to make current EOS message queue more generic.
23502 * gst/gstevent.c: (gst_event_new_newsegment),
23503 (gst_event_parse_newsegment):
23505 Rename base to stream_time.
23507 * gst/gstmessage.h:
23510 2005-10-11 Wim Taymans <wim@fluendo.com>
23512 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23513 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23514 (gst_bin_change_state_func), (bin_bus_handler):
23516 Work on proper clock selection.
23518 2005-10-11 Edward Hervey <edward@fluendo.com>
23520 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23521 * libs/gst/controller/gstcontroller.h:
23522 Added GList* version of _remove_properties() in order to be able to wrap
23525 2005-10-11 Wim Taymans <wim@fluendo.com>
23527 * docs/design/part-states.txt:
23530 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23531 (gst_bin_change_state_func), (bin_bus_handler):
23532 Doc updates. Don't distribute the same clock over and over again.
23538 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23539 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23540 (gst_pad_send_event):
23542 Make probe emission threadsafe again.
23543 Register quarks and move _get_name() from utils.
23546 * gst/gstpipeline.c: (gst_pipeline_class_init),
23547 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23548 Only redistribute the clock of it changed.
23550 * gst/gstsystemclock.h:
23555 Moved the _flow_get_name() to GstPad.
23557 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23559 * check/gst-libs/gdp.c: (GST_START_TEST):
23560 * check/gst/gstcaps.c: (GST_START_TEST):
23561 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23562 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23563 (gst_dp_packet_from_caps):
23564 fix more valgrind warnings before turning up the heat
23566 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23568 * gst/parse/grammar.y:
23569 some cleanup before the hacking
23571 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23573 * gst/base/gstbasesrc.c: (gst_base_src_query):
23575 * gst/gstutils.c: (gst_guint64_to_gdouble),
23576 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23578 externalize, basesrc uses it
23579 obviously the implementation needs testing
23581 2005-10-10 Wim Taymans <wim@fluendo.com>
23583 * tests/sched/Makefile.am:
23584 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23585 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23587 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23589 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23590 apparently converting from guint64 to double is not implemented
23593 2005-10-10 Wim Taymans <wim@fluendo.com>
23595 * check/Makefile.am:
23596 * check/generic/states.c: (GST_START_TEST):
23597 * check/gst/gstbin.c: (GST_START_TEST):
23598 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23599 * check/states/sinks.c: (GST_START_TEST):
23600 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23602 Check fixes, use API as stated in design docs, remove hacks.
23604 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23605 (gst_base_sink_change_state):
23606 Catch stopping our task while we're shutting down.
23608 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23609 (gst_bin_remove_func), (gst_bin_get_state_func),
23610 (gst_bin_recalc_state), (gst_bin_change_state_func),
23613 * gst/gstelement.c: (gst_element_init),
23614 (gst_element_get_state_func), (gst_element_abort_state),
23615 (gst_element_commit_state), (gst_element_lost_state),
23616 (gst_element_set_state), (gst_element_change_state),
23617 (gst_element_change_state_func):
23618 * gst/gstelement.h:
23619 New state change algorithm (see #318116)
23621 * gst/gstpipeline.c: (gst_pipeline_class_init),
23622 (gst_pipeline_init), (gst_pipeline_set_property),
23623 (gst_pipeline_get_property), (do_pipeline_seek),
23624 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23625 * gst/gstpipeline.h:
23626 Remove crude state change hacks.
23629 Remove crude hacks.
23631 * tools/gst-launch.c: (main):
23632 Fixes for state change. Needs some more work to fully use the
23635 2005-10-10 Andy Wingo <wingo@pobox.com>
23637 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23639 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23640 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23643 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23645 * gst/gstiterator.c: (gst_iterator_new):
23646 Fix my previous commit: GTypes passed to gst_iterator_new()
23647 can be fundamental types.
23649 2005-10-10 Wim Taymans <wim@fluendo.com>
23651 * gst/gstelement.c: (gst_element_iterate_pad_list),
23652 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23653 (gst_element_iterate_sink_pads):
23654 Use src/sink pads lists for the respective iterators instead
23657 2005-10-10 Andy Wingo <wingo@pobox.com>
23659 Merged in popt removal + GOption addition patch from Ronald, bug
23662 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23663 GstElement macros around, remove popt-related symbols, add goption
23666 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23668 * docs/gst/Makefile.am:
23669 * docs/libs/Makefile.am: No POPT_CFLAGS.
23671 * examples/manual/Makefile.am:
23672 * docs/manual/basics-init.xml: Doc updates with an example.
23674 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23675 (gst_init), (parse_one_option), (parse_goption_arg):
23676 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23677 bit of hand merging and debugging to get the GOption stuff working
23680 * tests/Makefile.am:
23681 * tools/Makefile.am:
23682 * tools/gst-inspect.c: (main):
23683 * tools/gst-launch.c: (main):
23684 * tools/gst-run.c: (main):
23685 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23687 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23689 * gst/gstiterator.c: (gst_iterator_new):
23690 Add assertions to make sure passed GType is likely to really
23691 be a GType (as the compiler won't catch it if the size and
23692 GType arguments get mixed up, see #318447).
23694 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23696 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23698 * gst/gstbin.c: (gst_bin_iterate_sorted):
23699 Pass GType and size arguments to gst_iterator_new() in the right
23700 order (maybe we should make _new() take the GType as first argument
23701 just like _new_list()?) (#318447).
23704 2005-10-10 Wim Taymans <wim@fluendo.com>
23706 * gst/gstelement.c: (gst_element_finalize):
23707 And free the GStaticRecMutex too
23709 2005-10-10 Andy Wingo <wingo@pobox.com>
23711 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23712 Allocate and free the mutex properly.
23714 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23716 (GstElement): The state_lock is now recursive. Rebuild your
23717 plugins, suckers. Old macros adapted.
23719 * docs/gst/gstreamer-sections.txt: Doc updates.
23722 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23723 (g_static_rec_cond_wait): Ported from state changes patch, while
23724 we wait on bug #317802 to be solved in a well-distributed GLib.
23726 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23727 gst_element_change_state, variable name changes.
23728 (gst_element_change_state): Split out of gst_element_set_state in
23729 preparation for the state change merge. Doesn't pay attention to
23730 the 'transition' argument.
23731 (gst_element_set_state): Updates, hopefully purely cosmetic.
23732 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23733 state change patch.
23734 (gst_element_get_state_func): Renamed from get_state, cosmetic
23737 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23739 * gst/elements/gstelements.c:
23740 * win32/GStreamer.vcproj:
23742 * win32/dirent.c: (_tseekdir):
23743 * win32/gst-inspect.vcproj:
23744 * win32/gst-launch.vcproj:
23745 * win32/gstconfig.h:
23746 * win32/gstelements.vcproj:
23747 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23748 * win32/gstreamer.def:
23749 * win32/msvc71.sln:
23750 updates for the win32 build (patch from Sebastien Moutte)
23752 2005-10-10 Andy Wingo <wingo@pobox.com>
23754 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23755 gst_bin_get_state, cleaned up (but no logic changes).
23756 (bin_element_is_sink): Comment updates.
23757 (sink_iterator_filter): Remove needless cast.
23758 (gst_bin_iterate_sinks): Doc update.
23759 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23760 cleaned up (but no logic changes).
23762 * check/states/sinks.c (test_src_sink): Cleanups from the state
23764 (test_livesrc_sink): Sync on the state.
23766 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23767 the state change patch.
23769 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23772 * check/gst/gstbin.c: Merge in some style fixes and additional
23773 checks from Wim's state change patch.
23775 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23777 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23778 (gst_type_find_helper):
23779 Check whether we have the requested data already in our list of
23780 cached buffers before pulling a new buffer; also make the buffer
23781 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23783 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23788 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23789 don't use long long, it's not portable. Replacing with
23790 gint64 seems to work; let's hope no skeletons fall out of the closet.
23792 2005-10-10 Andy Wingo <wingo@pobox.com>
23794 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23796 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23798 * docs/gst/gstreamer-sections.txt:
23803 * gst/gstmessage.c: (gst_message_parse_state_changed):
23806 more docs, fix compilation
23808 2005-10-09 Philippe Khalaf <burger@speedy.org>
23809 * gst/gstmessage.c:
23810 Fixed a few forgotten variables on previous commit
23812 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23814 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23815 Fix evil typefind crasher: getrange() might return a short
23816 buffer at the end of a file, but gst_type_find_peek() must
23817 either return the full data as requested or NULL, but
23818 never a short buffer.
23820 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23822 * gst/gstmessage.c: (gst_message_new_state_changed),
23823 (gst_message_parse_state_changed):
23824 * gst/gstmessage.h:
23825 don't use "new", it's a C++ keyword
23827 2005-10-08 Wim Taymans <wim@fluendo.com>
23829 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23830 * gst/gstelement.c: (gst_element_post_message):
23831 * gst/gstpipeline.c: (gst_pipeline_change_state):
23832 Small docs and debug updates.
23834 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23836 * docs/gst/gstreamer-sections.txt:
23837 * gst/gstelementfactory.c:
23839 * gst/gsttaglist.c:
23842 2005-10-08 Wim Taymans <wim@fluendo.com>
23844 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23845 (gst_bin_dispose), (bin_bus_handler):
23846 Fix typos, add comments.
23847 Clear EOS list when going to PAUSED from any direction and do it
23848 in a threadsafe way.
23849 Get base time in a threadsafe way too.
23850 Fix confusing debug in the change_state function.
23851 Various other small cleanups.
23853 * gst/gstelement.c: (gst_element_post_message):
23854 Fix very verbose bus posting code.
23856 * gst/gstpipeline.c: (gst_pipeline_class_init),
23857 (gst_pipeline_set_property), (gst_pipeline_get_property),
23858 (gst_pipeline_change_state):
23859 Small ARG_ -> PROP_ cleanup
23861 2005-10-08 Wim Taymans <wim@fluendo.com>
23863 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23864 Do a less CPU demanding EOS check because we can.
23866 2005-10-08 Wim Taymans <wim@fluendo.com>
23868 * libs/gst/dataprotocol/dataprotocol.c:
23869 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23870 (gst_dp_packet_from_event):
23871 * libs/gst/dataprotocol/dataprotocol.h:
23872 * libs/gst/dataprotocol/dp-private.h:
23873 It's about time we bump the version number.
23874 Since event types don't fit in the guint8 anymore describing
23875 the payload type, make payload type 16 bits wide.
23877 2005-10-08 Wim Taymans <wim@fluendo.com>
23879 * docs/design/part-TODO.txt:
23880 * docs/design/part-clocks.txt:
23881 * docs/design/part-events.txt:
23882 * docs/design/part-gstbin.txt:
23883 * docs/design/part-gstelement.txt:
23884 * docs/design/part-gstpipeline.txt:
23885 * docs/design/part-live-source.txt:
23886 * docs/design/part-messages.txt:
23887 * docs/design/part-overview.txt:
23888 * docs/design/part-states.txt:
23891 2005-10-08 Wim Taymans <wim@fluendo.com>
23895 Fix event quark registration.
23896 Add some space between events so we can insert them in the
23899 2005-10-08 Wim Taymans <wim@fluendo.com>
23901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23902 (gst_base_sink_handle_buffer):
23903 Better log message.
23906 * gst/gstelement.h:
23909 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23910 (gst_queue_set_property), (gst_queue_get_property):
23912 Remove old unused properties.
23914 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23915 * docs/gst/gstreamer-sections.txt:
23916 * gst/gstmessage.c:
23917 * gst/gstmessage.h:
23918 * gst/gstminiobject.c:
23919 * gst/gstminiobject.h:
23923 lots of new docs and doc fixes
23925 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23927 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23929 * gst/gstregistry.c: (gst_registry_lookup_locked),
23930 (gst_registry_scan_path_level):
23931 * gst/gstregistryxml.c: (load_plugin):
23932 Only ever load one plugin for a given plugin basename.
23933 This ensures correct overriding of GST_PLUGIN_PATH over
23934 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23935 system installed plugins.
23937 2005-10-08 Wim Taymans <wim@fluendo.com>
23939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23940 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23941 Prepare for doing QOS.
23943 2005-10-08 Wim Taymans <wim@fluendo.com>
23945 * check/gst/gstbin.c: (GST_START_TEST):
23946 * check/pipelines/cleanup.c: (GST_START_TEST):
23947 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23948 Allow new clock message too.
23950 2005-10-08 Wim Taymans <wim@fluendo.com>
23952 * gst/gstmessage.c: (gst_message_new_error),
23953 (gst_message_new_warning), (gst_message_new_tag),
23954 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23955 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23956 (gst_message_new_segment_start), (gst_message_new_segment_done),
23957 (gst_message_parse_state_changed),
23958 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23959 (gst_message_parse_new_clock):
23960 * gst/gstmessage.h:
23961 Also carry the clock in question.
23963 2005-10-08 Wim Taymans <wim@fluendo.com>
23965 * gst/gstmessage.c: (gst_message_new_custom),
23966 (gst_message_new_eos), (gst_message_new_error),
23967 (gst_message_new_warning), (gst_message_new_tag),
23968 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23969 (gst_message_new_new_clock), (gst_message_new_segment_start),
23970 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23971 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23972 * gst/gstmessage.h:
23974 Added clock related messages.
23976 * gst/gstpipeline.c: (gst_pipeline_change_state):
23977 Post message when the clock changed.
23979 * tools/gst-launch.c: (event_loop):
23982 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23984 * tools/gst-inspect.c: (print_element_properties_info):
23985 Can't pass NULL strings to g_print() on windows.
23987 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23989 * docs/Makefile.am:
23990 * docs/gst/Makefile.am:
23991 * docs/gst/gstreamer-docs.sgml:
23992 * docs/gst/running.xml:
23993 * docs/version.entities.in:
23994 add a chapter on running GStreamer.
23995 document GST_DEBUG and GST_PLUGIN* env vars
23997 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24002 remove PLUGINS_BUILDDIR stuff
24003 * gst/gst.c: (init_post):
24004 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24006 remove, it was condescending and not needed
24008 2005-10-08 Wim Taymans <wim@fluendo.com>
24010 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24011 (gst_base_sink_handle_object), (gst_base_sink_event),
24012 (gst_base_sink_wait), (gst_base_sink_handle_event),
24013 (gst_base_sink_change_state):
24014 * gst/base/gstbasesink.h:
24015 Repost EOS message while going to PLAYING if still EOS.
24016 Make sure that when receiving a FLUSH_START we don't attempt
24017 to sync on the clock anymore.
24019 2005-10-08 Wim Taymans <wim@fluendo.com>
24021 * tools/gst-launch.c: (event_loop):
24022 Better message printout.
24024 2005-10-08 Wim Taymans <wim@fluendo.com>
24026 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24027 (gst_bin_child_proxy_get_children_count):
24028 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24029 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24030 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24031 (gst_child_proxy_set_valist):
24032 * gst/parse/grammar.y:
24033 Make ChildProxy threadsafe and fix mem leaks.
24035 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24037 * gst/gst.c: (init_post):
24038 debug the GST_PLUGIN_ env vars
24040 2005-10-08 Wim Taymans <wim@fluendo.com>
24042 * check/gst/gstbin.c: (GST_START_TEST):
24043 * check/gst/gstmessage.c: (GST_START_TEST):
24044 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24045 * gst/gstelement.c: (gst_element_commit_state),
24046 (gst_element_lost_state):
24047 * gst/gstmessage.c: (gst_message_new_state_changed),
24048 (gst_message_parse_state_changed):
24049 * gst/gstmessage.h:
24050 * tools/gst-launch.c: (event_loop):
24051 Added extra field to STATE_CHANGE message with the pending
24052 state, which will be different from the new state soon.
24054 2005-10-08 Wim Taymans <wim@fluendo.com>
24056 * gst/gstbus.c: (gst_bus_pop):
24058 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24059 Small cleanups and doc updates.
24061 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
24063 * gst/gst.c: (init_pre):
24064 * gst/gstbin.c: (gst_bin_add_func):
24065 log distributing clocks and base time
24066 * gst/gstregistry.c: (gst_registry_add_plugin),
24067 (gst_registry_scan_path_level), (gst_registry_scan_path):
24068 clean up the debugging output a little
24069 * gst/gstutils.c: (gst_element_state_get_name):
24070 warn about a memleak (I've actually seen this be used, though
24071 it was probably a bug)
24073 2005-10-07 Wim Taymans <wim@fluendo.com>
24075 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24076 (gst_base_src_init), (gst_base_src_default_newsegment),
24077 (gst_base_src_newsegment), (gst_base_src_do_seek),
24078 (gst_base_src_loop), (gst_base_src_start):
24079 * gst/base/gstbasesrc.h:
24080 Make the newsegment event customizable by subclasses.
24082 2005-10-07 Wim Taymans <wim@fluendo.com>
24084 * gst/gstevent.c: (gst_event_new_buffersize),
24085 (gst_event_parse_buffersize):
24087 New event for future idea.
24089 2005-10-07 Andy Wingo <wingo@pobox.com>
24091 * gst/gstelement.c (gst_element_post_message): Doc update.
24093 * docs/gst/gstreamer-sections.txt: Update.
24095 * gst/gstmessage.c (gst_message_new_application): Made into a
24096 function like honest API calls.
24097 (gst_message_new_element): New message type.
24099 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24101 * check/elements/fakesrc.c (test_no_preroll): New check, checks
24102 that setting a live fakesrc to PAUSED returns NO_PREROLL both
24105 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24106 NO_PREROLL from gst_element_change_state to fall through.
24108 2005-10-07 Wim Taymans <wim@fluendo.com>
24110 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24111 (gst_ghost_pad_do_activate_push):
24112 Activating a ghostpad with no internal pad in push mode
24115 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
24118 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24119 Fixes compilation on Windows.
24121 2005-10-07 Michael Smith <msmith@fluendo.com>
24123 * tools/gst-inspect.c:
24124 Print out feature and plugin count at the end when printing out
24127 2005-10-04 Michael Smith <msmith@fluendo.com>
24129 * gst/gsterror.c: (_gst_stream_errors_init):
24130 Add another error string used in a few existing plugins.
24133 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24134 * tools/gst-inspect.c: (print_element_info):
24135 When a feature disappears from a plugin (and the feature exists in
24136 the cached registry file), things went horribly wrong. This isn't a
24137 complete fix, we should actually be removing the 'missing' features
24138 from the features list when we load the actual plugin. That's not
24141 2005-10-04 Johan Dahlin <johan@gnome.org>
24143 * check/gst/gstiterator.c: (GST_START_TEST):
24144 * gst/gstbin.c: (gst_bin_iterate_elements),
24145 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24146 * gst/gstelement.c: (gst_element_iterate_pads):
24147 * gst/gstformat.c: (gst_format_iterate_definitions):
24148 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24149 (gst_iterator_new_list), (gst_iterator_filter):
24150 * gst/gstiterator.h:
24151 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24152 Add a GType to GstIterator, update callsites and tests.
24154 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24156 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24157 give events a chance to be handled by event probes when the pad
24160 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24162 * gst/gstevent.c: (gst_event_type_get_name),
24163 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24165 add string representations for event types
24167 2005-10-06 Wim Taymans <wim@fluendo.com>
24169 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24170 Don't use NULL pointers.
24172 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24174 * gst/gst_private.h:
24176 * gst/gstelement.c:
24178 * gst/gstpluginfeature.c:
24179 widen the debug category in output to fit the biggest one we have
24180 add a bus category and use it
24181 play with the colors
24182 fix up some categories
24184 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24186 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24187 add push activation of sink ghost pads.
24188 Andye, please verify
24190 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24192 * gst/gstutils.c: (gst_element_link_pads):
24193 fix a bug in the case where neither element has a pad
24194 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24195 add a test for that case
24197 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24199 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24200 emit have-data before checking for peers. This allows
24201 for probe handlers to connect elements. This helps autopluggers.
24202 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24204 add six checks, linked/unlinked with no/true/false probe
24206 2005-10-04 Wim Taymans <wim@fluendo.com>
24208 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24209 (gst_fake_sink_event), (gst_fake_sink_preroll),
24210 (gst_fake_sink_render), (gst_fake_sink_change_state):
24211 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24212 (gst_fake_src_get_property), (gst_fake_src_create),
24213 (gst_fake_src_stop):
24214 * gst/elements/gstidentity.c: (gst_identity_stop):
24215 Protect last_message with lock.
24217 2005-10-04 Edward Hervey <edward@fluendo.com>
24220 Added precision in the comments for GST_FORMAT_DEFAULT
24222 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24224 * tools/gst-launch.c: (main):
24225 Don't try to run erroneous pipelines.
24227 2005-10-04 Julien MOUTTE <julien@moutte.net>
24229 * gst/gstbus.c: We don't need this header.
24231 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24234 back to development
24236 === release 0.9.3 ===
24238 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24242 Releasing 0.9.3, "Unregistered"
24244 2005-10-03 Andy Wingo <wingo@pobox.com>
24246 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24247 whereby calling a pad's activatepush() function can start a thread
24248 that starts to push or pull before the pad gets the FLUSHING flag
24249 unset. Hack around it by holding the stream lock until the flag is
24250 set. Need to replace this with a proper solution. Together with
24251 the ghost pad fixes, this fixes mp3 playing/tagreading.
24253 * docs/design/part-gstghostpad.txt: Add a note about activation of
24254 proxy pads outside of ghost pads.
24256 * gst/gstghostpad.c: Implement the ghost pad activation design.
24258 2005-10-02 Andy Wingo <wingo@pobox.com>
24260 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24261 It is volatile, after all.
24263 * docs/design/part-gstghostpad.txt: Flesh out activation with
24266 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24269 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24272 Fix (unused) AM_CONDITIONAL tests.
24274 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24276 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24278 * gst/gstutils.c: (gst_pad_query_convert):
24279 Add assertion that makes sure src_val is >=0, just like
24280 gst_query_new_convert() has. (#315895)
24282 2005-09-30 Edward Hervey <edward@fluendo.com>
24284 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24285 Let's not iterate pads we're not interested in, it avoids getting
24286 sky-high refcounts on sinkpad.
24288 2005-09-30 Wim Taymans <wim@fluendo.com>
24290 * gst/gstelement.c: (gst_element_set_state),
24291 (gst_element_change_state):
24292 Small tweak, element in ASYNC remains ASYNC.
24294 2005-09-30 Wim Taymans <wim@fluendo.com>
24296 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24297 Only error is an error.
24299 * gst/gstbin.c: (gst_bin_change_state):
24302 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24303 Also call pad_block in pad alloc.
24305 * gst/gstutils.c: (gst_flow_get_name):
24308 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24310 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24311 (gst_base_src_get_range):
24312 Fix documentation typos. Add some more debug info.
24314 2005-09-29 David Schleef <ds@schleef.org>
24316 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24317 more end-user friendly.
24318 * tools/gst-inspect.c: (main): Check if command-line argument is
24319 a file and attempt to load that file as a plugin.
24321 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24323 * check/gst/gstbin.c:
24324 * check/states/sinks.c:
24325 fix tests for the new warning
24326 * check/gst/gstpipeline.c:
24327 add a test for pipeline and bus interaction
24328 * gst/gstelement.c:
24329 elements should be NULL if they get disposed; add a warning if not
24331 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24334 for 2.6 refcounting, make debug log more correct by printing
24335 the actual refcounts at the time of swap (Wim)
24337 2005-09-29 Andy Wingo <wingo@pobox.com>
24339 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24340 removes signal watches previously added via
24341 gst_bus_add_signal_watch.
24342 (gst_bus_add_signal_watch): Don't return the source id, just store
24343 it on the bus if there wasn't an id already.
24345 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24346 add_signal_watch and remove_signal_watch.
24348 2005-09-29 Edward Hervey <edward@fluendo.com>
24350 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24351 Better if we actually iterate the list :)
24353 2005-09-29 Wim Taymans <wim@fluendo.com>
24355 * check/gst/gstbin.c: (GST_START_TEST):
24356 Change for new bus API.
24358 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24359 (send_messages), (GST_START_TEST), (gstbus_suite):
24360 Change for new bus signal API.
24362 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24363 (gst_bus_source_prepare), (gst_bus_source_check),
24364 (gst_bus_create_watch), (gst_bus_add_watch_full),
24365 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24366 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24368 Remove support for multiple GSources operating on different
24369 message types as it is too complex and unneeded when using
24371 Added support for receiving signals from the bus.
24373 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24375 * docs/libs/tmpl/gstdataprotocol.sgml:
24376 * docs/manual/advanced-dataaccess.xml:
24377 * gst/elements/gstcapsfilter.c:
24379 rename filter-caps to caps property
24381 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24383 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24384 More robust fraction string parsing.
24386 * docs/pwg/appendix-porting.xml:
24387 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24389 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24391 * gst/gstcaps.c: (gst_caps_do_simplify):
24392 Thou shalt not free a structure and then continue using it
24393 in the next loop iteration.
24395 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24397 Add test case for caps simplification.
24399 2005-09-29 Wim Taymans <wim@fluendo.com>
24401 * check/gst/gstbin.c: (GST_START_TEST):
24404 2005-09-29 Wim Taymans <wim@fluendo.com>
24406 * check/gst/gstbin.c: (GST_START_TEST):
24409 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24410 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24411 (find_element), (gst_bin_sort_iterator_next),
24412 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24413 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24414 (gst_bin_change_state), (gst_bin_dispose):
24415 A bin does not have a bus, it gets the bus from the parent.
24417 * gst/gstelement.c: (gst_element_requires_clock),
24418 (gst_element_provides_clock), (gst_element_is_indexable),
24419 (gst_element_is_locked_state), (gst_element_change_state),
24420 (gst_element_set_bus_func):
24423 * gst/gstpipeline.c: (gst_pipeline_class_init),
24424 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24425 The pipeline provides a bus.
24427 2005-09-28 Johan Dahlin <johan@gnome.org>
24429 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24430 gst_structure_get_enum instead of gst_structure_get_int
24432 * gst/gststructure.c (gst_structure_get_enum): Impl.
24434 * gst/gststructure.h (gst_structure_get_enum): Add
24436 * docs/gst/gstreamer-sections.txt: Ditto
24438 * gst/gstmessage.c (gst_message_new_state_changed): Use
24439 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24440 which does introspection.
24441 Reviewed by Christian Schaller
24443 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24445 * gst/gstinfo.c: (gst_debug_log_default):
24446 don't do dummy g_strdup()s
24447 * libs/gst/controller/gstcontroller.c:
24448 (on_object_controlled_property_changed),
24449 (gst_controlled_property_new), (gst_controller_new_valist),
24450 (gst_controller_new_list),
24451 (gst_controller_remove_properties_valist), (gst_controller_set),
24452 (gst_controller_get), (gst_controller_sync_values),
24453 (gst_controller_get_value_array), (_gst_controller_class_init),
24454 (gst_controller_get_type):
24455 * libs/gst/controller/gstcontroller.h:
24456 * libs/gst/controller/gstinterpolation.c:
24457 (gst_controlled_property_find_timed_value_node):
24458 convert // to /**/ comments
24460 2005-09-28 Wim Taymans <wim@fluendo.com>
24462 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24463 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24464 (gst_bus_sync_signal_handler):
24466 Added async-message and sync-message signals to the bus.
24467 Added helper BusFunc to emit signals for all posted messages.
24469 * gst/gstmessage.c: (gst_message_type_get_name),
24470 (gst_message_type_to_quark), (gst_message_get_type):
24471 * gst/gstmessage.h:
24472 Register quarks for message names.
24474 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24476 * docs/libs/gstreamer-libs-sections.txt:
24477 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24478 (gst_controller_new_list):
24479 * libs/gst/controller/gstcontroller.h:
24480 added another constructor for language bindings
24482 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24484 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24488 * gst/gstinfo.c: (_gst_debug_init):
24489 slightly more readable color for refcount debugging
24491 2005-09-28 Wim Taymans <wim@fluendo.com>
24493 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24494 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24495 (find_element), (gst_bin_sort_iterator_next),
24496 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24497 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24498 (gst_bin_change_state), (gst_bin_dispose):
24499 Small doc fixes. get_clock -> provide_clock.
24501 * gst/gstelement.c: (gst_element_class_init),
24502 (gst_element_provides_clock), (gst_element_provide_clock),
24503 (gst_element_get_clock), (gst_element_commit_state),
24504 (gst_element_lost_state):
24505 * gst/gstelement.h:
24506 Make get/set_clock() symetric. Add provide_clock vmethod since
24507 that is actually what this function does.
24509 * gst/gstpipeline.c: (gst_pipeline_class_init),
24510 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24511 (gst_pipeline_get_clock):
24512 get_clock -> provide_clock.
24514 2005-09-28 Andy Wingo <wingo@pobox.com>
24516 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24517 lieu of real docs...
24519 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24521 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24523 * gst/elements/gstcapsfilter.c:
24524 * gst/elements/gstfakesink.c:
24525 * gst/elements/gstfakesrc.c:
24526 * gst/elements/gstfdsink.c:
24527 * gst/elements/gstfdsrc.c:
24528 * gst/elements/gstfilesink.c:
24529 * gst/elements/gstfilesrc.c:
24530 * gst/elements/gstidentity.c:
24531 * gst/elements/gsttee.c:
24532 * gst/elements/gsttypefindelement.c:
24533 Make element details static.
24535 2005-09-28 Wim Taymans <wim@fluendo.com>
24537 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24538 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24539 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24540 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24541 (gst_bin_change_state), (gst_bin_dispose):
24542 Some documentation updates.
24543 Clean up dispose handlers.
24545 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24546 * gst/gstpad.c: (gst_pad_dispose):
24547 Clean up dispose handler.
24549 * gst/gstpipeline.c: (gst_pipeline_change_state):
24550 Removed spurious UNLOCK.
24552 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24554 * docs/gst/gstreamer-sections.txt:
24555 * gst/base/gstbasesrc.h:
24556 * gst/gstelement.h:
24560 * gst/gstpipeline.c:
24561 * gst/gstpipeline.h:
24564 added two new functions to the docs
24565 documents all undocumented GstXXXFlags
24566 completed some incomplete docs
24568 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24570 * gst/gstbin.c: (gst_bin_dispose):
24571 * gst/gstelement.c: (gst_element_dispose):
24572 remove now useless and leaky resurrection code in dispose
24573 * gst/base/gstbasesrc.c: (gst_base_src_init):
24574 * gst/gstelementfactory.c: (gst_element_factory_create):
24575 * gst/gstobject.c: (gst_object_set_parent):
24578 2005-09-27 Wim Taymans <wim@fluendo.com>
24580 * docs/design/part-TODO.txt:
24583 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24584 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24585 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24586 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24587 (gst_bin_change_state):
24588 * gst/gstelement.h:
24589 Remove element variable, we keep element info in the iterator now.
24591 2005-09-27 Andy Wingo <wingo@pobox.com>
24593 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24596 2005-09-27 Wim Taymans <wim@fluendo.com>
24598 * check/gst/gstbin.c: (GST_START_TEST):
24599 Enable check that works now.
24601 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24602 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24603 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24604 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24605 (gst_bin_change_state):
24607 Redid the state change algorithm using a topological sort algo.
24608 Handles all cases correctly.
24609 Exposed iterator for state change order.
24611 * gst/gstelement.h:
24612 Temp storage for state changes. Need to get rid of this soon.
24614 2005-09-27 Wim Taymans <wim@fluendo.com>
24616 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24617 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24618 (link_fold_func), (gst_pad_proxy_setcaps):
24619 Leak fixes, the fold functions need to unref the passed object and
24620 _get_parent_*() returns ref to parent.
24622 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24624 * check/gst/gstbuffer.c: (test_make_writable):
24625 Plug leak in test case and fix 'make check-valgrind'
24627 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24629 * gst/gstbuffer.c: (gst_subbuffer_init):
24630 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24631 works correctly in all circumstances (we could have just copied
24632 the parent buffer's readonly flag, but conceptually it seems
24633 cleaner to mark all subbuffers as read-only). (based on patch
24634 by Alessandro Decina, #314710).
24636 * check/gst/gstbuffer.c: (create_read_only_buffer),
24637 (test_make_writable), (test_subbuffer_make_writable),
24639 Add some tests for gst_buffer_make_writable().
24641 2005-09-27 Wim Taymans <wim@fluendo.com>
24643 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24644 use gst_object_has_ancestor().
24646 * gst/gstobject.c: (gst_object_has_ancestor):
24648 gst_object_has_ancestor() copied from gstbin.c as it is a
24651 * tests/instantiate/create.c: (create_all_elements):
24652 * tests/lat.c: (handoff_src), (handoff_sink):
24653 * tests/sched/runxml.c: (main):
24654 * tests/seeking/seeking1.c: (main):
24655 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24657 Fix compilation of some tests.
24659 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24662 Remove comment. GST_TYPE_G_ERROR is here to stay,
24663 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24664 (#316961, #300610).
24666 2005-09-26 Wim Taymans <wim@fluendo.com>
24668 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24669 Added check that shows error in state change order.
24671 2005-09-26 Wim Taymans <wim@fluendo.com>
24673 * gst/gstbin.c: (gst_bin_change_state):
24674 Make state change function use 3 queues again, we were
24675 adding elements in the wrong order.
24677 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24680 * gst/gstpad.c: (gst_pad_dispose):
24681 Added some debug info first.
24683 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24685 * docs/design/draft-push-pull.txt:
24686 * docs/design/part-events.txt:
24687 * docs/design/part-overview.txt:
24688 * docs/design/part-scheduling.txt:
24689 Replace all _pull_region() with _pull_range()
24691 2005-09-26 Andy Wingo <wingo@pobox.com>
24693 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24695 * check/gst-libs/controller.c: Update for controller api change.
24698 * tests/Makefile.am:
24699 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24700 over by GLib bug 118439.
24702 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24703 routines to a function.
24705 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24707 * libs/gst/controller/gsthelper.c:
24708 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24709 (gst_object_sync_values): Renamed from sink_values. Ugh.
24711 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24713 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24714 Renamed from controller_key, as it is exported.
24716 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24718 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24723 * gst/gstpadtemplate.h:
24726 * gst/gstqueryutils.c:
24727 * gst/gstqueryutils.h:
24728 remove queryutils headers after moving the two used functions
24729 to gstquery. also fixes build problem for gstsiddec
24731 2005-09-26 Michael Smith <msmith@fluendo.com>
24733 * tools/gst-launch.1.in:
24734 Correct documentation in manpage of debug syntax
24736 2005-09-26 Wim Taymans <wim@fluendo.com>
24738 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24739 (gst_base_src_is_seekable), (gst_base_src_change_state):
24740 Some more debugging info.
24742 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24744 * docs/gst/gstreamer-sections.txt:
24745 * gst/base/gstbasetransform.h:
24749 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24751 * docs/gst/.cvsignore:
24752 * docs/gst/tmpl/.cvsignore:
24753 * docs/gst/tmpl/gstpipeline.sgml:
24754 * docs/gst/tmpl/gstplugin.sgml:
24755 * gst/gstpipeline.c:
24758 inlined the last two docs files
24759 removed the tmpl directory from cvs (no more conflicts here!)
24761 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24763 * docs/gst/gstreamer-sections.txt:
24764 * docs/gst/tmpl/.cvsignore:
24765 * docs/gst/tmpl/gstpad.sgml:
24766 * docs/gst/tmpl/gstpadtemplate.sgml:
24768 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24769 (gst_pad_finalize), (gst_pad_set_pad_template):
24771 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24772 (gst_pad_template_class_init), (gst_pad_template_init),
24773 (gst_pad_template_dispose), (name_is_valid),
24774 (gst_static_pad_template_get), (gst_pad_template_new),
24775 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24776 (gst_pad_template_pad_created):
24777 * gst/gstpadtemplate.h:
24778 inlined two more docs
24779 factored gstpadtemplate out of gstpad
24781 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24783 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24784 (test_children_state_change_order_semi_sink):
24785 Fix test case: we can't rely on a fixed state change order when
24786 going from READY => PAUSED because the sink might commit its
24787 new state first when the first buffer created by the source
24788 reaches the sink before the source has finished its change state.
24789 (Test case still fails at times, see #316856, comment 5 onwards)
24791 2005-09-24 Wim Taymans <wim@fluendo.com>
24793 * docs/design/part-events.txt:
24794 * docs/design/part-gstbus.txt:
24795 * docs/design/part-gstpipeline.txt:
24796 * docs/design/part-messages.txt:
24797 * docs/design/part-overview.txt:
24798 * docs/design/part-segments.txt:
24802 * gst/gstelement.c:
24805 * gst/gstiterator.c:
24806 Various documentation updates.
24808 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24811 Well, that's embarassing. Luckily we weren't using
24812 GST_CLOCK_DIFF anywhere.
24814 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24816 * common/gtk-doc.mak:
24817 don't fail on building XML, FC4 slave shows a bunch of doc
24818 missing bits that I don't get
24820 * gst/gstpipeline.c:
24821 * gst/gststructure.c:
24824 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24826 * docs/design/part-gstbin.txt:
24827 * docs/design/part-gstbus.txt:
24829 Add blurb about how the bus goes into flushing mode and
24830 drops all messages when its bin goes from READY into NULL
24833 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24835 * docs/gst/gstreamer-sections.txt:
24836 * gst/gststructure.c: (gst_structure_get_clock_time):
24837 * gst/gststructure.h:
24838 add a method to get a GstClockTime out of a structure
24840 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24842 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24843 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24844 Added test to check state change order in bins (can still be made
24845 to fail here under heavy disk load; bails out with 'Push on pad
24846 fakesink:sink0, but it was not activated in push mode').
24848 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24849 Fix state change order when there is only a semi sink (#316856)
24851 * gst/gstbus.c: (gst_bus_class_init):
24852 Use _class_peek_parent(), not _class_ref(); fix docs to say
24853 'default main context' instead of 'mainloop' where that is
24856 * gst/gstelement.c: (gst_element_commit_state),
24857 (gst_element_set_state):
24858 Fix typos in debug messages
24860 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24863 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24864 * gst/gstpluginfeature.c:
24866 various doc updates
24867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24868 change an assert into an error until it gets fixed properly
24870 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24872 * docs/gst/gstreamer-sections.txt:
24873 * docs/gst/tmpl/.cvsignore:
24874 * docs/gst/tmpl/gstelement.sgml:
24875 * docs/gst/tmpl/gstinfo.sgml:
24876 * docs/gst/tmpl/gstobject.sgml:
24877 * gst/gstelement.c:
24878 * gst/gstelement.h:
24881 * gst/gstobject.c: (gst_object_class_init):
24883 inlined 3 more biiiig doc files and added some missing docs on the fly
24885 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24887 * check/gst/.cvsignore:
24888 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24889 * gst/gstregistryxml.c: (load_plugin),
24890 (gst_registry_xml_save_plugin):
24891 put back source in registry. add checks for find_plugin.
24892 * testsuite/states/bin.c: (assert_state), (empty_bin),
24893 (test_adding_one_element), (main):
24894 * testsuite/states/locked.c: (main):
24895 some compile/run fixes
24897 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24899 * check/gst/gstvalue.c: (GST_START_TEST):
24900 fix leaks in the test itself
24902 2005-09-22 Wim Taymans <wim@fluendo.com>
24904 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24905 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24906 (gst_base_sink_query):
24907 Prepare for more accurate position reporting and query
24910 * gst/gstelement.c: (gst_element_send_event),
24911 (gst_element_set_state):
24914 2005-09-22 Wim Taymans <wim@fluendo.com>
24916 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24917 (gst_query_parse_segment):
24919 More documentation.
24920 Add segment query for future use.
24922 2005-09-22 Wim Taymans <wim@fluendo.com>
24924 * gst/gstbin.c: (gst_bin_add_func):
24925 Some more debug info.
24927 * gst/gstelement.c: (gst_element_send_event):
24928 Simplify send_event
24930 * gst/gstelement.h:
24931 Don't know how flags got broken.
24936 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24938 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24939 Add simplistic test suite for GST_TYPE_DATE serialisation and
24942 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24944 * docs/gst/gstreamer-sections.txt:
24945 * gst/gststructure.c: (gst_structure_set_valist),
24946 (gst_structure_get_date):
24947 * gst/gststructure.h:
24948 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24949 (gst_date_copy), (gst_value_compare_date),
24950 (gst_value_serialize_date), (gst_value_deserialize_date),
24951 (gst_value_transform_date_string),
24952 (gst_value_transform_string_date), (_gst_value_initialize):
24954 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24955 bunch of utility functions along with a hack that checks that
24956 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24957 is required. Part of the grand scheme in #170777.
24959 2005-09-22 Andy Wingo <wingo@pobox.com>
24961 * gst/gstconfig.h.in: Psych out gtk-doc.
24963 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24965 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24967 * tools/gst-inspect.c (print_element_list): Plug some
24968 inconsequential leaks.
24970 * gst/gstregistry.c (gst_registry_get_default): Doc.
24972 * check/gst/gstplugin.c:
24973 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24974 * gst/gstelementfactory.c (gst_element_factory_create):
24975 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24978 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24979 (gst_plugin_feature_load): Doc, don't eat refs.
24981 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24982 (gst_plugin_list_free): Doc.
24983 (gst_plugin_load_file): Doc updates.
24985 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24986 accessors returning refcounted objects, return a ref.
24988 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24989 accessor for caps. IDEMPOTENCE. Oh yes.
24991 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24993 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24995 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24996 (_gst_debug_register_funcptr):
24997 Add mutex to serialise access to the hash table with
24998 the function pointer => function name string mapping;
24999 make that hash table static scope (#316809).
25001 * gst/registries/.cvsignore:
25002 Remove left-over file.
25004 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25006 * docs/pwg/appendix-porting.xml:
25007 And something about newsegment events and caps-on-buffers to
25008 the porting guide (feel free to improve).
25010 2005-09-21 Andy Wingo <wingo@pobox.com>
25012 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25013 data and event probes on the same pad.
25014 (test_buffer_probe_once): Test that removing probes from within
25015 the probe functions works.
25017 2005-09-21 Andy Wingo <wingo@pobox.com>
25019 * check/gst/gstutils.c: New file.
25020 (test_buffer_probe_n_times): A simple buffer probe test. More to
25023 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25024 have-data::buffer, not have-data.
25025 (gst_pad_add_event_probe): Likewise for have-data::event.
25026 (gst_pad_add_data_probe): More docs. The part about 'resolving the
25027 peer' isn't quite right yet though.
25028 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
25029 (gst_pad_remove_data_probe): Change to take the guint handler_id
25030 as their arg, not the function+data, which is more glib-like.
25032 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25033 the signal emission to indicate if the data is a buffer or an
25035 (gst_pad_get_type): Initialize buffer and event quarks.
25036 (gst_pad_class_init): have-data is now a detailed signal, yes it
25039 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
25041 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25042 * gst/gstutils.c: (gst_util_set_value_from_string),
25043 (gst_util_set_object_arg):
25044 Don't put functional code in g_return_if_fail() or
25045 g_return_val_if_fail() statements, otherwise things will
25046 break when G_DISABLE_CHECKS is defined during compilation.
25048 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25050 * docs/gst/tmpl/.cvsignore:
25051 * docs/gst/tmpl/gstvalue.sgml:
25054 inlied another one and added some obvious docs
25056 2005-09-21 Wim Taymans <wim@fluendo.com>
25058 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25059 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25060 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25061 (gst_fdsrc_get_property), (gst_fdsrc_create):
25062 * gst/elements/gstfdsrc.h:
25063 Properly implement fdsrc. Removed signal and timeout,
25064 better implemented somewhere else.
25066 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25068 * docs/gst/tmpl/.cvsignore:
25069 * docs/gst/tmpl/gstimplementsinterface.sgml:
25070 * gst/gstinterface.c:
25073 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25075 * docs/gst/gstreamer-sections.txt:
25076 * docs/gst/tmpl/.cvsignore:
25077 * docs/gst/tmpl/gstenumtypes.sgml:
25078 remove obsolete doc file
25080 2005-09-21 David Schleef <ds@schleef.org>
25082 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25083 little beer, fix a little leak.
25085 2005-09-21 Stefan Kost <ensonic@users.sf.net>
25087 * docs/gst/gstreamer-docs.sgml:
25088 * docs/gst/gstreamer-sections.txt:
25089 * docs/gst/tmpl/.cvsignore:
25093 * gst/gstelement.h:
25094 * gst/gstindex.c: (gst_index_class_init):
25096 * gst/gstindexfactory.c: (gst_index_factory_get_type),
25097 (gst_index_factory_class_init), (gst_index_factory_init),
25098 (gst_index_factory_finalize), (gst_index_factory_new),
25099 (gst_index_factory_destroy), (gst_index_factory_find),
25100 (gst_index_factory_create), (gst_index_factory_make):
25101 * gst/gstindexfactory.h:
25102 * gst/gstpluginfeature.c:
25103 * gst/gstpluginfeature.h:
25104 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25105 more docs inlined, splitted gstindex.{c,h}
25107 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25109 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25112 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25114 * gst/elements/gstfilesink.c: (gst_file_sink_init):
25115 Set sync to FALSE by default.
25117 2005-09-20 Wim Taymans <wim@fluendo.com>
25119 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25120 (gst_base_sink_init):
25121 Make sync property settable from subclass.
25123 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25124 (gst_fake_sink_change_state):
25125 Set sync to FALSE by default.
25127 2005-09-20 Wim Taymans <wim@fluendo.com>
25129 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25130 * tools/gst-launch.c: (main):
25131 The timeout handler should have lower priority than the source
25132 so we don't timeout before popping a message with 0 timeout.
25133 Dump error messages after failed state change.
25135 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25137 * tools/gst-inspect.c: (print_element_properties_info):
25140 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25142 * check/gst/gstevent.c:
25143 * gst/elements/gstfakesink.c:
25144 * gst/elements/gstfakesink.h:
25145 remove the sync property from fakesink.
25146 has the side effect of setting sync TRUE
25147 for fakesink, which is a change. Anyone who knows how
25148 to fix this nicely in a GObject-y way, feel free.
25150 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25152 * docs/gst/gstreamer-docs.sgml:
25153 remove probe refsection
25155 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25157 * check/Makefile.am:
25158 disable valgrinding the controller test again
25159 * docs/gst/gstreamer-sections.txt:
25160 update for api-changes
25162 2005-09-20 Wim Taymans <wim@fluendo.com>
25164 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25165 (gst_base_sink_set_property), (gst_base_sink_get_property),
25166 (gst_base_sink_do_sync):
25167 * gst/base/gstbasesink.h:
25168 Added sync property to basesink to disable clock sync.
25170 2005-09-20 Andy Wingo <wingo@pobox.com>
25172 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25173 eating the caller's refcount.
25175 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25176 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25179 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25180 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25181 of GLib 2.8 public, so we can know which refcount to check in
25184 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25185 (gst_object_init): Only set the gst refcount if we're going ahead
25186 with the refcount hack.
25188 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25190 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25191 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25192 more leaks plumbed, added more debug-logging
25196 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25198 * gst/gstmessage.c:
25199 remove include of gstmemchunk.h
25201 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25203 * gst/gstclock.c: (_gst_clock_id_free):
25204 Commit from the Political Party For More Atomic CVS Commits,
25205 so that people don't waste too much of their day fishing
25206 out obvious leaks out of massive commits.
25207 Oh, and fix a pretty damn obvious leak in the memchunk
25210 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25212 * check/Makefile.am:
25213 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25214 plug mem-leak, re-add to valgrindable tests
25216 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25219 unbreak the build for those who have chronic arthritis
25220 and typing "make check" is just too taxing on the hands
25222 2005-09-20 Andy Wingo <wingo@pobox.com>
25224 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25225 really want it out, you should fix plugins at the same time.
25227 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25230 * docs/gst/gstreamer-sections.txt:
25232 added missing symbols to api docs
25233 disable ref-count hack if we have glib >= 2.8
25235 2005-09-19 David Schleef <ds@schleef.org>
25237 * docs/gst/Makefile.am: Ignore a few more internal headers
25238 * docs/gst/gstreamer-docs.sgml: Remove old sections
25239 * docs/gst/gstreamer-sections.txt: Remove old sections
25240 * docs/gst/tmpl/gstobject.sgml: update
25241 * docs/gst/tmpl/gstplugin.sgml: update
25242 * docs/gst/tmpl/gstpluginfeature.sgml: update
25243 * docs/random/ds/0.9-suggested-changes: update.
25244 * gst/Makefile.am: remove memchunk and trashstack, since they're
25246 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25247 * gst/gst.h: don't include some headers
25248 * gst/gstchildproxy.c: add gstmarshal.h
25249 * gst/gstclock.c: Don't use memchunks
25250 * gst/gstminiobject.c: Add some docs
25251 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25252 * gst/gstobject.h: same
25253 * gst/gstplugin.c: include gstmacros.h
25254 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25255 * gst/gstquery.c: don't use memchunks
25256 * gst/gstregistry.c: rename gst_registry_deinit()
25257 * gst/gstregistry.h: same
25259 2005-09-19 David Schleef <ds@schleef.org>
25261 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25262 * docs/libs/gstreamer-libs-sections.txt:
25263 * docs/libs/tmpl/gstgetbits.sgml:
25264 * docs/libs/tmpl/gstputbits.sgml:
25266 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25268 * win32/gstenumtypes.c:
25269 * win32/gstenumtypes.h:
25272 2005-09-19 Wim Taymans <wim@fluendo.com>
25274 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25275 Automatically PAUSE and RESUME a pipeline when a flushing seek
25278 2005-09-19 Andy Wingo <wingo@pobox.com>
25280 * gst/gstregistry.h: Spacing fixen.
25282 2005-09-19 Wim Taymans <wim@fluendo.com>
25284 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25285 Handle state change failure more correctly.
25287 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25289 * check/Makefile.am:
25290 * check/pipelines/cleanup.c: (run_pipeline):
25291 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25293 enable cleanup again after fixing the leak
25295 some more info on docs
25297 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25299 * check/Makefile.am:
25300 re-enable tests now that leaks are plugged
25302 * check/gst/gstbin.c:
25303 * check/gst/gstpipeline.c:
25304 add some more tests while fixing leaks
25305 * common/check.mak:
25306 make sure binaries are uptodate when valgrinding/gdbing
25308 * gst/gstelementfactory.c:
25309 remove a ref too many, and add a FIXME for when we get
25310 round to disposing of classes
25312 fix the refcounting when loading a plugin from a file and
25313 the code pretends that the pointer is the same even though
25314 of course it can change
25315 * gst/gstpluginfeature.c:
25316 unref plugins marked cached (a bit confusing as a name)
25317 as the docs state should be done
25318 various doc additions to explain refcounting
25319 * gst/gstregistry.c:
25320 * gst/gstregistryxml.c:
25323 2005-09-19 Wim Taymans <wim@fluendo.com>
25325 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25326 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25327 (send_messages), (GST_START_TEST), (gstbus_suite):
25328 * check/gst/gstpipeline.c: (GST_START_TEST):
25329 * check/pipelines/cleanup.c: (run_pipeline):
25330 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25332 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25333 (gst_bus_source_check), (gst_bus_source_dispatch),
25334 (gst_bus_create_watch), (gst_bus_add_watch_full),
25335 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25337 * tools/gst-launch.c: (event_loop):
25338 * tools/gst-md5sum.c: (event_loop):
25339 GstBusHandler -> GstBusFunc, return value has the same meaning as
25340 any other GSource (FALSE == remove source).
25341 _add_watch() and _add_watch_full() now take a MessageType mask to
25342 only handle specific types of messages.
25343 _poll() returns the GstMessage instead of the message type to avoid
25345 _have_pending() takes a MessageType mask now too.
25346 Added testsuite for multiple bus watches.
25347 Fix testsuites and applications for new bus API.
25349 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25351 * check/Makefile.am:
25352 mark a bunch of the tests as to fix until we fix them
25354 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25356 * common/check.mak:
25357 use GST_PLUGIN settings for valgrind tests as well, so we're
25358 valgrinding the correct thing
25359 * gst/gst.c: (init_post):
25362 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25364 * gst/gst.c: (init_post), (gst_deinit):
25365 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25366 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25367 * gst/gstindex.c: (gst_index_factory_class_init),
25368 (gst_index_factory_finalize):
25369 * gst/gstobject.c: (gst_object_dispose):
25370 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25371 (gst_plugin_load_file), (gst_plugin_desc_free):
25372 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25373 (gst_plugin_feature_finalize):
25374 * gst/gstregistry.c: (gst_registry_class_init),
25375 (gst_registry_init), (gst_registry_finalize),
25376 (gst_registry_get_default), (gst_registry_deinit):
25377 * gst/gstregistry.h:
25378 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25379 various cleanups and memleak plugging. make valgrind is happy now.
25381 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25383 * common/check.mak:
25384 add a check-valgrind target
25386 2005-09-18 David Schleef <ds@schleef.org>
25388 * tools/gst-inspect.c: Revert the GOption code.
25390 2005-09-17 David Schleef <ds@schleef.org>
25392 * check/Makefile.am: Fix environment variables.
25393 * check/gst/gstplugin.c: Fix for API changes.
25394 * tools/gst-inspect.c: Fix for API changes.
25395 * tools/gst-xmlinspect.c: Fix for API changes.
25396 * gst/gstelementfactory.c:
25399 * gst/gstpluginfeature.c:
25400 * gst/gstpluginfeature.h:
25401 * gst/gstregistry.c:
25402 * gst/gstregistry.h:
25403 * gst/gstregistryxml.c:
25404 * gst/gsttypefind.c:
25405 * gst/gsttypefindfactory.c:
25406 * gst/indexers/gstfileindex.c:
25407 * gst/indexers/gstmemindex.c:
25408 * gst/schedulers/Makefile.am:
25409 Change registry to keep track of both plugins and features,
25410 removing the feature tracking from plugins themselves.
25412 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25414 * check/Makefile.am:
25415 * tools/gst-register.1.in:
25416 remove gst-register
25418 2005-09-15 David Schleef <ds@schleef.org>
25420 * check/gst/gstplugin.c:
25421 * gst/gstelementfactory.c:
25423 * gst/gstpluginfeature.c:
25424 * gst/gstregistry.c:
25425 Getting tired of debugging. Disabled all the unreffing of
25426 plugins and features, which fixes the segfaults, but of
25427 course leaks like crazy. At least playbin works.
25429 2005-09-15 David Schleef <ds@schleef.org>
25431 * check/gst/gstplugin.c: (register_check_elements),
25432 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25434 * gst/elements/gsttypefindelement.c: Fix refcounting.
25435 * gst/gsttypefind.c:
25436 * gst/gsttypefindfactory.c:
25437 * gst/gsttypefindfactory.h:
25439 2005-09-15 David Schleef <ds@schleef.org>
25441 * gst/gstindex.c: get refcounting correct.
25442 * gst/gstregistry.c: Handle the case where a feature/plugin is
25445 2005-09-15 David Schleef <ds@schleef.org>
25447 * check/Makefile.am:
25448 * check/gst/gstplugin.c: Add test
25449 * gst/gstplugin.c: Fix problems noticed by testsuite
25451 * gst/gstregistry.c:
25452 * gst/gstregistry.h:
25454 2005-09-15 David Schleef <ds@schleef.org>
25456 * gst/gstplugin.c: Implement semi-decent recounting and locking
25457 in plugins and plugin features.
25459 * gst/gstpluginfeature.c:
25460 * gst/gstpluginfeature.h:
25461 * gst/gstregistry.c:
25463 2005-09-15 Michael Smith <msmith@fluendo.com>
25465 * gst/gstregistry.c: (gst_registry_get_feature_list):
25466 Implement this. Makes oggdemux work; decodebin still broken.
25468 2005-09-14 David Schleef <ds@schleef.org>
25470 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25472 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25473 * gst/check/Makefile.am:
25474 * libs/gst/controller/Makefile.am:
25475 * libs/gst/dataprotocol/Makefile.am:
25477 2005-09-14 David Schleef <ds@schleef.org>
25479 * configure.ac: Remove getbits library. Nothing uses it, and
25480 it should be in something like liboil if someone did want
25482 * libs/gst/Makefile.am:
25483 * libs/gst/getbits/Makefile.am:
25484 * libs/gst/getbits/gbtest.c:
25485 * libs/gst/getbits/getbits.c:
25486 * libs/gst/getbits/getbits.h:
25487 * libs/gst/getbits/gstgetbits_generic.c:
25488 * libs/gst/getbits/gstgetbits_i386.s:
25489 * libs/gst/getbits/gstgetbits_inl.h:
25491 2005-09-14 David Schleef <ds@schleef.org>
25493 * gst/Makefile.am: Dist glib-compat.h
25495 2005-09-14 David Schleef <ds@schleef.org>
25497 * configure.ac: Remove gst/registries, since it's no longer used.
25498 * gst/registries/Makefile.am:
25499 * gst/registries/gstlibxmlregistry.c:
25500 * gst/registries/gstlibxmlregistry.h:
25501 * gst/registries/gstxmlregistry.c:
25502 * gst/registries/gstxmlregistry.h:
25503 * gst/registries/registrytest.c:
25505 2005-09-14 David Schleef <ds@schleef.org>
25507 * gst/glib-compat.h:
25508 * gst/gstregistryxml.c:
25509 Convergence is near. Seriously.
25511 2005-09-14 David Schleef <ds@schleef.org>
25513 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25514 * gst/glib-compat.h:
25515 Attempt #4 to appease the buildbots.
25517 2005-09-14 David Schleef <ds@schleef.org>
25519 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25522 2005-09-14 David Schleef <ds@schleef.org>
25524 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25527 2005-09-14 David Schleef <ds@schleef.org>
25529 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25532 2005-09-14 David Schleef <ds@schleef.org>
25534 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25535 * gst/glib-compat.h: Add some functions that are in newer versions
25536 of glib than we care to require.
25537 * gst/gstregistryxml.c: Use them.
25539 2005-09-14 David Schleef <ds@schleef.org>
25541 * po/POTFILES.in: remove gst-register.c
25543 2005-09-14 David Schleef <ds@schleef.org>
25545 * docs/gst/gstreamer-docs.sgml:
25546 * docs/gst/gstreamer-sections.txt:
25547 * docs/gst/gstreamer.types:
25548 * docs/gst/tmpl/gstelement.sgml:
25549 * docs/gst/tmpl/gstplugin.sgml:
25550 * docs/gst/tmpl/gstpluginfeature.sgml:
25551 Documentation updates for registry changes.
25553 2005-09-14 David Schleef <ds@schleef.org>
25555 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25556 because we don't require glib-2.8.
25558 2005-09-14 David Schleef <ds@schleef.org>
25560 * gst/gstregistryxml.c: Added. Essentially moved out of the
25561 registries directory.
25563 2005-09-14 David Schleef <ds@schleef.org>
25565 * check/Makefile.am:
25566 * check/generic/states.c:
25570 * gst/gst_private.h:
25571 * gst/gstelementfactory.c:
25576 * gst/gstpluginfeature.c:
25577 * gst/gstpluginfeature.h:
25578 * gst/gstregistry.c:
25579 * gst/gstregistry.h:
25580 * gst/gstregistrypool.c: remove
25581 * gst/gstregistrypool.h: remove
25582 * gst/gsttypefind.c:
25583 * gst/gsttypefindfactory.c:
25585 * tools/Makefile.am:
25586 * tools/gst-compprep.c:
25587 * tools/gst-inspect.c:
25588 * tools/gst-register.c: remove
25589 * tools/gst-xmlinspect.c:
25590 Registry rewrite. Changes registry from being a file created
25591 by a tool into a simple cache file created automatically by
25592 libgstreamer. Removed gst-register (because it's no longer
25593 needed). Remove registry pools, because we only have one
25594 registry implementation (XML). Fix up other subsystems as
25597 2005-09-13 Michael Smith <msmith@fluendo.com>
25599 * gst/gstconfig.h.in:
25600 Don't Use windows linking attributes for MinGW. Fixes #316157
25602 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25604 * gst/gstutils.c: (set_state_async_thread_func),
25605 (gst_element_set_state_async):
25606 Apparently people think it's better if this function doesn't
25607 try to set the state to whatever state was asked for on the first
25608 call to this function for any object. Seriously.
25610 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25612 * check/gst/gstpipeline.c: (GST_START_TEST):
25613 * docs/gst/gstreamer-sections.txt:
25614 * gst/gstutils.c: (set_state_async_thread_func),
25615 (gst_element_set_state_async):
25617 add a "gst_element_set_state_async" method that
25618 sets the state and starts a thread to make sure the state
25619 change completes as best as it can
25621 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25623 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25624 codify design+behaviour in testsuite after discussion
25626 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25628 * docs/gst/tmpl/gstelement.sgml:
25629 * docs/manual/appendix-quotes.xml:
25631 * gst/gstelement.c: (gst_element_set_state):
25634 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25636 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25637 (gst_base_transform_prepare_output_buf),
25638 (gst_base_transform_handle_buffer):
25639 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25640 (gst_capsfilter_prepare_buf):
25641 Remove the requirement for sub-classes to call the parent
25642 implementation of prepare_output_buffer with a wrapper function.
25644 * gst/gsttaglist.h:
25645 * gst/gsttagsetter.h:
25646 Fix #define wrapper
25648 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25650 * docs/gst/gstreamer-sections.txt:
25653 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25655 * docs/gst/gstreamer-sections.txt:
25656 * docs/gst/tmpl/gstelement.sgml:
25657 * docs/gst/tmpl/gstplugin.sgml:
25658 * gst/gstminiobject.c:
25660 docs now stop throwing warnings
25662 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25664 * docs/gst/gstreamer-sections.txt:
25665 * docs/gst/gstreamer.types:
25666 * docs/gst/tmpl/gstpad.sgml:
25667 * docs/gst/tmpl/gsttypes.sgml:
25668 * gst/base/gstadapter.h:
25669 * gst/base/gstbasesink.h:
25670 * gst/base/gstbasesrc.h:
25676 * gst/gstelement.h:
25678 * gst/gstmessage.h:
25680 * gst/gststructure.c:
25681 * gst/registries/gstlibxmlregistry.h:
25682 various documentation fixes
25684 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25686 * docs/gst/gstreamer-sections.txt:
25687 * docs/gst/tmpl/gstvalue.sgml:
25688 rearrange gstvalue section
25689 * gst/gstutils.c: (gst_element_state_get_name):
25691 * gst/gstvalue.c: (_gst_value_initialize):
25695 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25697 * check/gst-libs/controller.c:
25698 Header include fix.
25699 * gst/base/gstbasetransform.c:
25700 (gst_base_transform_default_prepare_buf),
25701 (gst_base_transform_handle_buffer):
25702 * gst/base/gstbasetransform.h:
25703 Some more basetransform changes and fixes to enable sub-classes
25704 that modify buffer metadata only.
25705 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25706 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25707 (gst_capsfilter_prepare_buf):
25708 If the output pad has fixed allowed caps and input buffers
25709 don't have any, set the fixed caps on outgoing buffers.
25711 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25712 * check/elements/identity.c: (GST_START_TEST):
25713 Make the error a little clearer when the test fails because
25714 identity made a copy of the buffer.
25715 * docs/gst/gstreamer-sections.txt:
25716 New symbols in gstbasetransform.h
25717 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25718 (gst_base_transform_init), (gst_base_transform_transform_size),
25719 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25720 (gst_base_transform_default_prepare_buf),
25721 (gst_base_transform_get_unit_size),
25722 (gst_base_transform_buffer_alloc),
25723 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25724 (gst_base_transform_change_state),
25725 (gst_base_transform_set_passthrough),
25726 (gst_base_transform_set_in_place),
25727 (gst_base_transform_is_in_place):
25728 * gst/base/gstbasetransform.h:
25729 Change BaseTransform to separate in_place operate from same_caps
25730 output. in_place implies that the element can perform the transform
25731 on incoming buffers in-place, even if the caps on the output are
25733 Sub-class elements can now implement special buffer allocation
25734 methods for outgoing buffers if they wish to.
25735 Big documentation addition.
25736 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25737 * gst/elements/gstelements.c:
25738 Changes for basetransform modifications.
25739 * gst/elements/Makefile.am:
25740 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25741 Compile fix. Extra debug output.
25743 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25745 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25747 add tests for valid pad naming
25748 * gst/check/gstcheck.c: (gst_check_log_message_func),
25749 (gst_check_log_critical_func):
25751 remove printing of code, it is fragile when the code contains
25752 % and the line number is enough info
25753 * gst/check/gstcheck.h:
25754 * gst/gstpad.c: (gst_pad_template_new):
25757 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25760 say what CHECK flags we use
25761 * docs/libs/gstreamer-libs.types:
25762 * libs/gst/controller/Makefile.am:
25763 * libs/gst/controller/gst-controller.c:
25764 * libs/gst/controller/gst-controller.h:
25765 * libs/gst/controller/gst-helper.c:
25766 * libs/gst/controller/gst-interpolation.c:
25767 * libs/gst/controller/gstcontroller.c:
25768 * libs/gst/controller/gsthelper.c:
25769 * libs/gst/controller/gstinterpolation.c:
25770 * tools/gst-inspect.c: (print_plugin_info):
25771 we don't use dashes in header names
25773 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25775 * check/Makefile.am:
25776 * check/gst/.cvsignore:
25777 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25778 (gst_pipeline_suite), (main):
25779 adding a test for pipelines and state changes
25780 * gst/gstutils.c: (get_state_func):
25782 * gstreamer.spec.in:
25785 2005-09-08 Michael Smith <msmith@fluendo.com>
25787 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25788 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25789 (gst_file_src_is_seekable), (gst_file_src_get_size),
25790 (gst_file_src_start):
25791 * gst/elements/gstfilesrc.h:
25792 Various fixes for unseekable, unmmapable, and non-normal files, so
25793 that fallback to read() rather than mmap() works.
25794 * gst/gstevent.c: (gst_event_new_newsegment):
25795 Allow newsegment events with segment_start == segment_end, as will
25796 correctly happen if you use filesrc on a zero-size file, for
25799 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25801 * gst/gstplugin.c: (gst_plugin_load_file):
25802 Call g_module_close when we don't load the module
25804 * gst/registries/gstlibxmlregistry.c:
25805 (gst_xml_registry_get_property):
25806 Port leak fix from 0.8
25808 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25810 * docs/gst/gstreamer-docs.sgml:
25811 * docs/gst/tmpl/.cvsignore:
25812 * docs/gst/tmpl/gsttrace.sgml:
25813 * docs/gst/tmpl/gsttrashstack.sgml:
25816 * gst/gstelement.h:
25818 * gst/gstmessage.c:
25819 * gst/gstmessage.h:
25822 * gst/gsttaginterface.c:
25823 * gst/gsttaginterface.h:
25824 * gst/gsttaglist.c:
25825 * gst/gsttaglist.h:
25826 * gst/gsttagsetter.c:
25827 * gst/gsttagsetter.h:
25830 * gst/gsttrashstack.c:
25831 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25832 inlined docs for gsttrace, gsttrashstack
25834 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25837 * gst/elements/gstbufferstore.h:
25838 * gst/elements/gsttypefindelement.c:
25839 * gst/elements/gsttypefindelement.h:
25841 * gst/gsttypefind.c:
25842 * gst/gsttypefind.h:
25843 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25844 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25845 (gst_type_find_factory_dispose),
25846 (gst_type_find_factory_unload_thyself),
25847 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25848 (gst_type_find_factory_get_caps),
25849 (gst_type_find_factory_get_extensions),
25850 (gst_type_find_factory_call_function):
25851 * gst/gsttypefindfactory.h:
25852 * gst/registries/gstlibxmlregistry.c:
25853 * gst/registries/gstxmlregistry.c:
25854 splitted gsttypefind into gsttypefind, gsttypefindfactory
25856 2005-09-07 Andy Wingo <wingo@pobox.com>
25858 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25859 condition whereby the pad's task function is entered before the
25860 pad_mode variable was set.
25862 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25864 * gst/gstpad.c: (gst_pad_alloc_buffer):
25865 Catch misbehaving pad_alloc functions that don't
25866 set up caps and do it for them.
25868 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25870 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25871 test for pipe!=NULL
25872 * docs/gst/tmpl/.cvsignore:
25873 * docs/gst/tmpl/gstmemchunk.sgml:
25874 * docs/gst/tmpl/gstparse.sgml:
25875 * docs/gst/tmpl/gsttaglist.sgml:
25876 * docs/gst/tmpl/gsttagsetter.sgml:
25877 * docs/gst/tmpl/gsttypefind.sgml:
25878 * docs/gst/tmpl/gsttypefindfactory.sgml:
25879 * gst/gstmemchunk.c:
25882 * gst/gsttaginterface.c:
25883 * gst/gsttypefind.c:
25884 * gst/gsttypefind.h:
25887 === release 0.9.2 ===
25889 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25894 releasing 0.9.2, "South"
25896 2005-09-05 Andy Wingo <wingo@pobox.com>
25898 * gst/registries/gstxmlregistry.h:
25899 * gst/registries/gstxmlregistry.c: Um... resurrect...
25901 * gst/registries/gstxmlregistry.h:
25902 * gst/registries/gstxmlregistry.c: and update to newer API.
25903 Incidentally they should be a bit faster now that they don't have
25906 2005-09-05 Andy Wingo <wingo@pobox.com>
25908 * gst/registries/gstxmlregistry.h:
25909 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25910 replaced by the libxml registry a while back
25912 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25914 * docs/gst/tmpl/gstplugin.sgml:
25915 * gst/elements/gstelements.c:
25917 * gst/gstplugin.c: (gst_plugin_register_func),
25918 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25919 (gst_plugin_get_source):
25921 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25922 (gst_xml_registry_save_plugin):
25923 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25924 (gst_xml_registry_save_plugin):
25925 * tools/gst-inspect.c: (print_plugin_info):
25926 add a "source" plugin description field, to represent the source
25927 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25928 will set it to PACKAGE, which is automake's idea of the name of
25929 the source project.
25931 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25936 * docs/Makefile.am:
25937 * docs/faq/Makefile.am:
25938 * docs/gst/tmpl/gstelement.sgml:
25939 * docs/gst/tmpl/gsttypes.sgml:
25940 * docs/htmlinstall.mak:
25941 * docs/manual/Makefile.am:
25942 * docs/pwg/Makefile.am:
25943 reorganize doc build a little
25944 split out docbook and gtk-doc stuff
25945 have two separate --enable's and enable them through autogen
25946 but disable by default in configure (to be similar to other
25948 * gstreamer.spec.in:
25949 clean up docs install
25967 translation updates
25969 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25971 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25974 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25975 (gst_fake_sink_change_state):
25976 Make state change function thread-safe.
25978 * gst/gstpad.c: (gst_pad_alloc_buffer):
25979 Set offset on generic buffer allocated by fallback.
25981 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25983 * docs/gst/gstreamer-sections.txt:
25984 * docs/gst/tmpl/gstelement.sgml:
25986 * libs/gst/controller/gst-controller.c:
25987 (gst_controlled_property_set_interpolation_mode),
25988 (gst_controlled_property_new),
25989 (gst_controller_find_controlled_property):
25990 run the wingo-magic script against the docs
25992 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25994 * docs/gst/gstreamer-docs.sgml:
25995 * docs/gst/gstreamer-sections.txt:
25996 * docs/gst/tmpl/.cvsignore:
25997 * docs/gst/tmpl/gstelementdetails.sgml:
25998 * docs/gst/tmpl/gstelementfactory.sgml:
26001 * gst/gstelementfactory.c:
26002 * gst/gstelementfactory.h:
26003 merged elementdetails docs into elementfactory docs
26006 2005-09-02 Andy Wingo <wingo@pobox.com>
26008 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26009 consider this enum an enum and not a flags.
26011 2005-09-02 Stefan Kost <ensonic@users.sf.net>
26013 * docs/gst/gstreamer-docs.sgml:
26014 * docs/gst/tmpl/.cvsignore:
26015 * docs/gst/tmpl/gstghostpad.sgml:
26016 * docs/gst/tmpl/gstiterator.sgml:
26017 * docs/gst/tmpl/gstmacros.sgml:
26018 * docs/gst/tmpl/gstrealpad.sgml:
26019 * docs/gst/tmpl/gstregistry.sgml:
26020 * docs/gst/tmpl/gstregistrypool.sgml:
26021 * docs/gst/tmpl/gststructure.sgml:
26022 * docs/gst/tmpl/gstsystemclock.sgml:
26023 * docs/gst/tmpl/gsttrace.sgml:
26024 * gst/gstghostpad.c:
26026 * gst/gstmemchunk.c:
26027 * gst/gstmemchunk.h:
26029 * gst/gstregistry.c:
26030 * gst/gstregistrypool.c:
26031 * gst/gststructure.c:
26032 * gst/gstsystemclock.c:
26035 2005-09-02 Andy Wingo <wingo@pobox.com>
26037 * gst/gstelement.h (GstState): Renamed from GstElementState,
26038 changed to be a normal enum instead of flags.
26039 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26040 munged to be GST_STATE_CHANGE_*.
26041 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26042 work with the new state representation.
26043 (GstStateChange): New enumeration of possible state transitions.
26044 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26045 (GstElementClass::change_state): Pass the GstStateChange along as
26046 an argument. Helps language bindings, so they don't have to use
26047 tricky lock-needing macros like GST_STATE_CHANGE ().
26049 * scripts/update-states (file): New script. Run it on a file to
26050 update it for state naming and API changes. Updates files in
26053 * All files updated for the new API.
26055 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
26057 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26058 * gst/gstutils.c: (gst_util_set_value_from_string),
26059 (gst_util_set_object_arg):
26060 fix a bunch of unchecked return values
26061 * tools/gst-complete.c: (main):
26062 * gstreamer.spec.in:
26065 2005-09-01 Wim Taymans <wim@fluendo.com>
26067 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26068 (gst_base_sink_event), (gst_base_sink_do_sync),
26069 (gst_base_sink_handle_event):
26070 * gst/base/gstbasesink.h:
26071 Handle newsegments more correctly.
26076 * gst/gstevent.c: (gst_event_new_newsegment):
26077 A newsegment cannot have a start_time of -1
26079 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
26081 * win32/gstenumtypes.c:
26082 * win32/gstenumtypes.h:
26085 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26087 * libs/gst/controller/gst-controller.c:
26088 (gst_controlled_property_set_interpolation_mode),
26089 (gst_controlled_property_new):
26090 fixed boolean again
26092 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
26094 * docs/faq/gst-uninstalled:
26099 * gst/gstutils.c: (gst_element_link_filtered):
26101 add gst_element_link_filtered
26103 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26105 * docs/gst/gstreamer-docs.sgml:
26106 * docs/gst/gstreamer-sections.txt:
26107 * docs/gst/tmpl/.cvsignore:
26108 * docs/gst/tmpl/gsterror.sgml:
26109 * docs/gst/tmpl/gstfilter.sgml:
26110 * docs/gst/tmpl/gsturihandler.sgml:
26111 * docs/gst/tmpl/gsturitype.sgml:
26112 * docs/gst/tmpl/gstutils.sgml:
26113 * docs/gst/tmpl/gstxml.sgml:
26118 * gst/gsturitype.c:
26121 inlined more docs, fixed double id-ref
26123 2005-08-31 Wim Taymans <wim@fluendo.com>
26125 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26126 (gst_base_transform_handle_buffer):
26127 Passthrough elements don't need the caps as they don't care.
26129 2005-08-31 Wim Taymans <wim@fluendo.com>
26131 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26132 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26133 Don't leak refcounts on buffers.
26135 2005-08-31 Wim Taymans <wim@fluendo.com>
26137 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26138 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26139 (gst_base_transform_chain), (gst_base_transform_change_state):
26140 * gst/base/gstbasetransform.h:
26141 Handle the case where we are not negotiated more gracefully.
26143 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26145 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26146 (gst_file_src_map_region):
26147 Set READONLY flag on mmap'ed buffers, otherwise
26148 gst_buffer_make_writable() won't work properly (#314708).
26150 2005-08-31 Wim Taymans <wim@fluendo.com>
26152 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26153 passthrough elements can even do inplace on non writable
26154 buffers (as they don't touch them).
26156 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26158 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26159 (gst_test_mono_source_set_property),
26160 (gst_test_mono_source_class_init), (GST_START_TEST),
26161 (gst_controller_suite):
26162 more tests (hehe I have the most)
26164 describe popping messages whenusing mulltiple sources
26165 * libs/gst/controller/gst-controller.c:
26166 (gst_controlled_property_set_interpolation_mode),
26167 (gst_controlled_property_new):
26168 * libs/gst/controller/gst-controller.h:
26169 * libs/gst/controller/gst-interpolation.c:
26170 implement boolean properties
26172 2005-08-31 Wim Taymans <wim@fluendo.com>
26174 * gst/gstminiobject.c: (gst_mini_object_ref):
26175 Cannot assert that the refcount has to be positive
26176 since a disposed object can be resurrected.
26178 2005-08-31 Wim Taymans <wim@fluendo.com>
26180 * gst/gstpad.c: (gst_pad_init):
26181 Revert change, need to first fix badly behaving
26184 2005-08-30 Wim Taymans <wim@fluendo.com>
26186 * check/elements/fakesrc.c: (setup_fakesrc):
26187 * check/elements/identity.c: (setup_identity):
26188 Activate pads before using them.
26190 2005-08-30 Wim Taymans <wim@fluendo.com>
26192 * gst/base/gstadapter.c: (gst_adapter_flush):
26193 Flushing out 0 bytes is ok for this function.
26195 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26196 no newsegment gives a warning and sets the start/stop to
26199 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26200 (gst_base_transform_set_passthrough):
26203 * gst/gstminiobject.c: (gst_mini_object_ref):
26204 Check refcount here too.
26206 * gst/gstpad.c: (gst_pad_init):
26207 Pads are initially flushing and refusing data.
26209 * gst/gstutils.c: (gst_element_link_pads_filtered):
26210 When adding a capsfilter element make sure it has the
26211 same state as the parent bin.
26213 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26215 * docs/gst/tmpl/.cvsignore:
26216 * docs/gst/tmpl/gstformat.sgml:
26217 * docs/gst/tmpl/gstversion.sgml:
26221 * gst/gstversion.h.in:
26222 more docs and two more inlined
26224 2005-08-30 Wim Taymans <wim@fluendo.com>
26226 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26227 Don't sync to clock.
26229 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26231 * docs/gst/gstreamer-sections.txt:
26232 ultral33t func10ns deserve to appear in the docs actually
26233 * docs/gst/tmpl/.cvsignore:
26234 * docs/gst/tmpl/gstcompat.sgml:
26235 * docs/gst/tmpl/gstconfig.sgml:
26236 * gst/check/gstcheck.c:
26238 * gst/gstconfig.h.in:
26241 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26243 * docs/gst/tmpl/.cvsignore:
26244 * docs/gst/tmpl/gstquery.sgml:
26245 * docs/gst/tmpl/gstutils.sgml:
26248 inlined and extended docs
26250 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26252 * check/gst-libs/controller.c: (GST_START_TEST),
26253 (gst_controller_suite):
26255 * docs/gst/tmpl/gstutils.sgml:
26256 * docs/libs/gstreamer-libs-sections.txt:
26257 * docs/libs/tmpl/gstdataprotocol.sgml:
26259 * examples/controller/audio-example.c: (main):
26260 controller example works now
26263 * tools/gst-inspect.c: (print_element_properties_info):
26264 show param spec flags
26266 2005-08-29 Andy Wingo <wingo@pobox.com>
26268 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26270 2005-08-28 Andy Wingo <wingo@pobox.com>
26272 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26273 as having two arguments instead of just one. Allows superclasses
26274 to access information on subclasses -- see the terrible for() loop
26275 in gtype.c:g_type_create_instance for the reason why. All callers
26278 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26280 * docs/design/part-messages.txt:
26282 * docs/gst/tmpl/.cvsignore:
26283 * docs/gst/tmpl/gstcaps.sgml:
26284 * docs/gst/tmpl/gstclock.sgml:
26290 * gst/gstmessage.c:
26291 added descriptions for bus and message
26292 inline caps and clock docs
26294 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26296 * gst/gstmessage.c:
26297 * gst/gstmessage.h:
26300 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26302 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26305 2005-08-26 Andy Wingo <wingo@pobox.com>
26307 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26308 element_set_state's return val.
26309 (test_2_elements): Add test that's been disabled for months.
26311 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26312 can-activate-pull properties.
26314 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26315 can-activate-pull properties. Implement is_seekable so fakesrc can
26316 operate in pull mode.
26318 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26320 (gst_base_sink_activate, gst_base_sink_activate_pull)
26321 (gst_base_sink_activate_push): Make activation mode choosing work.
26323 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26324 is right. Make pull mode work. Post an eos before pausing in pull
26326 (gst_base_sink_change_state): Pay attention to the core's
26327 change_state() return val.
26329 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26330 has-getrange properties. Cleanups.
26332 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26333 has_getrange and replace with can_activate_pull and
26336 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26337 locking comments. Remove has_loop, has_chain and replace with
26338 can_activate_pull and can_activate_push.
26340 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26343 * examples/Makefile.am:
26344 * examples/metadata/Makefile.am:
26345 * examples/metadata/read-metadata.c: (message_loop),
26346 (have_pad_handler), (make_pipeline), (print_tag), (main):
26347 Add metadata reading example that loops over a list of filenames,
26348 dumping any tags found.
26350 * gst/gstbus.c: (gst_bus_dispose):
26351 * gst/gstelement.c: (gst_element_dispose):
26352 Release a few potentially-held references in dispose.
26354 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26356 * docs/gst/tmpl/gstminiobject.sgml:
26357 do *not* add tmpl/*.sgml files to CVS!
26359 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26361 * libs/gst/bytestream/.cvsignore:
26362 * libs/gst/bytestream/Makefile.am:
26363 * libs/gst/bytestream/adapter.c:
26364 * libs/gst/bytestream/adapter.h:
26365 * libs/gst/bytestream/bytestream.c:
26366 * libs/gst/bytestream/bytestream.h:
26367 * libs/gst/bytestream/filepad.c:
26368 * libs/gst/bytestream/filepad.h:
26369 removing obsolete files
26371 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26373 * docs/gst/gstreamer-docs.sgml:
26374 * docs/libs/gstreamer-libs-docs.sgml:
26375 disabed additional index entries again, as this makes docs-gen just
26376 slow and they aren't useful yet
26377 * docs/libs/gstreamer-libs-sections.txt:
26378 little -section.txt cleanup for libs
26380 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26382 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26383 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26384 fix up some debugging
26385 (gst_base_transform_get_unit_size),
26386 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26387 (gst_base_transform_handle_buffer):
26388 * gst/base/gstbasetransform.h:
26389 handle and store timed NEWSEGMENT events so that subclasses that
26390 calculate time by counting samples have a segment_start time they
26391 need to add to their timestamps - see audioresample
26393 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26396 removed ';' from the end of macro defs
26397 * docs/gst/gstreamer-docs.sgml:
26398 * docs/gst/gstreamer-sections.txt:
26399 * docs/gst/tmpl/.cvsignore:
26401 * gst/gstelement.c: (gst_element_class_init),
26402 (gst_element_set_state), (activate_pads),
26403 (gst_element_save_thyself):
26404 * gst/gstevent.c: (gst_event_new_newsegment):
26406 * gst/gstiterator.c:
26407 * gst/gstiterator.h:
26410 * gst/gstutils.c: (gst_pad_query_convert):
26412 fixed parameter name mismatches between source, header and docs
26413 added some more docs, resolved the last batch of unused elements in
26414 docs (now someone needs to doc them)
26416 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26418 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26419 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26420 don't walk through the plugins backwards. Where is all this
26421 reversed logic coming from ?
26423 2005-08-25 Wim Taymans <wim@fluendo.com>
26425 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26426 (gst_base_transform_transform_size),
26427 (gst_base_transform_configure_caps),
26428 (gst_base_transform_get_unit_size),
26429 (gst_base_transform_buffer_alloc),
26430 (gst_base_transform_change_state):
26431 * gst/base/gstbasetransform.h:
26432 Cache caps unit_size.
26433 Make sure we cannot negotiate up and downstream at the
26436 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26438 * gst/gst.c: (init_pre), (init_post):
26439 register the installed plugin path after the env var
26440 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26441 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26442 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26443 directories, so the tests can prefer uninstalled over installed
26445 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26447 * gst/base/gstbasetransform.h:
26452 2005-08-25 Wim Taymans <wim@fluendo.com>
26454 * gst/gstbin.c: (bin_bus_handler):
26455 Be a bit more conservative about the posted message.
26457 * gst/gstbus.c: (gst_bus_post):
26458 Some cleanups, warn wrong return values.
26460 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26462 * check/gst/gstbin.c: (GST_START_TEST):
26463 * gst/gstbin.c: (bin_bus_handler):
26464 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26465 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26466 (gst_message_new_warning), (gst_message_new_tag),
26467 (gst_message_new_state_changed), (gst_message_new_segment_start),
26468 (gst_message_new_segment_done), (gst_message_new_custom):
26469 * gst/gstmessage.h:
26470 * tools/gst-launch.c: (event_loop):
26471 * tools/gst-md5sum.c: (event_loop):
26472 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26474 2005-08-25 Wim Taymans <wim@fluendo.com>
26476 * check/generic/states.c: (GST_START_TEST):
26477 Cleanup can be done at the end.
26479 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26480 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26481 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26482 Oh boy.. Thanks for finding this, Thomas.
26484 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26486 * docs/gst/gstreamer.types:
26487 added missing types
26489 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26491 * docs/gst/gstreamer-docs.sgml:
26492 * docs/gst/gstreamer-sections.txt:
26493 * docs/gst/tmpl/.cvsignore:
26495 * gst/gstiterator.c:
26497 * gst/registries/gstxmlregistry.h:
26498 added missing classes and symbols (123 more to go)
26499 removed removed symbols from section file
26500 fixed many doc-comments
26502 2005-08-24 Wim Taymans <wim@fluendo.com>
26504 * check/generic/states.c: (GST_START_TEST):
26505 Make sure all tasks are stopped.
26507 * check/gst/gstbin.c: (GST_START_TEST):
26508 Unref after usage for proper valgrinding.
26510 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26511 Really wait for the task to stop before destroying the
26514 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26515 (gst_queue_src_activate_push):
26516 Small cleanups. Don't stop the task when we did not start
26519 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26520 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26521 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26524 Protect the stream lock with the object lock.
26525 Disallow setting the stream lock when running.
26526 Add cleanup_all to wait for the threadpool to finish.
26527 Remove code to autoallocate a mutex if none was provided.
26528 Add _join() to wait for a task to stop.
26529 Protect the thread pool with a global lock.
26531 2005-08-24 Wim Taymans <wim@fluendo.com>
26533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26534 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26535 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26536 * gst/base/gstbasesink.h:
26537 Handle newsegment events correctly.
26538 Drop buffers out of the segment range.
26540 2005-08-22 Andy Wingo <wingo@pobox.com>
26542 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26543 macro, implements an interface and gstimplementsinterface for a
26546 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26548 * check/Makefile.am:
26549 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26550 add a test that does a bunch of state changes on elements
26551 needs some fixing for valgrind
26552 * check/states/sinks.c: (gst_object_suite):
26555 add prototype for gst_caps_is_equal_fixed
26557 * gst/gstregistrypool.c:
26560 2005-08-24 Andy Wingo <wingo@pobox.com>
26562 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26563 convert a negative value. Doesn't make much sense. Mostly this is
26564 here to force callers to ensure -1 maps to -1.
26566 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26568 * docs/pwg/advanced-types.xml:
26569 Well done to Michael for catching my deliberate introduction
26570 of this spelling mistake.
26571 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26572 * gst/gstelement.h:
26573 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26574 unlink pads before removing the element from the bin.
26576 2005-08-24 Andy Wingo <wingo@pobox.com>
26578 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26579 the same thing as GST_DEBUG=*:4.
26580 (parse_debug_level, parse_debug_category): New helper parsers.
26582 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26584 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26585 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26586 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26587 (gst_base_transform_buffer_alloc),
26588 (gst_base_transform_handle_buffer):
26589 use gboolean return values and pointers to size so we can use the
26590 full GST_BUFFER_SIZE range (guint) for buffer sizes
26591 use GstPadDirection for transform_caps
26592 * gst/base/gstbasetransform.h:
26593 rename get_size to get_unit_size since that's what it is
26594 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26595 use GstPadDirection for transform_caps
26596 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26598 cleanup and debugging
26600 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26602 * gst/gstelement.c: (gst_element_class_init),
26603 (gst_element_set_state), (activate_pads),
26604 (gst_element_save_thyself):
26605 * tools/gst-compprep.c: (main):
26606 * tools/gst-inspect.c: (print_element_properties_info):
26607 * tools/gst-xmlinspect.c: (print_element_properties):
26608 Fixed long standing mem-leak
26610 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26612 * check/gst/gstbin.c: (GST_START_TEST):
26613 * gst/gstbin.c: (bin_bus_handler):
26614 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26615 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26616 (gst_message_new_warning), (gst_message_new_tag),
26617 (gst_message_new_state_changed), (gst_message_new_segment_start),
26618 (gst_message_new_segment_done), (gst_message_new_custom):
26619 * gst/gstmessage.h:
26620 * tools/gst-launch.c: (event_loop):
26621 * tools/gst-md5sum.c: (event_loop):
26622 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26623 that applications can sensibly post custom messages with references
26624 to their own objects.
26626 2005-08-24 Andy Wingo <wingo@pobox.com>
26628 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26631 2005-08-24 Wim Taymans <wim@fluendo.com>
26633 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26634 (gst_base_transform_transform_caps),
26635 (gst_base_transform_transform_size),
26636 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26637 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26638 (gst_base_transform_handle_buffer):
26639 * gst/base/gstbasetransform.h:
26640 Many fixes and new features added by Thomas. Can now also do
26641 transforms with variable sizes and a custom fixate_caps function.
26643 2005-08-24 Wim Taymans <wim@fluendo.com>
26645 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26649 Cast to ClockTime before formatting to time.
26654 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26656 * check/gst-libs/controller.c: (GST_START_TEST),
26657 (gst_controller_suite):
26658 * docs/gst/tmpl/gstcaps.sgml:
26659 * docs/gst/tmpl/gstghostpad.sgml:
26660 * docs/gst/tmpl/gstquery.sgml:
26661 * docs/gst/tmpl/gstutils.sgml:
26662 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26663 (gst_object_sink_values), (gst_object_get_value_arrays),
26664 (gst_object_get_value_array):
26665 gracefully handle helper method calls to objects that are not beeing
26666 controlled, added test case for that
26668 2005-08-23 Wim Taymans <wim@fluendo.com>
26670 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26671 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26672 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26673 (gst_event_parse_qos), (gst_event_new_seek),
26674 (gst_event_parse_seek):
26676 Some more debugging output and doc cleanups.
26678 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26679 Fix possible deadlock.
26681 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26683 * docs/gst/gstreamer-docs.sgml:
26684 * docs/gst/gstreamer-sections.txt:
26685 * docs/gst/gstreamer.types:
26686 * docs/gst/tmpl/.cvsignore:
26689 * gst/gstelement.c:
26691 added 100 symbols from gstreamer-unused.txt to the right sections
26692 fixed more broken comments
26693 added GstBus to docs
26695 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26697 * docs/gst/gstreamer-sections.txt:
26698 * docs/gst/tmpl/.cvsignore:
26699 * docs/gst/tmpl/gstbin.sgml:
26700 * docs/gst/tmpl/gstbuffer.sgml:
26701 * gst/base/gstbasesrc.c:
26702 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26705 * tools/gst-launch.1.in:
26706 inlined more doc comments, added missing comments and fixed comments
26709 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26711 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26715 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26717 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26718 * gst/gststructure.h:
26719 add a fixate function for booleans; add a FIXME that these func
26720 names should probably be gst_structure_fixate_*
26722 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26724 * docs/gst/gstreamer-docs.sgml:
26725 * docs/gst/gstreamer-sections.txt:
26727 * gst/gstbin.c: (gst_bin_get_type),
26728 (gst_bin_child_proxy_get_child_by_index),
26729 (gst_bin_child_proxy_get_children_count),
26730 (gst_bin_child_proxy_init):
26731 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26732 (gst_child_proxy_get_child_by_index),
26733 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26734 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26735 (gst_child_proxy_get), (gst_child_proxy_set_property),
26736 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26737 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26738 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26739 * gst/gstchildproxy.h:
26740 * gst/parse/grammar.y:
26741 * tools/gst-inspect.c: (print_interfaces),
26742 (print_element_properties_info), (print_element_info):
26743 ported gstchildproxy over from 0.8
26744 ported gst-inspect fixes and enhancements over from 0.8
26746 2005-08-22 Wim Taymans <wim@fluendo.com>
26748 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26749 (gst_base_transform_handle_buffer):
26750 Also call the transform function if we have ANY caps.
26752 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26755 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26757 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26758 Don't pretend to handle seek events if the source is not seekable
26760 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26762 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26763 Remove extra parameter to debug output
26765 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26766 (gst_base_src_do_seek), (gst_base_src_activate_push):
26767 Fix seek event handling.
26769 * gst/gstpipeline.c: (gst_pipeline_change_state):
26770 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26771 (gst_queue_src_activate_push):
26772 Don't start the src pad task on FLUSH_STOP if the pad
26776 2005-08-22 Wim Taymans <wim@fluendo.com>
26778 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26779 Added check for gst_static_caps_get() refcounting.
26781 2005-08-22 Wim Taymans <wim@fluendo.com>
26783 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26784 Make _static_caps_get() refcounting sane.
26786 * gst/gstelement.c: (gst_element_set_state):
26787 Add g_return_val_if_fail() to protect against segfaults.
26789 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26791 * docs/gst/tmpl/gstevent.sgml:
26794 inlined remaining docs, added missing doc comments
26796 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26798 * check/gst/gstbin.c: (GST_START_TEST):
26799 since we don't know when preroll is done, use refcount range
26801 * gst/check/gstcheck.h:
26802 add macro for checking refcount range
26804 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26806 * check/Makefile.am:
26807 clean up environment for when registry gets built versus
26808 when actual tests are run; valgrind seems to not report
26809 leaks if GST_PLUGIN_PATH is set to some specific values
26810 * check/gst/gstbin.c: (GST_START_TEST):
26811 add more refcounting checks; maybe this exposes a
26813 * common/check.mak:
26814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26815 * gst/check/gstcheck.h:
26816 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26817 (gst_bin_change_state):
26818 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26819 add/fix debugging/whitespace
26821 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26823 * check/gst/gstevent.c: (event_probe), (test_event),
26825 Er, don't call gst_bin_watch_for_state_change you idiot.
26827 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26829 * check/Makefile.am:
26830 Use CHECK_CFLAGS and CHECK_LIBS
26831 * check/gst/gstevent.c: (event_probe), (test_event),
26834 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26835 (gst_base_src_start), (gst_base_src_stop),
26836 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26837 (gst_base_src_change_state):
26838 Sprinkle gst_base_src_stop liberally around error paths to fix
26839 problems reusing a source after failed state changes.
26840 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26841 (helper_find_suggest), (gst_type_find_helper):
26842 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26844 * docs/gst/tmpl/gstevent.sgml:
26845 Migrate part of the docs from the SGML file. Wait for ensonic to
26846 tell me how I did it wrong ;)
26847 * tools/gst-typefind.c: (main):
26848 Extra robustness to state changes between files.
26850 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26852 * check/Makefile.am:
26853 don't valgrind the controller test - it's leaking - Stefan, HELP
26854 * gst/check/gstcheck.c: (gst_check_message_error),
26855 (gst_check_chain_func), (gst_check_setup_element),
26856 (gst_check_teardown_element), (gst_check_setup_src_pad),
26857 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26858 (gst_check_teardown_sink_pad):
26859 * gst/check/gstcheck.h:
26860 add a bunch of methods to set up elements, and src and sink pads
26861 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26862 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26865 * gst/gstmessage.c:
26867 whitespace/doc fixes
26869 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26871 * gst/gstelement.h:
26872 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26873 be handled by the application and not always printed as well
26875 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26877 * check/Makefile.am:
26879 * gst/check/gstcheck.c: (gst_check_message_error):
26880 * gst/check/gstcheck.h:
26881 add a fail_unless_equals_int
26882 add fail_unless for error messages
26884 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26886 * check/Makefile.am:
26888 * common/Makefile.am:
26889 * common/check.mak:
26891 factor out some of the common stuff so we can use it
26893 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26895 * check/Makefile.am:
26896 * check/gst/gstiterator.c: (GST_START_TEST):
26897 * check/gst/gstsystemclock.c: (GST_START_TEST),
26898 (gst_systemclock_suite):
26899 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26901 valgrind more tests
26903 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26905 * check/elements/.cvsignore:
26906 * check/elements/gstfakesrc.c:
26907 rename to name of element
26908 * check/elements/identity.c: (chain_func), (event_func),
26909 (setup_identity), (cleanup_identity), (GST_START_TEST),
26910 (identity_suite), (main):
26911 add a test for identity
26912 * check/Makefile.am:
26913 * pkgconfig/Makefile.am:
26914 * pkgconfig/gstreamer-check.pc.in:
26915 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26919 move the check stuff to a library that gets installed
26920 * check/gst-libs/controller.c: (GST_START_TEST):
26921 * check/gst-libs/gdp.c:
26922 * check/gst/gst.c: (GST_START_TEST):
26923 * check/gst/gstbin.c:
26924 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26925 * check/gst/gstbus.c:
26926 * check/gst/gstcaps.c: (GST_START_TEST):
26927 * check/gst/gstelement.c:
26928 * check/gst/gstghostpad.c:
26929 * check/gst/gstiterator.c:
26930 * check/gst/gstmessage.c:
26931 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26932 * check/gst/gstobject.c:
26933 * check/gst/gstpad.c: (GST_START_TEST):
26934 * check/gst/gststructure.c: (GST_START_TEST):
26935 * check/gst/gstsystemclock.c: (GST_START_TEST),
26936 (gst_systemclock_suite):
26937 * check/gst/gsttag.c: (gst_tag_suite):
26938 * check/gst/gstvalue.c:
26939 * check/pipelines/cleanup.c:
26940 * check/pipelines/simple_launch_lines.c:
26941 * check/states/sinks.c:
26942 change include statement
26944 * docs/gst/gstreamer-sections.txt:
26945 * docs/gst/tmpl/gstpad.sgml:
26946 document more pad stuff
26947 * gst/gstminiobject.c: (gst_mini_object_ref),
26948 (gst_mini_object_unref):
26951 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26953 * docs/gst/tmpl/gst.sgml:
26955 eliminate another tmpl file, fix spelling in the long-description
26957 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26959 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26960 (test_event), (timediff), (gstevents_suite):
26961 Should fix build on 64-bit arch's
26963 2005-08-18 Andy Wingo <wingo@pobox.com>
26965 Make sure that when a pipeline goes to PLAYING, that data has
26966 actually hit the sink.
26968 * check/states/sinks.c (test_sink): A sink that doesn't get any
26969 data shouldn't return SUCCESS for going to either PLAYING or
26970 PAUSED. Test also the return values on the way back down.
26972 * gst/gstelement.c (gst_element_set_state): When changing the
26973 state of an element currently changing state asynchronously, go to
26974 lost-state after commiting the pending state. Makes future calls
26975 to get_state continue to return ASYNC.
26977 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26978 ASYNC when going to PLAYING if we still don't have preroll, as can
26979 happen with live sources.
26981 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26983 * docs/pwg/advanced-types.xml:
26984 Hack long paragraph into 2 chunks as a workaround for buggy
26985 jadetex version in sid and breezy that loops infinitely and
26988 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26990 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26991 (test_event), (timediff), (gstevents_suite):
26992 Provide more error margin in clock measurements to allow for
26993 g_get_current_time inaccuracies.
26995 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26997 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26998 (test_event), (timediff), (gstevents_suite):
26999 Fix error message output so I might be able to tell why the
27000 test works here but fails on the build farm.
27002 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
27004 * check/Makefile.am:
27005 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27006 (test_event), (timediff), (gstevents_suite), (main):
27009 * docs/design/part-seeking.txt:
27010 Spelling correction
27012 * docs/gst/tmpl/gstevent.sgml:
27013 * docs/gst/tmpl/gstfakesrc.sgml:
27016 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27017 Treat a buffer-without-newsegment the same as a receiving
27018 a newsegment not in time format, and disable syncing to the clock
27021 * gst/gstbus.c: (gst_bus_set_sync_handler):
27022 Assert if anyone tries to replace the existing sync_handler for bus,
27023 as only the owner should be setting it.
27026 Have a fixed set of custom event enums with events identified by
27027 their structure name (as in 0.8), rather than a free-for-all
27028 allowing collisions between enum values from different plugins.
27030 * gst/gstpad.c: (gst_pad_class_init):
27033 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27034 Handle out-of-band downstream events from the sending thread.
27036 2005-08-17 Andy Wingo <wingo@pobox.com>
27038 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27039 play-timeout==0 to mean no timeout at all. In that case, don't
27040 bother with a get_state or a warning, just return directly, even
27043 * gst/base/gstbasetransform.c: Debug changes.
27046 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27047 ensure bins post state change messages. A bit of a hack but I can't
27048 think of a way to avoid it.
27050 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27052 2005-08-16 Andy Wingo <wingo@pobox.com>
27054 * gst/base/gstadapter.h:
27055 * gst/base/gstadapter.c (gst_adapter_take): New function, like
27056 peek() but you own the data. Not terribly efficient atm.
27058 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27060 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27061 (gst_element_found_tags):
27063 Add two utility functions for tag handling.
27065 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27067 * docs/manual/advanced-dataaccess.xml:
27068 * docs/manual/basics-helloworld.xml:
27069 Fix docs to use _bin_add() before _link(), which fixes the examples
27070 with recent core versions (reported by Madhan Raj M
27071 <raj_madan@rediffmail.com>, #313199).
27073 2005-08-16 Wim Taymans <wim@fluendo.com>
27075 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27076 Added subtract checks.
27078 * docs/design/part-events.txt:
27079 Some more docs about newsegment
27081 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27084 * gst/gstcaps.c: (gst_caps_to_string):
27085 Add comments, cleanups.
27087 * gst/gstelement.c: (gst_element_save_thyself):
27090 * gst/gstvalue.c: (gst_value_collect_int_range),
27091 (gst_string_unwrap), (gst_value_union_int_int_range),
27092 (gst_value_union_int_range_int_range),
27093 (gst_value_intersect_int_int_range),
27094 (gst_value_intersect_int_range_int_range),
27095 (gst_value_intersect_double_double_range),
27096 (gst_value_intersect_double_range_double_range),
27097 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27098 (gst_value_subtract_int_range_int),
27099 (gst_value_subtract_double_range_double),
27100 (gst_value_subtract_double_range_double_range),
27101 (gst_value_subtract_from_list), (gst_value_subtract_list),
27102 (gst_value_can_compare), (gst_value_compare_fraction):
27103 Cleanups, add comments, remove unneeded asserts.
27105 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27107 * tools/gst-launch.c: (event_loop):
27108 don't convert NULL structures to strings
27110 2005-08-15 Stefan Kost <ensonic@users.sf.net>
27112 * docs/gst/gstreamer-sections.txt:
27113 made some defines private
27114 * docs/gst/tmpl/gstconfig.sgml:
27115 * docs/gst/tmpl/gstqueue.sgml:
27116 * docs/gst/tmpl/gsttaglist.sgml:
27117 * docs/gst/tmpl/gsttypes.sgml:
27118 * docs/gst/tmpl/gstutils.sgml:
27119 * docs/pwg/appendix-porting.xml:
27120 * gst/base/gstbasesink.h:
27121 * gst/base/gstbasesrc.c:
27122 * gst/base/gstbasesrc.h:
27123 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27124 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27125 * gst/gstelement.c: (gst_element_class_init):
27126 * gst/gstpad.c: (gst_pad_class_init):
27127 * gst/gstqueue.c: (gst_queue_class_init):
27128 * gst/gstxml.c: (gst_xml_class_init):
27129 documented all undocumented signal inline
27130 * libs/gst/controller/gst-controller.h:
27133 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27135 * docs/pwg/appendix-porting.xml:
27136 Document _set_link_function -> _set_setcaps_function.
27138 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27140 * check/Makefile.am:
27141 add a .check target for running the check
27142 * check/gst-libs/controller.c: (GST_START_TEST):
27144 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27145 complete checks for gstbuffer; would be nice if I could get the
27146 gcov stuff to work so I can see if I actually completed gstbuffer.c
27147 * check/gstcheck.h:
27148 add ASSERT_BUFFER_REFCOUNT
27150 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27152 * docs/gst/gstreamer-sections.txt:
27153 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27155 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27156 spew out a warning if a tag that is already registered
27157 is re-registered, unless it is re-registered with a
27158 different type (#308438).
27160 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27162 * docs/pwg/appendix-porting.xml:
27163 * docs/pwg/building-state.xml:
27164 Add some paragraphs about state changes in 0.9 to the PWG
27165 and the porting guide, in particular about the new meaning
27166 of GST_STATE_PAUSED and how to write state change functions
27167 with concurrent access by multiple threads in mind.
27169 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27171 * docs/gst/gstreamer-docs.sgml:
27172 * docs/libs/gstreamer-libs-docs.sgml:
27173 added deprecation and since indexes
27174 * libs/gst/controller/gst-controller.c:
27175 * libs/gst/controller/gst-helper.c:
27179 2005-08-11 Wim Taymans <wim@fluendo.com>
27181 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27182 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27183 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27184 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27185 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27186 (gst_ghost_pad_set_target):
27187 Actually implement (re)setting the target on a ghostpad
27188 as described in the docs.
27190 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27192 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27193 Check whether GST_DEBUG_NO_COLOR environment variable is
27194 set and disable coloured debug output if that is the case.
27196 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27198 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27199 (gst_type_find_helper):
27200 The memory returned by gst_type_find_peek() needs to
27201 stay valid until the end of a typefind function, and
27202 typefind functions may keep results from different
27203 offsets around, so we can't just unref the buffer from
27204 the previous _peek(), but have to save all buffers
27205 returned by _peek() until typefinding is done and only
27208 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27210 * docs/gst/gstreamer-sections.txt:
27212 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27214 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27216 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27217 Fix a pretty good memleak.
27219 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27221 * gst/gstiterator.h:
27222 Fix wrong include and 'make distcheck'.
27224 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27226 * gst/gstbin.c: (bin_bus_handler):
27227 Use gst_element_post_message() instead.
27229 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27231 * gst/base/gstadapter.h:
27232 * gst/base/gstbasesink.h:
27233 * gst/base/gstbasesrc.h:
27234 * gst/base/gstbasetransform.h:
27235 * gst/base/gstcollectpads.h:
27236 * gst/base/gstpushsrc.h:
27237 * gst/gstiterator.h:
27238 Add padding to our base elements' class and instance structs and
27239 to GstIterator (you will need to rebuild all plugins and apps!)
27241 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27243 * gst/gstbin.c: (bin_bus_handler):
27244 Make default message forwarding from child->bus to bin->bus
27245 threadsafe and make it not emit warnings if the parent has no bus.
27247 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27249 * gst/gstelement.c: (activate_pads):
27250 On paused->ready, set pad->caps to NULL, as is the documented
27251 behaviour in this state change. Fixes playback of series of
27252 media files when visualization is enabled in Totem.
27254 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27256 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27257 Allow NULL as filter-caps (which means "any").
27259 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27261 * docs/libs/gstreamer-libs-sections.txt:
27262 * libs/gst/controller/gst-controller.c:
27263 * libs/gst/controller/gst-controller.h:
27264 * libs/gst/controller/gst-helper.c:
27265 adding more entries to the docs and fix small doc-bugs
27267 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27269 * docs/gst/gstreamer-docs.sgml:
27270 * docs/gst/gstreamer-sections.txt:
27271 * docs/gst/gstreamer.types:
27272 * docs/gst/tmpl/gstbasesink.sgml:
27273 * docs/gst/tmpl/gstbasesrc.sgml:
27274 * docs/gst/tmpl/gstbasetransform.sgml:
27275 * docs/gst/tmpl/gstfakesrc.sgml:
27276 * gst/base/gstcollectpads.c:
27277 * gst/base/gstcollectpads.h:
27278 * libs/gst/controller/gst-controller.c:
27279 * libs/gst/controller/gst-controller.h:
27280 * libs/gst/controller/gst-helper.c:
27281 * libs/gst/controller/gst-interpolation.c:
27282 * libs/gst/controller/lib.c:
27283 added long/short desc for controller docs
27284 added collectpads base class docs
27285 added correct includes to base-class docs
27287 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27289 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27290 (gst_test_mono_source_set_property),
27291 (gst_test_mono_source_class_init), (GST_START_TEST),
27292 (gst_controller_suite):
27293 * docs/gst/gstreamer-docs.sgml:
27294 * docs/gst/gstreamer-sections.txt:
27295 * docs/gst/gstreamer.types:
27296 * docs/libs/gstreamer-libs-docs.sgml:
27297 * docs/libs/gstreamer-libs-sections.txt:
27298 * gst/base/gstadapter.c:
27299 * libs/gst/controller/gst-controller.c:
27300 (gst_controlled_property_new), (gst_controlled_property_free),
27301 (gst_controller_new_valist),
27302 (gst_controller_remove_properties_valist),
27303 (gst_controller_sink_values), (_gst_controller_finalize):
27304 * libs/gst/controller/gst-controller.h:
27305 * libs/gst/controller/gst-helper.c:
27306 (gst_object_control_properties), (gst_object_uncontrol_properties),
27307 (gst_object_get_controller), (gst_object_set_controller),
27308 (gst_object_sink_values), (gst_object_get_value_arrays),
27309 (gst_object_get_value_array):
27310 more tests (and fixes) for the controller
27311 more docs for the controller
27312 integrated companies docs for the adapter
27314 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27316 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27317 (GST_START_TEST), (fakesrc_suite):
27318 add tests for sizetype
27320 2005-08-04 Andy Wingo <wingo@pobox.com>
27322 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27323 fixes buffer_alloc proxying among other things.
27325 * gst/base/gstbasetransform.c:
27326 * gst/base/gstbasetransform.h:
27327 Revert patch to gstbasetransform from 7-28 removing
27330 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27331 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27332 Semantics changed, should return not the size of the output buffer
27333 but the byte size of a buffer with a given caps.
27335 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27337 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27338 out) are not the pad caps until setcaps finishes.
27339 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27340 not-in-place case as well. Deal with changing from in-place to
27341 not-in-place within calling pad_alloc_buffer. Still a bit
27342 concerned about the overhead here...
27344 2005-08-03 Andy Wingo <wingo@pobox.com>
27346 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27347 fixating is an error.
27349 2005-08-04 Edward Hervey <edward@fluendo.com>
27351 * gst/base/gstadapter.h:
27352 Added gst_adapter_get_type() to the header
27354 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27356 * check/Makefile.am:
27357 * check/gst-libs/controller.c:
27358 * libs/gst/controller/gst-controller.c:
27359 (gst_controller_new_valist):
27360 added check test suite for the controller
27361 * gst/base/gstpushsrc.c:
27364 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27366 * docs/gst/Makefile.am:
27367 * docs/gst/gstreamer-docs.sgml:
27368 * docs/gst/gstreamer-sections.txt:
27369 * docs/gst/gstreamer.types:
27370 * docs/gst/tmpl/gstfakesrc.sgml:
27372 * gst/base/gstbasesink.c:
27373 * gst/base/gstbasesink.h:
27374 * gst/base/gstbasesrc.c:
27375 * gst/base/gstbasesrc.h:
27376 * gst/base/gstbasetransform.c:
27377 * gst/base/gstpushsrc.c:
27378 * gst/base/gstpushsrc.h:
27379 add short/long description docs to base classes
27380 add pushsrc to the docs
27381 remove consolidated doc fragments
27383 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27386 * docs/libs/Makefile.am:
27387 * docs/libs/gstreamer-libs-docs.sgml:
27388 * docs/libs/gstreamer-libs-sections.txt:
27389 * docs/libs/gstreamer-libs.types:
27390 * examples/Makefile.am:
27391 * examples/controller/.cvsignore:
27392 * examples/controller/Makefile.am:
27393 * examples/controller/audio-example.c: (main):
27394 * libs/gst/Makefile.am:
27395 * libs/gst/controller/.cvsignore:
27396 * libs/gst/controller/Makefile.am:
27397 * libs/gst/controller/gst-controller.c:
27398 (on_object_controlled_property_changed), (gst_timed_value_compare),
27399 (gst_timed_value_find),
27400 (gst_controlled_property_set_interpolation_mode),
27401 (gst_controlled_property_new), (gst_controlled_property_free),
27402 (gst_controller_find_controlled_property),
27403 (gst_controller_new_valist), (gst_controller_new),
27404 (gst_controller_remove_properties_valist),
27405 (gst_controller_remove_properties), (gst_controller_set),
27406 (gst_controller_set_from_list), (gst_controller_unset),
27407 (gst_controller_get), (gst_controller_get_all),
27408 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27409 (gst_controller_get_value_array),
27410 (gst_controller_set_interpolation_mode),
27411 (_gst_controller_finalize), (_gst_controller_init),
27412 (_gst_controller_class_init), (gst_controller_get_type):
27413 * libs/gst/controller/gst-controller.h:
27414 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27415 (g_object_uncontrol_properties), (g_object_get_controller),
27416 (g_object_set_controller), (g_object_sink_values),
27417 (g_object_get_value_arrays), (g_object_get_value_array):
27418 * libs/gst/controller/gst-interpolation.c:
27419 (gst_controlled_property_find_timed_value_node),
27420 (interpolate_none_get), (interpolate_trigger_get),
27421 (interpolate_trigger_get_value_array):
27422 * libs/gst/controller/lib.c: (gst_controller_init):
27423 * pkgconfig/Makefile.am:
27424 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27425 * pkgconfig/gstreamer-control.pc.in:
27426 * testsuite/Makefile.am:
27427 * testsuite/controller/.cvsignore:
27428 * testsuite/controller/Makefile.am:
27429 * testsuite/controller/interpolator.c: (main):
27430 added controller code
27431 removed dparam pc files
27433 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27434 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27435 (gst_collectpads_stop):
27436 Broadcast the condition when shutting down, to make sure we wake all
27437 threads up. Shut down pads on finalize, for safety.
27439 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27440 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27441 (gst_base_transform_handle_buffer),
27442 (gst_base_transform_change_state):
27443 Handle PAUSED->READY->PAUSED transition after negotiation
27445 * gst/gstmessage.c: (gst_message_init):
27446 Extra piece of debug for new messages.
27448 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27451 * docs/gst/tmpl/gstbasesrc.sgml:
27452 * docs/gst/tmpl/gstelement.sgml:
27453 * docs/gst/tmpl/gstevent.sgml:
27454 * docs/gst/tmpl/gstfakesrc.sgml:
27455 * docs/gst/tmpl/gstformat.sgml:
27456 * docs/gst/tmpl/gstghostpad.sgml:
27457 * docs/gst/tmpl/gstpad.sgml:
27458 * docs/gst/tmpl/gstquery.sgml:
27459 * docs/gst/tmpl/gststructure.sgml:
27460 * docs/gst/tmpl/gsttaglist.sgml:
27461 * docs/gst/tmpl/gstvalue.sgml:
27462 * docs/libs/gstreamer-libs-docs.sgml:
27463 * docs/libs/gstreamer-libs-sections.txt:
27464 * docs/libs/gstreamer-libs.types:
27465 * libs/gst/Makefile.am:
27466 * libs/gst/control/.cvsignore:
27467 * libs/gst/control/Makefile.am:
27468 * libs/gst/control/control.c:
27469 * libs/gst/control/control.h:
27470 * libs/gst/control/dparam.c:
27471 * libs/gst/control/dparam.h:
27472 * libs/gst/control/dparam_smooth.c:
27473 * libs/gst/control/dparam_smooth.h:
27474 * libs/gst/control/dparamcommon.h:
27475 * libs/gst/control/dparammanager.c:
27476 * libs/gst/control/dparammanager.h:
27477 * libs/gst/control/dplinearinterp.c:
27478 * libs/gst/control/dplinearinterp.h:
27479 * libs/gst/control/unitconvert.c:
27480 * libs/gst/control/unitconvert.h:
27481 * testsuite/Makefile.am:
27482 * testsuite/dynparams/.cvsignore:
27483 * testsuite/dynparams/Makefile.am:
27484 * testsuite/dynparams/dparamstest.c:
27485 * tools/Makefile.am:
27486 * tools/gst-inspect.c: (print_element_info), (main):
27487 * tools/gst-xmlinspect.c: (print_element_info), (main):
27488 deactivate and remove dparams (libgstcontrol)
27490 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27492 * gst/elements/gsttypefindelement.c:
27493 (gst_type_find_element_have_type), (gst_type_find_element_init),
27494 (stop_typefinding), (gst_type_find_element_handle_event),
27495 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27496 * gst/elements/gsttypefindelement.h:
27497 Set caps on all outgoing buffers, not just the first one.
27499 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27501 * gst/elements/gsttypefindelement.c:
27502 (gst_type_find_element_have_type),
27503 (gst_type_find_element_check_set_buffer_caps),
27504 (gst_type_find_element_init), (stop_typefinding),
27505 (gst_type_find_element_handle_event),
27506 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27507 * gst/elements/gsttypefindelement.h:
27508 Set caps on first outgoing buffer when we've found the type.
27510 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27512 * docs/gst/gstreamer-docs.sgml:
27513 * docs/gst/gstreamer-sections.txt:
27514 * docs/gst/tmpl/gstscheduler.sgml:
27515 * docs/gst/tmpl/gstschedulerfactory.sgml:
27516 Remove some old cruft from docs.
27518 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27521 Fix inline docs for GstPadLinkReturn.
27523 * gst/gststructure.c: (gst_structure_has_name):
27524 * gst/gststructure.h:
27525 * docs/gst/gstreamer-sections.txt:
27526 New API: gst_structure_has_name().
27528 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27531 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27532 and _LARGEFILE_SOURCE in config.h as required. Do not
27533 export those flags in our .pc files any longer (#142209).
27535 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27537 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27538 (gst_file_sink_do_seek), (gst_file_sink_event),
27539 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27540 Redo seek/tell calls with large file support in mind; add some
27541 debugging messages; add log message that tells us when large
27542 file support is unavailable or not enabled for some reason.
27544 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27545 Add log message that tells us when large file support
27546 is unavailable or not enabled for some reason.
27548 2005-07-29 Wim Taymans <wim@fluendo.com>
27550 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27551 Added test for removing an element with ghostpad from a bin.
27552 Fixed test as current implementation does the right thing.
27554 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27555 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27556 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27557 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27558 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27559 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27560 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27561 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27562 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27563 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27564 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27565 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27566 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27567 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27568 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27569 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27570 * gst/gstghostpad.h:
27571 Clean up ghostpads, remove properties for internal stuff.
27574 Prepare for switching targets, not all use cases work yet.
27576 2005-07-29 Wim Taymans <wim@fluendo.com>
27578 * docs/design/part-gstghostpad.txt:
27581 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27582 (gst_bin_remove_func):
27583 Unlinking pads while holding the bin LOCK is not a good
27586 * gst/gstpad.c: (gst_pad_class_init),
27587 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27588 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27589 No prob setting template after creating the pad.
27591 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27593 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27594 (gst_bus_peek), (gst_bus_source_dispatch),
27595 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27596 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27597 gst_bus_poll may be called from other threads. Handle
27598 this nicely by not making poll_data disappear off the
27599 stack once gst_bus_poll returns.
27600 gst_bus_peek now increments the refcount on the returned
27603 2005-07-29 Wim Taymans <wim@fluendo.com>
27605 * docs/design/part-gstghostpad.txt:
27606 Overview of current GhostPad datastructures and use
27607 cases for changing the target.
27609 2005-07-28 Wim Taymans <wim@fluendo.com>
27611 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27612 Added checks for hierarchy consistency whan adding linked
27615 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27616 Added check to test element scheduling without bin/pipeline.
27618 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27619 First add elements to bin, then link.
27621 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27622 (gst_bin_remove_func):
27623 Unlink pads from elements added/removed from bin to maintain
27624 hierarchy consistency.
27626 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27628 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27629 (gst_base_transform_handle_buffer):
27630 * gst/base/gstbasetransform.h:
27631 Remove broken delay_configure (fixes renegotiation of software
27632 scaling pipelines); remove some leftover printf()s.
27634 2005-07-28 Wim Taymans <wim@fluendo.com>
27636 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27637 Added some more tests for wrong hierarchy
27639 * docs/design/part-overview.txt:
27642 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27645 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27646 (gst_element_dispose):
27647 Some more cleanups.
27649 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27650 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27651 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27652 (gst_pad_set_caps), (gst_pad_send_event):
27653 Check for correct hierarchy when linking pads. Moving to
27654 strict requirement for ghostpads when linking elements in
27658 Clean ups. Added WRONG_HIERARCHY return value.
27660 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27662 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27663 Better debug if no transform is possible.
27665 2005-07-27 Wim Taymans <wim@fluendo.com>
27667 * docs/random/wtay/network-transp:
27668 Some old doc I had.
27670 2005-07-27 Wim Taymans <wim@fluendo.com>
27672 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27673 (gst_dp_event_from_packet):
27674 Fix serialization of seek events.
27676 2005-07-27 Wim Taymans <wim@fluendo.com>
27678 * check/gst-libs/gdp.c: (GST_START_TEST):
27679 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27680 Fix compilation and fix event serialization.
27682 2005-07-27 Wim Taymans <wim@fluendo.com>
27685 * docs/design/part-TODO.txt:
27686 * docs/design/part-events.txt:
27689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27690 (gst_base_sink_event), (gst_base_sink_do_sync),
27691 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27692 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27693 (gst_base_src_do_seek), (gst_base_src_event_handler),
27694 (gst_base_src_loop):
27695 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27696 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27697 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27698 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27699 (gst_base_transform_set_passthrough),
27700 (gst_base_transform_is_passthrough):
27701 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27702 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27708 * gst/gstelement.c: (gst_element_seek):
27709 * gst/gstelement.h:
27710 Update gst_element_seek.
27712 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27713 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27714 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27715 (gst_event_new_eos), (gst_event_new_newsegment),
27716 (gst_event_parse_newsegment), (gst_event_new_tag),
27717 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27718 (gst_event_parse_qos), (gst_event_new_seek),
27719 (gst_event_parse_seek), (gst_event_new_navigation):
27721 Make GstEvent use GstStructure. Add parsing code, make sure the
27722 API is sufficiently generic.
27723 Mark possible directions of events and serialization.
27725 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27726 (_gst_message_copy), (gst_message_new_segment_start),
27727 (gst_message_new_segment_done), (gst_message_new_custom),
27728 (gst_message_parse_segment_start),
27729 (gst_message_parse_segment_done):
27732 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27733 (gst_pad_set_caps), (gst_pad_send_event):
27734 Update for new events.
27735 Catch events sent in wrong directions.
27737 * gst/gstqueue.c: (gst_queue_link_src),
27738 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27739 (gst_queue_handle_src_query):
27744 Remove event code from this file.
27746 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27747 (gst_dp_event_from_packet):
27750 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27752 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27753 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27754 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27755 Make debugging actually useful.
27757 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27759 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27760 (gst_pad_fixate_caps):
27761 Implement default fixation once again, so that gst_pad_fixate()
27762 actually does anything at all. This probably needs to be some
27763 sort of a last resort, and use profile-based fixation first, but
27764 since that doesn't exist yet, this is the best we have. Fixes
27765 visualization in Totem.
27767 2005-07-22 Wim Taymans <wim@fluendo.com>
27769 * docs/design/part-events.txt:
27772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27773 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27774 (gst_base_sink_activate_pull):
27775 Some more comments.
27777 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27778 (gst_fake_src_create):
27779 Fix handoff marshall.
27781 * gst/elements/gstidentity.c: (gst_identity_class_init),
27782 (gst_identity_transform_ip):
27783 We're a real inplace element.
27785 * gst/gstbus.c: (gst_bus_post):
27786 Added some comments.
27788 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27789 * tests/muxing/case1.c: (main):
27790 * tests/sched/dynamic-pipeline.c: (main):
27791 * tests/sched/interrupt1.c: (main):
27792 * tests/sched/interrupt2.c: (main):
27793 * tests/sched/interrupt3.c: (main):
27794 * tests/sched/runxml.c: (main):
27795 * tests/sched/sched-stress.c: (main):
27796 * tests/seeking/seeking1.c: (event_received), (main):
27797 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27799 * tests/threadstate/threadstate3.c: (main):
27800 * tests/threadstate/threadstate4.c: (main):
27801 * tests/threadstate/threadstate5.c: (main):
27804 2005-07-21 Wim Taymans <wim@fluendo.com>
27806 * docs/design/part-seeking.txt:
27807 Some small additions.
27809 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27810 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27811 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27812 * gst/base/gstbasesink.h:
27813 discont values are gint64, handle the math correctly.
27815 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27816 Make the basesrc report error if the source pad is not linked.
27818 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27819 (gst_queue_loop), (gst_queue_handle_src_query),
27820 (gst_queue_src_activate_push):
27821 Make queue collect data even if the srcpad is not linked.
27822 Start pushing out data as soon as it is linked.
27824 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27826 Added gst_flow_get_name() to ease error reporting.
27828 2005-07-20 Wim Taymans <wim@fluendo.com>
27830 * gst/gstmessage.c: (gst_message_new_segment_start),
27831 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27832 (gst_message_parse_segment_done):
27833 * gst/gstmessage.h:
27834 Added a bunch of messages for advanced seeking.
27836 * gst/parse/grammar.y:
27837 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27838 (gst_dpman_state_changed):
27839 Fix some new-pad -> pad-added signals
27841 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27843 * docs/manual/appendix-porting.xml:
27844 * docs/pwg/appendix-porting.xml:
27845 Document new-pad/state-change signal renames and the FixedList
27848 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27850 * docs/manual/advanced-autoplugging.xml:
27851 * docs/manual/basics-helloworld.xml:
27852 * docs/manual/basics-pads.xml:
27853 * docs/random/ds/0.9-suggested-changes:
27854 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27855 * gst/gstelement.h:
27859 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27860 (gst_structure_parse_array), (gst_structure_parse_value):
27861 * gst/gstvalue.c: (gst_type_is_fixed),
27862 (gst_value_list_prepend_value), (gst_value_list_append_value),
27863 (gst_value_list_get_size), (gst_value_list_get_value),
27864 (gst_value_transform_array_string), (gst_value_serialize_array),
27865 (gst_value_deserialize_array), (gst_value_intersect_array),
27866 (gst_value_is_fixed), (_gst_value_initialize):
27868 GstElement::new-pad -> pad-added, GstElement::state-change ->
27869 state-changed, GstValueFixedList -> GstValueArray, add format and
27870 flags as their own arguments in gst_element_seek() (should improve
27871 "bindeability"), remove function generators since they don't work
27872 under a whole bunch of compilers (they were deprecated already
27875 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27877 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27878 (_gst_debug_register_funcptr):
27880 Fix illegal cast on some platforms (#309253).
27882 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27884 * gst/gstmessage.c: (gst_message_new_custom):
27885 * gst/gstmessage.h:
27886 Add _new_custom, make _new_application a macro to _new_custom.
27888 2005-07-20 Wim Taymans <wim@fluendo.com>
27890 * gst/base/gstbasesrc.c: (gst_base_src_init),
27891 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27892 * gst/base/gstbasesrc.h:
27893 Add a gboolean to decide when to push out a discont.
27895 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27896 (gst_queue_loop), (gst_queue_handle_src_query),
27897 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27898 (gst_queue_set_property), (gst_queue_get_property):
27901 * tests/threadstate/threadstate1.c: (main):
27902 Make a thread test compile and run... very silly..
27905 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27907 * docs/manual/appendix-porting.xml:
27908 Mention removal of libgstgconf-0.9.la and existence of gconf
27911 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27913 * docs/pwg/advanced-clock.xml:
27914 * docs/pwg/appendix-porting.xml:
27915 * docs/pwg/intro-preface.xml:
27916 * docs/pwg/other-base.xml:
27917 * docs/pwg/other-manager.xml:
27918 * docs/pwg/other-nton.xml:
27919 * docs/pwg/other-ntoone.xml:
27920 * docs/pwg/other-oneton.xml:
27921 * docs/pwg/pwg.xml:
27922 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27923 demuxer), remove n-to-n (was never written), fix some code examples
27924 and links and update the porting section to include all this.
27926 2005-07-19 Wim Taymans <wim@fluendo.com>
27928 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27929 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27930 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27931 (gst_queue_src_activate_push), (gst_queue_change_state),
27932 (gst_queue_get_property):
27934 Propagate GstFlowReturn more intelligently upstream and output
27935 an ERROR/EOS when streaming stopped due to fatal error.
27937 2005-07-19 Wim Taymans <wim@fluendo.com>
27939 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27940 Don't block forever for the state change to complete, the
27941 pipeline already did with a sensible timeout.
27943 2005-07-19 Wim Taymans <wim@fluendo.com>
27945 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27946 Make sure we never call the create function is we
27949 2005-07-19 Andy Wingo <wingo@pobox.com>
27951 * gst/parse/parse.l: Attempt to solve bug #172815.
27953 2005-07-19 Wim Taymans <wim@fluendo.com>
27955 * docs/design/part-clocks.txt:
27956 * docs/design/part-events.txt:
27957 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27958 Small docs updates.
27959 Only update the seeking values when we are not
27962 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27964 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27965 Oops, ignore the result of gst_pad_push_event here.
27967 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27969 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27970 (gst_base_src_activate_push):
27971 Send discont event from the loop function, as pads
27972 aren't activated yet in the activate_push handler.
27974 * gst/gstbin.c: (bin_bus_handler):
27975 Don't leak element name.
27977 2005-07-18 Andy Wingo <wingo@pobox.com>
27979 * configure.ac: Use AS_LIBTOOL_TAGS.
27981 2005-07-18 Wim Taymans <wim@fluendo.com>
27983 * docs/gst/gstreamer.types:
27984 Remove deleted types.
27986 2005-07-18 Wim Taymans <wim@fluendo.com>
27988 * check/elements/gstfakesrc.c: (GST_START_TEST):
27991 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27992 (init_popt_callback):
27994 * gst/gst_private.h:
27995 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27996 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27999 * gst/gstconfig.h.in:
28000 * gst/gstelement.c: (gst_element_class_init),
28001 (gst_element_set_base_time), (gst_element_get_base_time),
28002 (iterator_fold_with_resync), (gst_element_change_state),
28003 (gst_element_dispose), (gst_element_get_bus):
28004 * gst/gstelement.h:
28005 * gst/gstelementfactory.h:
28006 * gst/gsterror.c: (_gst_core_errors_init):
28009 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28011 * gst/gstinfo.c: (_gst_debug_init):
28012 * gst/gstmessage.c: (_gst_message_copy):
28013 * gst/gstmessage.h:
28014 * gst/gstminiobject.h:
28017 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28018 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28021 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28022 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28023 (gst_pipeline_get_last_stream_time):
28024 * gst/gstpipeline.h:
28025 * gst/gstpluginfeature.h:
28027 * gst/gstscheduler.c:
28028 * gst/gstscheduler.h:
28029 * gst/gststructure.h:
28030 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28031 (gst_task_finalize), (gst_task_func), (gst_task_create),
28032 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28033 (gst_task_stop), (gst_task_pause):
28035 * gst/gsttypefind.h:
28037 * gst/registries/gstlibxmlregistry.c: (load_feature),
28038 (gst_xml_registry_load), (gst_xml_registry_save_feature):
28039 * gst/registries/gstxmlregistry.c:
28040 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28041 * gst/schedulers/threadscheduler.c:
28042 * libs/gst/control/dparammanager.h:
28043 * tools/gst-inspect.c: (print_element_list),
28044 (print_plugin_features), (print_element_features):
28045 * tools/gst-xmlinspect.c: (print_element_list),
28046 (print_plugin_info), (main):
28047 Removed plugable schedulers.
28048 Removed Scheduler/Manager from elements.
28049 Removed gsttypes.h, rearranged includes.
28050 Removed dependency pad<->element, element<>pipeline, and
28051 various others, fix includes.
28052 implement gst_pad_get_parent() with gst_object_get_parent()
28053 Make GstTask sefcontained.
28054 Fix _get_state() on GstBin, it did not return ASYNC with a 0
28056 Fix endless loop in iterator_fold_with_resync.
28059 2005-07-18 Wim Taymans <wim@fluendo.com>
28065 2005-07-18 Wim Taymans <wim@fluendo.com>
28068 No more cothreads.h
28070 2005-07-18 Wim Taymans <wim@fluendo.com>
28074 Let's remove these.
28076 2005-07-18 Wim Taymans <wim@fluendo.com>
28078 * docs/design/part-dynamic.txt:
28079 * docs/design/part-events.txt:
28080 * docs/design/part-seeking.txt:
28081 Some more docs in the works.
28083 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28084 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28085 (gst_base_transform_setcaps), (gst_base_transform_get_size),
28086 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28087 (gst_base_transform_handle_buffer),
28088 (gst_base_transform_sink_activate_push),
28089 (gst_base_transform_src_activate_pull),
28090 (gst_base_transform_set_passthrough),
28091 (gst_base_transform_is_passthrough):
28094 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28097 * gst/gstevent.c: (gst_event_finalize):
28100 * gst/gstutils.c: (gst_element_unlink),
28101 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28102 (gst_pad_proxy_setcaps):
28104 Add _get_parent_element() to get a pads parent as an element.
28106 2005-07-18 Wim Taymans <wim@fluendo.com>
28108 * check/gst/gstbin.c: (GST_START_TEST):
28111 2005-07-18 Wim Taymans <wim@fluendo.com>
28113 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28114 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28115 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28116 (gst_base_sink_event), (gst_base_sink_do_sync),
28117 (gst_base_sink_chain), (gst_base_sink_loop),
28118 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28119 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28121 Fix logic for returning ASYNC when not prerolled.
28123 2005-07-18 Wim Taymans <wim@fluendo.com>
28125 * gst/gstqueue.c: (gst_queue_handle_sink_event):
28126 Fix nasty refcount bug.
28128 2005-07-16 Philippe Khalaf <burger@speedy.org>
28130 * gst/elements/gstfdsrc.c:
28131 * gst/elements/gstfdsrc.h:
28132 * gst/elements/gstelements.c:
28133 * gst/elements/Makefile.am:
28134 Ported fdsrc to 0.9.
28136 2005-07-16 Wim Taymans <wim@fluendo.com>
28138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28139 (gst_base_sink_do_sync):
28142 2005-07-16 Wim Taymans <wim@fluendo.com>
28144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28145 (gst_base_sink_event), (gst_base_sink_get_times),
28146 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28147 * gst/base/gstbasesink.h:
28148 Store and use discont values when syncing buffers as described
28151 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28152 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28153 (gst_base_src_activate_push):
28154 Push discont event when starting.
28156 * gst/elements/gstidentity.c: (gst_identity_transform):
28159 * gst/gstbin.c: (gst_bin_change_state):
28160 Small cleanups in base_time distribution.
28162 * gst/gstelement.c: (gst_element_set_base_time),
28163 (gst_element_get_base_time), (gst_element_change_state):
28164 * gst/gstelement.h:
28165 Added methods for the base_time of the element.
28168 * gst/gstpipeline.c: (gst_pipeline_send_event),
28169 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28170 (gst_pipeline_get_last_stream_time):
28171 * gst/gstpipeline.h:
28173 Handle seeking as described in design doc, remove stream_time
28175 Cleanups clock and stream_time selection code. Added accessors
28176 for the stream_time.
28179 2005-07-16 Andy Wingo <wingo@pobox.com>
28181 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28184 2005-07-16 Wim Taymans <wim@fluendo.com>
28186 * check/gst/gstbin.c: (GST_START_TEST):
28187 Make elements silent as the deep_notify refs the
28188 parent, which might make the test fail.
28190 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28191 Don't hold the lock for too long.
28193 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28195 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28196 Don't unref the caps we passed to gst_caps_make_writable() after
28197 passing them. gst_caps_make_writable() will do that for us.
28199 2005-07-15 Andy Wingo <wingo@pobox.com>
28201 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28204 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28205 own marshalling function for the handoff signal. Properly type the
28206 buffer as a buffer. Fixes some warnings. Should do a more general
28208 (gst_identity_class_init): Plug into the right marshaller.
28210 2005-07-15 Wim Taymans <wim@fluendo.com>
28212 * docs/design/part-TODO.txt:
28213 * docs/design/part-clocks.txt:
28214 * docs/design/part-element-sink.txt:
28215 * docs/design/part-events.txt:
28216 * docs/design/part-gstpipeline.txt:
28217 Updated docs, mostly DISCONT related.
28219 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28221 * docs/pwg/building-pads.xml:
28222 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28224 2005-07-15 Andy Wingo <wingo@pobox.com>
28226 * tools/gst-typefind.c: Update, add copyright block.
28228 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28229 Normalize and truncate caps before fixation.
28232 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28233 discards all but the first structure from its argument.
28235 2005-07-15 Wim Taymans <wim@fluendo.com>
28237 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28238 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28239 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28240 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28241 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28242 (gst_base_transform_chain), (gst_base_transform_change_state),
28243 (gst_base_transform_set_passthrough),
28244 (gst_base_transform_is_passthrough):
28245 * gst/base/gstbasetransform.h:
28246 Make passthrough work using the bufferpools.
28247 Changed API a bit, subclasses have to write into a buffer
28248 provided by the base class.
28249 More debug info in nego functions.
28251 * gst/elements/gstidentity.c: (gst_identity_init),
28252 (gst_identity_transform):
28253 Port to new base class.
28255 2005-07-15 Wim Taymans <wim@fluendo.com>
28257 * gst/gstmessage.c: (gst_message_new_state_changed):
28258 * tools/gst-launch.c: (event_loop), (main):
28259 Totally dump messages in -launch with the -m option.
28260 Fix message name for State messages,
28262 2005-07-14 Wim Taymans <wim@fluendo.com>
28264 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28265 Post error messages on errors.
28267 2005-07-14 Wim Taymans <wim@fluendo.com>
28269 * gst/gstcaps.c: (gst_caps_do_simplify):
28273 Define error for stream stopped.
28275 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28276 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28277 Do proper return values.
28279 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28280 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28281 (gst_pad_get_range):
28282 Better return values.
28285 Reorganise return values, add macro to check for fatal errors.
28287 * gst/gstqueue.c: (gst_queue_chain):
28288 Return proper GstFlowReturn values,
28290 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28292 * docs/gst/gstreamer-sections.txt:
28293 * docs/gst/gstreamer.types:
28294 * docs/gst/tmpl/gst.sgml:
28295 * docs/gst/tmpl/gstbasesink.sgml:
28296 * docs/gst/tmpl/gstbasesrc.sgml:
28297 * docs/gst/tmpl/gstbasetransform.sgml:
28298 * docs/gst/tmpl/gstbin.sgml:
28299 * docs/gst/tmpl/gstbuffer.sgml:
28300 * docs/gst/tmpl/gstcaps.sgml:
28301 * docs/gst/tmpl/gstclock.sgml:
28302 * docs/gst/tmpl/gstcompat.sgml:
28303 * docs/gst/tmpl/gstconfig.sgml:
28304 * docs/gst/tmpl/gstelement.sgml:
28305 * docs/gst/tmpl/gstelementdetails.sgml:
28306 * docs/gst/tmpl/gstelementfactory.sgml:
28307 * docs/gst/tmpl/gstenumtypes.sgml:
28308 * docs/gst/tmpl/gsterror.sgml:
28309 * docs/gst/tmpl/gstevent.sgml:
28310 * docs/gst/tmpl/gstfakesink.sgml:
28311 * docs/gst/tmpl/gstfakesrc.sgml:
28312 * docs/gst/tmpl/gstfilesink.sgml:
28313 * docs/gst/tmpl/gstfilesrc.sgml:
28314 * docs/gst/tmpl/gstfilter.sgml:
28315 * docs/gst/tmpl/gstformat.sgml:
28316 * docs/gst/tmpl/gstghostpad.sgml:
28317 * docs/gst/tmpl/gstimplementsinterface.sgml:
28318 * docs/gst/tmpl/gstindex.sgml:
28319 * docs/gst/tmpl/gstindexfactory.sgml:
28320 * docs/gst/tmpl/gstinfo.sgml:
28321 * docs/gst/tmpl/gstiterator.sgml:
28322 * docs/gst/tmpl/gstmacros.sgml:
28323 * docs/gst/tmpl/gstmemchunk.sgml:
28324 * docs/gst/tmpl/gstminiobject.sgml:
28325 * docs/gst/tmpl/gstobject.sgml:
28326 * docs/gst/tmpl/gstpad.sgml:
28327 * docs/gst/tmpl/gstpadtemplate.sgml:
28328 * docs/gst/tmpl/gstparse.sgml:
28329 * docs/gst/tmpl/gstpipeline.sgml:
28330 * docs/gst/tmpl/gstplugin.sgml:
28331 * docs/gst/tmpl/gstpluginfeature.sgml:
28332 * docs/gst/tmpl/gstquery.sgml:
28333 * docs/gst/tmpl/gstqueue.sgml:
28334 * docs/gst/tmpl/gstregistry.sgml:
28335 * docs/gst/tmpl/gstregistrypool.sgml:
28336 * docs/gst/tmpl/gstscheduler.sgml:
28337 * docs/gst/tmpl/gstschedulerfactory.sgml:
28338 * docs/gst/tmpl/gststructure.sgml:
28339 * docs/gst/tmpl/gstsystemclock.sgml:
28340 * docs/gst/tmpl/gsttaglist.sgml:
28341 * docs/gst/tmpl/gsttagsetter.sgml:
28342 * docs/gst/tmpl/gsttrace.sgml:
28343 * docs/gst/tmpl/gsttrashstack.sgml:
28344 * docs/gst/tmpl/gsttypefind.sgml:
28345 * docs/gst/tmpl/gsttypefindfactory.sgml:
28346 * docs/gst/tmpl/gsttypes.sgml:
28347 * docs/gst/tmpl/gsturihandler.sgml:
28348 * docs/gst/tmpl/gsturitype.sgml:
28349 * docs/gst/tmpl/gstutils.sgml:
28350 * docs/gst/tmpl/gstvalue.sgml:
28351 * docs/gst/tmpl/gstversion.sgml:
28352 * docs/gst/tmpl/gstxml.sgml:
28353 * docs/libs/tmpl/gstcontrol.sgml:
28354 * docs/libs/tmpl/gstdataprotocol.sgml:
28355 * docs/libs/tmpl/gstdparam.sgml:
28356 * docs/libs/tmpl/gstdplinint.sgml:
28357 * docs/libs/tmpl/gstdpman.sgml:
28358 * docs/libs/tmpl/gstdpsmooth.sgml:
28359 * docs/libs/tmpl/gstgetbits.sgml:
28360 * docs/libs/tmpl/gstunitconvert.sgml:
28361 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28362 (gst_push_src_base_init), (gst_push_src_class_init),
28363 (gst_push_src_init), (gst_push_src_create):
28364 * gst/base/gstpushsrc.h:
28365 * gst/elements/gstelements.c:
28366 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28367 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28368 (gst_fake_sink_init), (gst_fake_sink_set_property),
28369 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28370 (gst_fake_sink_event), (gst_fake_sink_preroll),
28371 (gst_fake_sink_render), (gst_fake_sink_change_state):
28372 * gst/elements/gstfakesink.h:
28373 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28374 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28375 (gst_fake_src_base_init), (gst_fake_src_class_init),
28376 (gst_fake_src_init), (gst_fake_src_event_handler),
28377 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28378 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28379 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28380 (gst_fake_src_create_buffer), (gst_fake_src_create),
28381 (gst_fake_src_start), (gst_fake_src_stop):
28382 * gst/elements/gstfakesrc.h:
28383 * gst/elements/gstfilesink.c: (_do_init),
28384 (gst_file_sink_base_init), (gst_file_sink_class_init),
28385 (gst_file_sink_init), (gst_file_sink_dispose),
28386 (gst_file_sink_set_location), (gst_file_sink_set_property),
28387 (gst_file_sink_get_property), (gst_file_sink_open_file),
28388 (gst_file_sink_close_file), (gst_file_sink_query),
28389 (gst_file_sink_event), (gst_file_sink_render),
28390 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28391 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28392 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28393 * gst/elements/gstfilesink.h:
28394 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28395 (gst_file_src_class_init), (gst_file_src_init),
28396 (gst_file_src_finalize), (gst_file_src_set_location),
28397 (gst_file_src_set_property), (gst_file_src_get_property),
28398 (gst_file_src_map_region), (gst_file_src_map_small_region),
28399 (gst_file_src_create_mmap), (gst_file_src_create_read),
28400 (gst_file_src_create), (gst_file_src_is_seekable),
28401 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28402 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28403 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28404 (gst_file_src_uri_handler_init):
28405 * gst/elements/gstfilesrc.h:
28406 more autistic cleanliness in functions/names/defines
28408 2005-07-13 Andy Wingo <wingo@pobox.com>
28410 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28411 source couldn't negotiate.
28413 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28417 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28418 function. I am channeling Hades. Put your boots on suckers!!!
28420 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28422 * testsuite/caps/Makefile.am:
28423 * testsuite/caps/value_compare.c:
28424 * testsuite/caps/value_intersect.c:
28425 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28426 move two testsuite apps over to the check dir
28428 2005-07-12 Wim Taymans <wim@fluendo.com>
28430 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28431 Added more debug info in the negotiate process.
28433 * gst/gstmessage.h:
28434 Prepare for segment playback.
28436 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28442 * tools/gst-launch.c: (main):
28443 NULL pipeline on errors.
28445 2005-07-12 Andy Wingo <wingo@pobox.com>
28447 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28448 not it comes from a malloc region. Make sure our copy gets freed.
28450 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28452 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28453 * check/gst/gstmessage.c: (GST_START_TEST):
28454 * check/gst/gststructure.c: (GST_START_TEST),
28455 (gst_structure_suite), (main):
28457 * gst/gstelement.c: (gst_element_message_full):
28458 clean up GError and debug string now that they get copied
28459 * gst/gstmessage.c: (gst_message_new_error),
28460 (gst_message_new_warning), (gst_message_parse_error),
28461 (gst_message_parse_warning):
28462 use GST_TYPE_G_ERROR for structure_new, and take copies of
28463 arguments, so that we don't mess up refcounting
28465 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28467 * check/Makefile.am:
28468 add per-test valgrind targets
28469 * check/gst-libs/gdp.c: (GST_START_TEST),
28470 (gst_data_protocol_suite), (main):
28473 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28475 * check/Makefile.am:
28476 instate more valgrindable tests
28477 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28478 (GST_START_TEST), (fakesrc_suite):
28479 * check/gst/gstpad.c: (GST_START_TEST):
28480 * check/gst/gststructure.c: (GST_START_TEST):
28482 * docs/gst/tmpl/gstminiobject.sgml:
28483 * gst/gstpad.c: (gst_pad_finalize):
28484 fix the static mutex leak
28486 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28488 * check/Makefile.am:
28489 add two more tests for valgrinding
28490 * check/gst/gstvalue.c: (GST_START_TEST):
28491 test refcount of deserialized buffer, found a leak
28492 * docs/gst/gstreamer-docs.sgml:
28493 * docs/gst/gstreamer-sections.txt:
28494 * docs/gst/gstreamer.types:
28495 * docs/gst/tmpl/gstminiobject.sgml:
28496 add miniobject to docs
28497 * gst/gstminiobject.c:
28499 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28500 (gst_string_unwrap):
28501 fix a hard-to-find invalid write for one of the tests
28502 fix a leak for deserialized buffers
28504 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28506 * docs/pwg/advanced-events.xml:
28507 * docs/pwg/advanced-request.xml:
28508 * docs/pwg/advanced-scheduling.xml:
28509 * docs/pwg/appendix-porting.xml:
28510 * docs/pwg/building-boiler.xml:
28511 * docs/pwg/intro-preface.xml:
28512 * docs/pwg/other-ntoone.xml:
28513 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28514 of example code and explanation for pad activation, loop() and
28515 getrange() functions and a bit more. Remove old comments pointing
28517 * examples/pwg/Makefile.am:
28518 Add loop/getrange examples.
28520 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28523 check for valgrind binary + some fixes
28525 valgrind suppressions for the tests
28526 * check/Makefile.am:
28527 add a valgrind: target that valgrinds the unit tests
28528 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28529 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28530 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28531 * check/gst/gstghostpad.c:
28533 * check/gst/gstdata.c:
28535 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28536 (thread_unref), (gst_mini_object_suite), (main):
28538 * gst/gst.c: (gst_deinit):
28540 add a method to clean up.
28541 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28542 (gst_system_clock_obtain):
28543 allow for disposing the system clock.
28544 * tools/gst-launch.c: (main):
28547 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28549 * docs/gst/tmpl/gstbasesrc.sgml:
28550 * docs/gst/tmpl/gstfakesrc.sgml:
28551 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28552 (gst_base_src_init), (gst_base_src_set_property),
28553 (gst_base_src_get_property), (gst_base_src_get_range),
28554 (gst_base_src_start):
28555 * gst/base/gstbasesrc.h:
28556 add num-buffers property
28557 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28558 (gst_fakesrc_init), (gst_fakesrc_set_property),
28559 (gst_fakesrc_get_property), (gst_fakesrc_create),
28560 (gst_fakesrc_start):
28561 remove num-buffers property
28563 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28565 * docs/gst/gstreamer-sections.txt:
28566 * docs/gst/tmpl/gstbasesink.sgml:
28567 * docs/gst/tmpl/gstbasesrc.sgml:
28568 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28569 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28570 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28571 (gst_base_sink_set_property), (gst_base_sink_get_property),
28572 (gst_base_sink_handle_object), (gst_base_sink_event),
28573 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28574 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28575 (gst_base_sink_loop), (gst_base_sink_deactivate),
28576 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28577 (gst_base_sink_change_state):
28578 * gst/base/gstbasesink.h:
28579 * gst/base/gstbasesrc.h:
28580 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28581 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28582 (gst_filesink_init):
28583 more macro splitting
28585 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28587 * gst/gstelement.c: (gst_element_get_bus):
28589 * tools/gst-launch.c: (check_intr), (event_loop):
28592 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28594 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28597 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28599 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28600 (gst_base_src_finalize):
28601 add finalize method and clean up properly
28602 * gst/gstpipeline.c: (gst_pipeline_dispose):
28605 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28607 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28609 add more things to check
28610 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28611 * gst/gstelement.c:
28614 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28616 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28617 (GST_START_TEST), (fakesrc_suite):
28618 * check/gst-libs/gdp.c: (GST_START_TEST):
28619 * check/gst/gst.c: (GST_START_TEST):
28620 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28621 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28622 * check/gst/gstbus.c: (GST_START_TEST):
28623 * check/gst/gstcaps.c: (GST_START_TEST):
28624 * check/gst/gstdata.c: (GST_START_TEST):
28625 * check/gst/gstelement.c: (GST_START_TEST):
28626 * check/gst/gstghostpad.c: (GST_START_TEST):
28627 * check/gst/gstiterator.c: (GST_START_TEST):
28628 * check/gst/gstmessage.c: (GST_START_TEST):
28629 * check/gst/gstobject.c: (GST_START_TEST):
28630 * check/gst/gstpad.c: (GST_START_TEST):
28631 * check/gst/gststructure.c: (GST_START_TEST):
28632 * check/gst/gstsystemclock.c: (GST_START_TEST),
28633 (gst_systemclock_suite):
28634 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28635 * check/gst/gstvalue.c: (GST_START_TEST):
28636 * check/pipelines/cleanup.c: (GST_START_TEST):
28637 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28638 * check/states/sinks.c: (GST_START_TEST):
28639 * check/gstcheck.c: (gst_check_init):
28640 * check/gstcheck.h:
28641 add debugging category
28642 use GST_START_TEST now, so we add a debug line
28644 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28646 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28647 add test for state change message on a bin
28648 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28650 * gst/gstbin.c: (gst_bin_init):
28651 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28652 * gst/gstelement.c: (gst_element_post_message),
28653 (gst_element_set_state):
28654 * gst/gstelementfactory.c: (gst_element_factory_create):
28655 * gst/gstmessage.c: (gst_message_new):
28656 * gst/gstscheduler.c:
28657 various debugging additions and cleanups
28659 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28661 * check/Makefile.am:
28662 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28664 adding tests for elements
28665 * gst/gstelement.c: (gst_element_dispose):
28667 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28669 * gst/registries/gstlibxmlregistry.c: (load_feature):
28670 plug more leaks. A simple gst_init() now is leakfree, yay.
28672 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28674 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28675 (gst_xml_registry_load):
28676 plug another memleak
28678 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28681 use GST_SET_ERROR_CFLAGS
28682 * docs/faq/cvs.xml:
28683 change to ERROR_CFLAGS
28685 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28688 make GST_ERROR_CFLAGS overridable and re-enable Werror
28689 * docs/faq/cvs.xml:
28690 add a note about error CFLAGS
28691 * docs/gst/tmpl/gstfakesrc.sgml:
28692 * gst/elements/gstfakesrc.c:
28693 comment out some unused code
28694 * gst/gst.c: (split_and_iterate):
28695 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28699 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28701 * common/Makefile.am:
28702 * common/gtk-doc.mak:
28703 * docs/gst/Makefile.am:
28704 factor out gtk-doc.mak
28706 2005-07-07 Wim Taymans <wim@fluendo.com>
28708 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28709 (gst_thread_scheduler_dispose):
28710 Unlock the STREAM_LOCK completely.
28712 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28714 * check/Makefile.am:
28715 * check/elements/.cvsignore:
28716 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28717 (START_TEST), (fakesrc_suite), (main):
28718 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28719 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28720 (gst_fakesrc_create), (gst_fakesrc_start):
28721 * gst/elements/gstfakesrc.h:
28722 adding a first element test
28724 2005-07-07 Andy Wingo <wingo@pobox.com>
28726 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28729 2005-07-07 Wim Taymans <wim@fluendo.com>
28735 2005-07-07 Wim Taymans <wim@fluendo.com>
28737 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28738 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28739 Allow subclasses to implement their own negotiation.
28741 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28743 * docs/design/part-gstbin.txt:
28744 * docs/design/part-gstpipeline.txt:
28745 Update design notes to reflect the movement of
28746 responsibility for bus handling from GstPipeline to
28749 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28752 Remove unnecessary queue2/3/4 examples.
28754 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28756 * examples/Makefile.am:
28757 * examples/helloworld/helloworld.c: (event_loop), (main):
28758 * examples/queue/queue.c: (event_loop), (main):
28759 * examples/queue2/queue2.c: (main):
28760 Update a couple of the examples to work again.
28762 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28763 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28764 Spelling corrections and extra debug.
28766 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28767 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28768 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28770 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28771 (gst_pipeline_change_state):
28772 * gst/gstpipeline.h:
28773 Move the bus handler for children to the GstBin, and create a
28774 separate bus for receiving messages from children to the one the
28775 bus sends 'upwards' on.
28777 2005-07-06 Wim Taymans <wim@fluendo.com>
28780 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28781 (gst_base_sink_handle_object), (gst_base_sink_loop),
28782 (gst_base_sink_change_state):
28783 * gst/base/gstbasesink.h:
28784 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28785 (gst_base_src_init), (gst_base_src_setcaps),
28786 (gst_base_src_getcaps), (gst_base_src_loop),
28787 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28788 (gst_base_src_start), (gst_base_src_change_state):
28789 * gst/base/gstbasesrc.h:
28790 Make basesrc negotiate.
28791 Handle the case where preroll fails in basesink.
28794 2005-07-06 Wim Taymans <wim@fluendo.com>
28796 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28797 Implement the fixate function.
28798 Clean up acceptcaps.
28800 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28802 * docs/pwg/building-filterfactory.xml:
28803 * docs/pwg/pwg.xml:
28804 Remove never-written filter-factory chapter; I'll add the various
28805 base classes to part 4 ("other element types") later on.
28807 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28809 * docs/pwg/advanced-negotiation.xml:
28810 * docs/pwg/building-boiler.xml:
28811 * docs/pwg/building-pads.xml:
28812 * docs/pwg/pwg.xml:
28813 * examples/pwg/Makefile.am:
28814 Add a chapter on caps negotiation, simplify the original code
28815 samples a bit w.r.t. caps negotiation, add link to the advanced
28816 section. Add a bunch of examples showing different use cases of
28817 different types of caps negotiation. Upstream renegotiation isn't
28818 fully documented yet since nobody knows how that works.
28820 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28822 * check/gst/gstpad.c:
28823 * check/gstcheck.c:
28824 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28825 if pad has no parent, return NULL as list of internal links
28827 2005-07-05 Andy Wingo <wingo@pobox.com>
28829 * gst/elements/gstfilesrc.c:
28830 * gst/elements/gstfakesrc.c:
28831 * gst/base/gstpushsrc.c:
28832 * gst/base/gstbasesrc.h:
28833 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28835 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28838 better report generation target (lcov needs a patch)
28840 2005-07-05 Andy Wingo <wingo@pobox.com>
28842 * gst/elements, testsuite: Null if we got it...
28844 2005-07-05 Wim Taymans <wim@fluendo.com>
28847 * libs/gst/dataprotocol/Makefile.am:
28848 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28849 * libs/gst/dataprotocol/dataprotocol.h:
28850 * pkgconfig/Makefile.am:
28851 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28852 * pkgconfig/gstreamer-dataprotocol.pc.in:
28853 Ported dataprotol to 0.9.
28854 Added pkgconfig files.
28856 2005-07-05 Andy Wingo <wingo@pobox.com>
28858 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28859 Default to returning TRUE for the case when tranform_caps returns
28860 a fixed caps, like for identity or volume.
28862 * check/gst/gstbus.c (pound_bus_with_messages):
28863 * check/gst/gstmessage.c (START_TEST):
28864 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28865 message API change.
28867 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28868 logic weaks here: always run transform_caps, trying passthrough
28869 operation only if the original caps intersects with the transform.
28871 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28872 source and sink caps.
28874 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28875 Intersect the peer caps with the pad template before going into
28877 (gst_base_transform_transform_caps): More debugging.
28879 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28882 2005-07-04 Edward Hervey <edward@fluendo.com>
28886 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28889 2005-07-04 Andy Wingo <wingo@pobox.com>
28891 * check/gst/gstpad.c: Only set explicit caps on pads.
28893 2005-07-01 Andy Wingo <wingo@pobox.com>
28895 * tests/network-clock.scm: Commentary update.
28897 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28898 Didn't really make sense, not implementable with basetransform,
28900 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28901 attempt at implementing the sync property, needs an unlock method.
28903 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28904 New func, by default returns the same caps (the identity
28906 (gst_base_transform_getcaps): Uses transform_caps to return
28907 something sensible.
28908 (gst_base_transform_setcaps): Complicated logic to get caps on
28909 both pads, even if they are different, and to call set_caps once
28910 for every time both pads get their caps set.
28911 (gst_base_transform_handle_buffer): Give the ref to the transform
28912 function. Allows in-place modification of the buffer.
28914 * gst/base/gstbasetransform.h (transform_caps): New class method.
28915 Given caps on one side, what can I do on the other.
28916 (set_caps): Take two caps, one for each side of the element.
28919 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28920 caps in place. This is safe because we can check the mutability of
28921 the caps, and a good idea because fixate functions are just called
28922 as a matter of last resort. (Not actually implemented.)
28923 (gst_pad_set_caps): If the caps we're setting is actually the same
28924 as the existing pad caps, just update the pointer without calling
28925 setcaps. Assert that caps is either NULL or fixed, as per the
28928 * gst/gstghostpad.c: Update for fixate changes.
28930 2005-07-02 Andy Wingo <wingo@pobox.com>
28933 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28934 two refcounts makes it immutable, which is enough. Doc more.
28936 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28938 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28939 Put the mini_object into GValue as a mini_object,
28940 not a gpointer, since that's how we declared
28943 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28945 * examples/pwg/Makefile.am:
28946 Fix buildbot again.
28948 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28950 * docs/pwg/building-testapp.xml:
28952 * examples/pwg/Makefile.am:
28955 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28958 * examples/Makefile.am:
28959 * examples/pwg/Makefile.am:
28960 * examples/pwg/extract.pl:
28961 Enable building the PWG examples.
28962 * docs/pwg/advanced-interfaces.xml:
28963 Add URI interface stub.
28964 * docs/pwg/advanced-types.xml:
28965 * docs/pwg/other-autoplugger.xml:
28966 * docs/pwg/appendix-porting.xml:
28967 * docs/pwg/pwg.xml:
28968 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28969 * docs/pwg/building-boiler.xml:
28970 * docs/pwg/building-chainfn.xml:
28971 * docs/pwg/building-pads.xml:
28972 * docs/pwg/building-props.xml:
28973 * docs/pwg/building-state.xml:
28974 * docs/pwg/building-testapp.xml:
28975 Update the building-*.xml parts for 0.9 changes. All examples
28976 code blocks compile in examples/pwg/*.
28978 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28980 * docs/manual/advanced-autoplugging.xml:
28981 * docs/manual/appendix-checklist.xml:
28982 * docs/manual/appendix-integration.xml:
28983 * docs/manual/highlevel-components.xml:
28984 Fix playbin/decodebin examples, update docs a bit, mention bus
28985 instead of signals in various places, mention kmplayer and
28986 kaffeine since they have a working GStreamer backend in the KDE
28989 2005-06-30 Wim Taymans <wim@fluendo.com>
28992 * docs/design/draft-ghostpads.txt:
28993 * docs/design/draft-push-pull.txt:
28994 * docs/design/draft-query.txt:
28995 * docs/design/part-TODO.txt:
28996 * docs/design/part-query.txt:
28997 Added CHANGES-0.9 doc, updated status of other docs.
29002 2005-06-30 Wim Taymans <wim@fluendo.com>
29004 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29005 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29006 (gst_base_sink_change_state):
29007 * gst/base/gstbasesink.h:
29008 Some tweaks, only EOS and a buffer complete a preroll.
29010 2005-06-30 Andy Wingo <wingo@pobox.com>
29012 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29013 activate_push down to the internal pad as well.
29015 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
29017 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29019 * gst/gsttaginterface.c:
29020 Some documentation fixes (#307394 and #307397).
29022 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
29024 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29026 * gst/gstvalue.c: (gst_value_intersect_list):
29027 Fix memleak (#309125).
29029 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29031 * docs/manual/advanced-dataaccess.xml:
29032 Fix fakesrc example to compile; doesn't work, bug somewhere...?
29033 * docs/manual/basics-pads.xml:
29034 Add reference for filtered caps to above chapter.
29036 2005-06-30 Wim Taymans <wim@fluendo.com>
29038 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29039 (gst_bin_change_state):
29041 Lame attempt at making the state change function a bit
29044 2005-06-30 Wim Taymans <wim@fluendo.com>
29046 * docs/design/part-clocks.txt:
29047 * docs/design/part-element-sink.txt:
29048 * docs/design/part-events.txt:
29049 * docs/design/part-preroll.txt:
29050 * docs/design/part-states.txt:
29051 Some more tweeks and additions to the docs.
29053 2005-06-30 Wim Taymans <wim@fluendo.com>
29055 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29056 (default_have_data), (gst_pad_class_init), (gst_pad_init),
29057 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29058 (gst_pad_check_pull_range), (gst_pad_get_range),
29059 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29061 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29062 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29063 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29064 (gst_pad_remove_buffer_probe):
29065 Removed atomic operations, use existing LOCK.
29066 Move exception handling out of main code path.
29068 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29070 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29071 (silly_return_true_function), (gst_pad_class_init),
29072 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29073 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29074 (gst_pad_send_event):
29075 Fix accumulator, add default value by using _emitv() instead
29076 of _emit() for signal emission.
29078 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29080 * docs/manual/advanced-dataaccess.xml:
29081 * examples/manual/Makefile.am:
29083 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29086 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
29088 * gst/elements/gstfilesink.c: (gst_filesink_render):
29089 Simplify code so that we don't have to handle short
29090 writes and return GST_FLOW_ERROR if an error occured.
29092 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29094 * docs/gst/gstreamer-docs.sgml:
29095 Remove probes more.
29097 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29099 * docs/gst/gstreamer-sections.txt:
29100 * docs/gst/tmpl/gstpad.sgml:
29101 * docs/gst/tmpl/gstprobe.sgml:
29103 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29104 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29105 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29106 (gst_pad_push_event), (gst_pad_send_event):
29108 * gst/gstutils.c: (gst_pad_add_data_probe),
29109 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29110 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29111 (gst_pad_remove_buffer_probe):
29113 Remove old probes, add new g-signal-based probes and some utility
29116 2005-06-29 Edward Hervey <edward@fluendo.com>
29118 * gst/gstelementfactory.c:
29121 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29122 the definition to the header file.
29124 2005-06-29 Andy Wingo <wingo@pobox.com>
29126 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29127 plugins from the source directory.
29129 2005-06-29 Wim Taymans <wim@fluendo.com>
29131 * docs/gst/tmpl/gstbuffer.sgml:
29132 * docs/gst/tmpl/gstclock.sgml:
29133 Some fixings for blantently wrong text.
29135 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29137 * check/Makefile.am:
29138 * gst/gst.c: (add_path_func), (init_pre):
29139 * gst/gstregistry.c: (gst_registry_add_path):
29140 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29141 only scan the GST_PLUGIN_PATH locations, and not add
29144 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29146 * docs/gst/gstreamer-sections.txt:
29147 * docs/gst/tmpl/gstbasesrc.sgml:
29148 * gst/gstelement.c:
29149 * gst/gstelement.h:
29154 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29156 * docs/manual/advanced-autoplugging.xml:
29157 Fix autoplugging example.
29159 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29161 * docs/manual/advanced-autoplugging.xml:
29162 * docs/manual/mime-world.fig:
29163 Try to get autoplugging working, fix type detection. Fix text
29164 in hello-world image.
29166 2005-06-29 Wim Taymans <wim@fluendo.com>
29168 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29169 (gst_base_sink_change_state):
29173 map SIGNAL and BROADCAST to the right function.
29176 Remove redundant braces.
29178 * gst/gstpad.c: (gst_pad_set_caps):
29179 Don't call setcaps function when reseting caps to NULL.
29181 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29182 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29183 (gst_system_clock_id_unschedule):
29184 Use BROADCAST as this is what we do.
29186 2005-06-29 Wim Taymans <wim@fluendo.com>
29188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29189 We are actually prerolling before commiting the state
29192 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29194 * docs/manual/advanced-clocks.xml:
29195 * docs/manual/advanced-interfaces.xml:
29196 * docs/manual/advanced-metadata.xml:
29197 * docs/manual/advanced-position.xml:
29198 * docs/manual/advanced-schedulers.xml:
29199 * docs/manual/advanced-threads.xml:
29200 * docs/manual/appendix-porting.xml:
29201 * docs/manual/basics-bins.xml:
29202 * docs/manual/basics-bus.xml:
29203 * docs/manual/basics-elements.xml:
29204 * docs/manual/basics-helloworld.xml:
29205 * docs/manual/basics-pads.xml:
29206 * docs/manual/highlevel-components.xml:
29207 * docs/manual/manual.xml:
29208 * docs/manual/thread.fig:
29209 Update (until threads/scheduling) Application Development Manual;
29210 remove GstThread, add GstBus, add simple porting checklist, add
29211 documentation for tag writing, clocks, make all examples until this
29212 part compile and run.
29213 * examples/manual/Makefile.am:
29214 Update from changes to Application Development Manual; add bus
29215 example, remove thread example.
29217 2005-06-28 Wim Taymans <wim@fluendo.com>
29219 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29220 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29221 (gst_bus_source_dispatch):
29222 Add debugging messages.
29223 Make internal methods static.
29224 Handle the case where the bus is flushed in the handler.
29226 * gst/gstelement.c: (gst_element_get_bus):
29227 Fix refcount in _get_bus();
29229 * gst/gstpipeline.c: (gst_pipeline_change_state),
29230 (gst_pipeline_get_clock_func):
29231 Clock refcounting fixes.
29232 Handle the case where preroll timed out more gracefully.
29234 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29235 Clean up the internal thread in dispose. This is needed
29236 for subclasses that actually get disposed.
29238 * gst/schedulers/threadscheduler.c:
29239 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29240 (gst_thread_scheduler_dispose):
29241 Free thread pool in dispose.
29243 2005-06-28 Andy Wingo <wingo@pobox.com>
29245 * tests/network-clock-utils.scm (debug, print-event): New utils.
29247 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29248 (*packet-loss*): Unified loss probability.
29249 (network-time): Report out-of-band events.
29251 * tests/plot-data: Add support for out-of-band events. Hack it
29252 into this script instead of passing it down the pipe; should fix
29255 2005-06-28 Wim Taymans <wim@fluendo.com>
29257 * docs/gst/gstreamer.types:
29258 * docs/gst/tmpl/gstbasesrc.sgml:
29259 * docs/gst/tmpl/gstpad.sgml:
29262 2005-06-28 Wim Taymans <wim@fluendo.com>
29264 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29265 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29266 (gst_proxy_pad_do_fixatecaps):
29267 Correctly proxy the check_pull_range function.
29269 2005-06-28 Andy Wingo <wingo@pobox.com>
29271 * tests/network-clock.scm: Removed need for slib.
29273 2005-06-28 Wim Taymans <wim@fluendo.com>
29275 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29276 (gst_basesink_preroll_queue_flush):
29277 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29278 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29279 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29280 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29281 (gst_proxy_pad_set_property):
29284 * gst/gstqueue.c: (gst_queue_init):
29285 The deprecated pad loop function is removed now.
29287 2005-06-28 Andy Wingo <wingo@pobox.com>
29289 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29290 New parameters, simulate network packet loss.
29292 * tests/network-clock-utils.scm: Initialize the RNG.
29294 2005-06-28 Wim Taymans <wim@fluendo.com>
29296 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29297 (gst_basesink_event), (gst_basesink_deactivate):
29298 Flushing the preroll queue always needs to unlock the waiters.
29300 2005-06-28 Edward Hervey <edward@fluendo.com>
29302 * gst/gstpipeline.c: (gst_pipeline_send_event):
29303 Wheen a seek was successful on a pipeline, set the stream_time to the
29304 seek offset in order to have a synchronized stream_time.
29306 2005-06-28 Wim Taymans <wim@fluendo.com>
29308 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29309 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29310 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29311 (gst_proxy_pad_do_fixatecaps):
29312 Call wrapper function instead of just calling the function
29313 pointers. This takes care of any locking and whatmore.
29315 2005-06-28 Wim Taymans <wim@fluendo.com>
29317 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29318 (gst_pad_pull_range):
29320 CONNECTED -> LINKED.
29322 2005-06-28 Andy Wingo <wingo@pobox.com>
29324 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29325 source-munging commit!!!
29327 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29328 (gst_object_sink): Take gpointer arguments, not GstObject --
29329 avoids casts. Like GLib.
29331 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29334 2005-06-27 Andy Wingo <wingo@pobox.com>
29336 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29339 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29340 returns a sorted copy of the trace list.
29341 (gst_alloc_trace_print_live): New API, only prints traces with
29342 live objects. Sort the list.
29343 (gst_alloc_trace_print_all): Sort the list.
29344 (gst_alloc_trace_print): Align columns.
29346 * gst/elements/gstttypefindelement.c:
29347 * gst/elements/gsttee.c:
29348 * gst/base/gstbasesrc.c:
29349 * gst/base/gstbasesink.c:
29350 * gst/base/gstbasetransform.c:
29351 * gst/gstqueue.c: Adapt for pad activation changes.
29353 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29355 (gst_pipeline_dispose): Drop ref on sched.
29357 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29358 (gst_pad_activate_default): Push mode by default.
29359 (pre_activate_switch, post_activate_switch): New stubs, things to
29360 do before and after switching activation modes on pads.
29361 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29362 the pad's activate function to choose which mode to activate.
29363 Shortcut on deactivation and call the right function directly.
29364 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29366 (gst_pad_activate_push): New API, same for push mode.
29367 (gst_pad_set_activate_function)
29368 (gst_pad_set_activatepull_function)
29369 (gst_pad_set_activatepush_function): Setters for new API.
29371 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29372 Trace all miniobjects.
29373 (gst_mini_object_make_writable): Unref the arg if we copy, like
29374 gst_caps_make_writable.
29376 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29378 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29379 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29380 Adapt for new pad API.
29382 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29384 * gst/gstelement.h:
29385 * gst/gstelement.c (gst_element_iterate_src_pads)
29386 (gst_element_iterate_sink_pads): New API functions.
29388 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29389 should fold into gstiterator.c in some form.
29390 (gst_element_pads_activate): Simplified via use of fold and
29391 delegation of decisions to gstpad->activate.
29393 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29396 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29397 class once in init, like gstmessage. Didn't run into this issue
29398 but it seems correct. Don't initialize a trace, gstminiobject does
29401 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29402 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29404 (assert_live_count): New util function, uses alloc traces to check
29407 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29408 To be modified when unlink drops the internal pad.
29410 2005-06-27 Wim Taymans <wim@fluendo.com>
29412 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29413 (gst_bin_change_state):
29414 Cleanup the get_state() function a little, make sure it
29415 iterates the same set of elements.
29416 Added stub iterate_state_order().
29418 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29420 * docs/gst/gstreamer-docs.sgml:
29421 * docs/gst/gstreamer-sections.txt:
29422 * docs/gst/gstreamer.types:
29423 * docs/gst/tmpl/gstbasesink.sgml:
29424 * docs/gst/tmpl/gstbasesrc.sgml:
29425 * docs/gst/tmpl/gstbasetransform.sgml:
29426 * docs/gst/tmpl/gstelement.sgml:
29427 * docs/gst/tmpl/gstiterator.sgml:
29428 * gst/base/gstbasesrc.c:
29429 * gst/base/gstbasesrc.h:
29430 * gst/base/gstbasetransform.h:
29431 * gst/gstelement.c:
29432 * gst/gstiterator.h:
29433 adding basetransform and iterator docs
29435 2005-06-27 Andy Wingo <wingo@pobox.com>
29437 * docs/design/part-activation.txt: Notes on how activation should
29438 work -- not quite implemented yet.
29440 2005-06-25 Wim Taymans <wim@fluendo.com>
29442 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29443 At least get the chain function correct, needs more
29446 2005-06-25 Wim Taymans <wim@fluendo.com>
29448 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29449 (gst_basesink_handle_object), (gst_basesink_event),
29450 (gst_basesink_do_sync), (gst_basesink_handle_event),
29451 (gst_basesink_change_state):
29453 Right, two problems here: ghostpads don't take locks and
29454 glib _rec_mutex_lock_full() with depth==0 still locks.
29455 Catch illegal locking and g_warn them.
29457 2005-06-25 Wim Taymans <wim@fluendo.com>
29459 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29460 Have to check for completion now...
29462 2005-06-25 Wim Taymans <wim@fluendo.com>
29464 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29465 (gst_basesink_handle_object), (gst_basesink_event),
29466 (gst_basesink_do_sync), (gst_basesink_handle_event),
29467 (gst_basesink_change_state):
29469 Unlock STREAM_LOCK whatever the recursion was.
29471 2005-06-25 Wim Taymans <wim@fluendo.com>
29473 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29474 (gst_basesink_preroll_queue_empty),
29475 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29476 (gst_basesink_event), (gst_basesink_do_sync),
29477 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29478 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29479 (gst_basesink_change_state):
29480 Reworked the base sink, handle event and buffer serialisation
29481 correctly and removed possible deadlock.
29482 Handle EOS correctly.
29484 2005-06-25 Wim Taymans <wim@fluendo.com>
29486 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29487 (gst_pipeline_change_state):
29488 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29489 Allow elements to post EOS in the state change function.
29490 Fix up -launch, make it exit the poll loop when the
29491 pipeline actually changed state.
29492 Fix up warning parsing in -launch.
29494 2005-06-25 Wim Taymans <wim@fluendo.com>
29496 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29497 (gst_tee_sink_activate):
29498 Core takes STREAM_LOCK for us now.
29500 2005-06-25 Wim Taymans <wim@fluendo.com>
29502 * gst/gstelement.c: (gst_element_get_state_func),
29503 (gst_element_set_state):
29504 * gst/gstelement.h:
29505 * gst/gstmessage.c: (gst_message_parse_error),
29506 (gst_message_parse_warning):
29507 Keep track of current target state while performing a state
29508 change so that subclasses can do something interesting.
29509 Fix parsing of warning/error messages when GError is NULL.
29511 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29513 * docs/gst/Makefile.am:
29514 * docs/gst/gstreamer-docs.sgml:
29515 * docs/gst/gstreamer-sections.txt:
29516 * docs/gst/gstreamer.types:
29517 * docs/gst/tmpl/gstbasesink.sgml:
29518 * docs/gst/tmpl/gstbasesrc.sgml:
29519 * docs/gst/tmpl/gstbin.sgml:
29520 * docs/gst/tmpl/gstcompat.sgml:
29521 * docs/gst/tmpl/gstfakesink.sgml:
29522 * docs/gst/tmpl/gstfakesrc.sgml:
29523 * docs/gst/tmpl/gstfilesink.sgml:
29524 * docs/gst/tmpl/gstfilesrc.sgml:
29525 * docs/gst/tmpl/gstindex.sgml:
29526 * docs/manual/appendix-quotes.xml:
29527 * gst/base/gstbasesrc.h:
29528 * gst/elements/gstfakesrc.h:
29529 * gst/gstmessage.h:
29530 start pulling in base classes and elements in our docs
29532 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29534 * docs/gst/Makefile.am:
29535 * docs/libs/Makefile.am:
29536 fixed make distcheck with gtk-doc 1.3
29538 2005-06-23 Wim Taymans <wim@fluendo.com>
29540 * gst/gstelement.c: (gst_element_get_state_func),
29541 (gst_element_set_state), (gst_element_change_state):
29542 When the state did not change, also report NO_PREROLL
29545 2005-06-23 Wim Taymans <wim@fluendo.com>
29547 * gst/gstpad.c: (gst_pad_event_default):
29548 * gst/gstqueue.c: (gst_queue_loop):
29549 No unsafe task pausing please.
29551 2005-06-23 Wim Taymans <wim@fluendo.com>
29553 * gst/schedulers/threadscheduler.c:
29554 (gst_thread_scheduler_task_start),
29555 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29556 Ref the task before pushing it on the threadpool. This
29557 makes sure that we have a ref when the threadfunction is
29560 2005-06-23 Andy Wingo <wingo@pobox.com>
29562 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29563 offset is greater than the file's size.
29565 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29566 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29567 * gst/gstobject.c (gst_object_class_init): Make the class lock
29568 recursive. Wim won't let me drop deep_notify. Decodebin works
29569 again, whoopdy doo.
29571 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29572 internal pad, and hacks accordingly. Doesn't do it on the target
29573 pad because we change its caps. Probably catches all cases of
29575 (gst_ghost_pad_set_property): Connect to notify::caps as
29578 * tests/network-clock.scm (plot-simulation): Pipe data to the
29579 elite python skript.
29581 * tests/network-clock-utils.scm (define-parameter): New macro,
29582 defines a parameter that can be set via the command line.
29583 (set-parameter!, parse-parameter-arguments): Command line args
29586 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29589 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29591 * gst/elements/gsttypefindelement.c:
29592 (gst_type_find_element_handle_event):
29593 Don't restart typefinding on a discont.
29594 * gst/gstelement.c: (gst_element_set_state):
29595 Debug spelling fix.
29596 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29597 Allow changing mode of an active pad.
29598 Debug output fixes.
29599 * gst/registries/gstlibxmlregistry.c: (load_feature):
29600 Don't cast a static pad template to a normal pad template.
29602 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29604 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29605 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29606 remove gst_strtoll completely, since it didn't actually do
29607 anything more than what g_ascii_strtoull already does.
29608 check for range errors when deserializing
29609 do a cast for the unsigned cases; but further fixing needs
29610 a decision on what the interpretation of "(int)" and
29611 deserialization should be for values that fall outside the
29612 type's boundaries (ie, refuse, or interpret as casting)
29614 2005-06-23 Wim Taymans <wim@fluendo.com>
29616 * check/Makefile.am:
29617 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29618 * docs/design/part-live-source.txt:
29619 * docs/design/part-states.txt:
29620 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29621 (gst_basesrc_set_live), (gst_basesrc_is_live),
29622 (gst_basesrc_get_range), (gst_basesrc_activate),
29623 (gst_basesrc_change_state):
29624 * gst/base/gstbasesrc.h:
29625 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29626 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29627 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29628 * gst/gstelement.c: (gst_element_get_state_func),
29629 (gst_element_set_state):
29630 * gst/gstelement.h:
29632 * tools/gst-launch.c: (event_loop), (main):
29633 Added support for live sources and other elements that
29635 Updated design docs, added live-source design doc.
29636 Implemented live source functionality in basesrc
29637 Fix error condition in _bin_get_state()
29638 Implement live source handling in -launch.
29639 Added check for live sources.
29640 Fixed case in GstBin where elements were changed state
29644 2005-06-23 Andy Wingo <wingo@pobox.com>
29646 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29647 borken refcounting.
29649 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29650 gst_caps_replace takes care of this for us.
29652 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29653 gst_pad_set_caps on the target, not just its setcaps() function.
29655 * tests/network-clock.scm:
29656 * tests/network-clock-utils.scm: A network clock simulator.
29657 Something of an algorithmic testbed before doing something in C.
29659 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29661 * check/Makefile.am:
29662 * check/gst/capslist.h:
29663 copy over from 0.8, and add two with bitmasks specified with
29665 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29666 add test to parse everything from capslist.h
29667 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29669 add test for structure deserialization
29670 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29671 add tests for deserialization of strings to int types
29672 * gst/gststructure.c: (gst_structure_nth_field_name):
29673 * gst/gststructure.h:
29674 add a way to get the name of a field referenced by index
29675 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29676 instead of checking if the resulting long long lies between
29677 min and max, we check if the long long would fit into
29678 a number of bytes for the final type.
29679 This fixes cases where a string represents 2^32 - 1, which
29680 when cast to int would be the (valid) -1, but is bigger than
29683 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29685 * gst/parse/grammar.y:
29686 add a log line for type deserialization
29688 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29690 * check/gst/gstvalue.c: (START_TEST):
29691 * gst/gstvalue.c: (gst_value_deserialize):
29692 return long long, not int, so gint64 deserialization actually
29693 works. Is there any flag that makes the compiler check this ?
29696 2005-06-22 Wim Taymans <wim@fluendo.com>
29699 Added convenience macros for setting buffers in GValue.
29701 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29703 * check/gst/.cvsignore:
29704 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29705 add a test deserializing int64, and comment part out because
29708 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29710 * check/Makefile.am:
29711 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29712 * testsuite/Makefile.am:
29713 * testsuite/caps/Makefile.am:
29714 * testsuite/caps/value_serialize.c:
29715 * testsuite/test_gst_init.c:
29716 move a value_serialize test over
29718 2005-06-20 Wim Taymans <wim@fluendo.com>
29723 * gst/gstvalue.c: (gst_value_compare_buffer),
29724 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29725 (gst_value_compare_flags), (gst_value_serialize_flags),
29726 (gst_value_deserialize_flags), (_gst_value_initialize):
29727 Fix serialisation of buffers, they are not boxed types anymore
29729 2005-06-20 Wim Taymans <wim@fluendo.com>
29731 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29732 Testcase to show error in buffer-on-caps serialisation.
29734 2005-06-20 Andy Wingo <wingo@pobox.com>
29736 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29737 will be adding to later.
29739 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29740 if its socks fill with rocks.
29741 (gst_system_clock_obtain): Set the name on object construction.
29742 Avoid double-checked locking.
29744 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29746 * gst/gsturi.c: (gst_element_make_from_uri):
29747 Fix potential endless loop.
29749 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29751 * check/Makefile.am:
29753 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29755 move over from testsuite dir and clean up
29758 * testsuite/Makefile.am:
29759 * testsuite/tags/.cvsignore:
29760 * testsuite/tags/Makefile.am:
29761 * testsuite/tags/merge.c:
29762 remove testsuite/tags
29764 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29766 * docs/gst/gstreamer-sections.txt:
29767 * docs/gst/tmpl/gstenumtypes.sgml:
29768 * win32/gstenumtypes.c:
29769 clean up documentation build a little
29771 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29773 * check/gstcheck.h:
29774 add macros for checking refcounts on objects and caps
29775 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29776 add some more unit tests
29777 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29778 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29779 fix leaked refcounts (I hope :)) so unittest works
29783 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29785 * configure.ac: back to HEAD
29787 === release 0.9.1 ===
29789 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29795 2005-06-17 Andy Wingo <wingo@pobox.com>
29797 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29798 assert; it's always possible that the pad gets deactivated in
29799 between the checks in gstpad.c and the implementation. Rely on
29800 finish_preroll() to return a FLUSHING or similar instead of on the
29803 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29804 clock and post an EOS message if we come out of finish_preroll in
29807 2005-06-16 David Schleef <ds@schleef.org>
29809 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29810 (gst_capsfilter_set_property): Allow NULL as possible value
29811 for filter_caps property, indicating GST_CAPS_ANY.
29813 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29815 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29817 * gst/schedulers/Makefile.am:
29819 * gstreamer.spec.in:
29822 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29824 * gstreamer.spec.in:
29827 2005-06-08 Andy Wingo <wingo@pobox.com>
29829 * gst/gstutils.c: RPAD fixes all around.
29830 (gst_element_link_pads): Refcounting fixes.
29832 * tools/gst-inspect.c:
29833 * tools/gst-xmlinspect.c:
29835 * gst/base/gsttypefindhelper.c:
29836 * gst/base/gstbasesink.c:
29837 * gst/gstqueue.c: RPAD fixes.
29839 * gst/gstghostpad.h:
29840 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29841 pads. The tricky thing is they provide both source and sink
29842 interfaces, since they proxy the internal pad for the external
29843 pad, and vice versa. Implement with lower-level ProxyPad objects,
29844 with the interior proxy pad as a child of the exterior ghost pad.
29845 Should write a doc on this.
29847 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29848 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29851 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29852 pads are real pads. No ghost pads in this file. Not documenting
29853 the myriad s/RPAD/PAD/ and REALIZE fixes.
29854 (gst_pad_class_init): Add properties for "direction" and
29855 "template". Both are construct-only, so they can't change during
29856 the life of the pad. Fixes properly deriving from GstPad.
29857 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29858 derived objects, just set properties when creating the objects via
29860 (gst_pad_get_parent): Implement as a function, return NULL if the
29861 parent is not an element.
29862 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29863 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29865 * gst/gstobject.c (gst_object_class_init): Make name a construct
29866 property. Don't set it in the object init.
29868 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29869 with UNKNOWN direction.
29870 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29871 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29872 (gst_element_remove_pad): Remove ghost-pad special cases.
29873 (gst_element_pads_activate): Remove rpad cruft.
29875 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29876 catch the pad's-parent-not-an-element case.
29878 * gst/gst.h: Include gstghostpad.h.
29880 * gst/gst.c (init_post): No more real, ghost pads.
29882 * gst/Makefile.am: Add gstghostpad.[ch].
29884 * check/Makefile.am:
29885 * check/gst/gstbin.c:
29886 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29887 into a bin creates ghost pads, and that the refcounts are right.
29888 Partly moved from gstbin.c.
29890 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29892 * check/gst-libs/.cvsignore:
29893 * check/gst/.cvsignore:
29894 * check/pipelines/.cvsignore:
29896 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29897 (START_TEST), (cleanup_suite), (main):
29898 add some tests related to cleanup after running pipelines
29900 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29902 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29903 add a testsuite for GstBuffer
29905 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29907 * gst/gstminiobject.h:
29908 add defines for accessing the refcount
29910 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29912 * Makefile.am: added support for html unit test coverage reports
29914 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29916 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29917 Free existing caps if the capsfilter changes. Add a FIXME about
29918 setting those caps on the pads.
29920 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29921 Before adding a ghost pad to a parent bin, check that there isn't
29922 already one for the element on the bin. Prevents infinite recursion
29923 when using decodebin in parse pipelines. Andy says he'll rewrite the
29924 way this works anyway, so ignore the hack.
29926 2005-06-02 Andy Wingo <wingo@pobox.com>
29928 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29929 file size, pass it on to the type find helper.
29931 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29932 segment_start and segment_end properly according to the seek
29933 method. Segment_end is still a bit flaky because offset can be
29934 negative for CUR and END cases, but it takes -1 as an "unset"
29937 2005-06-02 Wim Taymans <wim@fluendo.com>
29939 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29940 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29941 (gst_basesink_activate):
29942 * gst/base/gstbasesink.h:
29943 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29944 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29945 (gst_pad_query), (gst_pad_start_task):
29947 * gst/gstqueue.c: (gst_queue_bufferalloc),
29948 (gst_queue_handle_sink_event), (gst_queue_chain):
29949 Bufferalloc: return GstFlowReturn to more accuratly report
29950 why allocation failed.
29952 2005-06-02 Wim Taymans <wim@fluendo.com>
29954 * gst/gstpipeline.c: (gst_pipeline_send_event):
29955 Take snapshot of state without blocking.
29957 2005-06-02 Wim Taymans <wim@fluendo.com>
29959 * docs/design/part-TODO.txt:
29960 * docs/design/part-caps.txt:
29961 * docs/design/part-clocks.txt:
29962 * docs/design/part-negotiation.txt:
29963 * docs/design/part-preroll.txt:
29966 2005-05-30 Wim Taymans <wim@fluendo.com>
29968 * gst/elements/gstidentity.c: (gst_identity_event),
29969 (gst_identity_transform), (gst_identity_get_property):
29970 Protect last_message property as it is accessed from
29973 2005-05-30 Wim Taymans <wim@fluendo.com>
29975 * gst/gstelement.c: (gst_element_init),
29976 (gst_element_pads_activate), (gst_element_change_state):
29977 Slicker pad activation code.
29979 2005-05-30 Wim Taymans <wim@fluendo.com>
29982 * gst/gstelement.h:
29983 * gst/gstelementfactory.h:
29985 Move elementfactory methods to separate .h file.
29987 2005-05-30 Wim Taymans <wim@fluendo.com>
29989 * docs/design/part-overview.txt:
29990 * gst/gstsystemclock.h:
29991 Small typo fixes, doc updates.
29993 2005-05-30 Wim Taymans <wim@fluendo.com>
29995 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29996 (init_popt_callback):
29997 Remove cpu-opt flag.
29999 2005-05-30 Wim Taymans <wim@fluendo.com>
30001 * gst/gstbuffer.c: (gst_subbuffer_finalize),
30002 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30004 Avoid typechecking in places where not needed.
30005 Added accessor for malloc_data.
30007 2005-05-30 Wim Taymans <wim@fluendo.com>
30009 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30010 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30011 (gst_pad_configure_sink), (gst_pad_configure_src),
30012 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30013 (gst_pad_start_task):
30014 Propagate errors from _set_caps() in configure_src/sink
30015 functions instead of returning TRUE.
30016 FLUSH events can travel up and downstream
30019 2005-05-30 Wim Taymans <wim@fluendo.com>
30021 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30022 (gst_basesink_activate):
30023 Handle EOS in preroll.
30025 2005-05-30 Wim Taymans <wim@fluendo.com>
30027 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30028 (gst_queue_loop), (gst_queue_handle_src_event):
30029 Remove old pieces of code
30030 Flushing the queue in an upstream event is a very bad idea.
30032 2005-05-26 Andy Wingo <wingo@pobox.com>
30034 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30035 gst_value_set_mini_object so as to add a ref on the object (which
30036 will be removed when the value is unset).
30038 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30039 arg type in ::handoff.
30041 * gst/gstelement.c (gst_element_change_state): Also deactivate
30042 pads in READY->NULL, just in case the element didn't make it to
30043 PAUSED. Wingo tested, Wim approved.
30045 2005-05-26 Wim Taymans <wim@fluendo.com>
30047 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30048 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30049 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30050 A flushing pad cannot be used to alloc_buffer from.
30052 2005-05-26 Wim Taymans <wim@fluendo.com>
30054 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30055 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30056 (gst_bus_source_dispatch), (gst_bus_source_finalize),
30057 (gst_bus_create_watch), (gst_bus_add_watch_full):
30059 Implement a real GSource and use g_main_context_wakeup() to
30060 signal new messages instead of the socketpair.
30062 2005-05-25 Wim Taymans <wim@fluendo.com>
30064 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30065 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30066 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30067 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30068 (gst_pad_send_event), (gst_pad_start_task):
30069 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30070 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30071 (gst_queue_sink_activate), (gst_queue_src_activate),
30072 (gst_queue_change_state):
30074 Fix state changes for non sinks. We now change sinks, then elements
30075 with unconnected srcpads, then the rest.
30076 More efficient queue unlocking in flush and state changes.
30077 Set the pad activate mode even if it does not have an activate
30080 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30082 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30083 Don't go in pull mode for non-seekable sources.
30084 * gst/elements/gsttypefindelement.h:
30085 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30086 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30087 (free_entry), (stop_typefinding),
30088 (gst_type_find_element_handle_event), (find_peek),
30089 (gst_type_find_element_chain), (do_pull_typefind),
30090 (gst_type_find_element_change_state):
30091 Allow typefinding (w/o seeking) in push-mode, simplified version
30092 of what was in 0.8.
30093 * gst/gstutils.c: (gst_buffer_join):
30095 gst_buffer_join() from 0.8.
30097 2005-05-25 Wim Taymans <wim@fluendo.com>
30099 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30100 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30101 (gst_pad_send_event), (gst_pad_start_task):
30102 Disable attempt at mode switching until it is figured out.
30104 2005-05-25 Wim Taymans <wim@fluendo.com>
30106 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30107 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30108 (gst_basesink_finish_preroll), (gst_basesink_chain),
30109 (gst_basesink_loop), (gst_basesink_activate),
30110 (gst_basesink_change_state):
30111 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30112 (gst_basesrc_get_range), (gst_basesrc_loop),
30113 (gst_basesrc_activate):
30114 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30115 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30116 (gst_real_pad_init), (gst_real_pad_set_property),
30117 (gst_real_pad_get_property), (gst_pad_set_active),
30118 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30119 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30120 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30121 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30122 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30123 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30124 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30125 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30126 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30127 (gst_pad_stop_task):
30129 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30130 (gst_queue_loop), (gst_queue_src_activate):
30131 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30132 (gst_task_get_state):
30134 * gst/schedulers/threadscheduler.c:
30135 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30136 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30138 Remove ACTIVE pad flag, use FLUSHING everywhere
30139 Added _pad_chain(), _pad_get_range() to call chain/getrange
30141 Add locks around IS_FLUSHING when reading.
30142 Take STREAM lock in chain(), get_range() functions so plugins
30143 don't need to take it anymore.
30147 2005-05-25 Wim Taymans <wim@fluendo.com>
30149 * tools/gst-launch.c: (event_loop):
30150 Unref message after using its contents instead of
30153 2005-05-24 Wim Taymans <wim@fluendo.com>
30155 * docs/design/draft-ghostpads.txt:
30156 * docs/design/draft-push-pull.txt:
30157 * docs/design/draft-query.txt:
30158 * docs/design/part-overview.txt:
30159 Docs updates, added general overview doc.
30161 2005-05-21 David Schleef <ds@schleef.org>
30163 * docs/gst/tmpl/old/GstBin.sgml:
30164 * docs/gst/tmpl/old/GstBuffer.sgml:
30165 * docs/gst/tmpl/old/GstCaps.sgml:
30166 * docs/gst/tmpl/old/GstClock.sgml:
30167 * docs/gst/tmpl/old/GstCompat.sgml:
30168 * docs/gst/tmpl/old/GstData.sgml:
30169 * docs/gst/tmpl/old/GstElement.sgml:
30170 * docs/gst/tmpl/old/GstEvent.sgml:
30171 * docs/gst/tmpl/old/GstIndex.sgml:
30172 * docs/gst/tmpl/old/GstStructure.sgml:
30173 * docs/gst/tmpl/old/GstTag.sgml:
30174 * docs/gst/tmpl/old/cothreads.sgml:
30175 * docs/gst/tmpl/old/cothreads_compat.sgml:
30176 * docs/gst/tmpl/old/gettext.sgml:
30177 * docs/gst/tmpl/old/gobject2gtk.sgml:
30178 * docs/gst/tmpl/old/grammar.tab.sgml:
30179 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30180 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30181 * docs/gst/tmpl/old/gst_private.sgml:
30182 * docs/gst/tmpl/old/gstaggregator.sgml:
30183 * docs/gst/tmpl/old/gstarch.sgml:
30184 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30185 * docs/gst/tmpl/old/gstbufferstore.sgml:
30186 * docs/gst/tmpl/old/gstdata_private.sgml:
30187 * docs/gst/tmpl/old/gstdisksink.sgml:
30188 * docs/gst/tmpl/old/gstdisksrc.sgml:
30189 * docs/gst/tmpl/old/gstelementfactory.sgml:
30190 * docs/gst/tmpl/old/gstextratypes.sgml:
30191 * docs/gst/tmpl/old/gstfakesink.sgml:
30192 * docs/gst/tmpl/old/gstfakesrc.sgml:
30193 * docs/gst/tmpl/old/gstfdsink.sgml:
30194 * docs/gst/tmpl/old/gstfdsrc.sgml:
30195 * docs/gst/tmpl/old/gstfilesink.sgml:
30196 * docs/gst/tmpl/old/gstfilesrc.sgml:
30197 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30198 * docs/gst/tmpl/old/gstidentity.sgml:
30199 * docs/gst/tmpl/old/gstindexfactory.sgml:
30200 * docs/gst/tmpl/old/gstmarshal.sgml:
30201 * docs/gst/tmpl/old/gstmd5sink.sgml:
30202 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30203 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30204 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30205 * docs/gst/tmpl/old/gstpipefilter.sgml:
30206 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30207 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30208 * docs/gst/tmpl/old/gstshaper.sgml:
30209 * docs/gst/tmpl/old/gstspider.sgml:
30210 * docs/gst/tmpl/old/gstspideridentity.sgml:
30211 * docs/gst/tmpl/old/gststatistics.sgml:
30212 * docs/gst/tmpl/old/gsttee.sgml:
30213 * docs/gst/tmpl/old/gsttimecache.sgml:
30214 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30215 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30216 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30217 * docs/gst/tmpl/old/types.sgml:
30218 I didn't intend to add these or check them in.
30220 2005-05-19 David Schleef <ds@schleef.org>
30222 * configure.ac: Use -no-common everywhere. In a sane world, it
30223 would be the default in libtool, because without it, you can't
30224 build DLLs on Windows.
30225 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30226 * docs/gst/gstreamer-sections.txt:
30227 * docs/gst/tmpl/gstcpu.sgml:
30228 * docs/gst/tmpl/gstdata.sgml:
30229 * docs/gst/tmpl/gstthread.sgml:
30231 2005-05-19 David Schleef <ds@schleef.org>
30233 * gst/gstminiobject.c: (gst_value_set_mini_object),
30234 (gst_value_take_mini_object), (gst_value_get_mini_object):
30235 * gst/gstminiobject.h: Add GValue set/get functions.
30237 2005-05-19 Wim Taymans <wim@fluendo.com>
30239 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30240 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30241 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30243 * gst/gstbus.c: (gst_bus_post):
30244 * gst/gstelement.c: (gst_element_get_random_pad):
30245 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30246 Make subbufer unref the parent in finalize.
30247 some more debugging info.
30250 2005-05-19 Wim Taymans <wim@fluendo.com>
30252 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30253 (gst_basesink_init), (gst_basesink_finalize),
30254 (gst_basesink_activate), (gst_basesink_change_state):
30255 Don't free preroll queue too early.
30257 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30261 Hi, I'm outdated. Please shoot me.
30263 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30265 * gst/gstpipeline.c: (gst_pipeline_send_event):
30266 Do not access variables after they have been deleted.
30268 2005-05-19 Wim Taymans <wim@fluendo.com>
30270 * tools/gst-inspect.c: (print_plugin_features):
30271 A plugin feature does unfortunatly not use the
30274 2005-05-18 Wim Taymans <wim@fluendo.com>
30276 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30277 Port _span() functions to new subbuffers.
30279 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30281 * gst/gstbin.c: (gst_bin_add_func):
30282 Fix clock settery in bins when adding kids after the clock has
30285 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30287 * gst/elements/gstidentity.c: (gst_identity_class_init):
30288 Workaround until signals support GstMiniObject.
30290 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30293 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30295 2005-05-18 Wim Taymans <wim@fluendo.com>
30297 * gst/base/Makefile.am:
30298 * gst/base/gstadapter.c: (gst_adapter_base_init),
30299 (gst_adapter_class_init), (gst_adapter_init),
30300 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30301 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30302 (gst_adapter_flush), (gst_adapter_available),
30303 (gst_adapter_available_fast):
30304 * gst/base/gstadapter.h:
30305 Ported and added adapter to the base classes.
30307 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30310 * gst/gstmessage.c:
30311 Make sure the class is reffed/unreffed once before threads can be
30312 used. Fixes #304551.
30314 2005-05-17 Wim Taymans <wim@fluendo.com>
30316 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30317 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30318 * gst/gstminiobject.c: (gst_mini_object_get_type),
30319 (gst_mini_object_free):
30320 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30321 (gst_pad_push), (gst_pad_push_event):
30322 * gst/gstqueue.c: (gst_queue_change_state):
30323 Don't queue buffers in basesink when we are flushing.
30324 Unref buffer when flushing in basesink.
30325 Flush queue when going to READY
30326 Unref buffer when _push() returns an error.
30327 Don't free MiniObject instance when refcount is incremented
30328 in _finalize() so that we can recover objects.
30330 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30332 * docs/manual/advanced-schedulers.xml:
30333 * docs/manual/appendix-checklist.xml:
30334 * docs/pwg/advanced-clock.xml:
30335 * docs/pwg/advanced-interfaces.xml:
30336 * docs/pwg/advanced-request.xml:
30337 * docs/pwg/advanced-types.xml:
30338 * docs/pwg/intro-preface.xml:
30339 * examples/plugins/example.c: (gst_example_get_type),
30340 (gst_example_class_init), (gst_example_chain),
30341 (gst_example_set_property), (gst_example_get_property),
30342 (gst_example_change_state), (plugin_init):
30343 * examples/plugins/example.h:
30346 2005-05-17 Wim Taymans <wim@fluendo.com>
30348 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30349 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30350 * gst/gstqueue.c: (gst_queue_change_state):
30351 Clear queue when going to READY.
30352 Remove IN_SETCAPS flag too.
30354 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30356 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30357 Remove implicit cast from gboolean to GstElementStateReturn;
30358 make sure we still return failure in paused => ready case if
30359 the parent class fails to change state and our own stop
30362 2005-05-17 Wim Taymans <wim@fluendo.com>
30364 * tools/gst-launch.c: (event_loop):
30365 Message was unreffed too soon.
30367 2005-05-16 Andy Wingo <wingo@pobox.com>
30369 * gst/gstbin.c (sink_iterator_filter): Err... um...
30371 * check/gst/gstbin.c (test_ghost_pads): New test for the
30372 ghosting-if-elements-not-in-same-bin behavior.
30374 2005-05-16 David Schleef <ds@schleef.org>
30376 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30377 accessing refcount directly.
30379 2005-05-15 David Schleef <ds@schleef.org>
30381 * check/Makefile.am: remove GstData checks
30382 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30383 * gst/Makefile.am: add miniobject, remove data
30384 * gst/gst.h: add miniobject, remove data
30385 * gst/gstdata.c: remove
30386 * gst/gstdata.h: remove
30387 * gst/gstdata_private.h: remove
30388 * gst/gsttypes.h: remove GstEvent and GstMessage
30389 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30390 * gst/gstmarshal.list: change BOXED -> OBJECT
30392 Implement GstMiniObject.
30393 * gst/gstminiobject.c:
30394 * gst/gstminiobject.h:
30396 Modify to be subclasses of GstMiniObject.
30397 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30398 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30399 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30400 (gst_subbuffer_get_type), (gst_subbuffer_init),
30401 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30404 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30405 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30406 (_gst_event_copy), (gst_event_new):
30408 * gst/gstmessage.c: (_gst_message_initialize),
30409 (gst_message_get_type), (gst_message_class_init),
30410 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30411 (gst_message_new), (gst_message_new_error),
30412 (gst_message_new_warning), (gst_message_new_tag),
30413 (gst_message_new_state_changed), (gst_message_new_application):
30414 * gst/gstmessage.h:
30415 * gst/gstprobe.c: (gst_probe_perform),
30416 (gst_probe_dispatcher_dispatch):
30418 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30419 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30420 (_gst_query_copy), (gst_query_new):
30422 Update elements for GstData -> GstMiniObject changes
30424 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30425 (gst_queue_chain), (gst_queue_loop):
30426 * gst/elements/gstbufferstore.c:
30427 (gst_buffer_store_add_buffer_func),
30428 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30429 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30430 (gst_fakesink_render):
30431 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30432 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30433 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30434 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30435 (gst_filesrc_create_read):
30436 * gst/elements/gstidentity.c: (gst_identity_class_init):
30437 * gst/elements/gsttypefindelement.c:
30438 (gst_type_find_element_src_event), (free_entry_buffers),
30439 (gst_type_find_element_handle_event):
30440 * libs/gst/dataprotocol/dataprotocol.c:
30441 (gst_dp_header_from_buffer):
30442 * libs/gst/dataprotocol/dataprotocol.h:
30443 * libs/gst/dataprotocol/dp-private.h:
30445 2005-05-15 David Schleef <ds@schleef.org>
30447 * gst/elements/gstelements.c: Don't include headers that were
30450 2005-05-15 David Schleef <ds@schleef.org>
30452 * gst/elements/Makefile.am: Remove some elements that don't
30453 need to be in the core (or even exist at all).
30454 * gst/elements/gstaggregator.c:
30455 * gst/elements/gstaggregator.h:
30456 * gst/elements/gstmd5sink.c:
30457 * gst/elements/gstmd5sink.h:
30458 * gst/elements/gstmultifilesrc.c:
30459 * gst/elements/gstmultifilesrc.h:
30460 * gst/elements/gstpipefilter.c:
30461 * gst/elements/gstpipefilter.h:
30462 * gst/elements/gstshaper.c:
30463 * gst/elements/gstshaper.h:
30464 * gst/elements/gststatistics.c:
30465 * gst/elements/gststatistics.h:
30466 * po/POTFILES.in: Remove above files.
30468 2005-05-14 Andy Wingo <wingo@pobox.com>
30470 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30471 so as to get the refs right.
30472 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30473 unreffing objects that don't pass the filter.
30475 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30476 gst_element_set_bus.
30477 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30478 normal cases, this will destroy the bus.
30480 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30483 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30486 2005-05-13 Andy Wingo <wingo@pobox.com>
30488 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30489 gst_pad_link, call pad_link_maybe_ghosting,
30490 (pad_link_maybe_ghosting): Links pads, making sure that the
30491 elements being linked are in the same bin.
30492 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30493 Helpers for pad_link_maybe_ghosting.
30495 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30498 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30500 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30502 * docs/design/part-element-source.txt:
30505 2005-05-12 Wim Taymans <wim@fluendo.com>
30507 * gst/base/gstbasesink.c: (gst_basesink_init),
30508 (gst_basesink_activate):
30509 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30510 (gst_basesrc_is_seekable):
30511 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30512 (bin_element_is_sink), (gst_bin_change_state):
30513 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30514 * gst/gstelement.h:
30515 Identify sinks by their flag to avoid overly complicated
30517 Do state changes even for elements not reachable from the
30519 BaseSink is a sink now :)
30520 Some more debugging info in the basesrc.
30523 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30525 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30526 Implement _query on a bin, similar to _send_event.
30528 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30530 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30531 Discont event offset format should be GST_FORMAT_BYTES,
30532 not GST_FORMAT_TIME.
30534 2005-05-12 Wim Taymans <wim@fluendo.com>
30536 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30537 Same fix as Ronald's but without the signal.
30539 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30541 * gst/gstutils.c: (gst_element_query_position):
30542 No, an element is not a pad.
30544 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30546 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30547 (gst_bin_get_state):
30548 If a child is removed from a bin while we remove the child from
30549 the bin and while we're retrieving its state, signal this to the
30550 get_state function so we abort the wait (instead of waiting for
30551 a timeout) and can immediately re-iterate over all other elements.
30553 2005-05-12 Wim Taymans <wim@fluendo.com>
30555 * gst/base/Makefile.am:
30556 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30557 (gst_basesrc_start):
30558 * gst/base/gstbasesrc.h:
30559 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30560 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30561 (gst_pushsrc_init), (gst_pushsrc_create):
30562 * gst/base/gstpushsrc.h:
30563 Added is_seekable to BaseSrc
30564 Added simple PushSrc.
30566 2005-05-11 Wim Taymans <wim@fluendo.com>
30568 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30569 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30570 (gst_element_link_pads), (gst_element_query_position),
30571 (gst_element_query_convert), (intersect_caps_func),
30572 (gst_pad_query_position), (gst_pad_query_convert):
30573 Fix refcounting in utils function.
30574 No point in trying to activate a pad when it's added, it could
30575 be added from the state change function and then we deadlock, the
30576 element has to decide what to do.
30578 2005-05-10 Andy Wingo <wingo@pobox.com>
30580 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30581 *all* the arguments.
30583 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30584 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30585 lock (according to the docs -- if this is wrong change the docs).
30587 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30588 flush messages in the NULL state.
30590 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30591 message immediately and return.
30592 (gst_bus_set_flushing): New function. If a bus is flushing, it
30593 flushes out any queued messages and immediately unrefs new
30594 messages. This is so when an element goes to NULL, all of the
30595 unhandled messages coming from it can be freed, and their
30596 references to the element dropped. In other words: message source
30597 ref considered harmful :P
30599 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30600 we're finished with it.
30602 * gst/gstmessage.c (gst_message_new_state_changed):
30604 2005-05-10 Wim Taymans <wim@fluendo.com>
30606 * gst/gstvalue.c: (gst_value_compare_flags),
30607 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30608 (_gst_value_initialize):
30609 Added flags serialize/deserialize/compare code.
30611 2005-05-09 Andy Wingo <wingo@pobox.com>
30613 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30614 Intersect the peer's caps with our caps.
30616 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30618 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30619 * gst/elements/gsttypefindelement.c: (find_peek):
30620 Handle negative offsets better. Fixes decodebin.
30622 2005-05-09 Wim Taymans <wim@fluendo.com>
30624 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30625 (gst_base_transform_event):
30626 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30627 Implement accept_caps.
30628 Fix silly lock/unlock mismatch in base class.
30630 2005-05-09 Wim Taymans <wim@fluendo.com>
30632 * docs/design/draft-push-pull.txt:
30633 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30634 * gst/elements/gstfilesink.c: (gst_filesink_init),
30635 (gst_filesink_query):
30636 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30637 (gst_type_find_handle_src_query), (find_element_get_length):
30638 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30639 * gst/gstelement.h:
30640 * gst/gstmessage.c:
30641 * gst/gstmessage.h:
30642 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30643 (gst_real_pad_get_caps_unlocked),
30644 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30645 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30646 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30647 (gst_real_pad_dispose), (gst_real_pad_finalize),
30648 (gst_pad_load_and_link), (gst_pad_save_thyself),
30649 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30650 (gst_pad_check_pull_range), (gst_pad_pull_range),
30651 (gst_pad_template_get_type), (gst_pad_template_class_init),
30652 (gst_pad_template_init), (gst_pad_template_dispose),
30653 (name_is_valid), (gst_static_pad_template_get),
30654 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30655 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30656 (gst_pad_get_element_private), (gst_pad_start_task),
30657 (gst_pad_pause_task), (gst_pad_stop_task),
30658 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30659 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30660 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30661 (gst_ghost_pad_new):
30663 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30664 (gst_query_new_position), (gst_query_set_position),
30665 (gst_query_parse_position), (gst_query_new_convert),
30666 (gst_query_set_convert), (gst_query_parse_convert):
30668 * gst/gstqueryutils.c:
30669 * gst/gstqueryutils.h:
30670 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30671 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30672 (gst_queue_handle_src_query):
30673 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30674 (gst_element_query_position), (gst_element_query_convert),
30675 (intersect_caps_func), (gst_pad_query_position),
30676 (gst_pad_query_convert):
30678 * tools/gst-inspect.c: (print_pad_info):
30679 * tools/gst-xmlinspect.c: (print_element_info):
30680 Remove old query functions. Ported old code.
30681 Added position/convert helper functions to gstutils.
30682 Reordered gstpad.c code, grouping relevant things.
30683 Remove gst_message_new(), always need to speficy a specific
30687 2005-05-09 Andy Wingo <wingo@pobox.com>
30689 * gst/gstiterator.h: Add some includes.
30691 * gst/gstqueryutils.h: Include more headers.
30694 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30695 some uses of gst_pad_query.
30697 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30698 NULL out parameters.
30699 (gst_query_new_position): New proc, allocates a new position
30702 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30703 gstqueryutils.c to the build.
30705 * gst/gststructure.c (gst_structure_set_valist): Implement with
30706 the generic G_VALUE_COLLECT.
30708 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30710 * gst/Makefile.am: (gst_headers):
30711 Added gstqueryutils.h to the list of headers to install, that was
30712 a 'nachty' move wingo :)
30714 2005-05-06 Andy Wingo <wingo@pobox.com>
30717 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30718 GstData, init a memchunk.
30719 (standard_definitions): Add a few query types, deprecate a few.
30720 (gst_query_get_type): New proc.
30721 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30723 (gst_query_new_application, gst_query_get_structure): New public
30726 * docs/design/draft-query.txt: Removed LINKS from the query types,
30727 because all the rest can be dispatched to other pads -- seemed
30728 ugly to have a query that couldn't be dispatched. internal_links
30729 is fine as a pad method.
30731 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30732 in gstpad.c, but maintain binary compatibility for the moment.
30733 Will fix before 0.9 is out.
30735 * gst/gstqueryutils.c:
30736 * gst/gstqueryutils.h: New files, implement 3 methods for each
30737 query type: parse_query, parse_response, and set. Probably need an
30740 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30742 * gst/elements/gstfilesink.c (gst_filesink_query2):
30743 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30744 query_types, and formats methods.
30746 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30747 (gst_pad_set_query2_function): New functions.
30748 (gst_real_pad_init): Set query2_default as the default query2
30749 function. Basically just dispatches to internally linked pads.
30753 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30754 without using the atomic operations. Only one thread can possibly
30755 be accessing the data at this point. Changed so as to avoid
30756 gst_atomic operations.
30758 2005-05-06 Wim Taymans <wim@fluendo.com>
30760 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30761 Also set caps if we use the fallback buffer alloc.
30763 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30765 * docs/gst/Makefile.am:
30766 * docs/gst/gstreamer-docs.sgml:
30767 * docs/gst/gstreamer-sections.txt:
30768 * docs/gst/tmpl/gstatomic.sgml:
30769 * docs/gst/tmpl/gstmemchunk.sgml:
30770 * testsuite/elements/struct_i386.h:
30771 * win32/GStreamer.vcproj:
30773 Purge GstAtomic stuff from docs and win32 makefiles as well
30775 2005-05-06 Wim Taymans <wim@fluendo.com>
30777 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30778 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30779 * gst/gstpad.c: (gst_pad_peer_get_caps):
30780 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30781 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30782 (gst_queue_src_activate), (gst_queue_change_state):
30784 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30785 (intersect_caps_func):
30786 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30787 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30788 Some fixes for the peer_get_caps() change.
30790 2005-05-06 Wim Taymans <wim@fluendo.com>
30792 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30793 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30794 (gst_basesink_activate):
30795 Actually do something with error codes returned from the push
30798 2005-05-06 Wim Taymans <wim@fluendo.com>
30800 * docs/design/part-element-sink.txt:
30801 * docs/design/part-element-source.txt:
30802 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30803 (gst_basesink_event), (gst_basesink_activate):
30804 * gst/base/gstbasesink.h:
30805 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30806 (gst_basesrc_activate):
30807 * gst/base/gstbasesrc.h:
30808 * gst/gstelement.c: (gst_element_pads_activate):
30809 Some more documentation.
30810 Fixed scheduling decision in _pads_activate().
30812 2005-05-05 Andy Wingo <wingo@pobox.com>
30814 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30817 2005-05-05 Wim Taymans <wim@fluendo.com>
30819 * gst/base/Makefile.am:
30820 * gst/base/gstbasesink.h:
30821 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30822 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30823 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30824 (gst_collectpads_class_init), (gst_collectpads_init),
30825 (gst_collectpads_finalize), (gst_collectpads_new),
30826 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30827 (find_pad), (gst_collectpads_remove_pad),
30828 (gst_collectpads_is_active), (gst_collectpads_collect),
30829 (gst_collectpads_collect_range), (gst_collectpads_start),
30830 (gst_collectpads_stop), (gst_collectpads_peek),
30831 (gst_collectpads_pop), (gst_collectpads_available),
30832 (gst_collectpads_read), (gst_collectpads_flush),
30833 (gst_collectpads_chain):
30834 * gst/base/gstcollectpads.h:
30835 * gst/elements/Makefile.am:
30836 * gst/elements/gstelements.c:
30837 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30838 (gst_fakesink_get_times), (gst_fakesink_event),
30839 (gst_fakesink_preroll), (gst_fakesink_render):
30840 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30841 (gst_filesink_init), (gst_filesink_set_location),
30842 (gst_filesink_open_file), (gst_filesink_close_file),
30843 (gst_filesink_pad_query), (gst_filesink_event),
30844 (gst_filesink_render), (gst_filesink_change_state):
30845 * gst/elements/gstfilesink.h:
30846 Added object to help in making collect pad based elements.
30848 Make event function in sink baseclass return gboolean.
30850 2005-05-05 Wim Taymans <wim@fluendo.com>
30852 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30853 (gst_bin_get_by_name):
30855 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30856 (gst_clock_finalize):
30857 * gst/gstdata.c: (gst_data_replace):
30859 * gst/gstelement.c: (gst_element_request_pad),
30860 (gst_element_pads_activate):
30861 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30862 (gst_object_unref):
30863 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30864 (gst_pad_set_checkgetrange_function),
30865 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30866 (gst_pad_check_pull_range), (gst_pad_pull_range),
30867 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30868 (gst_pad_pause_task), (gst_pad_stop_task):
30869 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30870 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30871 Fix name lookup in GstBin.
30872 Added _data_replace() function and _buffer_replace()
30873 Use finalize method to clean up clock.
30874 Fix refcounting on request pads.
30875 Fix pad schedule mode error.
30876 Some more object refcounting debug info,
30879 2005-05-04 Andy Wingo <wingo@pobox.com>
30881 * check/Makefile.am:
30882 * docs/gst/tmpl/gstatomic.sgml:
30883 * docs/gst/tmpl/gstplugin.sgml:
30884 * gst/base/gstbasesink.c: (gst_basesink_activate):
30885 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30886 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30887 (gst_basesrc_query), (gst_basesrc_set_property),
30888 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30889 (gst_basesrc_activate):
30890 * gst/base/gstbasesrc.h:
30891 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30892 (gst_base_transform_src_activate):
30893 * gst/elements/gstelements.c:
30894 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30895 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30896 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30897 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30898 (gst_type_find_element_checkgetrange),
30899 (gst_type_find_element_activate):
30900 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30901 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30902 (gst_caps_load_thyself):
30903 * gst/gstelement.c: (gst_element_pads_activate),
30904 (gst_element_save_thyself), (gst_element_restore_thyself):
30905 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30906 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30908 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30909 (gst_xml_parse_file), (gst_xml_parse_memory),
30910 (gst_xml_get_element), (gst_xml_make_element):
30911 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30912 (_file_index_id_save_xml), (gst_file_index_commit):
30913 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30914 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30916 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30917 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30918 * tools/gst-complete.c: (main):
30919 * tools/gst-compprep.c: (main):
30920 * tools/gst-inspect.c: (print_element_properties_info):
30921 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30922 * tools/gst-xmlinspect.c: (print_element_properties):
30925 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30927 * gst/gstplugin.c: (gst_plugin_check_module),
30928 (gst_plugin_check_file), (gst_plugin_load_file):
30929 apply patch from #172526 to make register work on MacOSX
30931 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30933 * docs/gst/tmpl/gstconfig.sgml:
30934 * gst/gstconfig.h.in:
30935 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30936 * testsuite/debug/printf_extension.c: (main):
30937 Do not use GST_PTR_FORMAT on pointers to types with
30938 sizeof < sizeof(gpointer). Fixes test on 64-bit
30939 * testsuite/elements/property.h:
30940 use correct printf format
30942 2005-05-02 Wim Taymans <wim@fluendo.com>
30944 * docs/design/draft-push-pull.txt:
30945 * docs/design/draft-query.txt:
30946 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30947 (gst_basesrc_start):
30948 Added draft for new query API.
30949 Added draft for better selecting scheduling methods.
30950 Make basesrc ignore length if the subclass does not support
30953 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30956 possible fixes for automake-1.5 - _LIBADD is reserved
30958 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30960 * docs/faq/Makefile.am:
30961 * docs/manual/Makefile.am:
30962 * docs/manuals.mak:
30963 * docs/pwg/Makefile.am:
30965 possible fixes for automake-1.5
30967 2005-04-28 Wim Taymans <wim@fluendo.com>
30969 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30970 (gst_basesink_pad_getcaps), (gst_basesink_init),
30971 (gst_basesink_do_sync):
30972 * gst/gstclock.c: (gst_clock_entry_new):
30973 * gst/gstevent.c: (gst_event_discont_get_value):
30974 * gst/gstpipeline.c: (pipeline_bus_handler),
30975 (gst_pipeline_change_state):
30976 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30977 Better debugging of clocking info.
30978 Allow NULL values when getting discont values.
30980 2005-04-27 Wim Taymans <wim@fluendo.com>
30982 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30983 * check/gst/gstpad.c: (gst_pad_suite):
30984 Increase timeout for checks.
30986 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30988 * check/Makefile.am:
30989 fix the broken rule for cleanup. Apparently this rule is
30990 only needed on FC2, so maybe this warrants further autotool
30993 2005-04-26 Wim Taymans <wim@fluendo.com>
30995 * gst/gsttrashstack.h:
30996 Ooohh. a nasty one! After having a failed pop() from the stack,
30997 it's possible that the stack is empty. In that case, don't
30998 follow the NULL pointer.
31000 2005-04-25 Wim Taymans <wim@fluendo.com>
31002 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31003 (gst_pad_set_checkgetrange_function),
31004 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31005 (gst_pad_check_pull_range), (gst_pad_pull_range),
31006 (gst_static_pad_template_get_caps), (gst_pad_start_task),
31007 (gst_pad_pause_task), (gst_pad_stop_task):
31008 * gst/gstplugin.c: (gst_plugin_load):
31010 Remove gst_library_load as it does more harm than good with
31011 the new g_module flags.
31012 Revert bogus caps template check in pad linking, pad caps
31013 are important when linking not the template, which is more
31014 general than the current caps.
31016 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31018 * gst/autoplug/.cvsignore:
31019 * gst/autoplug/Makefile.am:
31020 * gst/autoplug/gstsearchfuncs.c:
31021 * gst/autoplug/gstsearchfuncs.h:
31022 * gst/autoplug/gstspider.c:
31023 * gst/autoplug/gstspider.h:
31024 * gst/autoplug/gstspideridentity.c:
31025 * gst/autoplug/gstspideridentity.h:
31026 * gst/autoplug/spidertest.c:
31029 2005-04-25 Wim Taymans <wim@fluendo.com>
31031 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31032 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31033 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31034 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31036 Added stubs for unimplemented functions.
31038 2005-04-24 David Schleef <ds@schleef.org>
31040 * gst/gstpad.h: Disable some unimplemented functions. Wim,
31043 2005-04-24 David Schleef <ds@schleef.org>
31045 Convert everything from GstAtomicInt to g_atomic_int_*, and
31050 * gst/gstatomic_impl.h:
31058 * gst/gstdata_private.h:
31062 * gst/gstmessage.c:
31065 * gst/gststructure.c:
31066 * gst/gststructure.h:
31067 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31070 2005-04-24 David Schleef <ds@schleef.org>
31072 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31073 make the regressions tests work. Remove some code that is no
31075 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31076 Disable warning for pads without templates.
31078 2005-04-24 David Schleef <ds@schleef.org>
31080 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
31081 functions that handle filtered links.
31082 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31084 * gst/gstutils.c: Fix/remove utility functions that handle
31087 * gst/gstvalue.c: Add serialization/deserialization of caps
31088 * gst/parse/grammar.y: Ignore filtered caps when linking. This
31089 requires fixing so that the filter caps notation creates
31090 a capsfilter element and sets the filter_caps property. I
31091 think everyone probably wants to keep the shorthand notation.
31092 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31093 * docs/gst/tmpl/gstpad.sgml:
31095 * gst/elements/gstelements.c: Register capsfilter element.
31096 * gst/Makefile.am: fix spacing
31097 * docs/random/ds/0.9-suggested-changes: random
31099 2005-04-23 David Schleef <ds@schleef.org>
31101 * gst/elements/Makefile.am:
31102 * gst/elements/gstcapsfilter.c: New element that acts like an
31103 identity, but filters caps. Will eventually replace filtered
31104 caps in pad linking.
31105 * gst/gstutils.c: (gst_element_create_all_pads): New function
31106 to create all the ALWAYS pads that are registered with an
31107 element class. This functionality should eventually be
31108 merged in with GstElement initialization.
31110 * testsuite/trigger/README: part of trigger test code that should
31111 have been checked in a long time ago.
31113 2005-04-23 David Schleef <ds@schleef.org>
31115 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
31116 needed with new versions of libtool (nobody will confirm this),
31117 and hard to carry around.
31118 * gst/autoplug/Makefile.am:
31119 * gst/base/Makefile.am:
31120 * gst/elements/Makefile.am:
31121 * gst/indexers/Makefile.am:
31122 * gst/schedulers/Makefile.am:
31123 * libs/gst/bytestream/Makefile.am:
31124 * libs/gst/control/Makefile.am:
31125 * libs/gst/dataprotocol/Makefile.am:
31126 * libs/gst/getbits/Makefile.am:
31128 2005-04-21 Wim Taymans <wim@fluendo.com>
31130 * docs/design/draft-push-pull.txt:
31131 * docs/design/part-MT-refcounting.txt:
31132 * docs/design/part-TODO.txt:
31133 * docs/design/part-caps.txt:
31134 * docs/design/part-events.txt:
31135 * docs/design/part-gstbus.txt:
31136 * docs/design/part-gstpipeline.txt:
31137 * docs/design/part-messages.txt:
31138 * docs/design/part-push-pull.txt:
31139 * docs/design/part-query.txt:
31142 2005-04-21 Wim Taymans <wim@fluendo.com>
31144 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31145 (gst_message_new), (gst_message_new_error),
31146 (gst_message_new_warning), (gst_message_new_tag),
31147 (gst_message_new_state_changed), (gst_message_new_application),
31148 (gst_message_get_structure):
31149 * gst/gstmessage.h:
31150 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31151 (gst_structure_copy_conditional):
31152 Use parent refcount in GstMessage to ensure GstStructure
31154 Cleaned up headers a bit.
31157 2005-04-20 Wim Taymans <wim@fluendo.com>
31159 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31160 (gst_basesink_pad_getcaps), (gst_basesink_init),
31161 (gst_basesink_chain_unlocked):
31162 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31163 (gst_type_find_helper):
31164 * gst/elements/gsttypefindelement.c:
31165 (gst_type_find_element_have_type), (gst_type_find_element_init),
31166 (stop_typefinding), (gst_type_find_element_handle_event),
31167 (find_suggest), (gst_type_find_element_chain),
31168 (gst_type_find_element_checkgetrange),
31169 (gst_type_find_element_getrange), (do_typefind),
31170 (gst_type_find_element_activate):
31171 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31172 (gst_buffer_default_free), (gst_buffer_default_copy),
31173 (gst_buffer_set_caps):
31174 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31175 (gst_caps_replace):
31176 * gst/gstmessage.c: (gst_message_new),
31177 (gst_message_new_state_changed):
31178 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31179 (gst_pad_set_checkgetrange_function),
31180 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31181 (gst_pad_set_caps), (gst_pad_check_pull_range),
31182 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31184 * gst/gsttypefind.c: (gst_type_find_register):
31185 Make gst_caps_replace() work like other _replace() functions.
31186 Use _caps_replace() where possible.
31187 Make sure _message_new() initialises its field.
31188 Add gst_static_pad_template_get_caps()
31191 2005-04-18 Andy Wingo <wingo@pobox.com>
31193 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31194 on the peer, not the pad. I think that was a typo. Pass an extra
31195 arg to see if random access is possible. Activate the pads as
31196 PULL_RANGE if possible.
31198 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31200 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31201 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31204 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31206 * docs/faq/using.xml:
31207 Add note on gstreamer-properties (#154996).
31209 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31211 * docs/random/bbb/optional-properties:
31212 Some analysis on optional properties.
31214 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31216 * docs/gst/tmpl/gstelementfactory.sgml:
31217 * gst/gstelement.h:
31218 * gst/gstelementfactory.c: (gst_element_factory_init),
31219 (gst_element_factory_cleanup), (gst_element_register),
31220 (__gst_element_factory_add_static_pad_template),
31221 (gst_element_factory_get_static_pad_templates),
31222 (gst_element_factory_can_src_caps),
31223 (gst_element_factory_can_sink_caps):
31224 * gst/registries/Makefile.am:
31225 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31226 (gst_xml_registry_class_init), (gst_xml_registry_init),
31227 (gst_xml_registry_new), (gst_xml_registry_set_property),
31228 (gst_xml_registry_get_property), (get_time), (make_dir),
31229 (gst_xml_registry_get_perms_func),
31230 (plugin_times_older_than_recurse), (plugin_times_older_than),
31231 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31232 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31233 (add_to_char_array), (read_string), (read_uint), (read_enum),
31234 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31235 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31236 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31237 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31238 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31239 (gst_xml_registry_rebuild):
31240 * gst/registries/gstlibxmlregistry.h:
31241 * tools/gst-compprep.c: (main):
31242 * tools/gst-inspect.c: (print_pad_templates_info):
31243 * tools/gst-xmlinspect.c: (print_element_info):
31244 Use libxml2 for registry parsing, use staticpadtemplates in
31245 elementfactories. Makes gst_init() +/- 10x faster.
31247 2005-04-12 Wim Taymans <wim@fluendo.com>
31249 * gst/base/Makefile.am:
31250 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31251 (gst_basesink_pad_getcaps), (gst_basesink_init),
31252 (gst_basesink_event), (gst_basesink_change_state):
31253 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31254 (gst_basesrc_init), (gst_basesrc_query),
31255 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31256 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31257 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31258 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31259 (gst_basesrc_stop), (gst_basesrc_activate),
31260 (gst_basesrc_change_state):
31261 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31262 (helper_find_suggest), (gst_type_find_helper):
31263 * gst/base/gsttypefindhelper.h:
31264 * gst/elements/Makefile.am:
31265 * gst/elements/gstelements.c:
31266 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31267 (gst_fakesink_get_times), (gst_fakesink_event),
31268 (gst_fakesink_preroll), (gst_fakesink_render):
31269 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31270 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31271 (gst_fakesrc_get_property), (gst_fakesrc_create),
31272 (gst_fakesrc_start), (gst_fakesrc_stop):
31273 * gst/elements/gstfakesrc.h:
31274 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31275 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31276 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31277 (gst_filesrc_create_read), (gst_filesrc_create),
31278 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31279 (gst_filesrc_start):
31280 * gst/elements/gsttypefindelement.c:
31281 (gst_type_find_element_have_type), (gst_type_find_element_init),
31282 (start_typefinding), (stop_typefinding), (push_buffer_store),
31283 (gst_type_find_element_handle_event),
31284 (gst_type_find_element_chain),
31285 (gst_type_find_element_checkgetrange),
31286 (gst_type_find_element_getrange), (do_typefind),
31287 (gst_type_find_element_activate),
31288 (gst_type_find_element_change_state):
31289 * gst/elements/gsttypefindelement.h:
31290 * gst/gstpipeline.c: (pipeline_bus_handler):
31291 Added typefind helper.
31292 Small preroll fix in the base sink.
31293 Disable typefind code in basesrc.
31294 Crude port of typefindelement.
31298 2005-04-11 Wim Taymans <wim@fluendo.com>
31300 * check/gst/gstbus.c: (gstbus_suite):
31301 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31302 * check/gstcheck.h:
31303 Fix up the timeout so that the test does not fail.
31305 2005-04-06 Wim Taymans <wim@fluendo.com>
31308 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31309 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31310 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31311 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31312 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31313 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31314 (gst_basesrc_stop), (gst_basesrc_activate),
31315 (gst_basesrc_change_state), (basesrc_find_peek),
31316 (basesrc_find_suggest), (gst_basesrc_type_find):
31317 * gst/base/gstbasesrc.h:
31318 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31319 (gst_filesrc_class_init), (gst_filesrc_init),
31320 (gst_filesrc_finalize), (gst_filesrc_set_location),
31321 (gst_filesrc_set_property), (gst_filesrc_get_property),
31322 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31323 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31324 (gst_filesrc_create_read), (gst_filesrc_create),
31325 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31326 * gst/elements/gstfilesrc.h:
31327 * gst/gstelement.c: (gst_element_get_state_func),
31328 (gst_element_lost_state), (gst_element_pads_activate):
31329 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31330 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31331 (gst_pad_pull_range):
31333 More work on the generic source base class, implement seeking,
31335 Make filesrc extend the base source class.
31336 Added gst_pad_set_checkgetrange_function to GstPad.
31338 2005-04-06 Andy Wingo <wingo@pobox.com>
31340 * pkgconfig/gstreamer-base.pc.in:
31341 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31343 * pkgconfig/Makefile.am:
31344 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31346 2005-04-04 Wim Taymans <wim@fluendo.com>
31348 * gst/base/Makefile.am:
31350 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31351 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31352 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31353 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31354 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31355 (gst_basesrc_base_init), (gst_basesrc_class_init),
31356 (gst_basesrc_init), (gst_basesrc_get_formats),
31357 (gst_basesrc_get_query_types), (gst_basesrc_query),
31358 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31359 (gst_basesrc_set_property), (gst_basesrc_get_property),
31360 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31361 (gst_basesrc_loop), (gst_basesrc_activate),
31362 (gst_basesrc_change_state):
31363 * gst/base/gstbasesrc.h:
31364 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31365 (gst_fakesrc_class_init), (gst_fakesrc_init),
31366 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31367 (gst_fakesrc_get_property), (gst_fakesrc_create):
31368 * gst/elements/gstfakesrc.h:
31369 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31370 (gst_filesrc_open_file), (gst_filesrc_loop),
31371 (gst_filesrc_activate), (filesrc_find_peek),
31372 (gst_filesrc_type_find):
31373 Made base source class, make fakesrc extend it.
31374 Add comments to basesink class.
31375 Some filesrc cleanup.
31377 2005-03-31 David Schleef <ds@schleef.org>
31379 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31380 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31381 expected to link against libgstreamer.
31382 * gst/base/Makefile.am: link against libgstreamer
31383 * gst/elements/Makefile.am: same
31385 2005-03-31 Andy Wingo <wingo@pobox.com>
31387 * tests/instantiate/Makefile.am:
31388 * tests/instantiate/caps.c: Add test to test speed of caps copy
31391 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31392 GMemChunk to be fair.
31394 * gst/gsttrashstack.h: Remove warning about using the fallback
31395 trash stack implementation, it's still faster than malloc.
31397 2005-03-30 Andy Wingo <wingo@pobox.com>
31399 * tests/complexity.c: Add a copyright.
31401 2005-03-31 Wim Taymans <wim@fluendo.com>
31403 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31404 (gst_base_transform_class_init), (gst_base_transform_init),
31405 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31406 (gst_base_transform_get_property),
31407 (gst_base_transform_sink_activate),
31408 (gst_base_transform_src_activate),
31409 (gst_base_transform_change_state):
31410 * gst/base/gstbasetransform.h:
31411 * gst/elements/gstidentity.c: (gst_identity_class_init),
31412 (gst_identity_event), (gst_identity_check_perfect),
31413 (gst_identity_transform), (gst_identity_start),
31414 (gst_identity_stop):
31415 Added start/stop methods to transform base class so subclasses
31416 don't need to deal with state changes even.
31418 2005-03-31 Wim Taymans <wim@fluendo.com>
31420 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31421 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31423 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31424 (gst_pad_pull_range):
31425 Added rate to the discont event to prepare for variable speed
31426 and reverse playback.
31428 2005-03-29 David Schleef <ds@schleef.org>
31431 * testsuite/trigger/Makefile.am:
31432 * testsuite/trigger/trigger.c: A little example program to show
31433 how trigger-based elements can work.
31435 2005-03-29 Wim Taymans <wim@fluendo.com>
31437 * gst/base/Makefile.am:
31439 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31440 (gst_basesink_base_init), (gst_basesink_class_init),
31441 (gst_basesink_pad_getcaps), (gst_basesink_init),
31442 (gst_basesink_activate), (gst_basesink_change_state):
31443 * gst/base/gstbasesink.h:
31444 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31445 (gst_base_transform_base_init), (gst_base_transform_finalize),
31446 (gst_base_transform_class_init), (gst_base_transform_init),
31447 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31448 (gst_base_transform_event), (gst_base_transform_getrange),
31449 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31450 (gst_base_transform_set_property),
31451 (gst_base_transform_get_property),
31452 (gst_base_transform_sink_activate),
31453 (gst_base_transform_src_activate),
31454 (gst_base_transform_change_state):
31455 * gst/base/gstbasetransform.h:
31456 * gst/elements/gstidentity.c: (gst_identity_finalize),
31457 (gst_identity_class_init), (gst_identity_init),
31458 (gst_identity_event), (gst_identity_check_perfect),
31459 (gst_identity_transform), (gst_identity_set_property),
31460 (gst_identity_get_property), (gst_identity_change_state):
31461 * gst/elements/gstidentity.h:
31462 * gst/gstelement.c: (gst_element_get_state_func),
31463 (gst_element_lost_state), (gst_element_pads_activate):
31464 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31465 (gst_pad_check_pull_range), (gst_pad_pull_range):
31467 Simplify pad activation.
31468 Added function to check if pull_range can be performed.
31469 Error out when pulling inactive or flushing pads.
31470 Removed const from refcounted types as it does not make sense.
31471 Simplify pad templates in basesink
31472 Added base class for simple 1-to-1 transforms.
31473 Make identity subclass the base transform.
31475 2005-03-29 Andy Wingo <wingo@pobox.com>
31477 * docs/libs/gstreamer-libs-overrides.txt:
31478 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31479 really don't understand what's going on, but like whatever. I want
31482 * docs/gst/Makefile.am:
31483 * docs/libs/Makefile.am: Dist the overrides files.
31485 * check/Makefile.am (clean-local): Remove .libs directories.
31487 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31488 elements to EXTRA_DIST, so po/ files are happy.
31490 * po/POTFILES.in: Er, remove it here.
31492 * po/POTFILES: Remove gstspider.c.
31494 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31496 * docs/libs/gstreamer-libs-docs.sgml:
31497 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31500 * tests/complexity.c (main): Set the length of the preroll queue
31501 on the sinks to prevent a lockup.
31503 * libs/gst/dataprotocol/Makefile.am:
31504 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31505 the same as the one in check/gst-libs/gdp.c.
31507 * po/, docs/gst/: Commit automatic changes to docs and po files.
31509 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31510 the versioned libgstbase.
31512 * check/Makefile.am: Depend on an unversioned gst-register, seems
31513 to make autoconf happier.
31515 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31517 2005-03-28 Wim Taymans <wim@fluendo.com>
31520 * docs/design/part-gstelement.txt:
31521 * docs/design/part-negotiation.txt:
31522 * docs/design/part-preroll.txt:
31523 * docs/design/part-scheduling.txt:
31524 * docs/design/part-states.txt:
31526 * gst/base/Makefile.am:
31528 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31529 (gst_basesink_base_init), (gst_basesink_class_init),
31530 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31531 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31532 (gst_basesink_set_pad_functions),
31533 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31534 (gst_basesink_set_property), (gst_basesink_get_property),
31535 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31536 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31537 (gst_basesink_preroll_queue_push),
31538 (gst_basesink_preroll_queue_empty),
31539 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31540 (gst_basesink_event), (gst_basesink_get_times),
31541 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31542 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31543 (gst_basesink_loop), (gst_basesink_activate),
31544 (gst_basesink_change_state):
31545 * gst/base/gstbasesink.h:
31546 * gst/elements/Makefile.am:
31547 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31548 (gst_fakesink_class_init), (gst_fakesink_init),
31549 (gst_fakesink_set_property), (gst_fakesink_get_property),
31550 (gst_fakesink_get_times), (gst_fakesink_event),
31551 (gst_fakesink_preroll), (gst_fakesink_render),
31552 (gst_fakesink_change_state):
31553 * gst/elements/gstfakesink.h:
31554 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31555 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31556 * gst/gstelement.c: (gst_element_add_pad),
31557 (gst_element_get_state_func), (gst_element_abort_state),
31558 (gst_element_commit_state), (gst_element_lost_state),
31559 (gst_element_set_state), (gst_element_pads_activate):
31560 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31561 * gst/gstpipeline.c: (gst_pipeline_send_event),
31562 (gst_pipeline_change_state):
31563 Added state change code.
31564 Added/updated docs.
31565 Added sink base class, make fakesink extend the base class.
31566 Small cleanups in GstPipeline.
31568 2005-03-26 David Schleef <ds@schleef.org>
31570 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31571 is broken and should be implemented in a different library.
31572 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31573 * gst/gst.h: remove gstcpu.h
31574 * gst/gstcpu.c: remove
31575 * gst/gstcpu.h: remove
31576 * gst/Makefile.am.future: Remove this file. It's ancient.
31578 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31580 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31581 (gst_bin_send_event):
31582 Add default event/set_manager handlers. The set_manager handler
31583 takes care that the manager is distributed over kids that were
31584 already in the bin before the manager was set. The event handler
31585 is a utility virtual function that sends the event over all sinks,
31586 so that gst_element_send_event (bin, event); has the expected
31588 * gst/gstpad.c: (gst_pad_event_default):
31589 Re-install default event handling for discontinuities, so that
31590 seeking works without requiring hacks in applications or extra
31592 * gst/gstpipeline.c: (gst_pipeline_class_init),
31593 (gst_pipeline_send_event):
31594 Half hack, half utility: set a pipeline to PAUSED for seek events,
31595 since that is the only way we can guarantee a/v sync. Means that
31596 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31597 and it "just works".
31599 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31601 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31602 Lock/unlock mismatch.
31604 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31606 * docs/faq/gst-uninstalled:
31607 add gst-plugins-base
31608 * docs/gst/Makefile.am:
31609 don't error out until docs are fixed
31610 * docs/gst/gstreamer.types:
31613 2005-03-22 Wim Taymans <wim@fluendo.com>
31615 * check/Makefile.am:
31616 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31617 * gst/gststructure.c: (gst_structure_set_valist),
31618 (gst_structure_copy_conditional):
31619 Activated more tests.
31620 Added message test.
31621 Added G_TYPE_POINTER to GstStructure.
31624 2005-03-22 Wim Taymans <wim@fluendo.com>
31626 * docs/design/part-TODO.txt:
31627 * docs/design/part-events.txt:
31628 * docs/design/part-gstbin.txt:
31629 * docs/design/part-gstbus.txt:
31630 * docs/design/part-gstpipeline.txt:
31631 * docs/design/part-messages.txt:
31633 * gst/gstmessage.c:
31636 2005-03-21 Wim Taymans <wim@fluendo.com>
31638 * gst/gstbus.c: (gst_bus_post):
31639 Fix copy-and-paste error.
31641 2005-03-21 Wim Taymans <wim@fluendo.com>
31643 * check/Makefile.am:
31645 * gst/elements/Makefile.am:
31646 * gst/elements/gstelements.c:
31647 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31648 (gst_fakesink_event), (gst_fakesink_chain):
31649 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31650 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31651 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31652 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31653 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31654 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31655 (gst_fakesrc_loop), (gst_fakesrc_activate),
31656 (gst_fakesrc_change_state):
31657 * gst/elements/gstfakesrc.h:
31658 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31659 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31660 (gst_filesrc_open_file), (gst_filesrc_loop),
31661 (gst_filesrc_activate), (gst_filesrc_change_state),
31662 (filesrc_find_peek), (filesrc_find_suggest),
31663 (gst_filesrc_type_find):
31664 * gst/elements/gstidentity.c: (gst_identity_finalize),
31665 (gst_identity_class_init), (gst_identity_init),
31666 (gst_identity_proxy_getcaps), (identity_queue_push),
31667 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31668 (gst_identity_getrange), (gst_identity_chain),
31669 (gst_identity_sink_loop), (gst_identity_src_loop),
31670 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31671 (gst_identity_set_property), (gst_identity_get_property),
31672 (gst_identity_change_state):
31673 * gst/elements/gstidentity.h:
31674 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31675 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31676 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31677 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31678 (gst_tee_sink_activate):
31679 * gst/elements/gsttee.h:
31680 * gst/gst.c: (gst_register_core_elements), (init_post):
31682 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31683 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31684 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31685 (gst_bin_change_state):
31687 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31688 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31689 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31690 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31691 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31692 (bus_watch_callback), (bus_watch_destroy),
31693 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31694 (poll_timeout), (gst_bus_poll):
31698 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31699 (gst_element_post_message), (gst_element_message_full),
31700 (gst_element_get_state_func), (gst_element_get_state),
31701 (gst_element_abort_state), (gst_element_commit_state),
31702 (gst_element_lost_state), (gst_element_set_state),
31703 (gst_element_pads_activate), (gst_element_change_state),
31704 (gst_element_dispose), (gst_element_set_manager_func),
31705 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31706 (gst_element_set_manager), (gst_element_get_manager),
31707 (gst_element_set_bus), (gst_element_get_bus),
31708 (gst_element_set_scheduler), (gst_element_get_scheduler):
31709 * gst/gstelement.h:
31710 * gst/gstevent.c: (gst_event_new_segment_seek),
31711 (gst_event_new_flush):
31713 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31714 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31715 (gst_message_new_eos), (gst_message_new_error),
31716 (gst_message_new_warning), (gst_message_new_tag),
31717 (gst_message_new_state_changed), (gst_message_new_application),
31718 (gst_message_get_structure), (gst_message_parse_tag),
31719 (gst_message_parse_state_changed), (gst_message_parse_error),
31720 (gst_message_parse_warning):
31721 * gst/gstmessage.h:
31722 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31723 (gst_real_pad_set_property), (gst_pad_set_active),
31724 (gst_pad_is_active), (gst_pad_set_blocked_async),
31725 (gst_pad_set_blocked), (gst_pad_is_blocked),
31726 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31727 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31728 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31729 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31730 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31731 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31732 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31733 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31734 (gst_pad_set_caps), (gst_pad_configure_sink),
31735 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31736 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31737 (gst_real_pad_dispose), (gst_real_pad_finalize),
31738 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31739 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31740 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31742 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31743 (pipeline_bus_handler), (gst_pipeline_change_state),
31744 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31745 * gst/gstpipeline.h:
31747 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31748 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31749 (gst_queue_link_src), (gst_queue_bufferalloc),
31750 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31751 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31752 (gst_queue_loop), (gst_queue_handle_src_event),
31753 (gst_queue_handle_src_query), (gst_queue_src_activate),
31754 (gst_queue_change_state):
31756 * gst/gstscheduler.c: (gst_scheduler_init),
31757 (gst_scheduler_dispose), (gst_scheduler_create_task),
31758 (gst_scheduler_factory_create):
31759 * gst/gstscheduler.h:
31760 * gst/gststructure.c: (gst_structure_get_type),
31761 (gst_structure_copy_conditional):
31762 * gst/gststructure.h:
31763 * gst/gsttaginterface.h:
31764 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31765 (gst_task_init), (gst_task_dispose), (gst_task_create),
31766 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31772 * gst/schedulers/Makefile.am:
31773 * gst/schedulers/cothreads_compat.h:
31774 * gst/schedulers/entryscheduler.c:
31775 * gst/schedulers/faircothreads.c:
31776 * gst/schedulers/faircothreads.h:
31777 * gst/schedulers/fairscheduler.c:
31778 * gst/schedulers/gstbasicscheduler.c:
31779 * gst/schedulers/gstoptimalscheduler.c:
31780 * gst/schedulers/gthread-cothreads.h:
31781 * gst/schedulers/threadscheduler.c:
31782 (gst_thread_scheduler_task_get_type),
31783 (gst_thread_scheduler_task_class_init),
31784 (gst_thread_scheduler_task_init),
31785 (gst_thread_scheduler_task_start),
31786 (gst_thread_scheduler_task_stop),
31787 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31788 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31789 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31790 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31792 * libs/gst/Makefile.am:
31793 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31794 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31795 (gst_file_pad_parent_set):
31796 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31797 (gst_dp_event_from_packet):
31798 * tests/complexity.c: (main):
31799 * tests/mass_elements.c: (main):
31800 * testsuite/states/locked.c: (message_received), (main):
31801 * testsuite/states/parent.c: (main):
31802 * tools/gst-inspect.c: (print_element_flag_info),
31803 (print_implementation_info), (print_pad_info):
31804 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31806 * tools/gst-md5sum.c: (event_loop), (main):
31807 * tools/gst-typefind.c: (main):
31808 * tools/gst-xmlinspect.c: (print_element_info):
31810 Added GstBus for mainloop integration.
31811 Added GstMessage for sending notifications on the bus.
31812 Added GstTask as an abstraction for pipeline entry points.
31814 Removed Schedulers.
31815 Simplified GstQueue for multithreaded core.
31816 Made _link threadsafe, removed old capsnego.
31817 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31818 Added pad blocking functions.
31819 Reworked scheduling functions in GstPad to prepare for
31820 scheduling updates soon.
31821 Moved events out of data stream.
31822 Simplified GstEvent types.
31823 Added return values to push/pull.
31824 Removed clocking from GstElement.
31825 Added prototypes for state change function for next merge.
31826 Removed iterate from bins and state change management.
31827 Fixed some elements, disabled others for now.
31828 Fixed -inspect and -launch.
31829 Added check for GstBus.
31831 2005-03-10 Wim Taymans <wim@fluendo.com>
31833 * docs/design/part-MT-refcounting.txt:
31834 * docs/design/part-clocks.txt:
31835 * docs/design/part-gstelement.txt:
31836 * docs/design/part-gstobject.txt:
31837 * docs/design/part-standards.txt:
31838 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31839 (gst_bin_remove_func), (gst_bin_remove):
31843 * testsuite/clock/clock1.c: (main):
31844 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31846 * testsuite/dlopen/loadgst.c: (do_test):
31847 * testsuite/refcounting/bin.c: (add_remove_test1),
31848 (add_remove_test2), (main):
31849 * testsuite/refcounting/element.c: (main):
31850 * testsuite/refcounting/element_pad.c: (main):
31851 * testsuite/refcounting/pad.c: (main):
31852 * tools/gst-launch.c: (sigint_handler_sighandler):
31853 * tools/gst-typefind.c: (main):
31855 Added doc about clock.
31856 removed gst_bin_iterate_recurse_up(), marked methods
31858 Fix more testsuites.
31860 2005-03-09 Wim Taymans <wim@fluendo.com>
31862 * gst/gstpad.c: (gst_pad_get_direction),
31863 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31864 (gst_pad_collect_valist):
31865 * testsuite/bins/interface.c: (main):
31866 * testsuite/caps/audioscale.c: (test_caps):
31867 * testsuite/caps/caps.c: (test1), (test2), (test3):
31868 * testsuite/caps/deserialize.c: (main):
31869 * testsuite/caps/enumcaps.c: (main):
31870 * testsuite/caps/filtercaps.c: (main):
31871 * testsuite/caps/intersect2.c: (main):
31872 * testsuite/caps/random.c: (main):
31873 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31874 * testsuite/caps/sets.c: (check_caps):
31875 * testsuite/caps/simplify.c: (check_caps), (main):
31876 * testsuite/caps/subtract.c: (check_caps):
31877 Fix _pad_get_direction wrt ghostpads.
31878 Fix caps testsuite.
31880 2005-03-09 Wim Taymans <wim@fluendo.com>
31882 * check/Makefile.am:
31883 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31884 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31885 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31886 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31887 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31888 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31889 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31890 (bin_element_is_sink), (gst_bin_iterate_sinks),
31891 (gst_bin_iterate_all_by_interface):
31893 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31894 (gst_element_change_state), (gst_element_dispose),
31895 (gst_element_finalize), (gst_element_set_loop_function):
31896 * gst/gstelement.h:
31897 * gst/gstiterator.c: (find_custom_fold_func):
31898 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31899 (gst_pad_collectv), (gst_pad_collect_valist),
31900 (gst_pad_template_new):
31901 * gst/gstpipeline.c: (gst_pipeline_class_init),
31902 (gst_pipeline_dispose), (gst_pipeline_set_property),
31903 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31904 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31905 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31907 * gst/schedulers/entryscheduler.c:
31908 * gst/schedulers/gstbasicscheduler.c:
31909 (gst_basic_scheduler_cothreaded_chain),
31910 (gst_basic_scheduler_chain_add_element):
31911 * testsuite/bins/interface.c: (main):
31913 Added GstSystemClock test.
31914 Implemented clock distribution code in GstBin.
31915 Implemented iterate sinks method for future use.
31916 Rearranged gstelement.h
31917 Fix GstIterator comparison bug.
31918 Moved some code to GstPipeline, mostly clocking related.
31920 2005-03-09 Wim Taymans <wim@fluendo.com>
31923 * gst/gst_private.h:
31924 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31925 (gst_bin_remove_func), (gst_bin_remove),
31926 (gst_bin_get_by_name_recurse_up):
31927 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31928 (gst_clock_id_compare_func), (gst_clock_id_wait),
31929 (gst_clock_id_wait_async), (gst_clock_init),
31930 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31931 * gst/gstelement.h:
31932 * gst/gstinfo.c: (_gst_debug_init):
31934 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31935 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31937 Bump version number, we're now 0.9.0
31938 Add future debugging category.
31939 Fix NULL _unref() in _get_by_name_recurse_up
31940 Rearrange gstpad.h.
31943 2005-03-08 Wim Taymans <wim@fluendo.com>
31945 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31946 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31947 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31948 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31949 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31950 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31951 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31952 * gst/elements/gstidentity.c: (gst_identity_class_init):
31953 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31954 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31955 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31956 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31957 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31959 * gst/gstelement.c: (gst_element_class_init),
31960 (gst_element_base_class_init), (gst_element_init),
31961 (gst_element_get_random_pad), (gst_element_wait_state_change),
31962 (gst_element_change_state), (gst_element_dispose),
31963 (gst_element_finalize), (gst_element_set_loop_function):
31964 * gst/gstelement.h:
31965 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31966 * gst/gstthread.c: (gst_thread_class_init),
31967 (gst_thread_release_children_locks), (gst_thread_change_state):
31968 * gst/schedulers/gstbasicscheduler.c:
31969 (gst_basic_scheduler_loopfunc_wrapper),
31970 (gst_basic_scheduler_chain_wrapper),
31971 (gst_basic_scheduler_src_wrapper),
31972 (gst_basic_scheduler_remove_element):
31973 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31974 Remove threadsafe properties. Fix elements because GObject
31975 complains when installing a property before declaring a
31976 set/get_property handler.
31977 Rearrange gstelement.h file, use STATE macros for state locks.
31978 Free mutexes in the finalize method instead of dispose.
31980 2005-03-08 Wim Taymans <wim@fluendo.com>
31982 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31983 * gst/gstthread.c: (gst_thread_release_children_locks):
31984 Added parentage check.
31985 Fix build og GstThread again.
31987 2005-03-08 Wim Taymans <wim@fluendo.com>
31989 * docs/design/part-MT-refcounting.txt:
31990 * docs/design/part-conventions.txt:
31991 * docs/design/part-gstobject.txt:
31992 * docs/design/part-relations.txt:
31993 * docs/design/part-standards.txt:
31994 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31995 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31996 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31997 (gst_bin_iterate_all_by_interface):
32000 * gst/gstelement.c: (gst_element_class_init),
32001 (gst_element_change_state), (gst_element_set_loop_function):
32002 * gst/gstelement.h:
32003 * gst/gstiterator.c:
32004 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32005 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32006 (gst_object_dispatch_properties_changed), (gst_object_set_name),
32007 (gst_object_set_parent), (gst_object_unparent),
32008 (gst_object_check_uniqueness):
32010 Docs updates, clean up some headers.
32012 2005-03-07 Wim Taymans <wim@fluendo.com>
32014 * check/.cvsignore:
32015 * check/Makefile.am:
32016 * check/gst-libs/.cvsignore:
32017 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32018 * check/gst/.cvsignore:
32019 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32020 (START_TEST), (gstbus_suite), (main):
32021 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32022 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32023 (gst_data_suite), (main):
32024 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32025 (add_fold_func), (gstiterator_suite), (main):
32026 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32027 (thread_name_object), (thread_name_object_default),
32028 (gst_object_name_compare), (gst_object_suite), (main):
32029 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32030 (gst_pad_suite), (main):
32031 * check/gstcheck.c: (gst_check_log_message_func),
32032 (gst_check_log_critical_func), (gst_check_init):
32033 * check/gstcheck.h:
32034 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32035 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32038 2005-03-07 Wim Taymans <wim@fluendo.com>
32040 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32041 (gst_list_iterator_next), (gst_list_iterator_resync),
32042 (gst_list_iterator_free), (gst_iterator_new_list),
32043 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32044 (gst_iterator_free), (gst_iterator_push), (filter_next),
32045 (filter_resync), (filter_uninit), (filter_free),
32046 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32047 (gst_iterator_foreach), (find_custom_fold_func),
32048 (gst_iterator_find_custom):
32049 * gst/gstiterator.h:
32050 Added missing files.
32052 2005-03-07 Wim Taymans <wim@fluendo.com>
32056 * docs/design/part-MT-refcounting.txt:
32057 * docs/design/part-conventions.txt:
32058 * docs/design/part-gstobject.txt:
32059 * docs/design/part-relations.txt:
32060 * examples/mixer/mixer.c: (main):
32061 * examples/thread/thread.c: (eos), (main):
32063 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32064 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32065 (gst_spider_plug_from_srcpad):
32066 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32067 (gst_spider_identity_change_state),
32068 (gst_spider_identity_sink_loop_type_finding):
32069 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32070 * gst/elements/gstidentity.c: (gst_identity_init):
32071 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32072 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32073 * gst/elements/gsttypefindelement.c: (free_entry):
32076 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32077 (gst_bin_set_clock_func), (gst_bin_auto_clock),
32078 (gst_bin_set_index), (gst_bin_set_element_sched),
32079 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32080 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32081 (gst_bin_iterate_elements), (iterate_child_recurse),
32082 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32083 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32084 (compare_interface), (gst_bin_get_by_interface),
32085 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32087 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32088 (gst_buffer_default_free), (gst_buffer_default_copy),
32089 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32090 (gst_buffer_create_sub):
32092 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32093 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32094 (gst_caps_unref), (gst_static_caps_get),
32095 (gst_caps_remove_and_get_structure), (gst_caps_append),
32096 (gst_caps_append_structure), (gst_caps_remove_structure),
32097 (gst_caps_copy_nth), (gst_caps_set_simple),
32098 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32099 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32100 (gst_caps_structure_intersect_field), (gst_caps_intersect),
32101 (gst_caps_structure_subtract_field), (gst_caps_subtract),
32102 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32103 (gst_caps_structure_figure_out_union),
32104 (gst_caps_switch_structures), (gst_caps_do_simplify),
32105 (gst_caps_replace), (gst_caps_from_string),
32106 (gst_caps_copy_conditional):
32108 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32109 (_gst_clock_id_free), (gst_clock_id_unref),
32110 (gst_clock_id_compare_func), (gst_clock_id_wait),
32111 (gst_clock_id_wait_async), (gst_clock_class_init),
32112 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32113 (gst_clock_get_time), (gst_clock_set_time_adjust),
32114 (gst_clock_set_property), (gst_clock_get_property):
32117 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32118 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32120 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32121 (gst_element_requires_clock), (gst_element_provides_clock),
32122 (gst_element_set_clock), (gst_element_clock_wait),
32123 (gst_element_wait), (gst_element_set_time_delay),
32124 (gst_element_is_indexable), (gst_element_add_pad),
32125 (gst_element_add_ghost_pad), (gst_element_remove_pad),
32126 (pad_compare_name), (gst_element_get_static_pad),
32127 (gst_element_request_pad), (gst_element_get_request_pad),
32128 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32129 (gst_element_class_get_pad_template_list),
32130 (gst_element_class_get_pad_template), (gst_element_error_func),
32131 (gst_element_get_random_pad), (gst_element_get_event_masks),
32132 (gst_element_send_event), (gst_element_seek),
32133 (gst_element_get_query_types), (gst_element_query),
32134 (gst_element_get_formats), (gst_element_convert),
32135 (gst_element_is_locked_state), (gst_element_set_locked_state),
32136 (gst_element_sync_state_with_parent), (gst_element_change_state),
32137 (gst_element_finalize), (gst_element_yield),
32138 (gst_element_interrupt), (gst_element_set_scheduler),
32139 (gst_element_get_scheduler), (gst_element_set_loop_function):
32140 * gst/gstelement.h:
32142 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32143 (gst_format_get_by_nick), (gst_format_get_details),
32144 (gst_format_iterate_definitions):
32146 * gst/gstindex.c: (gst_index_gtype_resolver):
32149 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32150 (gst_mem_chunk_free):
32151 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32152 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32153 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32154 (gst_object_dispatch_properties_changed),
32155 (gst_object_set_name_default), (gst_object_set_name),
32156 (gst_object_get_name), (gst_object_set_name_prefix),
32157 (gst_object_get_name_prefix), (gst_object_set_parent),
32158 (gst_object_get_parent), (gst_object_unparent),
32159 (gst_object_check_uniqueness), (gst_object_save_thyself),
32160 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32161 (gst_object_set_property), (gst_object_get_property),
32162 (gst_object_get_path_string):
32164 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32165 (gst_real_pad_init), (gst_real_pad_get_property),
32166 (gst_pad_custom_new), (gst_pad_get_direction),
32167 (gst_pad_set_active), (gst_pad_is_active),
32168 (gst_pad_set_event_function), (gst_pad_is_linked),
32169 (gst_pad_link_free), (gst_pad_link_intersect),
32170 (gst_pad_link_fixate), (gst_pad_set_caps),
32171 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32172 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32173 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32174 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32175 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32176 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32177 (gst_pad_realize), (gst_pad_get_allowed_caps),
32178 (gst_real_pad_dispose), (gst_real_pad_finalize),
32179 (gst_pad_collectv), (gst_pad_collect_valist),
32180 (gst_pad_template_dispose), (gst_pad_template_new),
32181 (gst_pad_get_internal_links):
32183 * gst/gstpipeline.c: (gst_pipeline_dispose),
32184 (gst_pipeline_change_state):
32185 * gst/gstpipeline.h:
32187 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32188 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32189 * gst/gstpluginfeature.h:
32190 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32191 * gst/gstquery.c: (_gst_query_type_initialize),
32192 (gst_query_type_register), (gst_query_type_get_by_nick),
32193 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32195 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32196 * gst/gstscheduler.c: (gst_scheduler_add_element),
32197 (gst_scheduler_factory_create):
32198 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32199 (gst_structure_free), (gst_structure_set_name),
32200 (gst_structure_id_set_value), (gst_structure_set_value),
32201 (gst_structure_set_valist), (gst_structure_remove_field),
32202 (gst_structure_remove_fields),
32203 (gst_structure_remove_fields_valist),
32204 (gst_structure_remove_all_fields), (gst_structure_foreach),
32205 (gst_structure_map_in_place),
32206 (gst_caps_structure_fixate_field_nearest_int),
32207 (gst_caps_structure_fixate_field_nearest_double):
32208 * gst/gststructure.h:
32209 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32210 (gst_system_clock_init), (gst_system_clock_dispose),
32211 (gst_system_clock_async_thread),
32212 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32213 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32214 * gst/gstsystemclock.h:
32215 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32216 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32217 * gst/gsttaginterface.c:
32218 * gst/gstthread.c: (gst_thread_dispose),
32219 (gst_thread_release_children_locks), (gst_thread_change_state),
32220 (gst_thread_main_loop):
32221 * gst/gsttrashstack.h:
32222 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32224 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32225 (gst_element_request_pad), (gst_element_get_pad_from_template),
32226 (gst_element_request_compatible_pad),
32227 (gst_element_get_compatible_pad_filtered),
32228 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32229 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32230 (gst_element_link_many), (gst_element_link),
32231 (gst_element_link_pads), (gst_element_unlink_pads),
32232 (gst_element_unlink_many), (gst_element_unlink),
32233 (gst_pad_can_link_filtered), (gst_pad_can_link),
32234 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32235 (gst_object_default_error), (gst_bin_add_many),
32236 (gst_bin_remove_many), (gst_element_populate_std_props),
32237 (gst_element_class_install_std_props), (gst_buffer_merge),
32238 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32239 (link_fold_func), (gst_pad_proxy_setcaps):
32241 * gst/gstvalue.c: (gst_value_deserialize_string):
32242 * gst/parse/grammar.y:
32243 * gst/schedulers/gstbasicscheduler.c:
32244 (gst_basic_scheduler_cothreaded_chain),
32245 (gst_basic_scheduler_chain_recursive_add),
32246 (gst_basic_scheduler_pad_link):
32247 * gst/schedulers/gstoptimalscheduler.c:
32248 (get_group_schedule_function),
32249 (gst_opt_scheduler_state_transition),
32250 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32251 * libs/gst/bytestream/bytestream.c:
32252 * libs/gst/dataprotocol/dataprotocol.c:
32253 (gst_dp_header_from_buffer):
32256 * tests/threadstate/threadstate2.c: (eos):
32257 * tools/gst-compprep.c: (main):
32258 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32259 (print_pad_info), (print_children_info):
32260 * tools/gst-launch.c: (idle_func), (main):
32261 * tools/gst-md5sum.c: (idle_func), (main):
32262 * tools/gst-xmlinspect.c: (print_element_info):
32263 First THREADED backport attempt, focusing on adding locks and
32264 making sure the API is threadsafe. Needs more work. More docs
32267 2005-02-24 Andy Wingo <wingo@pobox.com>
32269 * tests/bench-complexity.scm:
32270 * tests/complexity.gnuplot: New files, good for running complexity
32273 * tests/Makefile.am:
32274 * tests/complexity.c: New test, sets up N elements, at each level
32275 teeing into M streams per element. Eeeenteresting.
32277 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32278 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32279 running bench-mass_elements.scm.
32281 * tests/bench-mass_elements.scm: New script, runs mass_elements
32282 for various numbers of identities, outputting the results to a
32283 file. Requires guile 1.6. Just for testing.
32285 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32287 * gst/schedulers/fairscheduler.c:
32288 compile with debug disabled
32290 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32293 hunting season on 0.9 is now OPEN